How do the options of a \RequirePackage command interact with options specified for that same package elsewhere?
Here is an example: The pdfx package, if loaded with the a-1b-option, executes the command \RequirePackage[pdftex,pdfa]{hyperref}. However, later in my LaTeX source file, I might also execute the command \usepackage[pdfa=true,linkbordercolor={0 0 1}]{hyperref}. Where in my document should I place the \usepackage[a-1b]{pdfx}-command so that it doesn't cause any conflicts with my hyperref-command? Does the fact that pdfx's \RequirePackage-command loads different options from the ones I am specifying in my \usepackage[...]{hyperref}-command cause problems?
Relevant:
pkghas been loaded with options[opt1,opt2,...]and there is a later occurrence of either\RequirePackageor\usepackage, that is okay iff the later options are a subset of the earlier ones but generates an error iff there is at least one new option not in the earlier options list? I'm just trying to understand the exact conditions (and they'd be great to see in an answer). – Lover of Structure Jul 25 '12 at 17:57\PassOptionsToPackage– David Carlisle Jul 30 '12 at 10:03