[latex3-commits] [git/LaTeX3-latex3-pdfresources] outputpatches: first testfile (9a53974)
Ulrike Fischer
fischer at troubleshooting-tex.de
Fri Aug 20 00:45:31 CEST 2021
Repository : https://github.com/latex3/pdfresources
On branch : outputpatches
Link : https://github.com/latex3/pdfresources/commit/9a53974858d71260195558835f08eb0e046f40e6
>---------------------------------------------------------------
commit 9a53974858d71260195558835f08eb0e046f40e6
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date: Fri Aug 20 00:45:31 2021 +0200
first testfile
>---------------------------------------------------------------
9a53974858d71260195558835f08eb0e046f40e6
experiments/stop-link.tex | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/experiments/stop-link.tex b/experiments/stop-link.tex
new file mode 100644
index 0000000..a45fa2d
--- /dev/null
+++ b/experiments/stop-link.tex
@@ -0,0 +1,28 @@
+\RequirePackage{pdfmanagement-testphase}
+\DeclareDocumentMetadata{uncompress}
+
+\documentclass{article}
+\usepackage{output-patches-testphase}
+\usepackage{lipsum}
+\usepackage{hyperref}
+\usepackage{color,xpatch,fancyhdr}
+\pagestyle{fancy}
+\lhead{HEADER \href{https://tug.org}{linklinklink}}
+\lfoot{FOOTER}
+
+\ExplSyntaxOn\makeatletter
+\tl_gput_left:Nn \@kernel at before@head{\pdfannot_link_off:}
+\tl_gput_right:Nn \@kernel at after@head{\pdfannot_link_on:}
+\tl_gput_left:Nn \@kernel at before@foot{\pdfannot_link_off:}
+\tl_gput_right:Nn \@kernel at after@foot{\pdfannot_link_on:}
+\ExplSyntaxOff
+\makeatother
+
+\textheight=2.5cm
+\begin{document}
+
+\section{abc}
+x\\x\\x\\x
+\href{https://www.latex-project.org}{Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.}\\x
+
+\end{document}
\ No newline at end of file
More information about the latex3-commits
mailing list.