Generalpdfx | Prepare PDF/A and PDF/X Documents

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
ellocco
Posts: 2
Joined: Wed May 05, 2010 11:11 am

pdfx | Prepare PDF/A and PDF/X Documents

Post by ellocco »

Hallo,
the package pdfx helps you to produce PDF/A and PDF/X files. But I had severe problems to use this package, attached you find my experience with the package. One general information: pdfx.sty-version "2008/12/10 v1.2" is flawed.
Don't use variable "\Subject" with this version.
The erroneous line is:

Code: Select all

\let\xmpSubject\xmpKeywords
I changed it to:

Code: Select all

\def\Subject#1{\gdef\xmpKeywords{#1}}
 \let\xmpSubject\@empty
I hope that it is a correct patch.


Regards,
ellocco
Attachments
mysmall2e_pdfx.zip
Getting started information for LaTeX-package pdfx
(7.72 KiB) Downloaded 172 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Re: pdfx | Prepare PDF/A and PDF/X Documents

Post by localghost »

And you certainly reported this to the package maintainers. It is very unlikely that they will read this topic here.


Best regards and welcome to the board
Thorsten
ellocco
Posts: 2
Joined: Wed May 05, 2010 11:11 am

pdfx | Prepare PDF/A and PDF/X Documents

Post by ellocco »

Yes, I send them an e-mail, but they don't care. The package was written in a lousy manner, this is at least the opinion of "Heiko Oberdiek" (cf. 17-Sep-2011, Newsgroup de.comp.text.tex).

If you use the option "x-1a" the package changes the paper definition to "letter", without a check for the paper size that you specify in the latex code, here the section that changes the values to fixed "letter-size" values:

Code: Select all

\pdfpageattr{/MediaBox[0 0 595 793]
             /BleedBox[0 0 595 793]
             /TrimBox[25 20 570 773]}

Here my workaround for people that want to print on A4 with the option "x-1a", rather than on "letter"-paper:

Code: Select all

\usepackage[x-1a]{pdfx}
\makeatletter
\pdfpageattr{/MediaBox[0 0 595.276 841.89]
             /BleedBox[0 0 595.276 841.89]
             /TrimBox[25 20 570 820]
}
\makeatother
As far as I understand, this not the best way to do it, but it seems to work.

El Locco
Post Reply