<p dir="ltr">Indeed! Nicely catched! (with the minor exception of being the opposite - loading a package saves me from 'Option clash' error instead of throwing a 'Package hyperref Warning: Option `pdftex' has already been used' warning) </p>
<br><div class="gmail_quote"><div dir="ltr">Στις Κυρ, 10 Ιουλ 2016 - 20:17 ο χρήστης David Carlisle <<a href="mailto:d.p.carlisle@gmail.com">d.p.carlisle@gmail.com</a>> έγραψε:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This looks like the same issue as<br>
<br>
<a href="http://tex.stackexchange.com/questions/317137/is-it-ok-to-load-a-package-twice-as-long-as-no-extra-options-are-given/317140#317140" rel="noreferrer" target="_blank">http://tex.stackexchange.com/questions/317137/is-it-ok-to-load-a-package-twice-as-long-as-no-extra-options-are-given/317140#317140</a><br>
<br>
with catoptions redefinition of the package loading generating<br>
spurious errors if the package is loaded with no options after having<br>
been loaded with an option.<br>
<br>
David<br>
<br>
<br>
<br>
On 10 July 2016 at 11:55, Ntentos Stavros <<a href="mailto:stdedos@gmail.com" target="_blank">stdedos@gmail.com</a>> wrote:<br>
> -----BEGIN PGP SIGNED MESSAGE-----<br>
> Hash: SHA256<br>
><br>
> Hello to all developers,<br>
><br>
> I have stumbled upon (something that looks like) a bug, but Mn-WE is<br>
> way too complicated to decide who's fault is which. Pardon me in<br>
> advance if I am implicating someone 'innocent'.<br>
><br>
> Package dependency is as follows:<br>
><br>
> 1) I wanted 'pdfcomment' to annotate PDF Documents in Adobe Reader,<br>
> which benefits from 'xcolor', and loads 'hyperref' as required.<br>
><br>
> 2) I wanted 'hyperref' for the hyperlinks (but it is there as of `1`)<br>
><br>
> 3) I wanted 'xwatermark' to draw some watermarks on my document, which<br>
> is further enhanced by 'xcolor' but does no attempt to load it (ie<br>
> left to user)<br>
><br>
> (I might be missing some things, but that is my viewpoint)<br>
> - ---<br>
> Compiling like this, we get the error of '! LaTeX Error: Option clash<br>
> for package color.'<br>
><br>
> However, if we include '\usepackage{hyperref}' anywhere on the<br>
> preample, gives us 'Package hyperref Warning: Option `pdftex' has<br>
> already been used,'.<br>
><br>
> [with some further explaining from later '\hypersetup':<br>
><br>
> (hyperref) setting the option has no effect on input line 1359.<br>
> Package zref Info: New property list: pdfcomment on input line 2724.<br>
> Package zref Info: New property: PCPDFOBJID on input line 2725.<br>
> )<br>
> Package hyperref Info: Option `pdfdisplaydoctitle' set `true' on input<br>
> line 21.<br>
> Package hyperref Info: Option `colorlinks' set `true' on input line 21.'<br>
> ]<br>
><br>
> I am available for any further clarifications you (all) may need to<br>
> help resolve this weird configuration (after all, that's the meanest<br>
> of bugs! :D )<br>
> - --<br>
> Yours faithfully,<br>
> Ntentos Stavros<br>
> -----BEGIN PGP SIGNATURE-----<br>
> Version: GnuPG v2<br>
> Comment: Using GnuPG with Thunderbird - <a href="http://www.enigmail.net/" rel="noreferrer" target="_blank">http://www.enigmail.net/</a><br>
><br>
> iQIcBAEBCAAGBQJXgimhAAoJEAQJ50Mm6gMIYjkP/1E1AB3ETXsLXLLxBRYIByGX<br>
> 6LXsZObeaP/22UmyltMraGTkDY5WNhd242xKdHSAGUpDsLgygtn5t72d2tR6YdKr<br>
> hUyoD8DLhlFV3cIv+XAb/SwLD//S3PLVi8FehgyIBLM6sYP1KgR/nE3ZL1Zvdvjw<br>
> raC0VAi3iwVwdczzHQ7Pr9jqontx3NwU29s5A9YpugT7TF9CPUVf5mlV99I7I4Mw<br>
> VnI1UXM3VPPyUFY38647/OGGhUgia51qhThuWKNzOWSWSUN55fDWQZJXphy3yDg6<br>
> nZ1zYk/pkfB/XPLI5i5CrgXDpP0QMR/E21ar5uxEOI3qY6QtiSIUx0qKyzZGmV/O<br>
> w48c8xjGy259GIRc+dhvEFXaJRmR77Jr+Mx5+/L6Ew9M1Qj/z/6xVYpa7Hcyz0//<br>
> Lx8ofbd53huY+8zTX7WYb6svZxxD9DXBlnxB3d5iU32FjSZQdAuezzngN9VbBbaQ<br>
> J3aMEYiuafrpKYHQ8Gecbk6AriAJO0vh0jI7dQHXUVwubmfKLGTD72fjoB/FwjR+<br>
> bLcmalb2xMXD5HqQjx3mwO96NULKgtQWkvQBbpakb/wpqXgYRCQbmjFVj1xfVWT6<br>
> khGQA4Sb0sKhMV4oj/i8qCV9pc22OYZdMXDNwvDul4OhWfB435R1gtKwu1GWIq0c<br>
> EJn7KSDPtiIq+Frv2sB0<br>
> =rFot<br>
> -----END PGP SIGNATURE-----<br>
><br>
><br>
> ---<br>
> Αυτό το e-mail ελέγχθηκε για ιούς από το πρόγραμμα Avast antivirus.<br>
> <a href="https://www.avast.com/antivirus" rel="noreferrer" target="_blank">https://www.avast.com/antivirus</a><br>
</blockquote></div><div dir="ltr">-- <br></div><div data-smartmail="gmail_signature"><div dir="ltr"><p dir="ltr">Με εκτίμηση, <br>
Ντέντος Σταύρος</p>
</div></div>