[latex3-commits] [git/LaTeX3-latex3-babel] docs: Dealing with danda and onchar. (e58c807)
Javier
email at dante.de
Fri Oct 29 17:16:17 CEST 2021
Repository : https://github.com/latex3/babel
On branch : docs
Link : https://github.com/latex3/babel/commit/e58c807c06a23ac9ce19c917cca6b4e93da211e9
>---------------------------------------------------------------
commit e58c807c06a23ac9ce19c917cca6b4e93da211e9
Author: Javier <email at localhost>
Date: Fri Oct 29 17:16:17 2021 +0200
Dealing with danda and onchar.
>---------------------------------------------------------------
e58c807c06a23ac9ce19c917cca6b4e93da211e9
docs/guides/locale-bengali.md | 15 +++++++++++----
docs/guides/locale-hindi.md | 8 ++++++++
2 files changed, 19 insertions(+), 4 deletions(-)
diff --git a/docs/guides/locale-bengali.md b/docs/guides/locale-bengali.md
index 9701305..9c64e27 100644
--- a/docs/guides/locale-bengali.md
+++ b/docs/guides/locale-bengali.md
@@ -26,8 +26,8 @@ form, you may still need some conversion because LaTeX uses internally
the Arabic ones. With `luatex` there are two ways to map Arabic to
Bengali numerals, passed as option to `\babelprovide`:
* `maparabic` does it at the TeX level, by redefining `\arabic`. Note
- form written to the auxiliary files is the converted one. It works
- with `xetex`, too.
+ the form written to the auxiliary files is the converted one (which
+ can be an issue in indexes). It works with `xetex`, too.
* `mapdigits` does it at the engine level. This is
usually the preferred method.
@@ -49,10 +49,17 @@ See the explanation in the babel manual about `\localecounter` and
_Only luatex_. The transform `danda.nobreak` prevents a line break
before a danda or double danda if there is a space.
+In Unicode, danda and double danda are shared by several scripts, and
+`babel` doesn’t assign it by default to any of them. If you are using
+`onchar` to select the font you may want to assign them with:
+```tex
+\babelcharproperty{`।}{locale}{bengali}
+\babelcharproperty{`॥}{locale}{bengali}
+```
## Useful links
* [How to write Bengali in LaTeX?](https://tex.stackexchange.com/a/561540/5735)
-* [Change numbering style to Bengali in nested ordered
- list](https://tex.stackexchange.com/a/563725/5735)
+* [Change numbering style to Bengali in nested ordered list](https://tex.stackexchange.com/a/563725/5735)
+* [What is the best way to write Bangla in latex?](https://tex.stackexchange.com/questions/620543/what-is-the-best-way-to-write-bangla-in-latex/620546#620546)
* [Typesetting Bangla script with LuaLATEX](https://www.latex-project.org/publications/UFi-TUB-tb127fischer-bangla.pdf)
diff --git a/docs/guides/locale-hindi.md b/docs/guides/locale-hindi.md
index 9d53475..cb031f2 100644
--- a/docs/guides/locale-hindi.md
+++ b/docs/guides/locale-hindi.md
@@ -52,6 +52,14 @@ the following four characters: `!?:;`.
The transform `danda.nobreak` prevents a line break before a danda or
double danda if there is a space.
+In Unicode, danda and double danda are shared by several scripts, and
+`babel` doesn’t assign it by default to any of them. If you are using
+`onchar` to select the font you may want to assign them with:
+```tex
+\babelcharproperty{`।}{locale}{hindi}
+\babelcharproperty{`॥}{locale}{hindi}
+```
+
## Transliterations
_Only luatex_. There is a transform (`transliteration.hk`) for the Harvard-Kyoto
More information about the latex3-commits
mailing list.