Hi Jean-François, Am Freitag, 21. Dezember 2018 16:04:24 UTC+1 schrieb jfbu: > > Hi Mathias, > ...
> This is a good point. I think Sphinx should define and use a > \sphinxmaketitle > rather than \renewcommand the \maketitle. > > As it stands, workaround is not trivial, as you discovered. My > recommendation is that you copy the sphinxmanual.cls you found > out to the source repertory of your Sphinx project, remove from > it or comment out the Sphinx definition of \maketitle, and > instruct Sphinx to use this modified file via the > latex_additional_files config variable. > > latex_additional_files = ['sphinxmanual.cls'] > > > https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-latex_additional_files > > > Thus this is same as your solution except that you don't fiddle > with (in virtual env) Sphinx install and keep possibility to use > Sphinx version in other project. > Thanks for your workaround. The local version has to live in the source directory, then it works. I had put it at first the wrong directory. Could you please open an issue at the github tracker > > https://github.com/sphinx-doc/sphinx > > with a title such as > > LaTeX: custom document class ``\maketitle`` is overwritten with no > possibility to keep its meaning > I have opened <https://github.com/sphinx-doc/sphinx/issues/5849> Kind regards, Mathias -- 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.
