[latex3-commits] [git/LaTeX3-latex3-babel] docs: IAST example. (ff7da7f)
Javier
email at dante.de
Fri Feb 11 18:51:43 CET 2022
Repository : https://github.com/latex3/babel
On branch : docs
Link : https://github.com/latex3/babel/commit/ff7da7fbc08765f27651430bc1779c76f7dd2504
>---------------------------------------------------------------
commit ff7da7fbc08765f27651430bc1779c76f7dd2504
Author: Javier <email at localhost>
Date: Fri Feb 11 18:51:43 2022 +0100
IAST example.
>---------------------------------------------------------------
ff7da7fbc08765f27651430bc1779c76f7dd2504
docs/media/iast-devanagari.jpg | Bin 0 -> 17134 bytes
docs/news/whats-new-in-babel-3.71.md | 59 +++++++++++++++++++++++------------
2 files changed, 39 insertions(+), 20 deletions(-)
diff --git a/docs/media/iast-devanagari.jpg b/docs/media/iast-devanagari.jpg
new file mode 100644
index 0000000..8c33d31
Binary files /dev/null and b/docs/media/iast-devanagari.jpg differ
diff --git a/docs/news/whats-new-in-babel-3.71.md b/docs/news/whats-new-in-babel-3.71.md
index 364c96a..54f6ee3 100644
--- a/docs/news/whats-new-in-babel-3.71.md
+++ b/docs/news/whats-new-in-babel-3.71.md
@@ -2,31 +2,15 @@
*(Development.)*
-## Fixes
-
-* `provide+=*` didn’t work with `hebrew` as a secondary language.
-
-* (lua) Wrong equation direction in 'cases' and 'array' (#167). The
- latter was a long standing problem, which was even mentioned as a
- known issue in the manual. Fixing it was not trivial, and a radically
- new approach to fix math typesetting in bidi texts, written in lua,
- has been devised. If it does the trick, this mechanism (which is
- similar to that already applied to `picture`, and part of the code is
- actually shared) will be fine tuned and extended in future releases.
-
-* (lua) Bad interraction between `bidi` option and `mathtools`, which
- raised an error (#166). It’s related to the work in progress to
- improve math typesetting.
-
⚠ Remember the `luatex` support for `amsmath` has not been finished.
-Expect some anomalous vertical skips (in part because of a bug in
-luatex) and misplaced tags in some cases (sometimes with `aligned` and
-`gathered`).
+Expect some anomalous vertical skips in displays (partly due to a bug
+in luatex) and misplaced tags in some cases (sometimes with `aligned`
+and `gathered`).
## IAST transliteration for Devanagari
This feature has been contributed by Maximilian Mehner. See
-[radardenker/babel-iast]( https://github.com/radardenker/babel-iast).
+[radardenker/babel-iast](https://github.com/radardenker/babel-iast).
Althought `babel` provided the Havard-Kyoto system, which requires only
ASCII characters, the IAST system is being far more commonly used these
@@ -47,5 +31,40 @@ Full stop (`.`) and slash (`/`) both get replaced by danda (`।`), two
of either by double-danda (`॥`). Colon (`:`) gets replaced by dash
(`–`) which is commonly used in Devanagari editions of dramas in this
function.
+```tex
+\documentclass{article}
+
+\usepackage[english]{babel}
+
+\babelprovide[import=sa, transforms = transliteration.iast]{iast}
+\babelfont[iast]{rm}[Renderer=Harfbuzz]{DevanagariMT}
+\setlength{\parindent}{0pt}
+
+\begin{document}
+\begin{otherlanguage}{iast}
+ divi bhūmau tathākāśe bahir antaś ca me vibhuḥ /\\
+ yo 'vabhāty avabhāsātmā ss tasmai viśvātmane namaḥ // 1.1
+\end{otherlanguage}
+\end{document}
+```
+![](../media/iast-devanagari.jpg)
+
+## Fixes
+
+* `provide+=*` didn’t work with `hebrew` as a secondary language.
+
+* (lua) Wrong equation direction in 'cases' and 'array' (#167). The
+ latter was a long standing problem, which was even mentioned as a
+ known issue in the manual. Fixing it was not trivial, and a radically
+ new approach to fix math typesetting in bidi texts, written in lua,
+ has been devised. If it does the trick, this mechanism (which is
+ similar to that already applied to `picture`, and part of the code is
+ actually shared) will be fine tuned and extended in future releases.
+
+* (lua) Bad interraction between `bidi` option and `mathtools`, which
+ raised an error (#166). It’s related to the work in progress to
+ improve math typesetting.
+
+
More information about the latex3-commits
mailing list.