Skip to content

azuwis/sphinx_demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

https://azuwis.github.io/sphinx_demo/

Howto

Generate HTML:

# apt-get install --no-install-recommends python-sphinx make
$ make html

Generate PDF:

# apt-get install --no-install-recommends texlive-xetex texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended lmodern fonts-linuxlibertine ttf-wqy-microhei
$ make latexpdf

Use livereload to preview HTML, install livereload browser plugin, and:

# apt-get install --no-install-recommends python-pip
$ pip install livereload
$ make livehtml

Generate CHM:

# apt-get install --no-install-recommends fp-utils
$ make chm

Tested with python-sphinx 1.1.3 and texlive 2012.20120611 on Debian unstable.

To use other CJK fonts, modify latex_elements option in source/conf.py. For more info, read xeCJK document.

About

sphinx demo setup with cjk pdf support

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published