[XeTeX] Command \providelength already defined

Will Robertson will at wspr.io
Thu Feb 11 08:49:03 CET 2016


On 11 Feb 2016, at 4:27 PM, Shakthi Kannan <shakthimaan at gmail.com> wrote:
> 
> ! LaTeX Error: Command \providelength already defined.
>               Or name \end... illegal, see p.192 of the manual.

How ironic… it should have been defined with \providecommand in both cases!
(If they both behave identically, which I guess you couldn’t assume.)

> I found that the "polyglossia" also has this definition. Is there a
> way I can overcome this?

Sure, just write

    \let\providelength\relax

before the second package is loaded.

Cheers,
Will




More information about the XeTeX mailing list