Syntheses icon indicating copy to clipboard operation
Syntheses copied to clipboard

eplcommon.sty:56 \C already defined quand on utilise XeLaTeX

Open Jimvy opened this issue 4 years ago • 1 comments

Pour une raison mystérieuse, compiler un document avec XeLaTeX au lieu de PDFLaTeX provoque une erreur dans eplcommon.sty avec la définition de \C, parce qu'apparemment il y a déjà une commande définie avec le même nom...

De ce que je lis, ce serait une commande de puenc.def qui serait définie dans certains cas (probablement si on utilise XeLaTeX) et qui permet de définir un certain type d'accents.

Peut-être qu'il faudrait encadrer les différentes one-letter commands de eplcommon.sty avec des \ifdefined pour éviter ce genre de soucis (ou définir des \providecommand au lieu de \newcommand).

Jimvy avatar Feb 13 '21 12:02 Jimvy

/renewcommand, live life on the edge.

More seriously, it's probably best to replace it with \complex (and arguably, to proceed similarly with the other set definitions), and to update the command wherever it is used. Using \ifdefined would probably break a fair number of math-related documents, and I'm not even sure it would be possible to use the accented character in math-mode.

Peiffap avatar Feb 13 '21 13:02 Peiffap