Latest news 2024-10-15: New blog post: Tales for Our Times Book Launch.

Bug Tracker RSS feed

I’m currently working on a major new version of the datatool package. This may take a while. Please be patient. (Experimental version available for testing.)

ID 134🔗
Date: 2019-08-31 17:58:18
Status Closed (Can Not Implement)
Category tracklang
Version 1.3.6
Summary tracklang doesn't work with newer babel (\babelprovide)
Cross Ref 135

Sign in to subscribe to notifications about this report.

Description

(I couldn't find a category for tracklang and so took the glossaries-extra) newer versions of babel allow to declare the languages after the loading of the package with \babelprovide. tracklang doesn't recognize this. babel also knows now a language nil, but tracklang errors with it.

MWE

Download (271B)

\documentclass{article}
%\usepackage[nil]{babel}
\usepackage{babel}
\babelprovide[import=fr]{french}
\babelprovide[import=de,main]{german}
\usepackage{glossaries-extra}

\begin{document}

\ForEachTrackedDialect\mylang{\show\mylang}
\languagename
\end{document}

Evaluation

(I've moved this bug report to the new tracklang category and changed the version number to 1.3.6, which is the tracklang version shown in the supplied log file.)

The mispelt \AddTrackedLangage error is fixed in version 1.3.7, so unknown languages should now trigger a warning rather than an error. This bug is therefore already fixed.

Version 1.3.8 now defines the undetermined “und” language and defines “nil” as a dialect of that language.

As when used with polyglossia, if tracklang.sty can't pick up the correct localisation from the language package the language(s) will need to be passed to tracklang through package options or explicitly tracked using commands provided in tracklang.tex.

Update 2020-03-02: Since babel doesn't currently provide a list of languages that have been loaded with \babelprovide, there's no way for tracklang (or any other package) to simply access that information. I will therefore have to close this as “can't implement” until babel provides an easy way of detecting which languages have been loaded with that command.

Comments

0 comments.


Add Comment

Name (optional):

Are you human? Please confirm the bug report ID (which can be found at the top of this page) or login if you have an account.

Comment:


You can use the following markup:

Block:

[pre]Displayed verbatim[/pre]
[quote]block quote[/quote]

In line:

[tt]code[/tt]
[file]file/package/class name[/file]
[em]emphasized text[/em]
[b]bold text[/b]
[url]web address[/url] [sup]superscript[/sup]
[sub]subscript[/sub]

Ordered list:
[ol]
[li]first item[/li]
[li]second item[/li]
[/ol]

Unordered list:
[ul]
[li]first item[/li]
[li]second item[/li]
[/ul]

You can use the Preview button to review your message formatting before submitting.

Page permalink: https://www.dickimaw-books.com/bugtracker.php?key=134