[MacTeX] Re: [OS X TeX] New TeX i-Package in the *EXPERIMENTAL* i-Directory

Axel E. Retif axretif at igo.com.mx
Sat Sep 10 23:18:57 CEST 2005


On Sep 10, 2005, at 1:38 PM, Bruno Voisin wrote:

> Le 10 sept. 05 à 19:58, Karl Berry a écrit :
>
>>>> - \ifx\pdfoutput\undefined will no longer work to detect whether
>>
>> This is nothing new.  The change was made in teTeX 3.0, thus I expect
>> has been in gwTeX for some time.
>>
>> Thomas Esser went to a good deal of trouble to get packages changed.
>> The mere fact that \ifx\pdfoutput\undefined or \@ifundefined 
>> {pdfoutput}
>> is used does not mean that anything is broken.  In fact, the standard
>> way to detect it, as used in (for example) ifpdf.sty, is to check  
>> first
>> if \pdfoutput is defined, and if so, then check if \pdfoutput is > 0.
>>
>
> OK, sorry for the trouble. The original message on the OS X TeX  
> list has few details, and I interpreted it as meaning that  
> \pdfoutput was no longer defined and could no longer be tested, and  
> implying that \ifx\pdfoutput\undefined or \@ifundefined{pdfoutput}  
> would return errors.

Well ---what I quoted was exactly what Karl Berry's message said:

-----------------
> In lieu of the real documentation update, here is a super-brief  
> rundown
> of the most important changes.  These changes were all made in
> teTeX-3.0, and TL is following suit.
>
> - texconfig, updmap, and fmtutil now work in a "user" directory,
>   specifically $HOME/.texlive2005/.  If you are installing TL for a
>   multi-user system, you can alter the general system configuration by
>   running texconfig-sys, updmap-sys, and fmtutil-sys.
>
> - \ifx\pdfoutput\undefined will no longer work to detect whether  
> pdfTeX
>   is running.  Use ifpdf.sty or equivalent logic.
>
> - the HOMETEXMF configuration variable is now named TEXMFHOME.
>
> If you run into other "surprises" (aka compatibility problems), we'd
> like to know.
------------------

Given that, I searched for the latest ifpdf.sty package and changed  
my ``\ifx\pdfoutput\undefined...'' lines for the equivalents with  
ifpdf.sty.

The curious thing is that with the 2005 experimental TeX i-package `` 
\ifx\pdfoutput\undefined...'' syntax still works fine.

Best,

Axel

--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
           & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>





More information about the macostex-archives mailing list