pysheeet
pysheeet copied to clipboard
Building a PDF via Sphinx fails
There seem to be a lot of unicode issues. I have no clue how to fix them, but having a PDF would be neat.
git clone https://github.com/crazyguitar/pysheeet
cd pysheeet/docs
make latexpdf
! Package inputenc Error: Unicode char 中 (U+4E2D)
(inputenc) not set up for use with LaTeX.
See the inputenc package documentation for explanation.
Type H <return> for immediate help.
...
l.1677 ...G{l+s+s1}{中文}\PYG{l+s+s1}{\PYGZsq{}}
HA! you can download the PDF here, but it still has some Unicode problems.
Maybe you can try the following commands (which I found on readthedocs):
$ sphinx-build -b latex -D language=en -d _build/doctrees . _build/latex
$ pdflatex -interaction=nonstopmode _build/latex/python-cheatsheet.tex