[XeTeX] PDF/X-1a preflight & \special
Peter Dyballa
Peter_Dyballa at Web.DE
Wed Dec 1 00:55:59 CET 2010
Am 30.11.2010 um 21:51 schrieb Juan Acevedo:
> --Trimbox
\usepackage{atbegshi}
\AtBeginShipout{\special{pdf: put @thispage <</TrimBox [9.0 9.0 621.0
801.0]>>}}
\pagestyle{empty}
\special{pdf: put @thispage <</TrimBox [9.0 9.0 621.0 801.0]>>}
\begin{document}
> --Date
Use hyperref (and read its documentation, possibly also read the
oberdiek documentation, it could contain useful information). It also
fills in /Title, /Author, /Subject, /Keywords in \hypersetup{}:
\hypersetup{%
pdftitle=\title,
pdfauthor=\author,
pdfsubject=Subject,
pdfkeywords={so many, many key words},
urlcolor=DarkBlue,
linkcolor=NavyBlue,
verbose,
colorlinks
}
(\title and \author are macros defined earlier in the source because
of handling of UTF-8 characters in the PDF output)
> --Document ID
> --Trapped key: this won't work, no matter what I input above
> --Compressed object streams: I only have two greyscale .pdf images
> in the book, inserted via \includegraphics
> --PDF version is newer than 1.3: I am aware that there was a change
> of version with this year's TeX Live binaries, but I wonder if there
> is a way to change this setting and use 1.3 or at least to trick
> Acrobat into thinking that the file comes from 1.3
Invoke xdvipdfmx with the option -V=3. Or, completely:
xelatex -output-driver='xdvipdfmx -V=3' <LaTeX file>
XeLaTeX also offers these command line options:
-src-specials insert source specials into the XDV file
-src-specials=WHERE insert source specials in certain places of
the XDV file. WHERE is a comma-separated
value
list: cr display hbox math par parend vbox
but I don't know how to use them and what they are good for.
--
Greetings
Pete
Specifications are for the weak and timid!
More information about the XeTeX
mailing list