[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#660254: marked as done (texlive-binaries: pdftex -output-format dvi is ignored)



Your message dated Sat, 18 Feb 2012 19:57:40 +0000
with message-id <20120218195739.GB12310@d-and-j.net>
and subject line Re: Bug#660254: texlive-binaries: pdftex -output-format dvi is ignored
has caused the Debian Bug report #660254,
regarding texlive-binaries: pdftex -output-format dvi is ignored
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
660254: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=660254
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: texlive-binaries
Version: 2009-11
Severity: normal

Hello Debian TeX Maintainers,

pdftex man page say:

       -output-format format
              Set the output format mode, where format must be either pdf or dvi.   This  also
              influences the set of graphics formats understood by pdfTeX.

However 'pdftex -output-format dvi' actually produces a .pdf file.

Cheers,
-- 
Bill. <ballombe@debian.org>

Imagine a large red swirl here. 



--- End Message ---
--- Begin Message ---
> Dear Frank,
> 
> I am very grateful for your quick answer, and I confirm that this work on your
> test file on my system, but it does not work with my file:
> 
> $ cat plaintest.tex
> \ifx\pdfoutput\undefined
> \else
>    \pdfoutput = 1
> \fi
> hallo
> \bye
> 
> But this is probably a bug in my file and not with pdftex.
> Sorry for the trouble.

The option --output-format sets the initial value of \pdfoutput to 0
if you have --output-format dvi and to 2 for --output-format pdf (I'm
not sure why 2 and not 1, incidentally).  Your code then tests whether
\pdfoutput is defined - which it always is if you are using pdftex -
and then sets \pdfoutput to 1, which overrides your command-line
option.

I'm not sure what you're trying to achieve here.  If you want to test
whether you're in pdf mode or not, use the ifpdf package (which works
for plain TeX as well).  If you want to find out whether you're using
pdftex or a derivative of it, something like what you're doing will
work.

Closing this non-bug.

   Julian


--- End Message ---

Reply to: