doclicense: Specify package order for any dependencies in documentation
thbde opened this issue · 6 comments
It would be helpful if the documentation contains a sentence in which order I should declare my packages.
Following #66 (comment), it seems that the order is important.
hyperxmp
, loaded by doclicense
, states in the documentation https://mirror.informatik.hs-fulda.de/tex-archive/macros/latex/contrib/hyperxmp/hyperxmp.pdf :
To use hyperxmp, merely put a \usepackage{hyperxmp} in your document’s preamble. That line can appear anywhere before the hyperref pdf options are specified (i.e., with either \usepackage[. . . ]{hyperref} or \hypersetup{. . . }).
Conclusively, I would assume doclicense
must appear before hypperref
?
It is unclear to me if there is any order dependency to hyperxmp
now. Most likely no, but #66 (comment) is not so clear in this aspect.
Can you give it a try in a pull request? Generally, I prefer when the changes are done directly to the source rather than talking about it :)
In general yes, I can sent a pull request. However, in this case, the specification is not fully clear for me.
I can conclude:
doclicense
should appear beforehyperref
ifhyperxmp
is loaded
It is unclear to me:
- Must
doclicense
appear beforehyperxmp
? Or after? Or maybe there is no dependency at all tohyperxmp
- Anything else?
Don’t worry. I wrote the section. Does #84 solve it? I hope I did not overlook a package load order constraint.
Looks good. The loading order via the hooks will indeed prevent some possible issues if I understand it correctly.
Merged, thanks for all your feedback :) I will stick to my plan to release a new version on 2021-07-10.
Thank you very much for the fast reactions. I have adapted my affected projects to work with the current and the new version.