LaTex preambles for generating tagged pdf output

Gunnar Möller gunnarm5 at gmail.com
Mon Oct 21 15:03:17 UTC 2024


Dear LyX users,

I have been wishing to use the pdfmanagement-testphase package, which needs to be requested prior to issuing the Latex documentclass command.
From my limited knowledge of LyX, I have not been able to find an option enabling me to do this.

Would somebody be able to add a tab in the configuration settings to switch use of this functionality?

Note that in the latest Latex versions, it is sufficient to define the DocumentMetadata to trigger loading the pdfmanagement-testphase package. This may be a transitory requirement while the package is in testing, though it would still be useful to be able to have this available right now. It can probably be implemented easily by somebody familiar with the LyX code base.

Here are the required lines:

\RequirePackage{pdfmanagement-testphase} % Enable PDF management for tagging
\DocumentMetadata{
    testphase = phase-II, % Use Phase-II for intermediate level tagging
    pdfversion = 2.0      % Set the PDF version to 2.0 for better compatibility
}

\documentclass{article}

some other relevant metadata fields include:
- author
- language (lang)

I’d be grateful if somebody can look into this.

Best wishes,
Gunnar Möller

Dr Gunnar Möller | Senior Lecturer
Physics of Quantum Materials Group
Physics and Astronomy, Division of Natural Sciences, University of Kent
Ingram Building, Room 230D
Canterbury, Kent, CT2 7NZ, UK
Tel: +44 (0)1227 81 6025

https://www.kent.ac.uk/physics-astronomy/people/466/möller-gunnar
 <https://www.kent.ac.uk/physical-sciences/people/466/m-ller-gunnar>https://research.kent.ac.uk/pqm/ <https://research.kent.ac.uk/pqm/>


Hubbard Theory Consortium
Fellow of the Higher Education Academy	

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20241021/739278af/attachment.htm>


More information about the lyx-devel mailing list