Re: teTeX 2 -> teTeX 3 help



Kristo Kriechbaum <klk@xxxxxxxxxxxxxxxxxxxx> writes:

> Hi,
>
> I recently upgraded my machine from Fedora Core 3 to 4. This led to
> an upgrade from teTeX 2 to teTeX 3.
>
> Now for the life of me I can't figure out how to get a dvi file.
> "latex main.tex" will give me a pdf. I understand that pdf is now
> the default output. On my system, /usr/bin/latex is a link to
> /usr/bin/pdfetex.
>
> The weird thing is if I just try "pdfetex main.tex" I get an
> "undefined control sequence" error at the first line of main.tex. I
> can do "pdfetex -fmt latex main.tex" to get a pdf. The man page for
> pdfetex tells me I can use "-output-format dvi" to get a dvi file.
> This does not work.
>
> All I want is a dvi file. Is this a bug, or am I just missing
> something here?
>
> Thanks in advance for any help.
>
> Kristo

Do you have problems with *any* LaTeX file, or are you just trying
with one particular LaTeX file that you really need to get to work? I
had similar problems when Debian upgraded to teTeX 3 with a file that
was very important to me. I turned out that the problem was that I
was doing something like this:

\newif\ifpdf
\ifx\pdfoutput\undefined
\pdffalse
\else
\pdfoutput=1
\pdftrue
\fi


apparently \ifx\pdfoutput\undefined doesn't work anymore instead you
need to use ifpdf.sty.

I don't know if that will solve your problem, but it certainly solved
a similar problem that I had.

Jason
.



Relevant Pages

  • Re: The current status of tetex -> texlive transition?
    ... Hash: SHA1 ... I would like to upgrade to ... I wonder the current status of tetex -> texlive transition. ... packages which run under tetex but not texlive. ...
    (Debian-User)
  • Re: The current status of tetex -> texlive transition?
    ... Hash: SHA1 ... I would like to upgrade to ... I wonder the current status of tetex -> texlive transition. ... packages which run under tetex but not texlive. ...
    (Debian-User)
  • teTeX 2 -> teTeX 3 help
    ... upgrade from teTeX 2 to teTeX 3. ... I understand that pdf is now the default ... The weird thing is if I just try "pdfetex main.tex" I get an "undefined ...
    (comp.text.tex)
  • Re: The current status of tetex -> texlive transition?
    ... I would like to upgrade to ... I wonder the current status of tetex -> texlive transition. ... packages which run under tetex but not texlive. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)