LATEX-L Archives

Mailing list for the LaTeX3 project


Options: Use Classic View

Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Sender: Mailing list for the LaTeX3 project <[log in to unmask]>
Date: Tue, 14 Mar 2023 18:40:06 +0100
Reply-To: Mailing list for the LaTeX3 project <[log in to unmask]>
Message-ID: <[log in to unmask]>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
In-Reply-To: <[log in to unmask]>
Content-Type: text/plain; charset=UTF-8; format=flowed
From: Javier Bezos <[log in to unmask]>
Parts/Attachments: text/plain (20 lines)
> In the hyph-utf8 bundle of hyphenation patterns, there is one file that
> has not babelname set (in the comments):
> tex/generic/hyph-utf8/patterns/tex/hyph-no.tex

>> Not knowing if it's intentional (to not specify the babelname for
>> this file) or not, I mention it...

Although intentional, this is not quite correct if we follow the
Unicode CLDR, which considers the ‘default’ Norwegian is ‘no’
(technically it’s a macrolanguage, and ‘nb’=“Norwegian Bokmål” is
empty and just inherits from it). This is the correspondence made
by babel, which follows Unicode. However, internally, hyphenation
rules are set to the name ‘norwegian’ as set in language.dat,
which loads ‘nb’, which, in turn, loads ‘no’, so in the end it
works as it should 🙂.