[XeTeX] Σχετ: Plain XeTeX, pdftitle, pdfinfo
Philip Taylor
P.Taylor at Rhul.Ac.Uk
Sun Jul 10 18:44:43 CEST 2016
Philip Taylor wrote:
> I am completely confused in that I am no longer seeing the XML metadata in the PDF file even having (a) commented those two lines out, and then (b) replaced the entire LaTeX source with a clean copy taken from the web. Probably too tired to think straight :-(
OK, I was (and am) too tired to think straight, but now I understand what is going on. The XML metadata are /added by Adobe Acrobat/, when I use File / Reduce file size / For Acrobat 4 in order to bring the PDF version down to 1.3. Which means (I am delighted to be able to report) that the following does indeed achieve what was/is intended :
% !TeX Program = XeTeX
% !TeX Root = For-JK.tex
% !TeX Project = An Oral History of Horsmonden
\newif \ifpdfxa
\pdfxatrue
\ifpdfxa
\special {pdf: put @thispage << /ArtBox [0 0 498.89641 708.65968] >>}
\special {pdf: put @thispage << /BleedBox [0 0 498.89641 708.65968] >>}
\special {pdf: put @thispage << /CropBox [0 0 498.89641 708.65968] >>}
\special {pdf: put @thispage << /MediaBox [0 0 498.89641 708.65968] >>}
\special {pdf: put @thispage << /TrimBox [0 0 498.89641 708.65968] >>}
\special {pdf: docinfo << /GTS_PDFXVersion (PDF/X-1:2001) /GTS_PDFXConformance (PDF/X-1a:2001) >>}
\special {pdf: put @catalog << /PageMode /UseNone /OutputIntents [ << /Info (none) /Type /OutputIntent /S /GTS_PDFX /OutputConditionIdentifier (Custom) /RegistryName (http://www.color.org/) >> ] >>}
\special {pdf: dest (page.1) [@thispage /XYZ @xpos @ypos null]}
\special {pdf: put @thispage << /ArtBox [0 0 498.89641 708.65968] >>}
\special {pdf: put @thispage << /BleedBox [0 0 498.89641 708.65968] >>}
\special {pdf: put @thispage << /CropBox [0 0 498.89641 708.65968] >>}
\special {pdf: put @thispage << /MediaBox [0 0 498.89641 708.65968] >>}
\special {pdf: put @thispage << /TrimBox [0 0 498.89641 708.65968] >>}
\special {pdf: docinfo << /Title(DocTitle)/Subject()/Creator(XeTeX)/ModDate(D:20160710164300)/Author(Philip Taylor)/Producer(XeTeX 0.99996)/Keywords(PDF specials)/Trapped/False >>}
\fi
\leavevmode
\end
My sincere thanks to Jonathan, for his suggestion which inspired my solution, and to Apostolos, Zdeněk and others who have tried to help.
** Phil.
--
Philip Taylor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xetex/attachments/20160710/252d552a/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 12104 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20160710/252d552a/attachment-0001.jpe>
More information about the XeTeX
mailing list