Theses, Books, Title pagesIssues compiling kaobook with TeXStudio

Classicthesis, Bachelor and Master thesis, PhD, Doctoral degree
Post Reply
DMAshura
Posts: 1
Joined: Wed Sep 11, 2019 6:51 am

Issues compiling kaobook with TeXStudio

Post by DMAshura »

Hello everyone,

I've been using LaTeX for a few years now, and I've been looking into writing a math textbook using it. I found the Kaobook template tonight, and tried compiling it in TeXStudio (after running compileall.sh), but I was given the following error messages, most notably the first one:

Code: Select all

Unknown option `nomencl=false' for package `scrhack'. \KOMAProcessOptions
fixltx2e is not required with releases after 2015(fixltx2e) All fixes are now in the LaTeX kernel.

Typearea changed!(typearea) You should do this only at preamble, because only(typearea) \begin{document} calculates output dimensions!(typearea) Trying to calculate new output dimensions, but(typearea) this is only a dirty hack
Font shape `OMS/cmsy/m/n' in size <10.5> not available(Font) size <10.95> substituted
Hyper reference `bhfn:0' on page i undefined

Typearea changed!(typearea) You should do this only at preamble, because only(typearea) \begin{document} calculates output dimensions!(typearea) Trying to calculate new output dimensions, but(typearea) this is only a dirty hack
After this were a bunch of overfull and underfull \hbox's.

Strangely, even after these errors, a correct-looking main.pdf popped out after two compiles.

More strangely, Overleaf did not have this problem and compiled everything just fine.

Has anybody else run into this issue and/or have a suggestion for how to fix it? I'm not a beginner with LaTeX, but I'm not an advanced user either.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Ijon Tichy
Posts: 640
Joined: Mon Dec 24, 2018 10:12 am

Issues compiling kaobook with TeXStudio

Post by Ijon Tichy »

I do not know the template. But it seems, it is using package scrhack with option nomencl=false. This option is provided since KOMA-Script 3.23, released 2017/04/13. The current official release is KOMA-Script 3.26b. So your LaTeX distribution seems to be far away from being up-to-date. I would recommend an update.

BTW: This is not a problem of the editor TeXstudio but a problem of the TeX distribution, either MiKTeX or TeXLive (or MacTeX version of TeXLive).
Sorry, but I can no longer participate here as the administrator is trampling on my wishes on one of his other platforms. :cry:
Post Reply