On Thu, Apr 9, 2009 at 3:30 PM, Georg Brandl <[email protected]> wrote:
>
> Maxim Khitrov schrieb:
>> On Thu, Apr 9, 2009 at 3:06 PM, Georg Brandl <[email protected]> wrote:
>>>
>>> Maxim Khitrov schrieb:
>>>> Hello all,
>>>>
>>>> When using the 'manual' latex documentclass, the resulting pdf
>>>> documents have blank pages added after contents and at the end of
>>>> every chapter. Is there any way to remove those? As an alternative, is
>>>> it possible to use the 'howto' class, but have each chapter begin on a
>>>> new page?
>>>
>>> If you use the LaTeX classoption "oneside" that should be possible for
>>> manual.
>>>
>>> Use
>>>
>>> latex_elements = {
>>> 'classoptions': 'oneside',
>>> }
>>>
>>> in conf.py.
>>
>> Didn't work. The Sphinx documentation states that classoptions is one
>> of the options that are set automatically, so maybe some other
>> component resets its value?
>
> No, it only adds to it if you have set a language that has Babel support.
>
> However, I gave you the wrong option; it should by 'openany' instead of
> 'oneside'.
Actually, it looks like the value should be ',openany'. Without that
comma, I get this at the top of the index.tex file:
\documentclass[letterpaper,10ptopenany]{manual}
Once the comma is added, empty pages between chapters are removed :).
There are still blank pages around contents, but I guess that makes
sense when printing this out. Thanks for your help!
- Max
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---