fmarotta / kaobook

A LaTeX class for books, reports or theses based on https://github.com/kenohori/thesis and https://github.com/Tufte-LaTeX/tufte-latex.
https://github.com/fmarotta/kaobook
LaTeX Project Public License v1.3c
859 stars 185 forks source link

kaohandt example failure #174

Closed ratmice closed 3 years ago

ratmice commented 3 years ago

Prerequisites

Description

[Description of the issue]

Minimal Working Example

[You can use the following document to help you create a minimal working example.]

xelatex examples/minimal_report/main.tex

Expected behavior: [What you expect to happen]

Actual behavior: [What actually happens. Feel free to include the logfile or screenshots of your document]

! Undefined control sequence.
<argument> \kao@secnumdepth 

l.100 \setcounter{secnumdepth}{\kao@secnumdepth}
                                                 % Set section numbering depth

Additional Information

The above refers to to kaohandt.sty:100 Commenting out that line compilation succeeds but not sure if that is right.

One thing I noticed while looking at it is there are a few references to kaobook in the kaohandt class, e.g. \DefineFamilyMember[kaobook]{kao} But changing these to kaohandt didn't seem to help anything, but thought worth mentioning in case these should actually be kaohandt.