[latex3-commits] [git/LaTeX3-latex3-babel] docs: Bengali. (001ec97)

Javier email at dante.de
Fri Jun 11 16:47:11 CEST 2021


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

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

commit 001ec97cb470b85dd938b88240a125e667d451e8
Author: Javier <email at localhost>
Date:   Fri Jun 11 16:47:11 2021 +0200

    Bengali.


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

001ec97cb470b85dd938b88240a125e667d451e8
 docs/_includes/menu.html                           |   4 ++--
 .../guides/{locales-arabic.md => locale-arabic.md} |   0
 docs/guides/locale-bengali.md                      |  23 +++++++++++++++++++++
 docs/index.md                                      |  14 +++++++------
 docs/media/bengali-sample-luatex.png               | Bin 0 -> 12987 bytes
 5 files changed, 33 insertions(+), 8 deletions(-)

diff --git a/docs/_includes/menu.html b/docs/_includes/menu.html
index 37cbf3f..0702447 100644
--- a/docs/_includes/menu.html
+++ b/docs/_includes/menu.html
@@ -51,8 +51,8 @@
       </li>
       <li><a href="#">Locales</a>
       <ul>
-        <li><a
-        href="https://latex3.github.io/babel/guides/locales-arabic.html">Arabic</a></li>
+        <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>
       </ul>
       </li>
     </ul>
diff --git a/docs/guides/locales-arabic.md b/docs/guides/locale-arabic.md
similarity index 100%
rename from docs/guides/locales-arabic.md
rename to docs/guides/locale-arabic.md
diff --git a/docs/guides/locale-bengali.md b/docs/guides/locale-bengali.md
new file mode 100644
index 0000000..7e5efe4
--- /dev/null
+++ b/docs/guides/locale-bengali.md
@@ -0,0 +1,23 @@
+## Bengali
+
+For the Bengali or Bangla lanaguage, the `Harfbuzz` renderer in `luatex`
+is recommended. Here is a minimal example:
+```tex
+\documentclass{article}
+\pagestyle{empty}
+
+\usepackage[bengali, provide=*]{babel}
+\babelfont{rm}[Renderer=Harfbuzz]{FreeSerif}
+
+\begin{document}
+
+বাংলা ভাষা বিকাশের ইতিহাস ১৩০০ বছর পুরনো। চর্যাপদ এ ভাষার আদি নিদর্শন।
+
+\end{document}
+```
+![](../media/bengali-sample-luatex.png)
+
+It works with `xetex`, too, with the same output, but with this engine
+there is no need the set the renderer (it’s always Harfbuzz).
+
+
diff --git a/docs/index.md b/docs/index.md
index 42daa0b..f4ac857 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -4,20 +4,22 @@
 <strong>Localization and internationalization ◾ pdfTeX, LuaTeX and XeTeX</strong>
 </p>
 
-This is the home page for Babel, a multilingual environment for latex (and sometimes plain) for the three basic engines (pdfTeX, LuaTeX and XeTeX). Its aim is to provide a localization framework for different languages, scripts, and cultures based on the latest advances in Unicode and other technologies. 
+This is the home page for Babel, the multilingual environment for latex
+(and sometimes plain) with the three basic engines (pdfTeX, LuaTeX and XeTeX). Its aim is to provide a localization framework for different languages, scripts, and cultures based on the latest advances in Unicode and other technologies. 
 
 -----------------------
 
 ## Featured 
 
-* [Non-standard hyphenation with   luatex](guides/non-standard-hyphenation-with-luatex.html)
+* [Which method for which language](guides/which-method-for-which-language.html)
+  When to use the old good language files and when `\babelprovide` or `provide=*`.
+* [Non-standard hyphenation with  luatex](guides/non-standard-hyphenation-with-luatex.html)
   Explains how to define special hyphenation rules like `ff` → `ff-f`
-* [Useful links to   tex.strackexchange](guides/useful-links-to-tex.stackexchange.html)
-  Examples for many languages: Chinese, Arabic, Sanskrit, etc.
 * [Using \babelprovide to modify or extend locales](guides/using-babelprovide-to-modify-or-extend-locales.html)
   Hints on how to tailor your language to your needs in some frequent cases.
-* [Which method for which language](guides/which-method-for-which-language.html)
-  When to use the old good language files and when `\babelprovide` or `provide=*`.
+* [Useful links to tex.strackexchange](guides/useful-links-to-tex.stackexchange.html)
+  Examples for many languages: Chinese, Arabic, Sanskrit, etc.
+
 
 ---------------------------
 
diff --git a/docs/media/bengali-sample-luatex.png b/docs/media/bengali-sample-luatex.png
new file mode 100644
index 0000000..045b9cf
Binary files /dev/null and b/docs/media/bengali-sample-luatex.png differ





More information about the latex3-commits mailing list.