If you are able to handle xml files you can build a path from sphinx to ConTeXt to produce very customized pdf files, which is a pain with the LaTeX-implementation of Sphinx.
ConTeXt is a LaTeX alternative based on LuaTeX. You can customize your layout with ConTeXt to a great extent. http://wiki.contextgarden.net/Main_Page The main advantage: ConTeXt is able to read xml files, so you could create a singlehtml output with Sphinx (which is afaik xml compliant) and feed it into ConTeXt. In this repository you can see how this works generally and how to map xml to ConTeXt commands. https://github.com/ousia/from-pandoc-to-context Of course, the solution does not work out of the box because the Sphinx output differs to the Pandoc output. But it should be possible. juh -- Das ZEN von Pandoc Bücher und E-Books einfach und professionell produzieren http://www.amazon.de/Das-ZEN-von-Pandoc-professionell/dp/1505218799/ Paperback (232 Seiten) und E-Book -- You received this message because you are subscribed to the Google Groups "sphinx-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to sphinx-users+unsubscr...@googlegroups.com. To post to this group, send email to sphinx-users@googlegroups.com. Visit this group at https://groups.google.com/group/sphinx-users. For more options, visit https://groups.google.com/d/optout.