All Projects → jterrace → Sphinxtr

jterrace / Sphinxtr

Licence: other
The Sphinx Thesis Resource

Labels

Projects that are alternatives of or similar to Sphinxtr

K8guard Start From Here
Build and deploy K8Guard. Run all Make commands from this repo.
Stars: ✭ 130 (-8.45%)
Mutual labels:  makefile
Openwrt Shadowsocksr
ShadowsocksR-libev for OpenWrt/LEDE
Stars: ✭ 136 (-4.23%)
Mutual labels:  makefile
Makepytorchplusplus
How and why you want to make your pytorch CUDA/CPP extension with a Makefile
Stars: ✭ 142 (+0%)
Mutual labels:  makefile
Selinux Dockersock
Allow containers to access docker.sock under Fedora and RHEL
Stars: ✭ 131 (-7.75%)
Mutual labels:  makefile
Freeflyos
FreeFlyOS----自由飞翔的操作系统,谁在仰望~~~~~月亮之上~~~~~~
Stars: ✭ 134 (-5.63%)
Mutual labels:  makefile
Thingos
A lightweight Linux OS for things.
Stars: ✭ 138 (-2.82%)
Mutual labels:  makefile
Wasmception
Minimal C/C++ language toolset for building wasm files
Stars: ✭ 129 (-9.15%)
Mutual labels:  makefile
Reggae
Build system in D, Python, Ruby, Javascript or Lua
Stars: ✭ 141 (-0.7%)
Mutual labels:  makefile
Human Phenotype Ontology
Ontology for the description of human clinical features
Stars: ✭ 134 (-5.63%)
Mutual labels:  makefile
Developer
developer roadmap. use growth https://github.com/phodal/growth replace this
Stars: ✭ 1,699 (+1096.48%)
Mutual labels:  makefile
Fluentd Catch All Config
Collection of configuration files for the Fluentd log collection agent. Intended to enable the automagic collection of most logs generated by many of the most popular applications run in the cloud.
Stars: ✭ 132 (-7.04%)
Mutual labels:  makefile
Edx Documentation
For published versions of the edX documentation, visit:
Stars: ✭ 133 (-6.34%)
Mutual labels:  makefile
Openfpgaduino
All open source file and project for OpenFPGAduino project
Stars: ✭ 137 (-3.52%)
Mutual labels:  makefile
Clashr
Stars: ✭ 131 (-7.75%)
Mutual labels:  makefile
K8s Vagrant Multi Node
A Kubernetes Vagrant Multi node environment using kubeadm.
Stars: ✭ 141 (-0.7%)
Mutual labels:  makefile
Vscode of
openFrameworks empty example for visual studio code
Stars: ✭ 129 (-9.15%)
Mutual labels:  makefile
Easyrss
Google Reader Client for Android
Stars: ✭ 137 (-3.52%)
Mutual labels:  makefile
Zsh Tmux Neovim Docker
Modern zsh/tmux/neovim setup in docker, with italics
Stars: ✭ 142 (+0%)
Mutual labels:  makefile
Ansible Cloud Hosting
Set of scripts to quickly build private cloud hosting.
Stars: ✭ 141 (-0.7%)
Mutual labels:  makefile
Letsgo
Golang 小视频教程,零散时间学习 Golang
Stars: ✭ 139 (-2.11%)
Mutual labels:  makefile

.. _ch-intro:


Introduction


Creating a PhD thesis is typically done using LaTeX. This works really well for producing a PDF, but a giant PDF file is not a great way to put documents on the web. There are solutions that exist to turn latex source files into HTML, but in my experience, they tend to produce poor HTML output.

The Sphinx <http://sphinx.pocoo.org/>_ project is a wonderful tool for creating portable documents, allowing for output to many different formats. Unfortunately, it has many shortcomings when trying to typeset something so advanced as a PhD thesis. The aim of this project is to modify Sphinx to support all of the needs of a thesis writer. Many of the patches are not appropriate for contributing directly to the upstream Sphinx repository, so this is instead a separate project.

This sphinxtr output is available in several formats at: http://jterrace.github.com/sphinxtr.

The source code for sphinxtr can be found at: https://github.com/jterrace/sphinxtr.

.. image:: https://api.travis-ci.org/jterrace/sphinxtr.png :target: https://api.travis-ci.org/jterrace/sphinxtr

Installation

If you are running the apt packet manager you can install the requirements with the following command::

sudo apt-get install python-setuptools python-virtualenv texlive-full

Otherwise you can maybe find other ways to install the following packages:

  • Python 2 <http://www.python.org/getit/>_ (preinstalled on most systems)
  • Setuptools <https://pypi.python.org/pypi/setuptools/1.1.6#installation-instructions>_ (look for the most up to date version)
  • Virtualenv <http://www.virtualenv.org/en/latest/#installation>_
  • Tex Live <http://www.tug.org/texlive/quickinstall.html>_

Now create a virtualenv. This will help you to separate the requirements from this project from other Python projects you might have::

virtualenv venv
source ./venv/bin/activate

.. note::

You can get out of the virtualenv by either closing the terminal or by
calling ``deactivate``.

Then install the required Python packages::

pip install -r requirements.txt

Building

You need make. The following targets are supported:

html Builds HTML format, separated into sections singlehtml Builds HTML format on a single page text Builds text files, separated into sections singletext Builds a single text file latexpdf Builds into latex source files and then compiles into a PDF. Requires latex.

Changes

The following changes and additions have been made from vanilla Sphinx:

  • A cross-format bibtex bibliography based on sphinx-natbib
  • Tables that can go inside figures
  • Changed table formatting to look pretty, like booktabs
  • Improved alignment in table environment
  • Added support for short captions that show up in the "list of figures" section
  • Changed equation reference formatting from "(1)" to "1"
  • Full customization of latex preamble and style file
  • Numbered figures
  • Numbered section references
  • A singletext output that builds into a single text file, similar to singlehtml
  • A subfigure environment

Documents Using sphinxtr

  • Jeff Terrace's PhD Thesis <http://jterrace.github.com/sphinxtr>_
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].