[latex3-commits] [git/LaTeX3-latex3-babel] docs: Add news for 3.62. Links for Arabic and Chinese. (a318f8e)

Javier email at dante.de
Sat Jul 17 13:32:16 CEST 2021


Repository : https://github.com/latex3/babel
On branch  : docs
Link       : https://github.com/latex3/babel/commit/a318f8efd98d7b0039ac6f38dd64edb8b16e27d6

>---------------------------------------------------------------

commit a318f8efd98d7b0039ac6f38dd64edb8b16e27d6
Author: Javier <email at localhost>
Date:   Sat Jul 17 13:32:16 2021 +0200

    Add news for 3.62. Links for Arabic and Chinese.


>---------------------------------------------------------------

a318f8efd98d7b0039ac6f38dd64edb8b16e27d6
 docs/_includes/menu.html             |  1 +
 docs/guides/locale-arabic.md         |  1 +
 docs/guides/locale-chinese.md        |  1 +
 docs/index.md                        |  6 ++++
 docs/news/whats-new-in-babel-3.62.md | 63 ++++++++++++++++++++++++++++++++++++
 5 files changed, 72 insertions(+)

diff --git a/docs/_includes/menu.html b/docs/_includes/menu.html
index 6855a33..c22b4b9 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.62.html">3.62 (development)</a></li>
       <li><a href="https://latex3.github.io/babel/news/whats-new-in-babel-3.61.html">3.61</a></li>
       <li><a href="https://latex3.github.io/babel/news/whats-new-in-babel-3.60.html">3.60</a></li>
       <li><a href="https://latex3.github.io/babel/news/whats-new-in-babel-3.59.html">3.59</a></li>
diff --git a/docs/guides/locale-arabic.md b/docs/guides/locale-arabic.md
index 7d13cb6..8d3587e 100644
--- a/docs/guides/locale-arabic.md
+++ b/docs/guides/locale-arabic.md
@@ -92,5 +92,6 @@ copy-pasted (and `cmap` works only to some extent).
 * [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)
+* [Understanding the starred version of \babelfont](https://tex.stackexchange.com/a/603925/5735)
 
 
diff --git a/docs/guides/locale-chinese.md b/docs/guides/locale-chinese.md
index 30f96da..b6de874 100644
--- a/docs/guides/locale-chinese.md
+++ b/docs/guides/locale-chinese.md
@@ -82,6 +82,7 @@ In addition, the following counters are predefined:
 * [How to write Korean and Chinese within an German document](https://tex.stackexchange.com/a/492214/5735)
 * [Mixing Chinese Characters with
   English](https://tex.stackexchange.com/questions/499910/mixing-chinese-characters-with-english-main-language-in-2019-what-is-the-st#499992)
+* [CJK languages in one document](https://tex.stackexchange.com/a/604412/5735)
 
 
 
diff --git a/docs/index.md b/docs/index.md
index 1f767d6..2f2e933 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -47,6 +47,7 @@ Ubuntu).
 
 | Version | Most relevant changes
 | --- | --- |
+| [3.62](news/whats-new-in-babel-3.62.html) | (Under developement.)
 | [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.
@@ -81,3 +82,8 @@ Ubuntu).
 * [List of locale templates](guides/list-of-locale-templates.html)
 * [Old and deprecated functions](guides/old-and-deprecated-functions.html)
 * [Using babel with plain](guides/using-babel-with-plain.html)
+
+## External links
+
+* [Getting Started with Internationalization
+  (W3C)](https://www.w3.org/International/getting-started/index.en)
\ No newline at end of file
diff --git a/docs/news/whats-new-in-babel-3.62.md b/docs/news/whats-new-in-babel-3.62.md
new file mode 100644
index 0000000..7d672b6
--- /dev/null
+++ b/docs/news/whats-new-in-babel-3.62.md
@@ -0,0 +1,63 @@
+# What's new in babel 3.62
+
+2021-07-20??
+
+Most changes in this version are minor improvements in the code. 
+
+## Unknown languages in auxiliary files
+
+A warning is shown instead of raising an error if a language is not
+found (for example, if there was a typo in the document).
+
+## LaTeX hooks
+
+There is partial support for the new LaTeX hooks. The hooks predefined
+by `babel` has the same names as those of `\AddBabelHook`, the main
+limitation being the parameters passed with the `babel` mechanism are
+not allowed. The generic unlocalized hooks are predefined, so that you
+can write:
+```tex
+\AddToHook{babel/afterextras}{\frenchspacing}
+```
+which is executed always after the extras for language being selected
+(and just before the non-localized hooks defined with `\AddBabelHook`.
+
+In addition, locale-specific hooks are allowed (executed just before
+the localized `babel` hooks), but **not** predefined. You have to do it
+yourself. For example, to set `\frenchspacing` only in `bengali`:
+```tex
+\RequireHook{babel/afterextras/bengali} 
+\AddToHook{babel/afterextras/bengali}{\frenchspacing}
+```
+
+This mechanism does *not* replace the current one in `babel`. Its main
+advantage is you can reconfigure `babel` even before loading it.
+
+## Fixes
+
+* Locale dependent quotes with CJK (#131).
+* Babel and hyperref prevent changes to the \LaTeX logo (#138).
+
+## Option `provide` extended
+
+*Requires LaTeX 2021-06-01, and still somewhat experimental.*
+
+Instead of a star, the package option `provide=`can be followed by a
+string to be passed to `\babelprovide` (rememer this option refers to
+the main language). There is a difference: to separate options use
+semicolons instead of commas. You may need to wrap the string with
+braces. The option `import` is passed, too, even if not explicitly
+requested. A simple example is:
+```tex
+\usepackage[provide = maparabic, telugu]{babel}
+```
+It loads the `ini` declarations for Telugu much like:
+```tex
+\babelprovide[main, import, maparabic]{babel}
+```
+
+There is an advantage in this way to load the language, namely, the
+language is set as a package (or class) option, which is the standard
+way to configure languages in LaTeX.
+
+





More information about the latex3-commits mailing list.