Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Jimvy opened this issue Feb 13, 2021 · 1 comment
Open

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

Jimvy opened this issue Feb 13, 2021 · 1 comment

Comments

@Jimvy
Copy link
Collaborator

Jimvy commented Feb 13, 2021

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).

@Peiffap
Copy link
Collaborator

Peiffap commented Feb 13, 2021

/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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants