[latex3-commits] [git/LaTeX3-latex3-babel] docs: More on 3.88. (4cd6c75)
Javier
email at dante.de
Mon Apr 17 17:22:08 CEST 2023
Repository : https://github.com/latex3/babel
On branch : docs
Link : https://github.com/latex3/babel/commit/4cd6c75b965d27f9e81115dddf2c4f62298e1371
>---------------------------------------------------------------
commit 4cd6c75b965d27f9e81115dddf2c4f62298e1371
Author: Javier <email at localhost>
Date: Mon Apr 17 17:22:08 2023 +0200
More on 3.88.
>---------------------------------------------------------------
4cd6c75b965d27f9e81115dddf2c4f62298e1371
docs/_includes/menu.html | 7 +++++
.../guides/non-standard-hyphenation-with-luatex.md | 4 +--
docs/index.md | 1 +
docs/news/whats-new-in-babel-3.88.md | 30 ++++++++++++++++++++++
4 files changed, 40 insertions(+), 2 deletions(-)
diff --git a/docs/_includes/menu.html b/docs/_includes/menu.html
index 82199bc..596e130 100644
--- a/docs/_includes/menu.html
+++ b/docs/_includes/menu.html
@@ -51,6 +51,13 @@
<li><a href="https://latex3.github.io/babel/guides/locale-thai.html">Thai</a></li>
</ul>
</li>
+ <li><a href="#">Repository</a>
+ <ul>
+ <li><a href="https://github.com/latex3/babel">Go to code</a></li>
+ <li><a href="https://github.com/latex3/babel/issues">Go to issues</a></li>
+ <li><a href="https://github.com/latex3/babel/projects/1">Go to enhancement requests</a></li>
+ </ul>
+ </li>
</ul>
</nav>
</div>
diff --git a/docs/guides/non-standard-hyphenation-with-luatex.md b/docs/guides/non-standard-hyphenation-with-luatex.md
index 433a495..95106f6 100644
--- a/docs/guides/non-standard-hyphenation-with-luatex.md
+++ b/docs/guides/non-standard-hyphenation-with-luatex.md
@@ -13,7 +13,7 @@ information.)
The basic syntax is explained in the `babel` manual. This article
complements it with an explanation of the second and third arguments of
-`\babelposthyphenation`, which also apply to `\babelprehyphenation`
+`\babelposthyphenation`, which also applies to `\babelprehyphenation`
with the differences explained in the manual.
Here is a simple example of a declaration, which tells LaTeX to change
@@ -158,7 +158,7 @@ be used in the replacement strings, with the corresponding capture:
```
There are two captures, namely, `[cC]` (which means either ‘c’ or
‘C’) and `[kK]`, used in the second replacement as `{1}` and `{2}`.
-With this rule, ` \showhyphens{Trockenerzeugnis Druckeinstellung}` will
+With this rule, `\showhyphens{Trockenerzeugnis Druckeinstellung}` will
display something like:
```
Underfull \hbox (badness 10000) in paragraph at lines 15--15
diff --git a/docs/index.md b/docs/index.md
index d5571d6..25380ed 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.88](news/whats-new-in-babel-3.88.html) | 37 new locale files. |
| [3.87](news/whats-new-in-babel-3.87.html) | Mainly fixes and minor improvements. |
| [3.86](news/whats-new-in-babel-3.86.html) | `tabular` improved. |
| [3.85](news/whats-new-in-babel-3.85.html) | Font-dependent transforms. |
diff --git a/docs/news/whats-new-in-babel-3.88.md b/docs/news/whats-new-in-babel-3.88.md
index 0cdc577..956598d 100644
--- a/docs/news/whats-new-in-babel-3.88.md
+++ b/docs/news/whats-new-in-babel-3.88.md
@@ -12,3 +12,33 @@ There are 37 new locale files, based on the [forthcoming] CLDR 43. They are, gro
* **Latin.** Afar, Atsam, Corsican, Ga, Guarani, Jju, Ligurian, Muscogee, Northern Sotho, Nyanja, Papiamento, Prussian, Saho, Sicilian, Silesian, South Ndebele, Southern Sotho, Swati, Taroko, Tok Pisin, Tsonga, Tswana, Tyap, Venda, Volapük.
* **N’ko.** N’Ko.
* **Unified Canadian Aboriginal Syllabics.** Inuktitut.
+
+## Casing
+
+This features relies in a future change in the LaTeX kernel, so it’s
+not currently available. It’s related to the new casing mechanism.
+
+There is a new option in `\babelprovide` to set the default casing
+rules in a few languages. They are (from `interface3.pdf`):
+* Armenian: `yiwn`, which maps U+0587 to capital ech and yiwn on
+ uppercasing.
+* German: `eszett`, which maps the lowercase *Eszett* to a *großes
+ Eszett* (in other words, ‘SS’ is a single character).
+* Greek: `iota`, which converts the *ypogegrammeni* (subscript muted
+ iota) to capital iota when uppercasing.
+
+For example:
+```tex
+\usepackage[greek]{babel}
+\babelprovide[casing=iota]{greek}
+```
+
+## New hook
+
+With a new hook we can inject some code before the declarations by a
+language within `\AtBeginDocument`. The optional argument with the
+language in this particular case is not the ‘current’ one, because at
+this point is always the main language, but the language that wrote the
+code. There is also a special value in this argument, because `/` means
+‘return to the core `babel` definitions’ (in other words, what follows
+hasn’t be written by any language.
More information about the latex3-commits
mailing list.