[latex3-commits] [git/LaTeX3-latex3-pdfresources] testlinkstuff: use sty instead of hack (1ee3dd7)

Ulrike Fischer fischer at troubleshooting-tex.de
Sun Mar 17 22:47:41 CET 2019


Repository : https://github.com/latex3/pdfresources
On branch  : testlinkstuff
Link       : https://github.com/latex3/pdfresources/commit/1ee3dd70425a39df83fb6cec17dfc53312072147

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

commit 1ee3dd70425a39df83fb6cec17dfc53312072147
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Sun Mar 17 22:47:41 2019 +0100

    use sty instead of hack


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

1ee3dd70425a39df83fb6cec17dfc53312072147
 test-tagpdf-link.tex |   11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/test-tagpdf-link.tex b/test-tagpdf-link.tex
index 321db87..e73b698 100644
--- a/test-tagpdf-link.tex
+++ b/test-tagpdf-link.tex
@@ -30,11 +30,14 @@
 \fi
 
 %very bad hack to input the dtx directly ....
-\def\documentclass#1\end#2{}
+%\def\documentclass#1\end#2{}
+
+%\makeatletter\ExplSyntaxOn
+%\input{pdfresources.dtx}
+%\makeatother\ExplSyntaxOff
+
+\usepackage{pdfresources}
 
-\makeatletter\ExplSyntaxOn
-\input{pdfresources.dtx}
-\makeatother\ExplSyntaxOff
 \usepackage{xcolor}
 \usepackage[customdriver=hluatex-experimental]{hyperref}
 \hypersetup{urlcolor=red,pdfborder={1 1 1},linkbordercolor=yellow}





More information about the latex3-commits mailing list