[latex3-commits] [latex3/babel] docs: 3.95 (and revised some former news). (eb7526d)
github at latex-project.org
github at latex-project.org
Fri Sep 29 18:33:45 CEST 2023
Repository : https://github.com/latex3/babel
On branch : docs
Link : https://github.com/latex3/babel/commit/eb7526d38ac184fea977b6528d56575d1861546a
>---------------------------------------------------------------
commit eb7526d38ac184fea977b6528d56575d1861546a
Author: Javier <email at localhost>
Date: Fri Sep 29 18:33:45 2023 +0200
3.95 (and revised some former news).
>---------------------------------------------------------------
eb7526d38ac184fea977b6528d56575d1861546a
docs/_includes/menu.html | 1 +
docs/index.md | 1 +
docs/news/whats-new-in-babel-3.35.md | 2 +-
docs/news/whats-new-in-babel-3.36.md | 7 +++++--
docs/news/whats-new-in-babel-3.37.md | 10 +++++----
docs/news/whats-new-in-babel-3.38.md | 11 +++++-----
docs/news/whats-new-in-babel-3.39.md | 39 ++++++++++++++++++++----------------
docs/news/whats-new-in-babel-3.40.md | 2 +-
docs/news/whats-new-in-babel-3.41.md | 12 +++++++++--
docs/news/whats-new-in-babel-3.42.md | 5 ++++-
docs/news/whats-new-in-babel-3.95.md | 30 +++++++++++++++++++++++++++
11 files changed, 87 insertions(+), 33 deletions(-)
diff --git a/docs/_includes/menu.html b/docs/_includes/menu.html
index 1408737..4a945f1 100644
--- a/docs/_includes/menu.html
+++ b/docs/_includes/menu.html
@@ -6,6 +6,7 @@
<!-- -->
<li><a href="#">News</a>
<ul>
+ <li><a href="https://latex3.github.io/babel/news/whats-new-in-babel-3.95.html">3.95</a></li>
<li><a href="https://latex3.github.io/babel/news/whats-new-in-babel-3.94.html">3.94</a></li>
<li><a href="https://latex3.github.io/babel/news/whats-new-in-babel-3.93.html">3.93</a></li>
<li><a href="https://latex3.github.io/babel/news/whats-new-in-babel-3.92.html">3.92</a></li>
diff --git a/docs/index.md b/docs/index.md
index f044da0..aef9fc2 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -48,6 +48,7 @@ case, it's advisable to install TeXLive.)
| Version | Most relevant changes
| --- | --- |
+| [3.95](news/whats-new-in-babel-3.95.html) | 16 new locale files (and a few fixes). |
| [3.94](news/whats-new-in-babel-3.94.html) | Chinese dates. New transform for kashida. New locale files. |
| [3.93](news/whats-new-in-babel-3.93.html) | Hebrew numerals. Chinese calendar. 6 new locale files. |
| [3.92](news/whats-new-in-babel-3.92.html) | A couple of fixes.|
diff --git a/docs/news/whats-new-in-babel-3.35.md b/docs/news/whats-new-in-babel-3.35.md
index 5df810a..0da084d 100644
--- a/docs/news/whats-new-in-babel-3.35.md
+++ b/docs/news/whats-new-in-babel-3.35.md
@@ -4,7 +4,7 @@
## Shorthands work in bibs and refs even with safe=none
-Shorthands are based on active characters, and if their definitions are not expandable (and shorthands are not), old TeX raises an error in some contexts (citations and cross references). `Babel` did tricky things to overcome this issue, but they were imperfect and problematic, so `babel` 3.9 added some options to deactivate them, with the side effect shorthands could not be used in these cases. But eTeX provides an easy mechanism to get the proper behavior easily. This is what this version has done.
+Shorthands are based on active characters, and if their definitions are not expandable (and shorthands are not), old TeX raises an error in some contexts (citations and cross references). `Babel` did tricky things to overcome this issue, but they were imperfect and problematic, so `babel` 3.9 added some options to deactivate them, with the side effect shorthands could not be used in these cases. But eTeX provides an easy mechanism to get the proper behavior. This is what this version has done.
## Fixes
diff --git a/docs/news/whats-new-in-babel-3.36.md b/docs/news/whats-new-in-babel-3.36.md
index 8209f8d..83d9f8f 100644
--- a/docs/news/whats-new-in-babel-3.36.md
+++ b/docs/news/whats-new-in-babel-3.36.md
@@ -4,11 +4,14 @@
## Switching on and off global features
-Sometimes you might need to disable some global `babel` features and the macro `\babeladjust`has been add for this. For example, you can set `\babeladjust{bidi.text=off}` if you are using an alternative algorithm or with large sections not requiring bidi text.
+Sometimes you might need to disable some global `babel` features and the
+macro `\babeladjust` has been added for this. For example, you can set
+`\babeladjust{bidi.text=off}` if you are using an alternative algorithm
+or with large sections not requiring bidi text.
## Polytonic Greek
-A new ini file, thanks to Claudio Beccari.
+A new `ini` file, thanks to Claudio Beccari.
![](../media/polytonic-greek.jpg)
diff --git a/docs/news/whats-new-in-babel-3.37.md b/docs/news/whats-new-in-babel-3.37.md
index adcaa25..cc0fc74 100644
--- a/docs/news/whats-new-in-babel-3.37.md
+++ b/docs/news/whats-new-in-babel-3.37.md
@@ -5,21 +5,23 @@
## Non-standard hyphenation
With `luatex` it is now possible to define non-standard hyphenation rules, like `f-f` → `ff-f`, repeated hyphen, ranked rules (or more exactly, “penalized”). No rules are currently provided by default (this is left for a later version), but they can be defined as shown in the following example:
-
+```tex
\babelposthyphenation{ngerman}{([fmtrp]) | {1}}
{
{ no = {1}, pre = {1}{1}-}, % Replace first char with disc
remove, % Remove automatic disc
{} % Keep last char, untouched
}
+```
For a more detailed description and some examples, see [Non-standard hyphenation with luatex](../guides/non-standard-hyphenation-with-luatex.md).
-
-
## Add and modify values from `ini` files
-There is a way to modify the values of `ini` files when they get loaded with `\babelprovide`. To set, say, `digits.native` in the `numbers` section, use something like `numbers/digits.native=abcdefghij` (note the bar between the section and the key name). New keys may be added, too.
+There is a way to modify the values of `ini` files when they get loaded
+with `\babelprovide`. To set, say, `digits.native` in the `numbers`
+section, use something like `numbers/digits.native=abcdefghij` (note the
+bar between the section and the key name). New keys may be added, too.
## Changes in line breaking
diff --git a/docs/news/whats-new-in-babel-3.38.md b/docs/news/whats-new-in-babel-3.38.md
index caed2b5..51e0375 100644
--- a/docs/news/whats-new-in-babel-3.38.md
+++ b/docs/news/whats-new-in-babel-3.38.md
@@ -5,7 +5,7 @@
## Automatic switching of locale and fonts (lua)
Sometimes, you need to insert short pieces of text in a different
-script from the main one - for example, some Japanese words inside
+script from the main one – for example, some Japanese words inside
Bulgarian. Now, identifiers (`\language` and `\localeid`, which apply
currently to line breaking) and fonts can be automatically set based on
script blocks, without explicit mark up (only `luatex`). A full example
@@ -41,10 +41,11 @@ From Wikipedia.
## Public access to locale info in `ini` files
-Until now, the information in the `identification` section was stored
-in ‘private’ macros (ie, with `@`s). Now, they are exposed with the
-fully expandable command `\localeinfo`. For example, to get the
-locale code:
+Until now, the information in the `identification` section was stored in
+‘private’ macros (ie, with `@`’s). Now, they are exposed with the command
+`\localeinfo`, which is fully expandable, provided the value exists (it
+raises an error otherwise). For example, to get the locale code:
```tex
\localeinfo{tag.bcp47}
```
+See the manual for the full list.
\ No newline at end of file
diff --git a/docs/news/whats-new-in-babel-3.39.md b/docs/news/whats-new-in-babel-3.39.md
index f909a53..a47c327 100644
--- a/docs/news/whats-new-in-babel-3.39.md
+++ b/docs/news/whats-new-in-babel-3.39.md
@@ -2,42 +2,47 @@
2020-02-03
-The first feature is another step in a revamping of the user interface, which will be one of the main tasks in the next versions. While ‘monolithic’ languages - those loaded as package or class options - are all what most users need and the recommended way to set up a monolingual document, the goal is to provide a sort of ‘service’ with a set of tools enabling users to create locales tailored to their own needs (the example below for transliterated Russian is a case in point).
+The first feature is another step in a revamping of the user interface, which will be one of the main tasks in the next versions. While ‘monolithic’ languages – those loaded as package or class options – are all what most users need and the recommended way to set up a monolingual document, the goal is to provide a sort of ‘service’ with a set of tools enabling users to create locales tailored to their own needs (the example below for transliterated Russian is a case in point).
## Locale loading on the fly
Very often, multilingual documents consist of a main language with small pieces of text in other languages (words, idioms, etc.). For these cases, `babel` now does not require declaring the secondary languages explicitly, because the basic settings are loaded on the fly when the language is selected or the font set.
This is particularly useful when there are short texts of this kind coming from an external source whose contents are not known on beforehand (for example, titles in a bibliography). A trivial example is:
-
- \documentclass{article}
- \usepackage[english]{babel}
- \babelfont[russian]{rm}{FreeSerif}
- \begin{document}
- English. \foreignlanguage{russian}{Русский}.
- \foreignlanguage{spanish}{Español}.
- \end{document}
+```tex
+\documentclass{article}
+\usepackage[english]{babel}
+\babelfont[russian]{rm}{FreeSerif}
+\begin{document}
+English. \foreignlanguage{russian}{Русский}.
+\foreignlanguage{spanish}{Español}.
+\end{document}
+```
+[**Update.** See also for `pdftex` [What's new in babel 3.84](whats-new-in-babel-3.84.md).]
## Improvements in `\babelposthyphenation` (lua)
Now captured chars can be mapped in the replacements. For example, if the first capture reads `([ΐΰ])`, the replacement could be `{1|ΐΰ|ίύ}`, which maps `ΐ` to `ί`, and `ΰ` to `ύ` - in other words, the diaeresis is removed.
-Although the main purpose of this tool is non-standard hyphenation, it is a quite general tool which may actually be used for other transformations. [**Note**. See also `\babelprehyphenation`, introduced in a preliminary form in 3.44, which is a better solution in cases like this.] For example, to enter _ž_ as `zh` and _š_ as `sh` in a newly created locale for transliterated Russian:
+Although the main purpose of this tool is non-standard hyphenation, it is a quite general tool which may actually be used for other transformations. [**Update**. See also `\babelprehyphenation`, introduced in a preliminary form in 3.44, which is a better solution in cases like this.] For example, to enter _ž_ as `zh` and _š_ as `sh` in a newly created locale for transliterated Russian:
- \babelprovide[hyphenrules=+]{russian-latin}
- \babelposthyphenation{russian-latin}{([sz])h}
- {
+```tex
+\babelprovide[hyphenrules=+]{russian-latin}
+\babelposthyphenation{russian-latin}{([sz])h}
+{
{ string = {1|sz|šž} },
- remove
- }
+ remove
+}
+```
Another change is now `\babelposthyphenation` activates automatically this feature.
## Assign specific chars to a locale (lua)
`\babelcharproperty` has been extended with a new property to add (or remove) a character (or a range of characters) from the default list used by `onchar` (namely, the script block). For example:
-
- \babelcharproperty{`,}{locale}{english}
+```tex
+\babelcharproperty{`,}{locale}{english}
+```
## Fixes
diff --git a/docs/news/whats-new-in-babel-3.40.md b/docs/news/whats-new-in-babel-3.40.md
index a5f1481..7118e20 100644
--- a/docs/news/whats-new-in-babel-3.40.md
+++ b/docs/news/whats-new-in-babel-3.40.md
@@ -18,7 +18,7 @@ A new field has been added to some `ini` files, with a list of characters whose
## Fixes
* Old Plain TeX and Plain XeTeX raised an error.
-* Option T1 in `fontenc` was not recognized when setting `\latinencoding` with LaTeX 2020-02-02.
+* Option `T1` in `fontenc` was not recognized when setting `\latinencoding` with LaTeX 2020-02-02.
* Locale names were hardcoded in some `babel-...tex` files.
\ No newline at end of file
diff --git a/docs/news/whats-new-in-babel-3.41.md b/docs/news/whats-new-in-babel-3.41.md
index a4db9c2..7b8a599 100644
--- a/docs/news/whats-new-in-babel-3.41.md
+++ b/docs/news/whats-new-in-babel-3.41.md
@@ -4,7 +4,13 @@
## Counters and numerals
-Many `ini` locale files has been extended with information about non-positional numerical systems, based on those [predefined in CSS](https://www.w3.org/TR/predefined-counter-styles/). They only work with `xetex` and `luatex` (but it _may_ work in `pdftex`) and are fully expandable (even inside an `\edef`). Currently, they are limited to numbers below 10000. See an example in PDF in https://github.com/latex3/babel/blob/master/samples/numerals.pdf .
+Many `ini` locale files has been extended with information about
+non-positional numerical systems, based on those [predefined in
+CSS](https://www.w3.org/TR/predefined-counter-styles/). They only work
+with `xetex` and `luatex` (but it _may_ work in `pdftex`) and are fully
+expandable (even inside an `\edef`). Currently, they are limited to
+numbers below 10000. See an example in PDF in the
+[repository](https://github.com/latex3/babel/blob/master/samples/numerals.pdf).
There are several way to use them (for the availabe styles in each language, see the list below):
@@ -49,6 +55,8 @@ You can find another example [here](https://tex.stackexchange.com/questions/5298
### List of styles
+[**Update.** This list has been extended. See the manual.]
+
* Ancient Greek
* lower.ancient
* upper.ancient
@@ -138,6 +146,6 @@ You can find another example [here](https://tex.stackexchange.com/questions/5298
## Fixes
-* A bug in the fix for #47 (T1 not recognized after a change in the LaTeX kernel), because `\@elt` was not reset (#51).
+* A bug in the fix for #47 (`T1` not recognized after a change in the LaTeX kernel), because `\@elt` was not reset (#51).
* Error when `french` was loaded and an ini file read, because the semicolon (;) was not reset to ‘other’ (#50).
* A typo in Greek files: Miriad must read Myriad (so, the name of the corresponding macro has changed and now is `\BabelGreekNumeralMyriads`)
\ No newline at end of file
diff --git a/docs/news/whats-new-in-babel-3.42.md b/docs/news/whats-new-in-babel-3.42.md
index 1031343..790ea2c 100644
--- a/docs/news/whats-new-in-babel-3.42.md
+++ b/docs/news/whats-new-in-babel-3.42.md
@@ -26,7 +26,10 @@ And `\hechap` is set to the corresponding value.
* **Church Slavic**, in 3 scripts: the ‘default’ Cyrl, plus Cyrs and Glag
* **Syriac**. See an example in https://github.com/latex3/babel/blob/master/samples/lua-syriac.pdf .
-Armenian now has captions. [**Warning**. There are also numerals, but their names are not correct: they are `lower` and `upper`, but must be `lower.letters` and `upper.letters`. It will be fixed in the next release. Sorry for the slip.]
+Armenian now has captions and numerals. <del>[**Warning**. There are also numerals, but
+their names are not correct: they are `lower` and `upper`, but must be
+`lower.letters` and `upper.letters`. It will be fixed in the next
+release. Sorry for the slip.]</del>[Fixed]
A few mistakes has been fixed in Sanskrit and Belarusian.
diff --git a/docs/news/whats-new-in-babel-3.95.md b/docs/news/whats-new-in-babel-3.95.md
new file mode 100644
index 0000000..95beb23
--- /dev/null
+++ b/docs/news/whats-new-in-babel-3.95.md
@@ -0,0 +1,30 @@
+# What's new in babel 3.95
+
+2023-09-29
+
+There are no changes in the core code.
+
+## New locales
+
+There are 13 new locales:
+
+* Cebuano
+* Chuvash
+* Dogri
+* Northern Frisian
+* Hmong Njua
+* Maori
+* Manipuri
+* Santali
+* Sindhi
+* Sundanese
+* Tajik
+* Tatar
+* Xhosa
+
+In addition, there are 3 bare minimum locales:
+* Awadhi
+* Gothic
+* Saraiki.
+
+A few missing native numerals and character ranges has been added.
\ No newline at end of file
More information about the latex3-commits
mailing list.