Closed lemzwerg closed 3 years ago
For documentation purposes: When was this bug introduced to Babel?
ngerman.sty is not part of babel and it contains quite a lot code. At what file are you actually looking?
I'm not talking about ngerman.sty
. I'm talking about ngermanb.sty
, which is part of Babel; it gets generated in bbcompat.dtx
.
It's a typo in bbcompat.dtx
:
diff --git a/bbcompat.dtx b/bbcompat.dtx
index 3008f47..889260f 100644
--- a/bbcompat.dtx
+++ b/bbcompat.dtx
@@ -194,8 +194,8 @@
%<+germanb>\def\CurrentOption{german}
%<+austrian|german|germanb>\input germanb.ldf\relax
%<+naustrian>\def\CurrentOption{naustrian}
-%<+ngerman>\def\CurrentOption{ngerman}
-%<+naustrian|ngerman>\input ngermanb.ldf\relax
+%<+ngermanb>\def\CurrentOption{ngerman}
+%<+naustrian|ngermanb>\input ngermanb.ldf\relax
%<+greek>\def\CurrentOption{greek}
%<+greek>\input greek.ldf\relax
%<+icelandic>\def\CurrentOption{icelandic}
ah right, sorry. But I'm not sure if it will work after adding the two lines, it still errors for me in plain.
Yep, see issue #119.
This part can be easily fixed. Done in my local copy. I'm investigating #119.
[TeXLive rev. 57852, 2021-02-23]
Contrary to the babel documentation, this simple document
fails with
Looking up the code I see that
ngermanb.sty
doesn't execute any code at all! It only defines two macros. It's missing these two lines at the end: