[latex3-commits] [git/LaTeX3-latex3-hyperref] master: test file to go with the results (31bd5cd)
David Carlisle
d.p.carlisle at gmail.com
Sat Jan 18 18:10:51 CET 2020
Repository : https://github.com/latex3/hyperref
On branch : master
Link : https://github.com/latex3/hyperref/commit/31bd5cdfebd2ae7d6335466e0b66b7b5ce0bca78
>---------------------------------------------------------------
commit 31bd5cdfebd2ae7d6335466e0b66b7b5ce0bca78
Author: David Carlisle <d.p.carlisle at gmail.com>
Date: Sat Jan 18 17:10:51 2020 +0000
test file to go with the results
>---------------------------------------------------------------
31bd5cdfebd2ae7d6335466e0b66b7b5ce0bca78
testfiles/87-pdf2.lvt | 35 +++++++++++++++++++++++++++++++++++
testfiles/87-pdf2.tlg | 8 ++++++++
2 files changed, 43 insertions(+)
diff --git a/testfiles/87-pdf2.lvt b/testfiles/87-pdf2.lvt
new file mode 100644
index 0000000..f2a6e62
--- /dev/null
+++ b/testfiles/87-pdf2.lvt
@@ -0,0 +1,35 @@
+\ifx\pdfvariable\undefined
+\else
+\pdfvariable majorversion 2
+\pdfvariable minorversion 0
+\pdfvariable compresslevel=0
+\fi
+\ifx\pdfmajorversion\undefined
+\else
+\pdfmajorversion 2
+\pdfminorversion 0
+\pdfcompresslevel=0
+\fi
+
+\documentclass{article}
+\usepackage[ocgcolorlinks]{hyperref}
+\show\ifluatex
+\input{regression-test}
+\begin{document}
+
+\START
+\ifluatex
+ \the\pdfvariable majorversion
+ \expandafter\showthe\pdfvariable majorversion
+ \the\pdfvariable minorversion
+ \expandafter\showthe\pdfvariable minorversion
+\else
+ \the\pdfmajorversion %
+ \showthe\pdfmajorversion %
+ \the\pdfminorversion %
+ \showthe\pdfminorversion %
+\fi
+\END
+
+blub
+\end{document}
\ No newline at end of file
diff --git a/testfiles/87-pdf2.tlg b/testfiles/87-pdf2.tlg
new file mode 100644
index 0000000..d30c399
--- /dev/null
+++ b/testfiles/87-pdf2.tlg
@@ -0,0 +1,8 @@
+This is a generated file for the l3build validation system.
+Don't change this file in any respect.
+> 1.
+l. ... \showthe\pdfmajorversion
+ %
+> 5.
+l. ... \showthe\pdfminorversion
+ %
More information about the latex3-commits
mailing list