summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/mkiv')
-rw-r--r--tex/context/base/mkiv/cont-new.mkiv2
-rw-r--r--tex/context/base/mkiv/context.mkiv2
-rw-r--r--tex/context/base/mkiv/core-con.lua34
-rw-r--r--tex/context/base/mkiv/lang-imp-indic.lua249
-rw-r--r--tex/context/base/mkiv/mult-def.lua6
-rw-r--r--tex/context/base/mkiv/status-files.pdfbin24755 -> 24784 bytes
-rw-r--r--tex/context/base/mkiv/status-lua.pdfbin257574 -> 257644 bytes
-rw-r--r--tex/context/base/mkiv/strc-enu.mkvi2
8 files changed, 291 insertions, 4 deletions
diff --git a/tex/context/base/mkiv/cont-new.mkiv b/tex/context/base/mkiv/cont-new.mkiv
index 592ce5e2e..f139b7f69 100644
--- a/tex/context/base/mkiv/cont-new.mkiv
+++ b/tex/context/base/mkiv/cont-new.mkiv
@@ -13,7 +13,7 @@
% \normalend % uncomment this to get the real base runtime
-\newcontextversion{2022.01.15 17:29}
+\newcontextversion{2022.01.18 10:48}
%D This file is loaded at runtime, thereby providing an excellent place for hacks,
%D patches, extensions and new features. There can be local overloads in cont-loc
diff --git a/tex/context/base/mkiv/context.mkiv b/tex/context/base/mkiv/context.mkiv
index 19dcd9266..58b9315f3 100644
--- a/tex/context/base/mkiv/context.mkiv
+++ b/tex/context/base/mkiv/context.mkiv
@@ -49,7 +49,7 @@
%D {YYYY.MM.DD HH:MM} format.
\edef\contextformat {\jobname}
-\edef\contextversion{2022.01.15 17:29}
+\edef\contextversion{2022.01.18 10:48}
%D Kind of special:
diff --git a/tex/context/base/mkiv/core-con.lua b/tex/context/base/mkiv/core-con.lua
index 95283a75e..f57eb6ef8 100644
--- a/tex/context/base/mkiv/core-con.lua
+++ b/tex/context/base/mkiv/core-con.lua
@@ -198,7 +198,39 @@ local decimals = allocate {
['persian'] = {
["0"] = "۰", ["1"] = "۱", ["2"] = "۲", ["3"] = "۳", ["4"] = "۴",
["5"] = "۵", ["6"] = "۶", ["7"] = "۷", ["8"] = "۸", ["9"] = "۹",
- }
+ },
+ ['devanagari'] = {
+ ["0"] = "०", ["1"] = "१", ["2"] = "२", ["3"] = "३", ["4"] = "४",
+ ["5"] = "५", ["6"] = "६", ["7"] = "७", ["8"] = "८", ["9"] = "९",
+ },
+ ['malayalam'] = {
+ ["0"] = "൦", ["1"] = "൧", ["2"] = "൨", ["3"] = "൩", ["4"] = "൪",
+ ["5"] = "൫", ["6"] = "൬", ["7"] = "൭", ["8"] = "൮", ["9"] = "൯",
+ },
+ ['tamil'] = {
+ ["0"] = "௦", ["1"] = "௧", ["2"] = "௨", ["3"] = "௩", ["4"] = "௪",
+ ["5"] = "௫", ["6"] = "௬", ["7"] = "௭", ["8"] = "௮", ["9"] = "௯",
+ },
+ ['kannada'] = {
+ ["0"] = "೦", ["1"] = "೧", ["2"] = "೨", ["3"] = "೩", ["4"] = "೪",
+ ["5"] = "೫", ["6"] = "೬", ["7"] = "೭", ["8"] = "೮", ["9"] = "೯",
+ },
+ ['telugu'] = {
+ ["0"] = "౦", ["1"] = "౧", ["2"] = "౨", ["3"] = "౩", ["4"] = "౪",
+ ["5"] = "౫", ["6"] = "౬", ["7"] = "౭", ["8"] = "౮", ["9"] = "౯",
+ },
+ ['bengali'] = {
+ ["0"] = "০", ["1"] = "১", ["2"] = "২", ["3"] = "৩", ["4"] = "৪",
+ ["5"] = "৫", ["6"] = "৬", ["7"] = "৭", ["8"] = "৮", ["9"] = "৯",
+ },
+ ['gujarati'] = {
+ ["0"] = "૦", ["1"] = "૧", ["2"] = "૨", ["3"] = "૩", ["4"] = "૪",
+ ["5"] = "૫", ["6"] = "૬", ["7"] = "૭", ["8"] = "૮", ["9"] = "૯",
+ },
+ ['gurmurkhi'] = {
+ ["0"] = "੦", ["1"] = "੧", ["2"] = "੨", ["3"] = "੩", ["4"] = "੪",
+ ["5"] = "੫", ["6"] = "੬", ["7"] = "੭", ["8"] = "੮", ["9"] = "੯",
+ },
}
languages.decimals = decimals
diff --git a/tex/context/base/mkiv/lang-imp-indic.lua b/tex/context/base/mkiv/lang-imp-indic.lua
new file mode 100644
index 000000000..46af00e3b
--- /dev/null
+++ b/tex/context/base/mkiv/lang-imp-indic.lua
@@ -0,0 +1,249 @@
+return {
+ name = "indic transliterations",
+ version = "1.00",
+ comment = "Experimental code, the name of this file might change"
+ .. "or maybe it become a llg file in the end.",
+ author = "kauśika and hans",
+ copyright = "ConTeXt development team & whoever made this list",
+ transliterations = {
+ ["iast to indic"] = {
+ svara = {
+ ["a"] = "अ",
+ ["ā"] = "आ",
+ ["i"] = "इ",
+ ["ī"] = "ई",
+ ["u"] = "उ",
+ ["ū"] = "ऊ",
+ ["ṛ"] = "ऋ",
+ ["ṝ"] = "ॠ",
+ ["ḷ"] = "ऌ",
+ ["ḹ"] = "ॡ",
+ ["è"] = "ऎ",
+ ["e"] = "ए",
+ ["ai"] = "ऐ",
+ ["ò"] = "ऒ",
+ ["o"] = "ओ",
+ ["au"] = "औ",
+ },
+ vyanjana = {
+ ["k"] = "क",
+ ["kh"] = "ख",
+ ["g"] = "ग",
+ ["gh"] = "घ",
+ ["ṅ"] = "ङ",
+ ["c"] = "च",
+ ["ch"] = "छ",
+ ["j"] = "ज",
+ ["jh"] = "झ",
+ ["ñ"] = "ञ",
+ ["ṭ"] = "ट",
+ ["ṭh"] = "ठ",
+ ["ḍ"] = "ड",
+ ["ḍh"] = "ढ",
+ ["ṇ"] = "ण",
+ ["t"] = "त",
+ ["th"] = "थ",
+ ["d"] = "द",
+ ["dh"] = "ध",
+ ["n"] = "न",
+ ["p"] = "प",
+ ["ph"] = "फ",
+ ["b"] = "ब",
+ ["bh"] = "भ",
+ ["m"] = "म",
+ ["y"] = "य",
+ ["r"] = "र",
+ ["l"] = "ल",
+ ["v"] = "व",
+ ["ś"] = "श",
+ ["ṣ"] = "ष",
+ ["s"] = "स",
+ ["h"] = "ह",
+ ["ḻ"] = "ळ",
+ ["x"] = "क्ष",
+ ["jñ"] = "ज्ञ",
+ },
+ maatra = {
+ ["a"] = "",
+ ["ā"] = "ा",
+ ["i"] = "ि",
+ ["ī"] = "ी",
+ ["u"] = "ु",
+ ["ū"] = "ू",
+ ["ṛ"] = "ृ",
+ ["ṝ"] = "ॄ",
+ ["ḷ"] = "ॢ",
+ ["ḹ"] = "ॣ",
+ ["ai"] = "ै",
+ ["e"] = "े",
+ ["o"] = "ो",
+ ["au"] = "ौ",
+ },
+ yogavaaha = {
+ ["ṁ"] = "ं",
+ ["ḥ"] = "ः",
+ ["ँ"] = "ँ",
+ },
+ viraama = {
+ ["viraama"] = "्",
+ ["."] = "।",
+ ["|"] = "।",
+ ["||"] = "॥",
+ ["‘"] = "‘",
+ ["’"] = "’",
+ },
+ },
+ ["deva to mlym"] = {
+ svara = {
+ ["अ"] = "അ",
+ ["आ"] = "ആ",
+ ["इ"] = "ഇ",
+ ["ई"] = "ഈ",
+ ["उ"] = "ഉ",
+ ["ऊ"] = "ഊ",
+ ["ऋ"] = "ഋ",
+ ["ॠ"] = "ൠ",
+ ["ऌ"] = "ഌ",
+ ["ॡ"] = "ൡ",
+ ["ऎ"] = "എ",
+ ["ए"] = "ഏ",
+ ["ऐ"] = "ഐ",
+ ["ऒ"] = "ഒ",
+ ["ओ"] = "ഓ",
+ ["औ"] = "ഔ",
+ },
+ vyanjana = {
+ ["क"] = "ക",
+ ["ख"] = "ഖ",
+ ["ग"] = "ഗ",
+ ["घ"] = "ഘ",
+ ["ङ"] = "ങ",
+ ["च"] = "ച",
+ ["छ"] = "ഛ",
+ ["ज"] = "ജ",
+ ["झ"] = "ഝ",
+ ["ञ"] = "ഞ",
+ ["ट"] = "ട",
+ ["ठ"] = "ഠ",
+ ["ड"] = "ഡ",
+ ["ढ"] = "ഢ",
+ ["ण"] = "ണ",
+ ["त"] = "ത",
+ ["थ"] = "ഥ",
+ ["द"] = "ദ",
+ ["ध"] = "ധ",
+ ["न"] = "ന",
+ ["प"] = "പ",
+ ["फ"] = "ഫ",
+ ["ब"] = "ബ",
+ ["भ"] = "ഭ",
+ ["म"] = "മ",
+ ["य"] = "യ",
+ ["र"] = "ര",
+ ["ल"] = "ല",
+ ["व"] = "വ",
+ ["श"] = "ശ",
+ ["ष"] = "ഷ",
+ ["स"] = "സ",
+ ["ह"] = "ഹ",
+ ["ळ"] = "ള",
+ ["क्ष"] = "ക്ഷ",
+ ["ज्ञ"] = "ജ്ഞ",
+ },
+ maatra = {
+ ["ा"] = "ാ",
+ ["ि"] = "ി",
+ ["ी"] = "ീ",
+ ["ु"] = "ു",
+ ["ू"] = "ൂ",
+ ["ृ"] = "ൃ",
+ ["ॄ"] = "ൄ",
+ ["ॢ"] = "ൢ",
+ ["ॣ"] = "ൣ",
+ ["ॆ"] = "െ",
+ ["े"] = "േ",
+ ["ै"] = "ൈ",
+ ["ॊ"] = "ൊ",
+ ["ो"] = "ോ",
+ ["ौ"] = "ൌ",
+ },
+ yogavaaha = {
+ ["ं"] = "ം",
+ ["ः"] = "ഃ",
+ ["ँ"] = "ഁ",
+ },
+ viraama = {
+ ["्"] = "്",
+ ["viraama"] = "്", -- weird
+ ["'"] = "'",
+ ["।"] = ".",
+ ["॥"] = ".",
+ ["‘"] = "‘",
+ ["’"] = "’",
+ },
+ }
+ }
+}
+
+-- return {
+-- transliterations = {
+-- ["iast to indic"] = {
+-- mapping = {
+-- ["a"] = "अ",
+-- ["ā"] = "आ",
+-- ["i"] = "इ",
+-- ["ī"] = "ई",
+-- ["u"] = "उ",
+-- ["ū"] = "ऊ",
+-- ["ṛ"] = "ऋ",
+-- ["ṝ"] = "ॠ",
+-- ["ḷ"] = "ऌ",
+-- ["ḹ"] = "ॡ",
+-- ["e"] = "ए",
+-- ["o"] = "ओ",
+-- ["ṃ"] = "ं",
+-- ["ḥ"] = "ः",
+-- ["˜"] = "ँ",
+-- ["'"] = "ऽ",
+-- ["k"] = "क",
+-- ["c"] = "च",
+-- ["ṭ"] = "ट",
+-- ["t"] = "त",
+-- ["p"] = "प",
+-- ["g"] = "ग",
+-- ["j"] = "ज",
+-- ["ḍ"] = "ड",
+-- ["d"] = "द",
+-- ["b"] = "ब",
+-- ["ṅ"] = "ङ",
+-- ["ñ"] = "ञ",
+-- ["ṇ"] = "ण",
+-- ["n"] = "न",
+-- ["m"] = "म",
+-- ["h"] = "ह",
+-- ["y"] = "य",
+-- ["r"] = "र",
+-- ["l"] = "ल",
+-- ["v"] = "व",
+-- ["ś"] = "श",
+-- ["ṣ"] = "ष",
+-- ["s"] = "स",
+-- --
+-- ["ai"] = "ऐ",
+-- ["au"] = "औ",
+-- ["kh"] = "ख",
+-- ["ch"] = "छ",
+-- ["ṭh"] = "ठ",
+-- ["th"] = "थ",
+-- ["ph"] = "फ",
+-- ["gh"] = "घ",
+-- ["jh"] = "झ",
+-- ["ḍh"] = "ढ",
+-- ["dh"] = "ध",
+-- ["bh"] = "भ",
+-- --
+-- ["khā"] = "खा",
+-- }
+-- }
+-- }
+-- }
diff --git a/tex/context/base/mkiv/mult-def.lua b/tex/context/base/mkiv/mult-def.lua
index d42132689..e294e65d1 100644
--- a/tex/context/base/mkiv/mult-def.lua
+++ b/tex/context/base/mkiv/mult-def.lua
@@ -10048,6 +10048,12 @@ return {
["en"]="mathstyle",
["fr"]="stylemath",
},
+ ["mathnumeratorstyle"]={
+ ["en"]="mathnumeratorstyle",
+ },
+ ["mathdenominatorstyle"]={
+ ["en"]="mathdenominatorstyle",
+ },
["max"]={
["cs"]="max",
["de"]="max",
diff --git a/tex/context/base/mkiv/status-files.pdf b/tex/context/base/mkiv/status-files.pdf
index 591226fa3..26bd5eedd 100644
--- a/tex/context/base/mkiv/status-files.pdf
+++ b/tex/context/base/mkiv/status-files.pdf
Binary files differ
diff --git a/tex/context/base/mkiv/status-lua.pdf b/tex/context/base/mkiv/status-lua.pdf
index d24583065..d366185ed 100644
--- a/tex/context/base/mkiv/status-lua.pdf
+++ b/tex/context/base/mkiv/status-lua.pdf
Binary files differ
diff --git a/tex/context/base/mkiv/strc-enu.mkvi b/tex/context/base/mkiv/strc-enu.mkvi
index a7c48d88e..a64a7ef54 100644
--- a/tex/context/base/mkiv/strc-enu.mkvi
+++ b/tex/context/base/mkiv/strc-enu.mkvi
@@ -306,7 +306,7 @@
\unexpanded\def\strc_enumerations_inject_symbol % todo check
{\begingroup
- \useconstructionstyleandcolor\c!numberstyle\c!symbolcolor
+ \useconstructionstyleandcolor\c!numberstyle\c!numbercolor
\constructionparameter\c!left
\constructionparameter\c!symbol
\constructionparameter\c!right