summaryrefslogtreecommitdiff
path: root/Build/source/texk/dviout-util/tests
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/dviout-util/tests')
-rw-r--r--Build/source/texk/dviout-util/tests/test.cfn26
-rw-r--r--Build/source/texk/dviout-util/tests/test.spc99
-rw-r--r--Build/source/texk/dviout-util/tests/test.tex37
3 files changed, 162 insertions, 0 deletions
diff --git a/Build/source/texk/dviout-util/tests/test.cfn b/Build/source/texk/dviout-util/tests/test.cfn
new file mode 100644
index 00000000000..6c0a411a9f1
--- /dev/null
+++ b/Build/source/texk/dviout-util/tests/test.cfn
@@ -0,0 +1,26 @@
+dvi file name = ./test.dvi
+comment = TeX output 2018.02.11:1459
+factor converting to 10^{-5}m = 25400000/473628672
+magnification = 1000
+maximum width = 26083328 scaled points = 398 points
+maximum height+depth = 11099063 scaled points = 169 points
+maximum stack depth = 4
+number of pages = 13
+page size = 14.0 cm x 6.0 cm
+page size magnificated = 14.0 cm x 6.0 cm
+
+Font 14
+ checksum = 44D3ED74
+ design size = 1132462 scaled points = 17 points
+ space size = 1630536 scaled points = 24 points
+ magnification = +magstep2
+ font name = cmr17
+
+Font 7
+ checksum = 4BF16079
+ design size = 655360 scaled points = 10 points
+ space size = 655360 scaled points = 10 points
+ font name = cmr10
+
+EXIT Code (errorlevel) = 0
+No AMS Font
diff --git a/Build/source/texk/dviout-util/tests/test.spc b/Build/source/texk/dviout-util/tests/test.spc
new file mode 100644
index 00000000000..db4301f32f7
--- /dev/null
+++ b/Build/source/texk/dviout-util/tests/test.spc
@@ -0,0 +1,99 @@
+[1]
+{pdf:docinfo<</Title()/Subject()/Creator(LaTeX with hyperref package)/Author()/Producer(dvipdfm)/Keywords()>>}
+{papersize=597.50787pt,845.04684pt}
+{pdf:dest (page.1) [@thispage /XYZ @xpos @ypos null]}
+{pdf:pagesize width 597.50787pt height 845.04684pt}
+{color push Black}
+{color pop}
+{pdf:docview<</OpenAction[@page1/Fit]/PageMode/UseOutlines>>}
+{pdf:dest (Doc-Start) [@thispage /XYZ @xpos @ypos null]}
+{color push Black}
+{color pop}
+[2]
+{pdf:dest (page.2) [@thispage /XYZ @xpos @ypos null]}
+{color push Black}
+{color pop}
+{color push Black}
+{color pop}
+[3]
+{pdf:dest (page.3) [@thispage /XYZ @xpos @ypos null]}
+{color push Black}
+{color pop}
+{background rgb 1 0 0}
+{color push Black}
+{color pop}
+[4]
+{pdf:dest (page.4) [@thispage /XYZ @xpos @ypos null]}
+{color push Black}
+{color pop}
+{color push Black}
+{color pop}
+[5]
+{pdf:dest (page.5) [@thispage /XYZ @xpos @ypos null]}
+{color push Black}
+{color pop}
+{color push Black}
+{color pop}
+[6]
+{pdf:dest (page.6) [@thispage /XYZ @xpos @ypos null]}
+{color push Black}
+{color pop}
+{background gray 1}
+{color push Black}
+{color pop}
+[7]
+{pdf:dest (page.7) [@thispage /XYZ @xpos @ypos null]}
+{color push Black}
+{color pop}
+{color push Black}
+{color pop}
+[8]
+{pdf:dest (page.8) [@thispage /XYZ @xpos @ypos null]}
+{color push Black}
+{color pop}
+{color push rgb 1 0 0}
+{color push Black}
+{color pop}
+[9]
+{pdf:dest (page.9) [@thispage /XYZ @xpos @ypos null]}
+{color push Black}
+{color pop}
+{color push Black}
+{color pop}
+[10]
+{pdf:dest (page.10) [@thispage /XYZ @xpos @ypos null]}
+{color push Black}
+{color pop}
+{color pop}
+{color push Black}
+{color pop}
+[11]
+{pdf:dest (page.11) [@thispage /XYZ @xpos @ypos null]}
+{color push Black}
+{color pop}
+{color push Black}
+{color pop}
+[12]
+{pdf:dest (page.12) [@thispage /XYZ @xpos @ypos null]}
+{color push Black}
+{color pop}
+{pdf:bann<</Type/Annot/Subtype/Link/Border[0 0 0]/H/I/C[0 1 1]/A<</S/URI/URI(https://ctan.org/)>>>>}
+{color push cmyk 0 1 0 0}
+{color pop}
+{pdf:eann}
+{pdf:bann<</Type/Annot/Subtype/Link/Border[0 0 0]/H/I/C[0 1 1]/A<</S/URI/URI(https://tug.org/)>>>>}
+{color push cmyk 0 1 0 0}
+{color push Black}
+{color pop}
+[13]
+{pdf:dest (page.13) [@thispage /XYZ @xpos @ypos null]}
+{color push Black}
+{color pop}
+{color pop}
+{pdf:eann}
+{pdf:bann<</Type/Annot/Subtype/Link/Border[0 0 0]/H/I/C[0 1 1]/A<</S/URI/URI(https://ctan.org/)>>>>}
+{color push cmyk 0 1 0 0}
+{color pop}
+{pdf:eann}
+{color push Black}
+{color pop}
diff --git a/Build/source/texk/dviout-util/tests/test.tex b/Build/source/texk/dviout-util/tests/test.tex
new file mode 100644
index 00000000000..9986af8d058
--- /dev/null
+++ b/Build/source/texk/dviout-util/tests/test.tex
@@ -0,0 +1,37 @@
+\documentclass[a4paper,dvipdfmx]{article}
+\usepackage{color}
+\usepackage[colorlinks=true]{hyperref}
+\textheight3cm
+\begin{document}
+\Huge
+white
+\newpage
+white
+\newpage
+\pagecolor{red}
+red
+\newpage
+red
+\newpage
+red
+\newpage
+\pagecolor{white}
+white
+\newpage
+black
+\newpage
+{\color{red}
+red
+\newpage
+red
+\newpage
+red}
+\newpage
+black
+\newpage
+Here starts hyperlink:
+\href{https://ctan.org/}{CTAN} ended.
+\href{https://tug.org/}%
+{TUG TUG TUG TUG TUG TUG TUG TUG TUG TUG TUG TUG TUG TUG TUG TUG}
+Again starts hyperlink: \href{https://ctan.org/}{CTAN} all done!
+\end{document}