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

"David R. Morrison" <[email protected]>
Newsgroups gmane.comp.tex.tetex.beta
Message-ID <[email protected]>
OK, I think I found the source of the problem:

\documentclass[11pt,a4paper]{article}
\usepackage[english]{babel}
\usepackage{makeidx}
\topmargin-1cm
\oddsidemargin0cm
\textwidth16cm
\textheight24cm
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Added by NGUYEN-DAI Quy and edited by RMz)
%%
\ifx\pdfoutput\undefined
  \usepackage[dvips]{graphicx}
%  \usepackage[dvips,a4paper,breaklinks]{hyperref}
\else
  \usepackage[pdftex]{graphicx}
  \usepackage[pdftex,a4paper,pageanchor,hyperfigures,breaklinks,%
              colorlinks,citecolor=blue,urlcolor=red,linkcolor=magenta]{hyperref
}
  \pdfcompresslevel=9
\fi


I'm guessing that \pdfoutput is *not* undefined during a pdfeTeX run,
but *is* undefined during a traditional LaTeX run.

What's ironic is that this is the documentation for the latest version of
t1lib, one of the libraries provided by teTeX itself!

  -- Dave
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.