I have a set of documents that use a custom LaTeX document class. I would
like these documents to have appendices, however the "latex_appendices"
configuration variable is ignored unless the name of the document class is
"manual" -- due to this snippet of code in builders/latex.py:
doctree = self.assemble_doctree(docname, toctree_only,
appendices=((docclass == 'manual') and
self.config.latex_appendices or []))
It would be nice to remove this bit of hardcoding somehow. Perhaps using
blacklisting instead (i.e. docclass != 'howto') would be better. It's a
reasonable assumption that if the user is creating a custom class and using
appendices they know what they are doing? Any other thoughts? I'm not
seeing a way around this hardcoding "from the outside" but maybe I'm missing
something.
Cheers,
Mike
--
Michael Droettboom
http://www.droettboom.com/
Sent from my MacBook Wheel
This message is confidential, intended only for the named recipient(s) and
may contain information that is privileged or exempt from disclosure under
applicable law. If you are not the intended recipient(s), you are notified
that any dissemination, distribution, or copying of this message is strictly
prohibited.
--
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.