Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for the LaTeX Tagging Project #13134

Open
skuskusku opened this issue Nov 14, 2024 · 2 comments
Open

Support for the LaTeX Tagging Project #13134

skuskusku opened this issue Nov 14, 2024 · 2 comments
Labels
builder:latex type:proposal a feature suggestion

Comments

@skuskusku
Copy link

skuskusku commented Nov 14, 2024

Hello everyone,

I would like to know if there are any plans to support the LaTeX tagging project. Using tagging, it will be one day possible to create fully tagged pdf files from LaTeX code, in order to create accessible documents (see also https://latex3.github.io/tagging-project/).

In my project I can already use this in part, but with a kludge:

In my make.bat file I prepend the tex file created from Sphinx's make with something like this:

\DocumentMetadata{
  lang        = en,
  pdfversion  = 2.0,
  pdfstandard = ua-2,
  pdfstandard = a-4f, %or a-4
  testphase   = 
    {
    title,
    table,
    firstaid
    }  
}

and after that modification I build this tex file. The result is then a pdf file that passes validation for the PDF/A-4F validation profile in verapdf. It would be nice to see latex_ configuration values for conf.py that can be used to prepend this to the tex file automatically. Are there already conf.py entries for that?

@skuskusku skuskusku added the type:proposal a feature suggestion label Nov 14, 2024
@skuskusku
Copy link
Author

the "testphase" value is AFAIK going to vanish one day, but even without this value, setting the pdfstandard and version values would be nice. Or is there another way in Sphinx to control that?

@jfbu
Copy link
Contributor

jfbu commented Nov 15, 2024

Are there already conf.py entries for that?

Not yet. It could be added as a new config value for the latex template. What to put in there looks like a moving target. It is not clear yet if this ongoing project which currently is deeply modifying upstream LaTeX will reach a stage where existing documents with old add-on packages which fixed or enriched LaTeX will be compatible. It is interesting that you observed validated compliance with your setup. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
builder:latex type:proposal a feature suggestion
Projects
None yet
Development

No branches or pull requests

3 participants