Previous Next Contents

Appendix B:   Source files

Here is the source for test.tex:


% test.tex
% Test file for dvii (last changed: 5 December 1999)
% 
% A blank page
\eject

This is page 2/2.
\eject

This is page 3/3 with a short special. Also, a rule. \vrule width1cm
depth1cm height 1cm\relax
\special{A short special}
\eject

This is page 4/4 with a {\bf long} special. Note the control
character; this is meant to confuse dvii when it cuts of the long
special text. 
\special{%
abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789%
3.141592653589793238462643383279502884197169399375105820974944592%
á²å†ÄThe quick brown fox jumped over the lazy dog.%
}
\eject

This is page 5/5 with 5 specials. 
\special{PSfile 1.eps}
\special{PSfile 2.eps}
\special{PSfile 3.EPS}
\special{PSfile dog1.gif}
\special{PSfile cat.eps}
\eject

\pageno = -1
\font\a=cmr10 scaled 1200 
{\a This is page 6/-1 with font cmr10 scaled 1200.}
\eject

\pageno = -3
This page has a special with control characters. (Oooh!)
\special{Some control characters: []}
Followed by several blank pages. 

\eject\eject\eject\eject
\bye

Previous Next Contents