On Monday 15 March 2010 12:54:53 werner wrote: > Hi Roberto, > > On 15/03/2010 16:36, Roberto Alsina wrote: > ... > > >> Can't make it work, attached is what I did just for your reference or to > >> put me right as I just guessed/trial and error on where it should go. > >> > >> Any chance you can just send me a style sheet which works for you - as I > >> have seen some which have page numbers for the TOC and for pages here - > >> http://www.freedrive.com/folder/236385, but I can't find the style > >> sheets used for them. > > > > Ok, the bug is something else, a bit more complex. > > > > The real problem is that it's using the wrong page template for most of > > the document. > > > > Instead of cutePage define coverPage, and it should work. The bad side is > > that it will also add headers in cover pages and whatnot. > > That works as a work around. > > > So, it is pretty broken. I have added this as Issue 280 > > (http://code.google.com/p/rst2pdf/issues/detail?id=280) > > Thanks. > > BTW, is there some documentation around which explains some of this > magic? E.g. all these style sheet stuff, what needs to be overridden > for e.g. the TOC to have different page numbers (i, ii etc).
The stylesheets are explained in the rst2pdf manual, as far as they are explained anywhere. The part about the pagenumber style... right now it's hardcoded when used via sphinx that contents use lower roman and the rest use arabic. On regular rst2pdf you can do things like this: .. raw:: pdf PageBreak SetPageCounter 2 lowerroman Which means "break the page, and the next one is page 'ii'" -- 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.
