[XeTeX] XeTeX release notes ?

Bruno Le Floch blflatex at gmail.com
Sun Nov 3 21:56:32 CET 2019


On 11/3/19 6:57 PM, Taylor, P wrote:
> Taylor, P wrote:
> 
>> Many thanks for the warning, Bruno — will amend code accordingly. 
> 
> The following would seem to suffice for now :
> 
> 
> % \ifcase \numexpr \strcmp {\the \XeTeXversion \XeTeXrevision} {0.99999} 
> + 1 \relax
> 
>    \ifcase \numexpr \strcmp {0.99998} {0.99999} + 1 \relax
>      \message {expected result, less}
>    \or
>      \message {unexpected result, equal}
>    \or
>      \message {unexpected result, greater}
>    \else
>      \message {totally unexpected result, crazy}
>    \fi
>    \end
> 

The big drawback of \strcmp is that it has only been added in recent
years.  Maybe the \ifdim test for old enough versions and the \strcmp
one for recent ones could be enough...

Bruno


More information about the XeTeX mailing list