[latex3-commits] [git/LaTeX3-latex3-lualibs] main: add hook for hyperref (81ce578)

Ulrike Fischer fischer at troubleshooting-tex.de
Tue Oct 4 18:04:49 CEST 2022


Repository : https://github.com/latex3/lualibs
On branch  : main
Link       : https://github.com/latex3/lualibs/commit/81ce578d1a7acd789c5e4992b71de4e009e64181

>---------------------------------------------------------------

commit 81ce578d1a7acd789c5e4992b71de4e009e64181
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Tue Oct 4 18:04:49 2022 +0200

    add hook for hyperref


>---------------------------------------------------------------

81ce578d1a7acd789c5e4992b71de4e009e64181
 lualibs.dtx | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lualibs.dtx b/lualibs.dtx
index 7dcc1ff..ebdba58 100644
--- a/lualibs.dtx
+++ b/lualibs.dtx
@@ -115,6 +115,7 @@ and lualibs-extended.lua.
 \def\primarycolor{DodgerBlue4}  %%-> rgb  16  78 139 | #104e8b
 \def\secondarycolor{Goldenrod4} %%-> rgb 139 105 200 | #8b6914
 %
+\AddToHook{package/hyperref/after}{%
 \hypersetup{
    colorlinks=true,
     linkcolor=\primarycolor,
@@ -123,7 +124,7 @@ and lualibs-extended.lua.
      pdftitle={The lualibs package},
    pdfsubject={Port of the ConTeXt Lua libraries},
     pdfauthor={Elie Roux & Philipp Gesang},
-  pdfkeywords={luatex, lualatex, unicode, opentype}}
+  pdfkeywords={luatex, lualatex, unicode, opentype}}}
 
 \newcommand*\email[1]{\href{mailto:#1}{#1}}
 \usepackage{fontspec}





More information about the latex3-commits mailing list.