When I create a PDF/A-2 using LaTeX and then look at it with pdfinfo I get
PDF version: 1.7
PDF subtype: PDF/A-2b:2010
Title: ISO 19005 - Electronic document file format for long-term preservation (PDF/A)
Abbreviation: PDF/A-2
Subtitle: Part 2: Use of ISO 32000-1
Standard: ISO 19005-2
Conformance: Level B, Basic
When creating a PDF/A-2 document with typst 0.12 I only see
Hello @Manfred_Lotz!
EDIT: Nevermind, sorry for misreading your question, uurgh!
the PDF version and the PDF/A-2 standard conformance are two different things. In your output, it is written PDF subtype: PDF/A-2b:2010, which is what you were looking for.
Can you send the Latex PDF where it works? I can reproduce this for Typst, but when I create a manual Latex document with PDF/A2 it also doesn’t show up for me.
Okay, I figured it out, XeTeX somehow adds a “/GTS_PDFA1Version (PDF/A-2b:2010)” attribute into the PDF. If I remove it, it also doesn’t show up in pdfinfo. However, from what I can tell, this is not a standard PDF attribute, so not sure why it’s there. In any case, in Adobe Acrobat it seem to show up fine when opening a Typst document with PDF/A2, so I wouldn’t worry about it too much. :)
Hi @Manfred_Lotz, welcome and thank you for your post, which I have moved to Questions! I have changed your post’s title from “Creating PDF/A-2 document” to “Why is my pdf file missing PDF/A-2 specific metadata?” as the question guidelines recommend this:
Good titles are questions you would ask your friend about Typst.
I also added the pdf tag, as it makes your question easier to find.
Finally, don’t forget to tick one of the responses if you got a satisfying answer. The answer you choose should usually be the response that you found most correct/helpful/comprehensive for the question you asked. Thanks!