[XeTeX] Σχετ: Plain XeTeX, pdftitle, pdfinfo
Jonathan Kew
jfkthame at gmail.com
Sun Jul 10 19:56:19 CEST 2016
Hi Phil,
On 10/7/16 18:40, Philip Taylor wrote:
> The caveats are as follows :
>
> 1. a hook will need to be inserted into \shipout to insert the bounding
> boxes on each page;
> 2. the colours will need to be converted to the desired output profile
> using Adobe Acrobat;
> 3. the file will need to be reduced in size with Acrobat 4+
> compatibility but with no image compression in order to convert it
> to PDF 1.3;
> 4. the dimensions of the bounding boxes are for B5 in so-called "big
> points" (Postscript points) and will need to be amended for other
> page sizes;
> 5. \setboundingboxes will have to be called explicitly for the first
> page only.
You could avoid the untidiness of #5 if you hook in \setboundingboxes
differently, such that it's actually inserted into what is being shipped
out, rather than added to the MVL to become part of the next page. E.g.
if you're using the plain.tex \output routine, you could just sneak it
onto the start of \makeheadline:
\let \Makeheadline = \makeheadline
\def \makeheadline {\setboundingboxes \Makeheadline}
Then every page should get the desired settings, AFAICS, without needing
to do it manually on the first page (and without needing an explicit
page count in the source).
JK
More information about the XeTeX
mailing list