Still me,

Roberto Alsina wrote:
> You could create your custom stylesheet with something like this:
>
> {
>   "pageTemplates" : {
>     "cutePage": {
>         "frames": [
>             ["0%", "0%", "100%", "100%"]
>         ],
>         "showHeader" : false,
>         "showFooter" : true,
>         "defaultFooter" : "###Page###"
>     }
>   }
> }
>
>   
First tried to integrate this into sphinx.json, but I got errors.  So, I 
stepped back a bit and just creat sphinx-mine.json which contains just 
the above.

And my conf.py has:
pdf_stylesheets = ['sphinx-mine', ]

However this doesn't give me any page numbers and obviously a very 
simple layout in general.
> Hope that helps!
>   
Do I understand correctly, as I only want to add page numbers I could do:

pdf_stylesheets = ['sphinx', 'sphinx-mine', ]

And sphinx-mine.json would just need to contain:

{
  "pageTemplates" : {
    "cutePage": {
        "showFooter" : true,
        "defaultFooter" : "###Page###"
    }
  }
}


Thanks for being patient with me
Werner


--

You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en.


Reply via email to