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

Bug#344919: teTeX 3.x incompatible to older .sty files



retitle 344919 teTeX 3.x incompatible to older .sty files: produces PDF instead of DVI
thanks

Tilman Höner zu Siederdissen <tilman.hzs@web.de> wrote:

> Yes, I can guess which decision was made. :)
> I will try get the OSA to change their style file. That might save
> some scientists who use teTeX a lot of trouble.

By the way, the solution is simple:

\usepackage{ifpdf}
\ifpdf
  %commands for pdf mode
\else %optional
  % optional commands for dvi mode
\fi

but in many cases (e.g. hyperref) it isn't needed it all, since the
packages detect it correctly themselves.

> But, since it's an important issue, I suggest to mention this in the
> documentation or the FAQ. Something like the following would have been
> very helpful to me when I encountered this problem:

Thanks for the suggestion; I'll put that somewhere in our package
documentation.  But I'll keep the bug open so that people can easily
find it.

Regards, Frank

-- 
Frank Küster
Inst. f. Biochemie der Univ. Zürich
Debian Developer




Reply to: