Thanks for the suggestion; the double-backslash was not necessary to
resolve the problem though
The fix is easy since we had the wrong LaTeX macro name, as you
pointed out.
These lines in conf.py resolved this problem.

latex_elements = {
#...
'preamble': '''%
  \pagestyle{plain}
  \pagenumbering{arabic}
''',

}

To remove as many blank pages as possible, I did not use your second
suggestion.
Search for "NeXus for the Impatient" to see the final result.  View
the PDF link.

Thanks,
   Pete

On Dec 16, 7:47 pm, anh le <anh...@gmail.com> wrote:
> Hi Pete,
>
> Try this:
>
> 'preamble': '''%
> \\pagestyle{plain}
> \\pagenumbering{arabic}
> ''',
>
> then I also update 'tableofcontents':
> '\\newpape\\tableofcontents\\newpage'  to separate some first pages
>
>
>
>
>
>
>
> On Sat, Dec 17, 2011 at 7:02 AM, Pete <prjem...@gmail.com> wrote:
> > This fix does not work with Sphinx v1.1.2 (documentclass: howto).  When
> > changing the preamble in conf.py to
> > latex_elements = {
> > #...
> > 'preamble': '''%
> > \pagestyle{plain}
> > \pagenumberstyle{arabic}
> > ''',
> > }
>
> > then this error results from "make latexpdf"
>
> > ! Undefined control sequence.
> > l.15 \pagenumberstyle
> >                      {arabic}
> > ?
>
> > I want arabic numbers in the TOC and page numbers on the following pages.
> > How to do this?
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "sphinx-dev" group.
> > To view this discussion on the web visit
> >https://groups.google.com/d/msg/sphinx-dev/-/kn2PNVHINi0J.
>
> > To post to this group, send email to sphinx-dev@googlegroups.com.
> > To unsubscribe from this group, send email to
> > sphinx-dev+unsubscr...@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/sphinx-dev?hl=en.

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

Reply via email to