From: Guenter M. <mi...@us...> - 2023-01-30 09:03:05
|
On 2023-01-19, Alan G. Isaac wrote: > On 1/18/2023 5:05 AM, Guenter Milde via Docutils-users wrote: >> Dear Alan, >> On 2023-01-14, Alan G. Isaac wrote: >>> In the latex writer, in >>> LaTeXTranslator.depart_document >>> might it be considered to move the docinfo section >>> to a separate method? This is now done at [r9324]. Please keep in mind: * The new functions are not part of the public API. Like all undocumented objects (i.e. elements without a docstring), they are only provisional, without the promise of backwards compatibility. * As a general rule, if subclassing a Translator class: Safe subclassing: when overriding methods, treat ``visit_*`` and ``depart_*`` methods as a unit to prevent breaks due to internal changes. Günter |