[latex3-commits] [git/LaTeX3-latex3-pdfresources] reworking-annot: uri test (d427d43)

Ulrike Fischer fischer at troubleshooting-tex.de
Sat Jan 9 17:32:46 CET 2021


Repository : https://github.com/latex3/pdfresources
On branch  : reworking-annot
Link       : https://github.com/latex3/pdfresources/commit/d427d430a3ce253a63fb20f792d430d1b130c058

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

commit d427d430a3ce253a63fb20f792d430d1b130c058
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Sat Jan 9 17:32:46 2021 +0100

    uri test


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

d427d430a3ce253a63fb20f792d430d1b130c058
 experiments/uri-encoding-tests.tex | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/experiments/uri-encoding-tests.tex b/experiments/uri-encoding-tests.tex
new file mode 100644
index 0000000..b764c79
--- /dev/null
+++ b/experiments/uri-encoding-tests.tex
@@ -0,0 +1,37 @@
+% !Mode:: "TeX:DE:UTF-8:Main"
+\RequirePackage{pdfmanagement}
+\DeclareDocumentMetadata{uncompress}
+\documentclass{article}
+\usepackage{hyperref}
+\usepackage{parskip}
+\begin{document}
+\section{Test 1}
+\href{https://www.latex-project.org/get/#tex-distributions}{ascii}
+
+\href{http://ang.wikipedia.org/wiki/Elisabeþ_I_Engla_Cwēn}{old english}
+
+\href{http://ja.wikipedia.org/wiki/エリザベス1世_(イングランド女王}{japanese}
+
+\ExplSyntaxOn
+\tl_set:Nn \l__hyp_text_enc_uri_print_tl  {string-lit-print}
+\ExplSyntaxOff
+
+\section{Test 2}
+\href{https://www.latex-project.org/get/#tex-distributions}{ascii}
+
+\href{http://ang.wikipedia.org/wiki/Elisabeþ_I_Engla_Cwēn}{old english}
+
+\href{http://ja.wikipedia.org/wiki/エリザベス1世_(イングランド女王}{japanese}
+
+\ExplSyntaxOn
+\tl_set:Nn \l__hyp_text_enc_uri_print_tl  {string-hex-print}
+\ExplSyntaxOff
+
+\section{Test 3}
+\href{https://www.latex-project.org/get/#tex-distributions}{ascii}
+
+\href{http://ang.wikipedia.org/wiki/Elisabeþ_I_Engla_Cwēn}{old english}
+
+\href{http://ja.wikipedia.org/wiki/エリザベス1世_(イングランド女王}{japanese}
+
+\end{document}
\ No newline at end of file





More information about the latex3-commits mailing list.