[latex3-commits] [git/LaTeX3-latex3-pdfresources] testlink: storing (09704a0)

Ulrike Fischer fischer at troubleshooting-tex.de
Wed Mar 17 17:57:39 CET 2021


Repository : https://github.com/latex3/pdfresources
On branch  : testlink
Link       : https://github.com/latex3/pdfresources/commit/09704a0d63056ae3f2815f563538441e6e350cfe

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

commit 09704a0d63056ae3f2815f563538441e6e350cfe
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Wed Mar 17 17:57:39 2021 +0100

    storing


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

09704a0d63056ae3f2815f563538441e6e350cfe
 experiments/linkinput.tex | 17 +++++++++++------
 resave.bat                | 18 ------------------
 2 files changed, 11 insertions(+), 24 deletions(-)

diff --git a/experiments/linkinput.tex b/experiments/linkinput.tex
index e72f40a..c14a57d 100644
--- a/experiments/linkinput.tex
+++ b/experiments/linkinput.tex
@@ -85,7 +85,7 @@ For this reason three new commands have been create:
 \begin{itemize}
 \item \cs{hrefurl} for standard urls (and non-pdf files)
 \item \cs{hrefpdf} for references to pdf files
-\item \cs{hreflaunch} for launch links
+\item \cs{hrefrun} for launch links
 \end{itemize}
 
 The new commands don't use prefixes like \cs{href}.
@@ -100,7 +100,7 @@ key & applicable commands  & note\\\hline
 urlencode & \cs{hrefurl}   & if set the code will convert the argument to percent encoding. This allows non-ascii input.\\
 protocol &  \cs{hrefurl}, \cs{url} & This sets a prefix/protocol that is added to the url, see below. \\
 format   & \cs{url}   & a command used to format the printed text. It replaces the standard \cs{Url}. This can improve non-ascii
-typesetting at the cost of losing the special line breaking\\ 
+typesetting at the cost of losing the special line breaking.\\
 destination &  \cs{href}, \cs{hrefpdf} & A destination name in the PDF\\
 page & \cs{href}, \cs{hrefpdf}        & destination page, default: 1\\
 pdfremotestartview &\cs{href}, \cs{hrefpdf} & start view, default: Fit\\
@@ -162,14 +162,19 @@ See
 
 \href{colonGoToR.pdf}{xxx}
 
-\end{document}
 
 \section{String}
 
-\ExplSyntaxOn
-\str_set:Nx\l_tmpa_str{file://www.abcstring.de\c_percent_str \c_hash_str 123}
-\expandafter\href\expandafter{\l_tmpa_str}{blub}
+\def\blub{file://www.teststrings.de}
+\href{\blub}{aaa}
+\ExplSyntaxOn %no underscores in command names ...
+\str_set:Nx\ltmpastr{file\c_colon_str//www.teststrings.de\c_percent_str \c_hash_str 123}
+\href{\ltmpastr}{blub}
+\hrefurl{\ltmpastr}{blub}
+\hrefpdf{\ltmpastr}{blub}
 \ExplSyntaxOff
+\end{document}
+
 \section{parentheses}
 These are correctly escaped
 % URI(https://www.xyz.de\(blub\))
diff --git a/resave.bat b/resave.bat
index 96a51e0..e7ab889 100644
--- a/resave.bat
+++ b/resave.bat
@@ -3,21 +3,3 @@ rem l3build save -e\2 \1
 rem l3build save -cconfig-dvips \1
 rem l3build save -cconfig-luatex -e\2 \1
 rem l3build save -cconfig-noxetex -e\2 \1
-
-Rem Check failed with difference files
-l3build save -eluatex disable-links
-l3build save -epdftex disable-links
-l3build save -exetex disable-links
-l3build save -eluatex linkbordercolor
-l3build save -epdftex linkbordercolor
-l3build save -exetex linkbordercolor
-l3build save -eluatex ocgcolorlinks
-l3build save -epdftex ocgcolorlinks
-l3build save -exetex ocgcolorlinks
-l3build save -eluatex pdffilelink
-l3build save -epdftex pdffilelink
-l3build save -exetex pdffilelink
-
-Rem  Check failed with difference files
-l3build save -cconfig-dvips disable-links
-l3build save -cconfig-dvips pdffilelink





More information about the latex3-commits mailing list.