[OS X TeX] latest pdftex DVI vs PDF mode

Axel E.Retif axretif at igo.com.mx
Tue Nov 9 22:06:47 EST 2004


On Nov 9, 2004, at 11:20 AM, Alexandru Scorpan wrote:

>> latest pdftex is expected to run either in pdf or dvi mode, but how 
>> the switch is made?
>>
>> Moreover, how can we recognize that we are in pdf mode and not dvi 
>> mode (this is for pdfsync)?
>
> pdftex was always able to produce dvi output.
>
> Start your document with \pdfoutput=0 and dvi will be the end result.  
> Do nothing or start it with \pdfoutput=1 (or more) and pdf will come 
> out.

With the recent gwTeX distribution (TeXLive 2004, teTeX 3), pdf is the 
output even for the simple command `` latex '' (in the shell, for 
example). As I use Kile when making correcctions in order to use 
forward and backward search, I had to put in the ``Compile tools'' 
section:

latex -output-format dvi '%S.tex'

and the log reads

This is pdfeTeX, Version 3.141592-1.20a-2.2 (Web2C 7.5.3)
output format initialized to DVI
entering extended mode
...

I get exactly the same result with

pdflatex -output-format dvi '%S.tex'

Best regards,

Axel

--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
           & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>





More information about the MacOSX-TeX mailing list