Bug#344919: teTeX 3.x incompatible to older .sty files
Hi Hilmar, http://bugs.debian.org/344919 snip Meanwhile osajnl.sty has been fixed and does not contain these lines any more. As the problem was never really the fault of teTeX I suggest to close that bug now. What do you think? sure, I agree with you. Thank you! Tilman -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#344919: teTeX 3.x incompatible to older .sty files
On 27.12.05 Tilman Höner zu Siederdissen ([EMAIL PROTECTED]) wrote: Hi Tilman, Package: tetex-bin Version: 3.0-12 http://bugs.debian.org/344919 I found out that teTeX 3.0 (in contrast to teTeX 2.x and MiKTeX 2.4 on Windows) has some problems with older .sty-files, e.g., osajnl.sty (dated May 28, 2004) from the Optical Society of America [1]. This is due to the following lines: -- snippet from osajnl.sty - \ifx\pdfoutput\undefined \usepackage{graphicx} \else \usepackage[pdftex]{graphicx} \fi -- end of snippet --- snip Meanwhile osajnl.sty has been fixed and does not contain these lines any more. As the problem was never really the fault of teTeX I suggest to close that bug now. What do you think? H. -- sigmentation fault -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
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 [EMAIL PROTECTED] 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
Bug#344919: teTeX 3.x incompatible to older .sty files
Package: tetex-bin Version: 3.0-12 I found out that teTeX 3.0 (in contrast to teTeX 2.x and MiKTeX 2.4 on Windows) has some problems with older .sty-files, e.g., osajnl.sty (dated May 28, 2004) from the Optical Society of America [1]. This is due to the following lines: -- snippet from osajnl.sty - \ifx\pdfoutput\undefined \usepackage{graphicx} \else \usepackage[pdftex]{graphicx} \fi -- end of snippet --- I believe in teTeX 3.0 \pdfoutput is always defined and set to 0 in dvi mode [2]. Because of this, using style files like osajnl.sty will case the option pdftex to be used with graphicx.sty. latex file_using_osajnl.tex will output pdf instead of dvi and will ignore all included .eps figures. I assume there is a good reason why the usage of \pdfoutput was changed. Maybe rather osajnl.sty should be changed than teTeX. I still think this is an important issue since it might concern a lot more commonly used style files and users usually do not edit tex style files. [1] http://josab.osa.org/submit/templates/default.cfm [2] http://www.tex.ac.uk/cgi-bin/texfaq2html?label=ifpdf -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#344919: teTeX 3.x incompatible to older .sty files
Tilman Höner zu Siederdissen [EMAIL PROTECTED] wrote: I assume there is a good reason why the usage of \pdfoutput was changed. Maybe rather osajnl.sty should be changed than teTeX. Yes, indeed style files that have such tests for \pdfoutput should be changed. They were wrong from the beginning, and in this simple form the test works only once - as soon as you load two style files that try this test, the second one would have assumed PDF even with teTeX 2.0.2. I still think this is an important issue since it might concern a lot more commonly used style files and users usually do not edit tex style files. You are right, it's an important issue. But it's really the authors of such buggy style files who should fix their things. This has been discussed at length by upstream, and the conclusion was that there are only two possibilities: Either we break compatibility here and make \pdfoutput a useful variable, or pdfTeX would have to drop respecting that primitive (breaking all non-buggy packages) and invent a new one, like \pdfoutputdontabuse. And hope people would be more clever than before. You can imagine which decision was made... Regards, Frank -- Frank Küster Inst. f. Biochemie der Univ. Zürich Debian Developer
Bug#344919: teTeX 3.x incompatible to older .sty files
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. 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: Q: I chose dvi mode but only a pdf was created. What's wrong? A: Some style files use a wrong test to determine whether pdf or dvi is to be created. Look for \pdfoutput in your style files. ... [the rest could be taken from the explanation here: http://www.tex.ac.uk/cgi-bin/texfaq2html?label=ifpdf] Regards, Tilman -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]