[latex3-commits] [git/LaTeX3-latex3-pdfresources] reworking-annot: pass draft also for package option (5d413f2)
Ulrike Fischer
fischer at troubleshooting-tex.de
Thu Jan 28 18:16:21 CET 2021
Repository : https://github.com/latex3/pdfresources
On branch : reworking-annot
Link : https://github.com/latex3/pdfresources/commit/5d413f20ea733e3d3bdecec912f2ff73d2988856
>---------------------------------------------------------------
commit 5d413f20ea733e3d3bdecec912f2ff73d2988856
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date: Thu Jan 28 18:16:21 2021 +0100
pass draft also for package option
>---------------------------------------------------------------
5d413f20ea733e3d3bdecec912f2ff73d2988856
hyperref-generic.dtx | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/hyperref-generic.dtx b/hyperref-generic.dtx
index 493f6d9..175fb5d 100644
--- a/hyperref-generic.dtx
+++ b/hyperref-generic.dtx
@@ -838,6 +838,10 @@
{
\AddToHook{begindocument/before}[hyperref/bookmark]{\RequirePackage{bookmark}}
}
+\legacy_if:nT {Hy at draft}
+ {
+ \PassOptionsToPackage{draft}{bookmark}
+ }
% \end{macrocode}
%
% \section{Reference and label commands}
More information about the latex3-commits
mailing list.