Bugzilla – Bug 1212046
[TeXLive 2023] using both "ngerman" and "icomma" packages gives "Missing number" error
Last modified: 2023-08-03 09:30:47 UTC
Since upgrading TeXLive from version 2022 to current version 2023 in Tumbleweed, I get a "Missing number, treated as zero" error on all of my documents, because these (indirectly) use both "ngerman" as well as "icomma" packages. Importing both causes this error, importing only one of them works. Steps to reproduce: - install texlive-collection-latex - install texlive-german (for ngerman package) - install texlive-was (for icomma package) test.tex: \documentclass[a4paper,10pt]{article} \usepackage{ngerman} \usepackage{icomma} \title{} \author{} \begin{document} \maketitle \begin{abstract} \end{abstract} \section{} \end{document}
I forgot to mention that I use the 'pdflatex' compiler.
Try ``` \documentclass[a4paper,10pt]{article} \usepackage{icomma} \usepackage{ngerman} \title{} \author{} \begin{document} \maketitle \begin{abstract} \end{abstract} \section{} \end{document} ``` btw: I'm the package maintainer not the author of ngerman nor icomma :) I guess as both styles use \AtBeginDocument and both modifies the content of the \begin{document} macro ... Here without ngerman.sty but with babel, modern encoding, and bold tensors as well as with correct differential operators ``` \documentclass[a4paper,10pt,ngerman]{article} \usepackage{icomma} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{babel} \usepackage[differential]{boldtensors} \title{} \author{} \begin{document} \maketitle Größere Wünsche $\pi = 3,1415\ldots \frac{d}{dt} f(x, y)$ \begin{abstract} \end{abstract} \section{} \end{document} ```