[pdftex] dvi output from pdflatex?

Reinhard Kotucha reinhard.kotucha at web.de
Wed Aug 13 01:19:53 CEST 2008


John Culleton writes:
 > In pdftex and Context there are one line commands (not macros)  that 
 > will change the output, assuming they don't get overruled on the 
 > command line:
 > For pdftex:
 > \pdfoutput 1 %pdf
 > \pdfoutput 0 %dvi
 > for Context:
 > \setupoutput[pdf]
 > or
 > \setupoutput[dvi]
 > 
 > These are usually the first statements in the first file of the 
 > compile.

 > No doubt pdflatex has something suitably more complex to do the same 
 > thing.  
 
Nonsense.  \pdfoutput is a primitive and can be used in LaTeX the same
way as it can be used in plain Tex or Context.

 > No doubt pdflatex has something suitably more complex to do the same 
 > thing.  

Yeah, LaTeX indeed provides something which is more powerful than what
you propose.  Look into Heiko's package "ifpdf".  What you propose is
quite crude. Please study Heiko's code before you come up with such
platitudes.  ifpdf should work with plain TeX and Context too.

 > No doubt pdflatex has something suitably more complex to do the same 
 > thing.  

Your permanent nagging about LaTeX is quite annoying.  It would be
less annoying if you at least know what you are talking about.  Sorry
for being so impolite.

Regards,
  Reinhard

-- 
----------------------------------------------------------------------------
Reinhard Kotucha			              Phone: +49-511-3373112
Marschnerstr. 25
D-30167 Hannover	                      mailto:reinhard.kotucha at web.de
----------------------------------------------------------------------------
Microsoft isn't the answer. Microsoft is the question, and the answer is NO.
----------------------------------------------------------------------------


More information about the pdftex mailing list