When will PDF/A export be available?

Hello,
I would like to know if a date is planned for PDF/A export in Typst ?
Thanks!
fdekerm

Looking through recent Discord discussion:

We are looking to release 0.12 soon with PDF/A support and build on that for 0.13, which is the target for tagged PDF, not neccessarily PDF/UA-1. Note that /UA-1 compliance cannot be achieved fully automatically, we need some input from the users as e.g. what do your pictures show, what role a figure plays, and more.
@reknih, 2024-09-13T22:00:00Z; on Discord

And there is a freshly open PR: Minimal PDF/A support by laurmaedje · Pull Request #5075 · typst/typst · GitHub

So apparently it’s not going to be too long!

1 Like

Great! I :slight_smile: hope it happens soon, I wrote my thesis in Typst and my university only asks for PDF/A files …

If it’s really urgent, there are other tools you can use to convert a PDF to PDF/A, though (for example ghostscript).

1 Like

I’ve tried, but with the command found here (convert-pdf-to-pdf-a-or-pdf-x), ghostscript generated a 160MB file (compared with 36MB for the original) in which the text is no longer selectable (as if each page were an image).

Oh hmm… No idea why that happens, not familiar enough with ghostscript. :/ It worked fine with the simple document I tried.

1 Like

Could you tell us which version of ghostscript you are using? Also, do note that any transparency layer will be rendered as images in PDF/A-1.

The use of transparency is forbidden in PDF/A-1.

You may try using -dPDFA=2 for PDF/A-2 or 3 for PDF/A-3. Transparency is a feature of PDF/A-2.