<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 15 July 2016 at 00:19, Ross Moore <span dir="ltr"><<a href="mailto:ross.moore@mq.edu.au" target="_blank">ross.moore@mq.edu.au</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div style="word-wrap:break-word">
Hi David,
<div><br>
<div><span class="">
<blockquote type="cite">
<div>On Jul 15, 2016, at 8:49 AM, David Carlisle <<a href="mailto:d.p.carlisle@gmail.com" target="_blank">d.p.carlisle@gmail.com</a>> wrote:</div>
</blockquote>
<br>
<blockquote type="cite">
<div>well that'll be the page size special change as mentioned earlier I assume.<br>
</div>
</blockquote>
<div><br>
</div>
</span><div>Hmm. In which version of  color.sty  was this introduced?</div></div></div></div></blockquote><div><br></div><div>pdftex.def (and luatex.def) have _always_ set \pdfpage(height|width) with no option not to do that, <br></div><div>conversely dvips.def did not by default set \ pagesize \special, which mean that if you used color or graphics<br></div><div>then the pdf-specified page size either was or was not affected by latex options such as <br>\documentclass[a4paper]{article}<br></div><div>depending if you used pdftex or tex+dvips (or luatex or xetex)<br></div><div>as of this year, after some discussion on the texlive list color and graphics acquired  setpagesize and nosetpagesize options and then dvips/pdftex/luatex/xetex/dvipdfmx.def either set the page size or not.<br></div><div><br> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div><div>
<div>Presumably later than:</div>
<div>
<div style="margin:0px;font-size:11px;font-family:Menlo"><br>
</div>
<div style="margin:0px;font-size:11px;font-family:Menlo">Package: color 2016/05/09 v1.1c Standard LaTeX Color (DPC)</div>
<div><br>
</div>
</div>
<div>There is a potential conflict with  pdfx.sty  setting the  /MediaBox .</div><span class="">
<div><br>
</div>
<blockquote type="cite">
<div><br>
what does \usepackage [nosetpagesize]{color} do?<br>
</div>
</blockquote>
<div><br>
</div>
</span><div>Is there a mechanism similar to  \hypersetup  that allows the options to be changed</div>
<div>*after* the package has been loaded?</div></div></div></div></blockquote><div><br></div><div>Not really, although the actual setting is in \AtBeginDocument{\AtBeginDVI  so as long<br></div><div>as you set the relevant registers to the right value it'll get set up (but let me know if you need more hooks)<br>  <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word"><div><div>
<div><br>
</div>
<div>Alternatively, can I detect whether the  pagesize  special has been done already?</div>
<div>Then not repeat specifying  /MediaBox  when setting the other boxes:  Bleed/Crop/Trim </div>
<div>which are required for PDF/X validation.</div>
<div><br>
</div>
<div>If not loaded yet, I can do  \PassOptionsToPackage{nosetpagesize}{color} .</div>
<div>But I’ll want to catch the case also if it is loaded.</div>
<div><br>
</div>
<div><br>
</div>
<div>Cheers</div><span class="HOEnZb"><font color="#888888">
<div><br>
</div>
<div><span style="white-space:pre-wrap"></span>Ross</div></font></span></div></div></div></blockquote><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word"><div><div><span class="HOEnZb"><font color="#888888">
</font></span></div><span class="">
David<br></span></div></div></blockquote><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word"><div><span class=""></span></div><div><span class="">
<div>
<div style="font-family:Arial,sans-serif"><span style="font-size:9px"><b><span style="font-size:9pt"><br>
Dr Ross Moore</span></b></span></div>
<div style="font-family:Arial,sans-serif">
<p style="font-family:Arial,sans-serif;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(119,119,119);font-size:7pt;margin-bottom:3.75pt">
<font color="#000000"><span style="font-size:9pt"><b>Mathematics Dept </b><b>|</b> Level 2, S2.638 AHH<br>
Macquarie University, NSW 2109, Australia</span><span style="font-family:'Times New Roman',serif;font-size:12pt"></span></font></p>
<p style="font-family:Arial,sans-serif;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(119,119,119);font-size:7pt;line-height:11.25pt;margin-bottom:3.75pt">
<b><span style="font-size:9pt"><font color="#000000">T:</font></span></b><span style="font-size:9pt"><font color="#000000"> +61 2 9850 <b>8955  |  F:</b> </font><a href="tel:%2B61%202%209850%209695" value="+61298509695" target="_blank"><font color="#000000">+61
 2 9850 8114</font></a><br>
<font color="#000000"><b>M:</b><a href="tel:%2B61%20409%20125%20670" value="+61409125670" target="_blank">+61 407 288 255</a><b>  |  </b>E: </font><a href="mailto:rick.minter@mq.edu.au" target="_blank"><font color="#000000">ross.moore@mq.edu.au</font><font color="#1155cc"><span style="color:black"></span></font></a><font color="#1155cc"><span style="color:black"></span></font><span style="color:black"></span><br>
</span></p>
<p style="font-family:Arial,sans-serif;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(119,119,119);font-size:7pt;line-height:11.25pt;margin-bottom:3.75pt">
<span style="font-size:9pt"><span style="color:black"><a title="Macquarie University" href="http://mq.edu.au/" target="_blank">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;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<a href="http://mq.edu.au/" target="_blank"><br>
<span><img src="cid:image001.png@01D030BE.D37A46F0" width="260" height="58"></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;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(119,119,119);font-size:7pt">
<a href="http://mq.edu.au/" target="_blank"><span style="color:rgb(119,119,119);font-size:7pt"><br>
CRICOS Provider Number 00002J. Think before you print. <br>
Please consider the environment before printing this email.</span><span style="font-family:'Times New Roman',serif;font-size:12pt"></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;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(119,119,119);font-size:7pt">
<a href="http://mq.edu.au/" target="_blank"><span style="color:rgb(119,119,119);font-size:7pt">This message is intended for the addressee named and may <br>
contain confidential information. If you are not the intended <br>
recipient, please delete it and notify the sender. Views expressed <br>
in this message are those of the individual sender, and are not <br>
necessarily the views of Macquarie University.</span></a></p>
</div>
</div>
<br>
</span></div>
</div>

<br><br>
<br>
--------------------------------------------------<br>
Subscriptions, Archive, and List information, etc.:<br>
  <a href="http://tug.org/mailman/listinfo/xetex" rel="noreferrer" target="_blank">http://tug.org/mailman/listinfo/xetex</a><br>
<br></blockquote></div><br></div></div>