tecosaur / BMC

My bespoke, multipurpose class; designed for general use in LaTeX documents.
LaTeX Project Public License v1.3c
208 stars 26 forks source link

Option clash for package xcolor/ undefined control sequence \rowcolors #11

Open phatsp opened 4 years ago

phatsp commented 4 years ago

Hi, I just learned about your github recently and I trying to run your example file. How ever it reported these errors. Could you help me with this. About the \rowcolors problem, I guess that it has something to do with the old tabu package. but couldn't find how to fix this.


C:\Users\dangt\Downloads\BMC-master\bmc.cls:676: Package minted Error: You must invoke LaTeX with the -shell-escape flag. [}{}]
C:\Users\dangt\Downloads\BMC-master\bmc.cls:768: Undefined control sequence. [\rowcolors]
C:\Users\dangt\Downloads\BMC-master\bmc.cls:768: LaTeX Error: Missing \begin{document}. [\rowcolors{1]```
tecosaur commented 4 years ago

Yea, it seems like there are a few things that need ironing out. I've just upgraded my texlive version and a whole bunch of errors have popped up too. When I can find the time I'll try to get everything working harmoniously again :smiley:

ssavinel commented 3 years ago

Hello, do you have any idea on when you'll be able to get some time? I've found your repo recently and got frustrated by the issues. As a Latex newbie, I'm sorry I can't help in fixing them.

tecosaur commented 3 years ago

I haven't been able to fix everything, but I have some improvements I can push :)

ssavinel commented 3 years ago

That would be great! Does it build with warning or does it still fail?

tecosaur commented 3 years ago

There are still errors, and I haven't got the chapter TOC working yet. With the commits I've just pushed it's better/closer though.

ssavinel commented 3 years ago

I'll see if i can get to something but I spent the day on the xcolor error so I have some doubts in the result, I'll keep you updated. Thanks for the fixes!

ssavinel commented 3 years ago

All I could find so far is that most of the issues are related to the infoBulle package relying on interfaces. The original repo did remove all references to interfaces (see the latest commit). I did the same in the files used in BMC ( namely bmc-boxes.sty, infoBulle.sty and yMarginDesign.sty) and am now facing errors with \pgfkeys calls all around, which have also been modified in the linked commit. I'll update the files from yLatex but am at a lost concerning bmc-boxes.sty as I have no understanding of the issue. Also, minted requires the parameter cache=false in order to work.

I'll start a PR later.