Closed Firionus closed 4 years ago
The problem is not \mainmatter
but \KOMAClasSName
which should be \KOMAClassName
(with lower case s
).
This is a bug in KOMAScript which was introduced in a recent version.
A quick fix would be to
\KOMAClasSName
(this should result in something like the image below),\KOMAClassName
,I hope this helps, it worked for me.
Oh, yes, that seems to be it.
My buggy version was cat-version: 3.31
. I updated to the latest koma-script by following https://komascript.de/node/2049. Now I'm at cat-version: 3.32.3541
and the problem is gone - book-template.tex compiles just fine! Thanks a lot.
How you guys do this in your free time without dependency management is a mystery to me...
I tried to compile
book-template.tex
today, but could not get rid of the error:For full log see this gist: https://gist.github.com/Firionus/7de9836e709ebc7b0fb1e71aedd1f566
I'm using a fresh TeXLive install on Xubuntu 20.04 via tl-install. It's has some collections installed, but far from a full install. Kaobook was freshly cloned from Github, though downloading from LaTeX Templates gives the same result.
I'm stumped why the compiler doesn't recognize the redefinition of
\mainmatter
inkaobook.cls
. While I'm not completely helpless with computers, LaTeX is its own beast, so I'd appreciate any help you can offer.