Re: How to get tagging off in new LaTeX
Bruno Voisin via tex-live <[email protected]>
| Newsgroups | gmane.comp.tex.live |
|---|---|
| Message-ID | <[email protected]> |
> On 2 Nov 2025, at 21:28, Bruno Voisin <[email protected]> wrote: > > Thanks, I will use > > \DocumentMetadata{tagging=off} > > and switch to > > \RequirePackage{pdfmanagement} > > in case the output gets odd or errors are triggered. First real-life manifestation of the change: starting the day by compiling the paper I'm working on, I get ./JFM-FLM_Au.cls:1464: LaTeX Error: Command \maketitle undefined. See the LaTeX manual or LaTeX Companion for explanation. Type H <return> for immediate help. ... l.1464 \renewcommand\maketitle {% ? while last Friday the paper compiled just fine. If I comment out \DocumentMetadata{}, things are OK. Looking closer, the journal class (JFM-FLM_Au.cls) does not define \maketitle. Instead, it calls \hyperref which defines it with \let\HyOrg@maketitle\maketitle \def\maketitle{% \let\Hy@saved@footnotemark\@footnotemark \let\Hy@saved@footnotetext\@footnotetext \let\@footnotemark\H@@footnotemark \let\@footnotetext\H@@footnotetext \@ifnextchar[\Hy@maketitle@optarg{% ] \HyOrg@maketitle \Hy@maketitle@end }% Then the journal class redefines \maketitle with \renewcommand. Something inside the tagging setup set into place by \DocumentMetadata{} must counteract that mechanism, in such a way that after hyperref \maketile isn't defined. Bruno Voisin