[XeTeX] Problem with Polyglossia's \aemph command

Vafa Khalighi vafakhlgh at gmail.com
Sat Sep 18 17:31:44 CEST 2010


>
> Because of that, the \RequirePackage command knows an optional
> argument that specifies the version date that the loaded package
> should at least have. Otherwise LaTeX prints a warning, that
> an old package is used, but a newer one is requested.
>
> In case of \aemph:
>
>   \AtEndPreamble{\@ifpackageloaded{bidi}{\newcommand*{\aemph}[1]{$\overline{\hboxR{#1}}$}}{}}
>
> Guards can be used:
> * \@ifpackagelater to ensure a appropriate version of package bidi
> * checking for \hboxR.
>
>
Agreed. And \aemph is not a good macro name at all.
-- 
به نام خداوند جان و خرد          کزین برتر اندیشه برنگذرد
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xetex/attachments/20100919/5b23f741/attachment.html>


More information about the XeTeX mailing list