-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am 08.06.2010 16:57, schrieb Michael Droettboom:
> 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.

Good suggestion -- fixed in rev e8c542b9f00a for Sphinx 1.0.

Georg
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)

iEYEARECAAYFAkwTzCwACgkQN9GcIYhpnLAlngCaAvs3QT/eDaJ+7Hgo8XUH47jY
8tIAnRVA3NPl2r9XlPp3Kc41q/ZiqYbw
=VsRy
-----END PGP SIGNATURE-----

-- 
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