fmarotta/kaobook

`LaTeX Warning: Unused global option(s): [secnumdepth=1].`

Closed this issue · 1 comments

Prerequisites

  • [ X ] Put an X between the brackets on this line if you have done all of the following:

Description

Examples mention secnumdepth=1, e.g.

secnumdepth=1, % How deep to number headings. Defaults to 1 (sections)

but LaTeX warns:

LaTeX Warning: Unused global option(s):
    [secnumdepth=1].

Minimal Working Example

\documentclass[
	secnumdepth=1, % How deep to number headings. Defaults to 1 (sections)
]{kaobook}

\begin{document}
\mainmatter


\end{document}

Additional Information

$ pdflatex --version
pdfTeX 3.141592653-2.6-1.40.22 (TeX Live 2021)
kpathsea version 6.3.3
Copyright 2021 Han The Thanh (pdfTeX) et al.
There is NO warranty.  Redistribution of this software is
covered by the terms of both the pdfTeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the pdfTeX source.
Primary author of pdfTeX: Han The Thanh (pdfTeX) et al.
Compiled with libpng 1.6.37; using libpng 1.6.37
Compiled with zlib 1.2.11; using zlib 1.2.11
Compiled with xpdf version 4.03

Thanks, I was using an external package to handle custom options like secnumdepth, but now I am using the official KOMAScript way and the warning is gone.