On Dec 8, 11:56 am, Nahuel Defossé <[email protected]> wrote:
> Hi!
>
> I've trying to hack the latex output, in manual document class so that page
> numbers are printed always in the same side.
> All I need is to print my document as a Single Sided document, but sphinx by
> default outputs two sided docs.
> Adding \fancyheader{} to latex_preamble in conf.py does nothing, and my
> latex knowledge is too poor to solve this :'(

The file manual.cls in your build/latex directory (after sphinx has
built the tex file) has the line

> \LoadClass[twoside, openright]{report}

that's passing the twoside option to the report class -
delete the twoside option and remake the pdf from the tex file,  and
the page numbers are all printed on one side.
> \LoadClass[openright]{report}

The file manual.cls is copied into the build/latex directory from the
texinputs directory of your sphinx installation.  You could change it
there while you want one-sided printing.
Hope that helps.

--
Anita

--

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