[tex-live] Serious (?) problem with Babel and language attributes

Ulrike Fischer news3 at nililand.de
Mon Jun 2 09:52:42 CEST 2014


Am Mon, 2 Jun 2014 09:54:59 +0900 schrieb Norbert Preining:

> Hi everyone,
> 
> I don't know *when* this mess started, but it seems that
> the other language attributes are also broken.
> 
> And it seems the bug is not in the ldf files, but in the babel *core*.
> 
> But at least I have to say, they are broken since long, because
> I tried below test case also in Debian/TeX Live 2012 (!) with
> the same outcome.
> 
> $ cat test.tex
> \documentclass{article}
> \usepackage[latin]{babel}
> \languageattribute{latin}{medieval}
> \begin{document}
> \november
> \end{document}
> $
> 
> This document *should* produce
> 	Nouembris
> if I am right ... the code in latin.ldf:
> \bbl at declare@ttribute{latin}{medieval}{%
>   \addto\captionslatin{\def\prefacename{Pr{\ae}fatio}}%
>   \def\november{Nouembris}%
>   \expandafter\addto\expandafter\extraslatin
>   \expandafter{\extrasmedievallatin}%
>   }
> 
> But what comes out is
> 	Novembris
> ???

I think that the last of the braces in the \addto-line is misplaced:
The redefinition of \november should be inside the
\addto\captionslatin. The medieval attribute works fine for
\prefacename.  

-- 
Ulrike Fischer 
http://www.troubleshooting-tex.de/




More information about the tex-live mailing list