Yes, that is exactly why it is setup that way.  Remember that it is only
part of the solution.  The latex code still needs to in the preamble or a
style file and you need to overwrite the correct entry in the
latex_elements dict.

This is only for latex output so none of this information is in .rst files.
  I am not sure what you meant by "Can this be used to control the order of
Sphinx-generated elements".

On Dec 19, 2016 5:03 PM, "Warren Block" <[email protected]> wrote:

On Thu, 15 Dec 2016, Peter Burdine wrote:

Then I define the following for the front matter (note that some of these
> are commands defined in the preamble or other included .tex/.sty file):
>
> latex_contents = r'''
>     \setupHeadFootForFrontMatter
>     \formattoc
>     \maketitle
>     \signaturepage
>     \revisionhistory
>     \tableofcontents
>     \clearpage
>     \listoffigures
>     \clearpage
>     \listoftables
>     \clearpage
>     \setupHeadFootForText
>     \pagenumbering{arabic}
>     \pagestyle{plain}
> '''
>

Can this be used to control the order of Sphinx-generated elements, like to
put a copyright page before the table of contents?  (That can be done by
editing the generated .tex file, moving the call to \tableofcontents, but
that's ugly.)


-- 
You received this message because you are subscribed to a topic in the
Google Groups "sphinx-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/to
pic/sphinx-users/S_ip2b-lrRs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
[email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/d/optout.

-- 
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 https://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to