[latex3-commits] [git/LaTeX3-latex3-babel] docs: More on 3.61. (92befa4)
Javier
email at dante.de
Sun Jun 27 17:21:22 CEST 2021
Repository : https://github.com/latex3/babel
On branch : docs
Link : https://github.com/latex3/babel/commit/92befa499fe06da24deb9a71895dfbf9852170d5
>---------------------------------------------------------------
commit 92befa499fe06da24deb9a71895dfbf9852170d5
Author: Javier <email at localhost>
Date: Sun Jun 27 17:21:22 2021 +0200
More on 3.61.
>---------------------------------------------------------------
92befa499fe06da24deb9a71895dfbf9852170d5
docs/_includes/menu.html | 1 +
docs/guides/locale-arabic.md | 21 +++++++++++++-
...ing-babelprovide-to-modify-or-extend-locales.md | 6 +++-
docs/index.md | 1 +
docs/news/whats-new-in-babel-3.58.md | 2 --
docs/news/whats-new-in-babel-3.61.md | 32 ++++++++++++++++++++--
6 files changed, 57 insertions(+), 6 deletions(-)
diff --git a/docs/_includes/menu.html b/docs/_includes/menu.html
index c9145c1..35c9037 100644
--- a/docs/_includes/menu.html
+++ b/docs/_includes/menu.html
@@ -54,6 +54,7 @@
<ul>
<li><a href="https://latex3.github.io/babel/guides/locale-arabic.html">Arabic</a></li>
<li><a href="https://latex3.github.io/babel/guides/locale-bengali.html">Bengali</a></li>
+ <li><a href="https://latex3.github.io/babel/guides/locale-czech.html">Czech</a></li>
<li><a href="https://latex3.github.io/babel/guides/locale-hebrew.html">Hebrew</a></li>
<li><a href="https://latex3.github.io/babel/guides/locale-hindi.html">Hindi</a></li>
</ul>
diff --git a/docs/guides/locale-arabic.md b/docs/guides/locale-arabic.md
index 786a172..7d13cb6 100644
--- a/docs/guides/locale-arabic.md
+++ b/docs/guides/locale-arabic.md
@@ -67,11 +67,30 @@ Definition \foreignlanguage{arabic}{maboniY+}.
```
![](../media/arabic-sample-dad.png)
+## `pdftex`
+
+Arabic support in `pdftex`is provided by the [external package
+`arabi`](https://ctan.org/pkg/arabi), which has been devised for
+documents written in Arabic.
+
+For a few words or sentences in a non-Arabic document, you may prefer
+to declare a language from scratch in the following way:
+```tex
+\usepackage[bidi=default, english]{babel}
+\usepackage[LAE, T1]{fontenc}
+\babelprovide{arabic}
+\addto\extrasarabic{\fontencoding{LAE}\selectfont}
+```
+Then `\foreignlanguage` and `\selectlanguage` can be used in the usual
+manner, but very likely you will need some manual intervention (for
+example, numerals). Sadly, with this procedure text cannot be
+copy-pasted (and `cmap` works only to some extent).
+
## Useful links
* [Automatic enumerate list using eastern Arabic letters in beamer](https://tex.stackexchange.com/a/599846/5735)
* [Itemize environment in Arabic](https://tex.stackexchange.com/a/528562/5735)
* [Index not generated in an Arabic document](https://tex.stackexchange.com/a/506482/5735)
-* [Right alignment for section and subsection in the table of contents](https://tex.stackexchange.com/a/587584/5735)
+* [Right alignment for section and subsection in the table of contents](https://tex.stackexchange.com/a/587584/5735)
diff --git a/docs/guides/using-babelprovide-to-modify-or-extend-locales.md b/docs/guides/using-babelprovide-to-modify-or-extend-locales.md
index 0c24eca..dfe7af6 100644
--- a/docs/guides/using-babelprovide-to-modify-or-extend-locales.md
+++ b/docs/guides/using-babelprovide-to-modify-or-extend-locales.md
@@ -1,6 +1,10 @@
# Using `\babelprovide` to modify or extend locales
-As explained in the manual, `\babelprovide` is an all-purpose command to both define a new language and modify an existing language. This article provides examples on how to modify a language loaded as a package option.
+As explained in the manual, `\babelprovide` is an all-purpose command
+to both define a new language and modify an existing language. This
+article provides examples on how to modify a language loaded as a
+package option. It assumes there isn't a previous `\babelprovide` or
+`provide=*` for that language.
**All the examples assume:**
```tex
diff --git a/docs/index.md b/docs/index.md
index 19f0954..1f767d6 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -47,6 +47,7 @@ Ubuntu).
| Version | Most relevant changes
| --- | --- |
+| [3.61](news/whats-new-in-babel-3.61.html) | Transform `danda.nobreak`. Improved Arabic justification.
| [3.60](news/whats-new-in-babel-3.60.html) | Mainly a maintenance release.
| [3.59](news/whats-new-in-babel-3.59.html) | Tentative Arabic justification.
| [3.58](news/whats-new-in-babel-3.58.html) | More transforms for Sanskrit, Polish, Czech, Serbian, etc.
diff --git a/docs/news/whats-new-in-babel-3.58.md b/docs/news/whats-new-in-babel-3.58.md
index 3e1606b..4585877 100644
--- a/docs/news/whats-new-in-babel-3.58.md
+++ b/docs/news/whats-new-in-babel-3.58.md
@@ -12,8 +12,6 @@
four characters: `!?:;`. Added `transliteration.hk` for
Sanskrit, too.
-**Norsk** ▸ `doubleletter.hyphen` ▸ Hyphenates the doble-letter groups `bb`, `dd`, `ff`, `gg`, `ll`, `mm`, `nn`, `pp`, `rr`, `ss`, `tt` as `bb-b`, `dd-d`, etc.
-
**Serbian** ▸ `transliteration.gajica` ▸ (Note `serbian` with `ini` files refers to the Cyrillic script, which is here the target.) The standard system devised by Ljudevit Gaj.
## Verbatim and `\babelprehyphenation`
diff --git a/docs/news/whats-new-in-babel-3.61.md b/docs/news/whats-new-in-babel-3.61.md
index c2e26c3..c00b403 100644
--- a/docs/news/whats-new-in-babel-3.61.md
+++ b/docs/news/whats-new-in-babel-3.61.md
@@ -24,7 +24,35 @@ usable in many cases, as the example for Arabic in the repository shows
[pdf](https://github.com/latex3/babel/blob/main/samples/lua-arabic.pdf)).
Remember, however, the interface may change slightly in the future.
-## Other changes
-
+There are still many messages of underfull boxes generated by the
+internal calculations. There are other things to be sorted out, like the
+‘long’ kaf with elongated forms (with swash variants).
+
+## Multiple `\babelprovide`’s
+
+`\babelprovide` was not quite well behaved when loaded several times
+for the same language. It was originally meant for a single call and
+the subsequent ones worked in many cases but not all. This version
+improves the situation so that almost any change done by means of ini
+keys (for example, `typography/frenchspacing`) should work. There are
+many keys performing very diverse tasks, so very likely some of them
+doesn’t still work exactly as expected, but it will fine tuned in the
+following versions, and guide [Using `\babelprovide` to modify or
+extend
+locales](../guides/using-babelprovide-to-modify-or-extend-locales.md)
+will be extended accordingly.
+
+## Fixes
+
+There is a partial fix for the `\write` issue with `\selectlanguage`.
+See [\selectlanguage pushes section to new
+page](https://github.com/latex3/babel/issues/114).
+
+Although the fix is not perfect and it can even lead to some problems,
+these must be less frequent than the two bugs described in the linked
+issue. I'm investigating how to improve the way `babel` communicates
+with the `aux` file, including also [this
+issue](https://github.com/latex3/babel/issues/108), which is far from
+trivial.
More information about the latex3-commits
mailing list.