Closed tbm closed 3 years ago
I am having the same issue (also on Debian 10/stable), and yes it does appear that an old version of scrbase is the problem. scrbase is part of KOMA-Script (which this project uses), and texdoc koma-script
(or more specifically, texdoc scrguien
) on Debian shows the version as 3.25. Searching for pagenumberwidth
there gives no results, but the latest documentation, linked from the CTAN page, tells me it's there; but only from version 3.27.
I don't know enough about TeX programming to fix this issue myself, and Debian (and any others still using the old code) may upgrade their version after a while anyway, but it would be nice if some conditional code to check for this feature could be added in the meantime...
You are right, I have now added a check so that the pagenumberwidth
option is used only if scrbase is at least version 3.27. Could you please confirm that now there are no errors? Thank you.
Now I get:
! Undefined control sequence.
\mainmatter ->\Ifthispageodd
{\afterpage {\blankpage }}{}\oldmainmatter \pag...
l.54 \mainmatter
?
If I revert b3f57c979cc42ac4b it works.
I have added a version check for that as well.
Thanks it works now!
I get the following error after updating kaobook:
The change was made in 2048120ec12eda29.
Maybe my scrbase is too old? (I'm on Debian 10/stable)