# [XeTeX] Command \providelength already defined

Arthur Reutenauer arthur.reutenauer at normalesup.org
Thu Feb 11 18:45:46 CET 2016

On Thu, Feb 11, 2016 at 06:32:36PM +0100, Ulrike Fischer wrote:
> Am Thu, 11 Feb 2016 16:33:22 +0000 schrieb Arthur Reutenauer:
>
> >> It may be that polyglossia is more careful about re-defining commands.
> >
> >   As I said, polyglossia isn't the package that defines that command,
> > neither is dialogue.  It could be interesting to investigate in more
> > details but I really don't have the time right now.
>
> The one is moredefs (Mark Swift, 2001) which uses \newcommand and so
> clash if the commands are already defined. The other makecmds
> (Maintainer: Will Robertson) which uses \def and so overwrites
> everything.

Thanks, Ulrike.  I did see the definition in moredefs that was easy to
find.  I suppose the best way forward would be to update moredefs and
related packages (since it is part of a bundle that also includes
dialogue).

Best,

Arthur