borisveytsman/nostarch

Minimal example not working

Closed this issue · 1 comments

The following minimal example yields an error in TL 2023, loading the listings package does not help.

\documentclass[nocfonts]{nostarch}

\begin{document}

Hallo Welt

\end{document}

This is pdfTeX, Version 3.141592653-2.6-1.40.25 (TeX Live 2023) (preloaded format=pdflatex)
restricted \write18 enabled.
entering extended mode
(./nostarch-01.tex
LaTeX2e <2022-11-01> patch level 1
L3 programming layer <2023-03-30>
(c:/texlive/2023/texmf-dist/tex/latex/nostarch/nostarch.cls
Document Class: nostarch 2008/06/06 v1.3 Typesetting books for No Starch Press
(c:/texlive/2023/texmf-dist/tex/latex/base/book.cls
Document Class: book 2022/07/02 v1.4n Standard LaTeX document class
(c:/texlive/2023/texmf-dist/tex/latex/base/bk10.clo))
(c:/texlive/2023/texmf-dist/tex/generic/iftex/ifpdf.sty
(c:/texlive/2023/texmf-dist/tex/generic/iftex/iftex.sty))
(c:/texlive/2023/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty)
(c:/texlive/2023/texmf-dist/tex/latex/fancyvrb/fancyvrb.sty
(c:/texlive/2023/texmf-dist/tex/latex/graphics/keyval.sty))
(c:/texlive/2023/texmf-dist/tex/latex/booktabs/booktabs.sty)
(c:/texlive/2023/texmf-dist/tex/latex/graphics/graphicx.sty
(c:/texlive/2023/texmf-dist/tex/latex/graphics/graphics.sty
(c:/texlive/2023/texmf-dist/tex/latex/graphics/trig.sty)
(c:/texlive/2023/texmf-dist/tex/latex/graphics-cfg/graphics.cfg)
(c:/texlive/2023/texmf-dist/tex/latex/graphics-def/pdftex.def)))
(c:/texlive/2023/texmf-dist/tex/latex/listings/listings.sty
(c:/texlive/2023/texmf-dist/tex/latex/listings/lstmisc.sty)
(c:/texlive/2023/texmf-dist/tex/latex/listings/listings.cfg))
(c:/texlive/2023/texmf-dist/tex/latex/caption/caption.sty
(c:/texlive/2023/texmf-dist/tex/latex/caption/caption3.sty))
(c:/texlive/2023/texmf-dist/tex/latex/base/makeidx.sty)
(c:/texlive/2023/texmf-dist/tex/latex/upquote/upquote.sty)
(c:/texlive/2023/texmf-dist/tex/latex/ragged2e/ragged2e.sty)

LaTeX Font Warning: Font shape OT1/cmss/k/n' undefined (Font) using OT1/cmss/m/n' instead on input line 275.

! LaTeX Error: Command \thelstlisting undefined.

See the LaTeX manual or LaTeX Companion for explanation.
Type H for immediate help.
...

l.580 \renewcommand \thelstlisting

?

With the latest version of the class this error does not occur anymore.