diff options
Diffstat (limited to 'Build/source/texk/dviout-util/tests')
18 files changed, 122 insertions, 164 deletions
diff --git a/Build/source/texk/dviout-util/tests/annot.dvi b/Build/source/texk/dviout-util/tests/annot.dvi Binary files differnew file mode 100644 index 00000000000..19e83bf960b --- /dev/null +++ b/Build/source/texk/dviout-util/tests/annot.dvi diff --git a/Build/source/texk/dviout-util/tests/annot.tex b/Build/source/texk/dviout-util/tests/annot.tex new file mode 100644 index 00000000000..523bb297ee1 --- /dev/null +++ b/Build/source/texk/dviout-util/tests/annot.tex @@ -0,0 +1,12 @@ +% page independence of annotation +\documentclass[a4paper,dvipdfmx]{article} +\usepackage[colorlinks=true]{hyperref} +\textheight3cm +\begin{document} +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 TUG TUG TUG TUG TUG TUG} +Again starts hyperlink: \href{https://ctan.org/}{CTAN} all done! +\end{document} diff --git a/Build/source/texk/dviout-util/tests/flatnest.dvi b/Build/source/texk/dviout-util/tests/flatnest.dvi Binary files differnew file mode 100644 index 00000000000..3fe2b1a3766 --- /dev/null +++ b/Build/source/texk/dviout-util/tests/flatnest.dvi diff --git a/Build/source/texk/dviout-util/tests/flatnest.tex b/Build/source/texk/dviout-util/tests/flatnest.tex new file mode 100644 index 00000000000..7d42b38aaca --- /dev/null +++ b/Build/source/texk/dviout-util/tests/flatnest.tex @@ -0,0 +1,30 @@ +% flatten nested annotation +\documentclass[dvipdfmx]{article} +\usepackage[colorlinks=true]{hyperref} +\textwidth5cm +\makeatletter +\usepackage{etoolbox} +\patchcmd{\@makecol}{% + \color@begingroup + \normalcolor + \footnoterule + \unvbox \footins + \color@endgroup +}{% + \color@begingroup + \normalcolor + \special{pdf:nolink}% + \footnoterule + \unvbox \footins + \special{pdf:link}% + \color@endgroup +}{}{} +\makeatother + +\begin{document} +A\footnote{CTAN web: \href{https://ctan.org/}{CTAN} here!} +\vspace*{41\baselineskip} + +Text with link: \href{https://tug.org/}{TUG TUG TUG TUG +TUG TUG TUG TUG TUG TUG TUG TUG TUG TUG TUG TUG} all done! +\end{document} diff --git a/Build/source/texk/dviout-util/tests/longspec.dvi b/Build/source/texk/dviout-util/tests/longspec.dvi Binary files differindex 0515d1ffee6..64f249853df 100644 --- a/Build/source/texk/dviout-util/tests/longspec.dvi +++ b/Build/source/texk/dviout-util/tests/longspec.dvi diff --git a/Build/source/texk/dviout-util/tests/longspec.tex b/Build/source/texk/dviout-util/tests/longspec.tex index d7b72b59d18..11ac9a24d17 100644 --- a/Build/source/texk/dviout-util/tests/longspec.tex +++ b/Build/source/texk/dviout-util/tests/longspec.tex @@ -1,9 +1,11 @@ +% page independence of long special (annotation) \documentclass[dvipdfmx]{article} \usepackage{hyperref} \begin{document} +B\par \noindent % length of special: 282 (0x0000011A) \href{https://www.tug.org/svn/texlive/trunk/Master/texmf-dist/tex/generic/pgf/frontendlayer/tikz/libraries/datavisualization/tikzlibrarydatavisualization.formats.functions.code.tex?revision=20236&view=markup}{% -A\\A\\A\\A\\A\\A\\A\\A\\A\\A\\A\\A\\A\\A\\A\\A\\A\\A\\A\\A\\A\\A\\A\\A\\A\\A\\A\\A\\A\\A\\A\\A\\A\\A\\A\\% -A\\A\\A\\A\\A\\A\\A\\A\\A\\A\\A\\A\\A\\A\\A\\A\\A\\A\\A\\A\\A\\A\\A\\A\\A\\A\\A\\A\\A\\A\\A\\A\\A\\A\\A\\A} +A\\[42\baselineskip]A\\% +A\\[20\baselineskip]A\\A\\A\\A\\A} \end{document} diff --git a/Build/source/texk/dviout-util/tests/longspecout.dvi b/Build/source/texk/dviout-util/tests/longspecout.dvi Binary files differdeleted file mode 100644 index 55833fd03be..00000000000 --- a/Build/source/texk/dviout-util/tests/longspecout.dvi +++ /dev/null diff --git a/Build/source/texk/dviout-util/tests/oldindep.cfn b/Build/source/texk/dviout-util/tests/oldindep.cfn new file mode 100644 index 00000000000..70a16c48fb3 --- /dev/null +++ b/Build/source/texk/dviout-util/tests/oldindep.cfn @@ -0,0 +1,19 @@ +dvi file name = ./oldindep.dvi +comment = TeX output 2018.10.08:1213 +factor converting to 10^{-5}m = 25400000/473628672 +magnification = 1000 +maximum width = 26673152 scaled points = 407 points +maximum height+depth = 41484288 scaled points = 633 points +maximum stack depth = 3 +number of pages = 4 +page size = 14.3 cm x 22.2 cm +page size magnificated = 14.3 cm x 22.2 cm + +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/oldindep.spc b/Build/source/texk/dviout-util/tests/oldindep.spc new file mode 100644 index 00000000000..8d288dccf55 --- /dev/null +++ b/Build/source/texk/dviout-util/tests/oldindep.spc @@ -0,0 +1,25 @@ +[1] +{papersize=614.295pt,794.96999pt} +{color push Black} +{color pop} +{background rgb 1 0 0} +{color push Black} +{color pop} +[2] +{color push Black} +{color pop} +{color push rgb 0 0 1} +{color push Black} +{color pop} +[3] +{color push Black} +{color pop} +{background gray 1} +{color pop} +{color push Black} +{color pop} +[4] +{color push Black} +{color pop} +{color push Black} +{color pop} diff --git a/Build/source/texk/dviout-util/tests/oldindep.tex b/Build/source/texk/dviout-util/tests/oldindep.tex index 333709dbbe3..cdfbb4269d9 100644 --- a/Build/source/texk/dviout-util/tests/oldindep.tex +++ b/Build/source/texk/dviout-util/tests/oldindep.tex @@ -1,3 +1,4 @@ +% page independence (backward compatible) \documentclass{article} \usepackage[dvips]{color} \begin{document} diff --git a/Build/source/texk/dviout-util/tests/reverse.dvi b/Build/source/texk/dviout-util/tests/reverse.dvi Binary files differnew file mode 100644 index 00000000000..61fdeadc31c --- /dev/null +++ b/Build/source/texk/dviout-util/tests/reverse.dvi diff --git a/Build/source/texk/dviout-util/tests/reverse.tex b/Build/source/texk/dviout-util/tests/reverse.tex new file mode 100644 index 00000000000..4099689d12d --- /dev/null +++ b/Build/source/texk/dviout-util/tests/reverse.tex @@ -0,0 +1,31 @@ +% page independence in reverse order too +\documentclass{article} +\usepackage[dvips]{color} +\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 +\end{document} diff --git a/Build/source/texk/dviout-util/tests/reverseout.dvi b/Build/source/texk/dviout-util/tests/reverseout.dvi Binary files differnew file mode 100644 index 00000000000..ba2aa1796d7 --- /dev/null +++ b/Build/source/texk/dviout-util/tests/reverseout.dvi diff --git a/Build/source/texk/dviout-util/tests/test.cfn b/Build/source/texk/dviout-util/tests/test.cfn deleted file mode 100644 index 6c0a411a9f1..00000000000 --- a/Build/source/texk/dviout-util/tests/test.cfn +++ /dev/null @@ -1,26 +0,0 @@ -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.dvi b/Build/source/texk/dviout-util/tests/test.dvi Binary files differdeleted file mode 100644 index 808b8371748..00000000000 --- a/Build/source/texk/dviout-util/tests/test.dvi +++ /dev/null diff --git a/Build/source/texk/dviout-util/tests/test.spc b/Build/source/texk/dviout-util/tests/test.spc deleted file mode 100644 index db4301f32f7..00000000000 --- a/Build/source/texk/dviout-util/tests/test.spc +++ /dev/null @@ -1,99 +0,0 @@ -[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 deleted file mode 100644 index 9986af8d058..00000000000 --- a/Build/source/texk/dviout-util/tests/test.tex +++ /dev/null @@ -1,37 +0,0 @@ -\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} diff --git a/Build/source/texk/dviout-util/tests/testout.dvi b/Build/source/texk/dviout-util/tests/testout.dvi Binary files differdeleted file mode 100644 index 39fc947cc6e..00000000000 --- a/Build/source/texk/dviout-util/tests/testout.dvi +++ /dev/null |