Hello, I have been trying to implement the following: 

I have an index.rst file with a toctree with several files in it, for ex:

.. toctree::
   :maxdepth: 2

   part_1
   part_2
   part_3


I would like to be able to use sphinx/latex to make one large pdf that is a 
combination of each of these files in the toctree, but then also be able to 
make each pdf individually.

I have been running into a few issues.

I edited the latex_documents part of latex_elements in the conf.py file to 
include each file (above this would be part1.rst etc.).

1) I can make the entire pdf just fine, but I learned that apparently 
sphinx sort of "gobbles up" the first section heading given (usually, when 
a latex file is created from an index.rst, this is the section title in the 
index.rst above the toctree)
so that when i create a file directly from part_1.rst, the first section 
heading is seemingly gone and the proceeding headings get "moved up" a 
level in the hierarchy.

I attempted to fix this by doubling up the first heading in each individual 
file, and while this worked for making the individual files, it obviously 
did not working for making the one master combination pdf.

I currently have my conf.py set up as a "report" type document with various 
"parts." Every time a new part starts, this "part" page takes up an entire 
page, and this is the heading that is doubled up as mentioned in the 
previous sentence.

If I could find some way to make each page associated with the start of a 
new "part" blank\nonexistant I believe that would solve my problem.

I attempted the following:

\def\@part{
  \null\thispagestyle{empty}
}

this seemingly works to make the pages that were formerly "part" title 
pages to be blank, but now I need to remove these blank pages. If anyone 
could offer assistance I would be appreciative. If anything is unclear let 
me know and I will clarify.

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to