Forum How do I...?

CSS property to activate tagged PDF?

twantzen
Hello!

I've seen the command line option --tagged-pdf to gain tagged PDF output in prince.

But since there is an option for setting the PDF profile as a CSS property with -prince-pdf-profile: "[...]" (or -prince-pdf-form or metadata etc.), I expected, that there would be a CSS property to activate tagged PDF without touching the command line call of PrinceXML either, but I coudn't see one.

Am I missing something? Or is the CLI option currently the only way to activate tagged PDF? If so: please consider adding a CSS property as a feature request.

Thanks
Tobias

Edited by twantzen

mikeday
We have added a new @prince-pdf property "prince-pdf-tagged: auto | enable" which can be used in the latest builds to enable tagged PDF when it wouldn't otherwise be required by the PDF profile.
twantzen
@mikeday thanks, great news!