Bug 1212046 - [TeXLive 2023] using both "ngerman" and "icomma" packages gives "Missing number" error
Summary: [TeXLive 2023] using both "ngerman" and "icomma" packages gives "Missing numb...
Status: RESOLVED WONTFIX
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Other (show other bugs)
Version: Current
Hardware: x86-64 openSUSE Tumbleweed
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Dr. Werner Fink
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-06 08:40 UTC by Christoph Feck
Modified: 2023-08-03 09:30 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Feck 2023-06-06 08:40:15 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}
Comment 1 Christoph Feck 2023-06-06 08:44:04 UTC
I forgot to mention that I use the 'pdflatex' compiler.
Comment 2 Dr. Werner Fink 2023-08-03 09:30:47 UTC
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}
```