Is there a way I can convert large html file (produced with sphinx by the way) to pdf with color, table of contents (toc) and unicode support?
There's htmldoc -- but it neither support color, nor unicode.
There's rst2pdf sphinx plugin -- but currently it breaks math rendering, and also can't word-warp code lines.
There's a way to export to xetex in sphinx -- but it can't word-wrap code-blocks, and also don't support svg images.
Edit:
I tried to use pandoc:
pandoc index.html --mathjax --toc -o index.pdf
it gives:
pandoc: Error producing PDF from TeX source.
! LaTeX Error: Command \guillemotright unavailable in encoding OT1.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.55 2012-Sep-11} ยป
I'm stucked...