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

Conflict between yathesis and changes #66

Open
BambOoxX opened this issue Aug 27, 2019 · 1 comment
Open

Conflict between yathesis and changes #66

BambOoxX opened this issue Aug 27, 2019 · 1 comment

Comments

@BambOoxX
Copy link

Trying to record modifications using the changes package, II stumbled upon the following error.

! LaTeX Error: Command \comment already defined.

However, it could not locate the package defining \comment in yathesis.cls.

As I do not use this functionality of changes, I use this temporary solution using the savesym package.

\documentclass{yathesis}
\usepackage{savesym}
\savesymbol{comment}
\usepackage{changes}
\restoresymbol{chcomment}{comment}

Any idea on the origin of the issue ?

@dbitouze
Copy link
Owner

Good catch, thanks!

AFAICS, the culprit is the verbatim package which is loaded by the tcolorbox which is loaded by the yathesis class.

I must admit yathesis should not load tcolorbox by default and I'll probably drop it for its next version. Meanwhile, your workaround is a good solution.

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

No branches or pull requests

2 participants