Open marble opened 6 years ago
When unarchiving the TYPO3 security guide locally and running:
make
I get this error:
! Undefined control sequence.
\maketitle ...\textwidth }{1pt}\ifsphinxpdfoutput
\begingroup \def \\{, } \d...
l.67 \maketitle
?
Commenting out the inclusion of the typo3
package indeeds fixes the problem.
The problem comes from the definition of \maketitle
which changed in latest versions of sphinxmanual.cls
. Indeed, problem stems back to https://github.com/sphinx-doc/sphinx/issues/3914
Problem
LaTeX generation of TYPO3 manuals currently doesn't work due to changes in the Sphinx latex writer. The generator complains about "macro 'maketitle' not being defined".
How to reproduce
The attached example files here in the ZIP archive: latex-TYPO3-Security-Guide.zip contain everything needed to reproduce the problem.
It is line 55 that causes the problem:
Once you remove that line
\usepackage{typo3}
and runmake
again the PDF build succeeds.Wanted
A fix of this repository 'latex.typo3' that works with current versions of Sphinx.
If LaTeX is not installed on your host machine
Detailed and complete how-to for developers
Host:
Inside the container:
Since the container contains everything needed you can now run the PDF build:
Remove the problematic line: