# pdfx , trim size and margins

I'm using scrbook with forced margins and pdfx to produce PDF/X-1a compliant documents for the publisher.

pdfx resizes the document and puts the trimed document in the bottom left corner. I'm not sure how the margins are kept or how the publisher will trim the printed document eventually.

Can you shed some light on this subject?

Here is a simple example of what I'm doing:

\documentclass[paper=6in:9in,pagesize=pdftex,
\areaset[0.50in]{4.5in}{8in}

\usepackage{lipsum}
\usepackage[x-1a]{pdfx}

\begin{document}

\chapter{My first chapter}

\section{A section here}

\lipsum

\chapter{My second chapter}

\end{document}

-
I can't directly answer your question, but I can tell you that pdfx is a rather fragile package. It can even break depending on your local timezone (seriously). I wouldn't be surprised if it were incompatible with koma-script/scrbook. See what you get if you use the standard latex classes. –  Lev Bishop May 2 '11 at 6:19
@Lev: thanks for the input. Do you know any other way to produce PDF/X-1a:2001 compatible documents? –  ℝaphink May 2 '11 at 6:34
I have heard that ConTeXt has very good support for PDF/X, but I have no personal experience. In the past I've copied pdfx into my local directory and edited it to be compatible with the particular document (and timezone, phase of the moon, etc), but I woulnd't call this a good solution. –  Lev Bishop May 2 '11 at 6:37
Is switching to ConTeXt straightforward? Is Koma-Script compatible with ConTeXt ? –  ℝaphink May 2 '11 at 6:39
Another possible approach is to do nothing special with tex, and then use a tool like Adobe Acrobat Professional to try to fix up the results into a PDF/X document. Acrobat certainly has a bunch of features for solving various issues relating to this, but I don't know how easy this is or whether it would actually work. –  Lev Bishop May 14 '11 at 4:44
show 5 more comments

I've only had experience producing PDF/A documents, but the issues should be similar. What I've found is that the best approach is to forget about the pdfx package, and convert the normal output of pdftex to a conforming document using ghostscript. See the documentation. Among other things, make sure you use a modified version of PDFX_def.ps and include an ICC profile.
I highly agree that this should be handled external. One thing which seems to be important is to use CMYK colors, so I would say to load xcolor with the appropriate options to avoid conversation issues later. –  Martin Scharrer Jul 4 '11 at 1:49