On Wednesday 17 March 2010 01:33:37 Alaric Haag wrote:
> In article <[email protected]>,
>
> Roberto Alsina <[email protected]> wrote:
> > On Tuesday 16 March 2010 20:41:48 Alaric Haag wrote:
> > > Hello all,
> > >
> > > I'm most grateful for the rst2pdf development! And love the hook into
> > > Sphinx, as it provides a nice alternative to the LaTeX route.
> > >
> > > I am unable to get page numbers on the PDF output when making the
> > > document from Sphinx (using the "make pdf" hack as documented). Page
> > > numbers are listed in the TOC and Index, but not on the individual
> > > pages.
> > >
> > > I've searched but only found this thread:
> > > http://www.mail-archive.com/[email protected]/msg02743.htm
> > > l
> > >
> > > which seems to leave the question unresolved. I'll apologize in advance
> > > if I've missed another post somewhere that answers this.
> > >
> > > I've fiddled with the stylesheet approach mentioned in the latter posts
> > > of the above thread, but am also unable to make it work.
> > >
> > > Any suggestions?
> >
> > This is fixed in 0.13.1 (even if it's not perfect), check this
> > mini-sphinx- project as an example:
> >
> > http://code.google.com/p/rst2pdf/source/browse/#svn/trunk/rst2pdf/tests/i
> > nput/ sphinx-
> > issue280
>
> I really appreciate your quick response! Alas, I'm still having no
> luck...
>
> First, do I understand correctly that I put the "sphinx-mine.json" file
> in the "styles" sub-directory in the rst2pdf egg? That is, in:
No, put it in your sphinx project, just like in the example.
> - Added the following lines to the conf.py
>
> pdf_documents = [
> ('index', u'MyManual', u'My Title', u'The Author'),
> ]
> pdf_stylesheets = ['sphinx','sphinx-mine']
> pdf_break_level = 1
> pdf_breakside = 'any'
> pdf_inline_footnotes = True
> pdf_use_index = True
> pdf_use_coverpage = True
> pdf_page_template = 'customPage'
> pdf_invariant = True
>
> - And ran "make pdf".
>
> Interestingly, when I add 'letter' to pdf_stylesheets, the page size
> does change from a4, but I am still seeing no page numbers.
>
> Many thanks for your help!
My mistake, that fix is not in 0.13.1, it's only in SVN. If you don't
want/can't try SVN there will be a 0.13.2 soon.
--
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.