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

Incompatibility with color package #28

Closed
mgmillani opened this issue May 31, 2015 · 4 comments
Closed

Incompatibility with color package #28

mgmillani opened this issue May 31, 2015 · 4 comments

Comments

@mgmillani
Copy link
Collaborator

If we try to use the color package, we get erros like:

! Undefined control sequence.
\set@color ...\@pdfcolorstack push{\current@color
                   }\aftergroup \reset@color 
l.113 \begin{document}

This also happens with todonote.

@mgmillani
Copy link
Collaborator Author

The solution might be here.

@matthiasdiener
Copy link
Contributor

The workaround I use is to load the color/xcolor packages before the class:

\RequirePackage[table]{xcolor}
\documentclass[ppgc,tese,english,openright]{iiufrgs}

But fixing the bug would be much nicer obviously.

@fgiacomel
Copy link

Thanks for the workaround, matthiasdiener. I had the same problem with the colortbl package. Added \RequirePackage{colortbl} before \documentclass and it worked like a charm.

@maylermartins
Copy link

Another possible solution:

%\RequirePackage[tocindentauto,tocfullflat]{tocstyle}
\RequirePackage[usenames,dvipsnames,svgnames,table]{xcolor}
\RequirePackage[tocindentauto,tocfullflat]{tocstyle}

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

4 participants