You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After a recent texlive update, the following trivial document now fails to build:
\documentclass[english]{article}
\usepackage[
type={CC},
modifier={by},
version={4.0},
]{doclicense}
\begin{document}
This is the document.
\end{document}
When I run pdflatex, I get an error saying
Package hyperxmp Error: hyperref must be loaded before hyperxmp.
I am importing neither of these packets, so I am kind of at a loss about how to resolve this situation.
This is on Debian with texlive 2023.20231007-1.
The text was updated successfully, but these errors were encountered:
As I understand it, the intention is for the pacage to automatically load needed other packages, so seems there is a bug here.
A workaround is to manually load hyperref before, like this:
\documentclass[english]{article}
\usepackage{hyperref}
\usepackage[
type={CC},
modifier={by},
version={4.0},
]{doclicense}
\begin{document}
This is the document.
\end{document}
Another workaround is to avoid use of hyperxmp (read the documentation for details on when that might be suitable), like this:
\documentclass[english]{article}
\usepackage[
type={CC},
modifier={by},
version={4.0},
hyperxmp=false,
]{doclicense}
\begin{document}
This is the document.
\end{document}
After a recent texlive update, the following trivial document now fails to build:
When I run pdflatex, I get an error saying
I am importing neither of these packets, so I am kind of at a loss about how to resolve this situation.
This is on Debian with texlive 2023.20231007-1.
The text was updated successfully, but these errors were encountered: