[OS X TeX] Microtype Fix (from: Microtype mystery)

Morten Høgholm morten.hoegholm at gmail.com
Mon Aug 30 08:44:21 EDT 2010


On Mon, Aug 30, 2010 at 2:37 PM, R. Vijay Krishna <rvk at unc.edu> wrote:
> Hi Ross,
>
> Thanks for the reply, and the explanation.  Unfortunately, I still get the same error, and the code (snippet) below doesn't seem to fix it.
>
>> Here's one way to fix the problem.
>>
>>>
>> \usepackage{ifxetex}
>> \makeatletter
>> \let\MT at inlist@fi\fi
>> \makeatother
>> \ifxetex

No, the line should be

\let \ifMT at inlist@ \iftrue


These easily mismatched conditionals is one reason why I favor using
constructions such as
  \IfXeTeXTF{<true code>}{<false code>}

If said construction doesn't exist, is is easily defined:
  \makeatletter
  \def\IfXeTeXTF{\ifxetex\expandafter\@firstoftwo\else\expandafter\@secondoftwo\fi}
  \makeatother

Also, the ifxetex manual tells you how to use ifxetex with the ifthen package.

-- 
Morten



More information about the MacOSX-TeX mailing list