[latex3-commits] [git/LaTeX3-latex3-babel] main: Hack for pgf nullfont hack (for onchar). (e1993fc)

Javier email at dante.de
Mon Nov 1 19:35:05 CET 2021


Repository : https://github.com/latex3/babel
On branch  : main
Link       : https://github.com/latex3/babel/commit/e1993fce894c48488de9cc63c98679fdd712af3c

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

commit e1993fce894c48488de9cc63c98679fdd712af3c
Author: Javier <email at localhost>
Date:   Mon Nov 1 19:35:05 2021 +0100

    Hack for pgf nullfont hack (for onchar).


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

e1993fce894c48488de9cc63c98679fdd712af3c
 README.md    |   5 ++++-
 babel.dtx    |  32 ++++++++++++++++++++++----------
 babel.ins    |   2 +-
 babel.pdf    | Bin 848493 -> 852675 bytes
 bbcompat.dtx |   2 +-
 5 files changed, 28 insertions(+), 13 deletions(-)

diff --git a/README.md b/README.md
index edd0511..a253371 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-## Babel 3.65.2536
+## Babel 3.65.2543
 
 This package manages culturally-determined typographical (and other)
 rules, and hyphenation patterns for a wide range of languages. Many
@@ -47,6 +47,9 @@ respective authors.
 ### Summary of Latest changes
 ```
 3.66   2021-??
+       * Transforms for Greek:
+         - transliteration.omega
+         - sigma.final
        * Fixes:
          - tcolorbox in vertical and horizontal mode (#146)
          
diff --git a/babel.dtx b/babel.dtx
index 9f65f11..a567c84 100644
--- a/babel.dtx
+++ b/babel.dtx
@@ -32,7 +32,7 @@
 %
 % \iffalse
 %<*filedriver>
-\ProvidesFile{babel.dtx}[2021/10/25 v3.65.2536 The Babel package]
+\ProvidesFile{babel.dtx}[2021/11/01 v3.65.2543 The Babel package]
 \documentclass{ltxdoc}
 \GetFileInfo{babel.dtx}
 \usepackage{fontspec}
@@ -2309,6 +2309,16 @@ to select fonts in addition to the three basic families.
   be aware that this may lead to some problems.
 \end{troubleshooting}
 
+\begin{note}
+  |\babelfont| is a high level interface to \textsf{fontspec}, and
+  therefore in \xetex{} you can apply |Mapping|s. For example, there is
+  a set of 
+  \href{https://github.com/davidmjones/brahmic-maps}{transliterations
+  for Brahmic scripts} by Davis M. Jones. After installing
+  them in you distribution, just set the map as you would do with
+  \textsf{fontspec}.
+\end{note}
+
 \subsection{Modifying a language}
 
 Modifying the behavior of a language (say, the chapter
@@ -3113,8 +3123,8 @@ a non-syllabic preposition or conjunction into a non-breaking space.}
 \trans{Greek}{diaeresis.hyphen}{Removes the diaeresis above iota and
 upsilon if hyphenated just before. It works with the three variants.}
 
-\trans{Greek}{transliteration.omega}{The provided combinations are no
-exactly the same, but this transform follows the syntax of Omega:
+\trans{Greek}{transliteration.omega}{Although he provided combinations
+are not exactly the same, this transform follows the syntax of Omega:
 |=| for the circumflex, |v| for digamma, and so on. For better
 compatibility with Levy’s system, \texttt{\string~} (as ‘string’) is an
 alternative to |=|. |'| is tonos in Monotonic Greek, but oxia in
@@ -5034,8 +5044,8 @@ help from Bernd Raichle, for which I am grateful.
 % \section{Tools}
 %
 %    \begin{macrocode}
-%<<version=3.65.2536>>
-%<<date=2021/10/25>>
+%<<version=3.65.2543>>
+%<<date=2021/11/01>>
 %    \end{macrocode}
 %
 % \textbf{Do not use the following macros in \texttt{ldf} files. They
@@ -9702,9 +9712,11 @@ help from Bernd Raichle, for which I am grateful.
           {\def\languagename{##1}%
            \let\bbl at ifrestoring\@firstoftwo % To avoid font warning
            \bbl at switchfont
-           \directlua{
-             Babel.locale_props[\the\csname bbl at id@@##1\endcsname]%
-                     ['/\bbl at prefontid'] = \fontid\font\space}}}%
+           \ifnum\fontid\font>\z@ % A hack, for the pgf nullfont hack
+             \directlua{
+               Babel.locale_props[\the\csname bbl at id@@##1\endcsname]%
+                       ['/\bbl at prefontid'] = \fontid\font\space}%
+           \fi}}%
       \fi
       \bbl at exp{\\\bbl at add\\\bbl at mapselect{\\\bbl at mapdir{\languagename}}}%
     \fi
@@ -14869,9 +14881,9 @@ function Babel.hyphenate_replace(head, mode)
         first = u.len(w:sub(1, first-1)) + 1
         last  = u.len(w:sub(1, last-1)) -- now last points to C
 
-        -- This loop stores in n small table the nodes
+        -- This loop stores in a small table the nodes
         -- corresponding to the pattern. Used by 'data' to provide a
-        -- predictable behavior with 'insert' (now w_nodes is modified on
+        -- predictable behavior with 'insert' (w_nodes is modified on
         -- the fly), and also access to 'remove'd nodes.
         local sc = first-1           -- Used below, too
         local data_nodes = {}
diff --git a/babel.ins b/babel.ins
index ef7cee6..591a194 100644
--- a/babel.ins
+++ b/babel.ins
@@ -26,7 +26,7 @@
 %% and covered by LPPL is defined by the unpacking scripts (with
 %% extension .ins) which are part of the distribution.
 %%
-\def\filedate{2021/10/25}
+\def\filedate{2021/11/01}
 \def\batchfile{babel.ins}
 \input docstrip.tex
 
diff --git a/babel.pdf b/babel.pdf
index 4ddbffd..145df05 100644
Binary files a/babel.pdf and b/babel.pdf differ
diff --git a/bbcompat.dtx b/bbcompat.dtx
index ffa7e4f..3b03772 100644
--- a/bbcompat.dtx
+++ b/bbcompat.dtx
@@ -30,7 +30,7 @@
 %
 % \iffalse
 %<*dtx>
-\ProvidesFile{bbcompat.dtx}[2021/10/25 v3.65.2536]
+\ProvidesFile{bbcompat.dtx}[2021/11/01 v3.65.2543]
 %</dtx>
 %
 %% File 'bbcompat.dtx'





More information about the latex3-commits mailing list.