Re: How to get tagging off in new LaTeX

Ulrike Fischer <[email protected]>
Newsgroups gmane.comp.tex.live
Message-ID <[email protected]>
Am Mon, 3 Nov 2025 09:10:37 +0100 schrieb Bruno Voisin via tex-live:

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

I would need a real example to understand what exactly is happening
(and to decide if the title code in latex-lab needs a correction)

But generally regarding hyperref: if you look into the code you can
see that parts of the patches it does are surrounded by
`\@ifundefined{hyper@nopatch@XXXX}` clauses. The latex-lab code
typically defines the hyper@nopatch@XXXX commands and so suppress
this code parts. 

The long term goal is to remove these patches from hyperref and to
move the support either directly into the kernel (as was done for
refstepcounter) or into the classes directly. 

This means you should not rely on hyperref internals and patches to
stay. Commands like \HyOrg@appendix or \Hy@AlphNoErr or \Hy@chapapp
can disappear. If you want to redefine appendix after hyperref has
been loaded better use your own command names. 


-- 
Ulrike Fischer 
http://www.troubleshooting-tex.de/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.