diff options
Diffstat (limited to 'Build/source/texk/dviout-util/tests')
-rw-r--r-- | Build/source/texk/dviout-util/tests/first.dry | 9 | ||||
-rw-r--r-- | Build/source/texk/dviout-util/tests/firstpn.dry | 2 | ||||
-rw-r--r-- | Build/source/texk/dviout-util/tests/oldindep.dry | 8 | ||||
-rw-r--r-- | Build/source/texk/dviout-util/tests/reverse.dry | 23 | ||||
-rw-r--r-- | Build/source/texk/dviout-util/tests/tpicpn.dry | 10 | ||||
-rw-r--r-- | Build/source/texk/dviout-util/tests/tpicsh.dry | 2 | ||||
-rw-r--r-- | Build/source/texk/dviout-util/tests/under.dvi | bin | 0 -> 1728 bytes | |||
-rw-r--r-- | Build/source/texk/dviout-util/tests/under.tex | 44 | ||||
-rw-r--r-- | Build/source/texk/dviout-util/tests/underout.dvi | bin | 0 -> 1832 bytes |
9 files changed, 98 insertions, 0 deletions
diff --git a/Build/source/texk/dviout-util/tests/first.dry b/Build/source/texk/dviout-util/tests/first.dry new file mode 100644 index 00000000000..dcec345d2d6 --- /dev/null +++ b/Build/source/texk/dviout-util/tests/first.dry @@ -0,0 +1,9 @@ +[1] +background gray 1 +[2] +background gray 1 +[3][4] +background rgb 1 0 0 + +Maximal depth of color stack:1 +Some corrections are necessary! diff --git a/Build/source/texk/dviout-util/tests/firstpn.dry b/Build/source/texk/dviout-util/tests/firstpn.dry new file mode 100644 index 00000000000..3ae55bc2193 --- /dev/null +++ b/Build/source/texk/dviout-util/tests/firstpn.dry @@ -0,0 +1,2 @@ +[1][2][3] +No modification is necessary diff --git a/Build/source/texk/dviout-util/tests/oldindep.dry b/Build/source/texk/dviout-util/tests/oldindep.dry new file mode 100644 index 00000000000..4c6efd4245f --- /dev/null +++ b/Build/source/texk/dviout-util/tests/oldindep.dry @@ -0,0 +1,8 @@ +[1][2] +background rgb 1 0 0 +1:color push rgb 0 0 1 +[3][4] +background gray 1 + +Maximal depth of color stack:2 +Some corrections are necessary! diff --git a/Build/source/texk/dviout-util/tests/reverse.dry b/Build/source/texk/dviout-util/tests/reverse.dry new file mode 100644 index 00000000000..441aa3ccb2b --- /dev/null +++ b/Build/source/texk/dviout-util/tests/reverse.dry @@ -0,0 +1,23 @@ +[1] +background gray 1 +[2] +background gray 1 +[3][4] +background rgb 1 0 0 +[5] +background rgb 1 0 0 +[6][7] +background gray 1 +[8] +background gray 1 +1:color push rgb 1 0 0 +[9] +background gray 1 +1:color push rgb 1 0 0 +[10] +background gray 1 +[11] +background gray 1 + +Maximal depth of color stack:2 +Some corrections are necessary! diff --git a/Build/source/texk/dviout-util/tests/tpicpn.dry b/Build/source/texk/dviout-util/tests/tpicpn.dry new file mode 100644 index 00000000000..46c0cd9d1cc --- /dev/null +++ b/Build/source/texk/dviout-util/tests/tpicpn.dry @@ -0,0 +1,10 @@ +[1][2] +pn 30 +[3][4][5] +pn 5 +[6][7][8] +pn 30 +[9] +pn 30 + +Some corrections are necessary! diff --git a/Build/source/texk/dviout-util/tests/tpicsh.dry b/Build/source/texk/dviout-util/tests/tpicsh.dry new file mode 100644 index 00000000000..2c3dc2fb4ad --- /dev/null +++ b/Build/source/texk/dviout-util/tests/tpicsh.dry @@ -0,0 +1,2 @@ +[1][2] +No modification is necessary diff --git a/Build/source/texk/dviout-util/tests/under.dvi b/Build/source/texk/dviout-util/tests/under.dvi Binary files differnew file mode 100644 index 00000000000..7bd73f99619 --- /dev/null +++ b/Build/source/texk/dviout-util/tests/under.dvi diff --git a/Build/source/texk/dviout-util/tests/under.tex b/Build/source/texk/dviout-util/tests/under.tex new file mode 100644 index 00000000000..79b640f9a94 --- /dev/null +++ b/Build/source/texk/dviout-util/tests/under.tex @@ -0,0 +1,44 @@ +% check underflow +\documentclass{article} +\usepackage[dvips]{color} +\usepackage{atbegshi} +\begin{document} +black +\newpage +\AtBeginShipoutNext{\AtBeginShipoutDiscard} +{\color{red} + start red (but discarded) +\newpage + \AtBeginShipoutNext{\AtBeginShipoutDiscard} + {\color{blue} + start blue (but discarded) +\newpage + \AtBeginShipoutNext{\AtBeginShipoutDiscard} + {\color{green} + start green (but discarded) +\newpage + end green} +\newpage + end blue} +\newpage + end red} +\newpage +black +\newpage +\AtBeginShipoutNext{\AtBeginShipoutDiscard} +{\color{red} + start red (but discarded) + {\color{blue} + start blue (but discarded) +\newpage + end blue} + end red} +\newpage +black +\newpage +{\color{yellow} + start yellow +\newpage + \AtBeginShipoutNext{\AtBeginShipoutDiscard} + end yellow (but discarded)} +\end{document} diff --git a/Build/source/texk/dviout-util/tests/underout.dvi b/Build/source/texk/dviout-util/tests/underout.dvi Binary files differnew file mode 100644 index 00000000000..ab81e58cdd2 --- /dev/null +++ b/Build/source/texk/dviout-util/tests/underout.dvi |