=?UTF-8?q?Upon_installing_babel-english, _produce_a_warning_if_hyphen-engl?= ish is missing

Al Ma alma0 at ro.ru
Wed Mar 27 22:47:13 CET 2024


When babel-english gets installed, but hyphen-english has not yet been installed and doesn't get installed, we don't get any warning.  We also don't get any warning later when compiling a LaTeX document with intended British hyphenation and getting a US hyphenation instead.  Therefore, we kindly ask to explicitly warn the user (or to force installing the British hyphenation when babel-english gets installed).  The babel maintainer said in https://github.com/latex3/babel/issues/290#issuecomment-2023121848 that it's the task of the installer.  Our test:
$ tlmgr show babel-english hyphen-english | grep installed installed:   No installed:   No $ tlmgr install babel-english tlmgr: package repository https://ctan.space-pro.be/tex-archive/systems/texlive/tlnet (verified) [1/1, ??:??/??:??] install: babel-english [137k] running mktexlsr ... done running mktexlsr. tlmgr: package log updated: /home/username/usr/local/texlive/2024/texmf-var/web2c/tlmgr.log tlmgr: command log updated: /home/username/usr/local/texlive/2024/texmf-var/web2c/tlmgr-commands.log $ cat > mwe.tex \documentclass[british]{article} \usepackage[british]{babel} \begin{document} \showhyphens{theorem theorems} \end{document} $ latex mwe This is pdfTeX, Version 3.141592653-2.6-1.40.26 (TeX Live 2024) (preloaded format=latex) restricted \write18 enabled. entering extended mode (./mwe.tex LaTeX2e <2023-11-01> patch level 1 L3 programming layer <2024-03-14> (/home/username/usr/local/texlive/2024/texmf-dist/tex/latex/base/article.cls Document Class: article 2023/05/17 v1.4n Standard LaTeX document class (/home/username/usr/local/texlive/2024/texmf-dist/tex/latex/base/size10.clo)) (/home/username/usr/local/texlive/2024/texmf-dist/tex/generic/babel/babel.sty (/home/username/usr/local/texlive/2024/texmf-dist/tex/generic/babel/txtbabel.de f) (/home/username/usr/local/texlive/2024/texmf-dist/tex/generic/babel-english/bri tish.ldf (/home/username/usr/local/texlive/2024/texmf-dist/tex/generic/babel-english/eng lish.ldf))) (/home/username/usr/local/texlive/2024/texmf-dist/tex/generic/babel/locale/en/b abel-british.tex) (/home/username/usr/local/texlive/2024/texmf-dist/tex/latex/l3backend/l3backend -dvips.def) No file mwe.aux.
Underfull \hbox (badness 10000) in paragraph at lines 4--4 [] \OT1/cmr/m/n/10 the-o-rem the-o-rems (./mwe.aux) ) (see the transcript file for additional information) No pages of output. Transcript written on mwe.log. $ grep babel mwe.log (/home/username/usr/local/texlive/2024/texmf-dist/tex/generic/babel/babel.sty Package: babel 2024/02/07 v24.2 The Babel package \babel at savecnt=\count196 (/home/username/usr/local/texlive/2024/texmf-dist/tex/generic/babel/txtbabel.de (/home/username/usr/local/texlive/2024/texmf-dist/tex/generic/babel-english/bri Language: british 2017/06/06 v3.3r English support from the babel system (/home/username/usr/local/texlive/2024/texmf-dist/tex/generic/babel-english/eng Language: english 2017/06/06 v3.3r English support from the babel system Package babel Info: Hyphen rules for 'british' set to \l at english (babel)             (\language0). Reported on input line 82. Package babel Info: Hyphen rules for 'UKenglish' set to \l at english (babel)             (\language0). Reported on input line 83. Package babel Info: Hyphen rules for 'canadian' set to \l at english (babel)             (\language0). Reported on input line 102. Package babel Info: Hyphen rules for 'australian' set to \l at english (babel)             (\language0). Reported on input line 105. Package babel Info: Hyphen rules for 'newzealand' set to \l at english (babel)             (\language0). Reported on input line 108. (/home/username/usr/local/texlive/2024/texmf-dist/tex/generic/babel/locale/en/b Package babel Info: Importing font and identification data for british (babel)             from babel-en-GB.ini. Reported on input line 11. $ egrep -i "warn|err|fail|miss|unknown|not known|undef|not def|ill" mwe.log $
“the-o-rem” is the US-English hyphenation, whereas the British hyphenation would have been “the-orem”.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/tex-live/attachments/20240327/9cbe3fed/attachment-0001.htm>


More information about the tex-live mailing list.