Re: [sphinx-users] Re: sphinx pdf style

2016-10-15 Thread Jan Ulrich Hasecke
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.


[sphinx-users] Re: sphinx pdf style

2016-10-14 Thread Peter Burdine
The short answer is not in 1.4.x.  It looks like 1.5.x may have a little, 
but nothing as easy as CSS.  Start by reading through the sphinx.sty file 
(found in your latex build directory) to give you an idea of what you are 
dealing with.

It looks like you have made 6 threads all with basically the same (very 
open-ended)  question.  Customizing LaTeX content is not an easy task.  
Please start by looking at other open source project examples.  Here are 
some example projects that I have used while learning.  Note that some of 
them will have addition prereqs (either Python or LaTeX libraries).

   - https://github.com/mapserver/docs
   - https://github.com/i6/ibg



On Friday, October 14, 2016 at 1:47:01 AM UTC-7, Minkai Li wrote:
>
> Sphinx generate pdf ,does this pdf has some  templates such as sphinx 
> generate html use css files 
>

-- 
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.