summaryrefslogtreecommitdiff
path: root/Build/tests/dvi-latex2-pdfprim/pdfprim.tex
blob: ca28cb161fcebd20dfaad9cc735ae3e9c0428a48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
% $Id$
% Originally written 2004 by Karl Berry.  Public domain.
% Check that PDF primitives are undefined when running "latex" (which
% uses the pdfetex engine, as of 2004).
\documentclass{article}
\begin{document}
\ifx\pdfoutput\undefined
  The pdfoutput primitive is undefined.  Good.
  But this will change in 2005, so use ifpdf.sty instead.
\else
  The pdfoutput primitived is defined.  Bad.
  We shouldn't have to use ifpdf.sty yet.
\fi
\end{document}