Re: [2.96.1] problem: latex generates pdf rather than dvi

Thomas Esser <[email protected]>
Newsgroups gmane.comp.tex.tetex.beta
Message-ID <[email protected]>
> > Perhaps some package `dvi' that will first set \pdfoutput to 0, then
> > set all possibly relevant control sequences to \undefined?
> 
> Yes, that would certainly fix the example I was having trouble with,
> which assumed that \pdfoutput would be \undefined.
> 
> However, let me suggest that nobody should have to invoke a command called
> "dvilatex" in order to get latex to produce dvi output.  If anything,

Nobody suggests that "latex foo" should generate foo.pdf by default.
We are talking about broken documents where someone did not know that
pdftex can be used to produce dvi output.

Here, adding a simple
  \usepackage{dvi}
is a possible work-around that David Kastrup has suggested.

Of course, the real fix is to change broken code to \usepackage{ifpdf}
or something similar. Non-broken documents do not need this and they
don't even need \usepackage{dvi}.

Thomas
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.