<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Hi Phil,
<div class=""><br class="">
<div>
<blockquote type="cite" class="">
<div class="">On Jul 12, 2016, at 3:15 AM, Philip Taylor <<a href="mailto:P.Taylor@Rhul.Ac.Uk" class="">P.Taylor@Rhul.Ac.Uk</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div bgcolor="#FFFFFF" text="#000000" class="">Dear Ross (copy all) -- OK, I looked at the "pdfx" package and the first thing that surprised me was that the documentation file for it (<a class="moz-txt-link-freetext" href="http://mirrors.ctan.org/macros/latex/contrib/pdfx/pdfx.pdf">http://mirrors.ctan.org/macros/latex/contrib/pdfx/pdfx.pdf</a>),
 when inspected using Adobe Acrobat 7.1, fails the conformity check for PDF/X-1A:2003 on nine counts --
<br class="">
<ol class="">
<li class="">Annotation inside page area </li><li class="">Document contains actions </li><li class="">GTS_PDFXVersion key missing </li><li class="">OutputIntent for PDF/X missing </li><li class="">OutputIntent profile not "prtr" </li><li class="">PDF/X label missing or incorrect </li><li class="">TrimBox or ArtBox missing </li><li class="">Uses colour other than 4c or spot </li><li class="">Uses transparency</li></ol>
</div>
</div>
</blockquote>
<div><br class="">
</div>
<div>That document makes no claim to be conformant to any PDF/X standard.</div>
<div>Instead it is fully conformant with  PDF/A-2u — see image.</div>
<div><br class="">
</div>
<img height="490" width="480" apple-width="yes" apple-height="yes" apple-inline="yes" id="D04D094C-CCE6-49A1-B02A-7F448F5CBF64" src="cid:37198960-3EB2-4891-BAE6-48C83D2598F7" class=""></div>
<div><br class="">
</div>
<div><br class="">
</div>
<div>The  pdfx  package is not just for producing PDF/X documents,</div>
<div>but documents for (most) of the various flavors of PDF/X, PDF/A</div>
<div>and PDF/E. (And partially for PDF/VT.)</div>
<div><br class="">
</div>
<div>This is explained in the documentation, where it says what it can do,</div>
<div>and also what it *does not* do, in this regard.</div>
<div><br class="">
</div>
<div>We supply PDF/A — for an archival version, with RGB monitor intent,</div>
<div>as this corresponds most appropriately to the purpose of the document.</div>
<div>It is a manual that will mostly be viewed and read online/onscreen.</div>
<div>It contains several screen-shots which are best read online where</div>
<div>one can zoom in to examine specific parts. The text is fully mapped</div>
<div>to Unicode, for easy searching and Copy/Paste.</div>
<div><br class="">
</div>
<div>It unlikely that it will be often printed to paper copy, though of course </div>
<div>this can still be done. But if so, exact specification of colors is then</div>
<div>not important to the intention of the document.</div>
<div><br class="">
<blockquote type="cite" class="">
<div class="">
<div bgcolor="#FFFFFF" text="#000000" class="">
<ol class="">
</ol>
<p class="">While some of these are explained by the fact that it is intended for web delivery rather than printing, it does not give one enormous confident that the package works as intended. 
</p>
</div>
</div>
</blockquote>
<div>I think that you have assumed that it will do what *you* want it</div>
<div>to do, without having read the supplied documentation.</div>
That is always a recipe for disappointment.<br class="">
<blockquote type="cite" class="">
<div class="">
<div bgcolor="#FFFFFF" text="#000000" class="">
<p class="">What I would therefore like, if this is possible, is for an example LaTeX source file that uses the "pdfx" package and generates fully compliant PDF/X-1A:2003 with Xe(La)TeX as  the typesetting engine. 
</p>
</div>
</div>
</blockquote>
<div>Absolutely.</div>
<div>The package, once installed, comes with two example documents:</div>
<div><br class="">
</div>
<div>   sample.tex</div>
<div>   small2e-pdfx.tex</div>
<div><br class="">
</div>
<div>both of which can be customized by just (un-)commenting appropriate</div>
<div>source lines that load the  pdfx  package with different options, </div>
<div>corresponding to the different PDF standards and conformance levels. </div>
<div><br class="">
</div>
Default color profiles, one for RGB (type ‘mntr' for monitors) </div>
<div>and one CMYK (type ‘prtr’ for printers) are included with the distribution.</div>
<div><br class="">
</div>
<div>If you have the most recent TeXLive 2016 installed, </div>
<div>you can find them this way:</div>
<div><br class="">
</div>
<div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">ls /usr/local/texlive/texmf-local/tex/latex/pdfx/*.tex</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class=""><br class="">
</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">This will list the 2 example documents,</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">as well as support files for other purposes:</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">
<div style="margin: 0px;" class="">  AdobeColorProfiles.tex</div>
<div style="margin: 0px;" class="">  AdobeExternalProfiles.tex</div>
<div style="margin: 0px;" class="">  glyphtounicode-cmr.tex</div>
<div style="margin: 0px;" class="">The purpose of these is documented.</div>
<div style="margin: 0px;" class=""><br class="">
</div>
<div style="margin: 0px;" class=""> sample.tex  has an accompanying  sample.xmpdata  file,</div>
<div style="margin: 0px;" class="">which specifies some example Metadata.</div>
<div style="margin: 0px;" class=""><br class="">
</div>
<div style="margin: 0px;" class=""> small2e-pdfx.sty  provides its  .xmpdata  file via</div>
<div style="margin: 0px;" class="">LaTeX’s  \begin{filecontents*}  mechanism to include it</div>
<div style="margin: 0px;" class="">as a subfile of the main file.</div>
<div style="margin: 0px;" class=""><br class="">
</div>
</div>
</div>
<div>This latter technique makes it possible to supply the document </div>
<div>and its accompanying Metadata, all in a single file.</div>
<div>Read about it in the documentation.</div>
<div><br class="">
</div>
<div>This is very convenient if the Metadata does not change.</div>
<div>But if you do want to change it, then you need to be aware</div>
<div>of the  -shell-escape  option, and its security implications.</div>
<div>Again, discussed in the documentation.</div>
<div><br class="">
</div>
<div>To process the examples, copy  </div>
<div>   sample.tex<br class="">
   sample.xmpdata
<div>   small2e-pdfx.tex</div>
<div>to a fresh directory.</div>
<div>These should then just work — provided the package is installed properly:</div>
<div>  pdflatex sample.tex</div>
<div>  pdflatex small2e-pdfx.tex</div>
<div>Do these 2-3 times to ensure any bookmarks and cross-references are resolved.</div>
<div><br class="">
</div>
<div>Having checked that these work, now you can start to play</div>
<div>with different package options, and different TeX engines.</div>
<div>Do *not* expect  </div>
<div>      xelatex sample.tex</div>
<div>to just work out-of-the-box.</div>
<div>Read the documentation  pdfx.pdf  to learn of what is needed when using XeTeX</div>
<div>as the engine. </div>
<div><br class="">
</div>
<blockquote type="cite" class="">
<div class="">
<div bgcolor="#FFFFFF" text="#000000" class="">
<p class="">In particular I need it to generate OutputIntent with /Info other than (None) and OutputConditionIdentifier other than (Custom), so that I can see what a fully-compliant PDF/X-1A:2003 has in these metadata fields.  Also one that embeds an ICC color
 profile and XMP metadata.  </p>
</div>
</div>
</blockquote>
<div>The above-mentioned examples do this.</div>
<div>They are setup to be as simple as possible, provided the package is correctly</div>
<div>installed within a modern TeXLive installation.</div>
<div>MikTeX packages things differently. Find the examples in its  doc/  subtree.</div>
<div><br class="">
</div>
<div>If you do not use TeXLive or MikTeX, then download the complete  pdfx  package </div>
<div>from CTAN. Consult the documentation for help with installation.</div>
<br class="">
<blockquote type="cite" class="">
<div class="">
<div bgcolor="#FFFFFF" text="#000000" class="">
<p class="">If you (or any member of this list) has such a source file, I would be most grateful for a copy so that I can investigate the \specials necessary to accomplish all of these goals.</p>
</div>
</div>
</blockquote>
<div>You probably have such examples already.</div>
<div><br class="">
</div>
<div><br class="">
</div>
<blockquote type="cite" class="">
<div class="">
<div bgcolor="#FFFFFF" text="#000000" class="">** Phil.<br class="">
-- <br class="">
<div class="moz-text-html" lang="x-unicode">
<div class="moz-signature"><span id="cid:part1.08010409.07080103@Rhul.Ac.Uk"><Mail Attachment.jpeg></span><br class="">
Philip Taylor</div>
</div>
</div>
</div>
</blockquote>
</div>
<div class=""><br class="">
</div>
<div class="">Hope this helps.</div>
<div class=""><br class="">
</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>Ross</div>
<br class="">
<div apple-content-edited="true" class="">
<div style="font-family: Arial, sans-serif; orphans: 2; widows: 2; " class=""><span class="Apple-style-span" style="font-size: 9px;"><b class=""><span style="font-size: 9pt;" class=""><br class="Apple-interchange-newline">
Dr Ross Moore</span></b></span></div>
<div style="font-family: Arial, sans-serif; orphans: 2; widows: 2;" class="">
<p style="font-family: Arial, sans-serif; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; color: rgb(119, 119, 119); font-size: 7pt; margin-bottom: 3.75pt;" class="">
<font color="#000000" class=""><span style="font-size: 9pt;" class=""><b class="">Mathematics Dept </b><b class="">|</b> Level 2, S2.638 AHH<br class="">
Macquarie University, NSW 2109, Australia</span><span style="font-family: 'Times New Roman', serif; font-size: 12pt;" class=""></span></font></p>
<p style="font-family: Arial, sans-serif; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; color: rgb(119, 119, 119); font-size: 7pt; line-height: 11.25pt; margin-bottom: 3.75pt;" class="">
<b class=""><span style="font-size: 9pt;" class=""><font color="#000000" class="">T:</font></span></b><span style="font-size: 9pt;" class=""><font color="#000000" class=""> +61 2 9850 <b class="">8955  |  F:</b> </font><a href="tel:%2B61%202%209850%209695" value="+61298509695" target="_blank" class=""><font color="#000000" class="">+61
 2 9850 8114</font></a><br class="">
<font color="#000000" class=""><b class="">M:</b><a href="tel:%2B61%20409%20125%20670" value="+61409125670" target="_blank" class="">+61 407 288 255</a><b class="">  |  </b>E: </font><a href="mailto:rick.minter@mq.edu.au" target="_blank" class=""><font color="#000000" class="">ross.moore@mq.edu.au</font><font color="#1155cc" class=""><span style="color: black;" class=""></span></font></a><font color="#1155cc" class=""><span style="color: black;" class=""></span></font><span style="color: black;" class=""></span><br class="">
</span></p>
<p style="font-family: Arial, sans-serif; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; color: rgb(119, 119, 119); font-size: 7pt; line-height: 11.25pt; margin-bottom: 3.75pt;" class="">
<span style="font-size: 9pt;" class=""><span style="color: black;" class=""><a title="Macquarie University" href="http://mq.edu.au/" target="_blank" class="">http://www.maths.mq.edu.au</a></span></span></p>
<p style="color: rgb(0, 0, 0); font-family: Arial, sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<a href="http://mq.edu.au/" target="_blank" class=""><br class="Apple-interchange-newline">
<span><img height="58" width="260" apple-inline="yes" id="A6F342E3-1150-4353-BDAA-219137F99FCA" apple-width="yes" apple-height="yes" src="cid:image001.png@01D030BE.D37A46F0" class=""></span></a></p>
<p style="font-family: Arial, sans-serif; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; color: rgb(119, 119, 119); font-size: 7pt;" class="">
<a href="http://mq.edu.au/" target="_blank" class=""><span style="color: rgb(119, 119, 119); font-size: 7pt;" class=""><br class="Apple-interchange-newline">
CRICOS Provider Number 00002J. Think before you print. <br class="">
Please consider the environment before printing this email.</span><span style="font-family: 'Times New Roman', serif; font-size: 12pt;" class=""></span></a></p>
<p style="font-family: Arial, sans-serif; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; color: rgb(119, 119, 119); font-size: 7pt;" class="">
<a href="http://mq.edu.au/" target="_blank" class=""><span style="color: rgb(119, 119, 119); font-size: 7pt;" class="">This message is intended for the addressee named and may <br class="">
contain confidential information. If you are not the intended <br class="">
recipient, please delete it and notify the sender. Views expressed <br class="">
in this message are those of the individual sender, and are not <br class="">
necessarily the views of Macquarie University.</span></a></p>
</div>
</div>
<br class="">
</div>
</body>
</html>