> I have read the 'teTeX Manual' and I have a question. Section 4.6 said that 
> now teTeX uses pdfetex as default (La)TeX engine. But AFAIK pdftex uses 
> only pdf and rasters graphics.

pdftex can operare in two modes: dvi and pdf. In dvi mode, this is more
or less the same than good-old-tex (even in dvi mode, you can make use
of typographic extensions, to that's one advantage of using the pdftex
engine by default).

Most people think that pdftex can only produce pdf but this is just
wrong. It could produce dvi as well since its fist version. Even more,
the default mode is dvi, so you have to set \pdfoutput to something
non-zero to get into pdf mode (this is done in the .ini files which
generate the formats such as pdflatex, pdftex, pdfetex).

Try this:

  cd /tmp
  pdftex -ini plain\\dump
  pdftex \&./plain story\\end
  rm -f plain.fmt

None of the loaded files touches the \pdfoutput variable. And what do
you get? story.dvi!

For LaTeX users, teTeX-3.0 has a latex format name and a pdflatex
format name. Both are using the same latex macros and both are using
the pdfetex engine. The only difference is that latex has \pdfoutput=0
dumped into latex.fmt and pdflatex.fmt has \pdfoutput=1.

So, users just can switch between dvi and pdf mode of the engine by
invoking the right command. There is no need to fiddle around with
manipulating \pdfoutout.

    $ latex small2e
    ...
    Output written on small2e.dvi (1 page, 1780 bytes).

    $ pdflatex small2e
    ...
    Output written on small2e.pdf (1 page, 32587 bytes).

> As for EPS graphics? May be I wrong and pdfetex when runs as latex engine 
> can use EPS graphics.

If you are in dvi mode, you can use dvips with eps graphics as usual.

Thomas

Reply via email to