Skip to content

Commit

Permalink
2022-01-18 10:51:00
Browse files Browse the repository at this point in the history
  • Loading branch information
Hans Hagen authored and phi-gamma committed Jan 18, 2022
1 parent 7bf27c6 commit a16a684
Show file tree
Hide file tree
Showing 25 changed files with 510 additions and 129 deletions.
2 changes: 1 addition & 1 deletion tex/context/base/mkii/cont-new.mkii
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
%C details.

\newcontextversion{2022.01.15 17:29}
\newcontextversion{2022.01.18 10:48}

%D This file is loaded at runtime, thereby providing an
%D excellent place for hacks, patches, extensions and new
Expand Down
2 changes: 1 addition & 1 deletion tex/context/base/mkii/context.mkii
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
%D your styles an modules.

\edef\contextformat {\jobname}
\edef\contextversion{2022.01.15 17:29}
\edef\contextversion{2022.01.18 10:48}

%D For those who want to use this:

Expand Down
7 changes: 6 additions & 1 deletion tex/context/base/mkii/mult-it.mkii
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,7 @@
\setinterfacevariable{july}{luglio}
\setinterfacevariable{june}{giugno}
\setinterfacevariable{keep}{mantieni}
\setinterfacevariable{keeptogether}{keeptogether}
\setinterfacevariable{kerncharacters}{kerncharacters}
\setinterfacevariable{knockout}{knockout}
\setinterfacevariable{label}{etichetta}
Expand Down Expand Up @@ -886,6 +887,7 @@
\setinterfaceconstant{header}{intestazione}
\setinterfaceconstant{headerdistance}{distanzaintestazione}
\setinterfaceconstant{headerstate}{statointestazione}
\setinterfaceconstant{headindenting}{headindenting}
\setinterfaceconstant{headlabel}{etichettatesta}
\setinterfaceconstant{headnumber}{numerotesta}
\setinterfaceconstant{headseparator}{headseparator}
Expand Down Expand Up @@ -991,7 +993,9 @@
\setinterfaceconstant{marstyle}{stilemarcatura}
\setinterfaceconstant{mask}{mask}
\setinterfaceconstant{mathclass}{mathclass}
\setinterfaceconstant{mathdenominatorstyle}{mathdenominatorstyle}
\setinterfaceconstant{mathlimits}{mathlimits}
\setinterfaceconstant{mathnumeratorstyle}{mathnumeratorstyle}
\setinterfaceconstant{mathstyle}{mathstyle}
\setinterfaceconstant{max}{max}
\setinterfaceconstant{maxdepth}{maxdepth}
Expand Down Expand Up @@ -1229,7 +1233,7 @@
\setinterfaceconstant{solution}{solution}
\setinterfaceconstant{sort}{sort}
\setinterfaceconstant{sorttype}{sorttype}
\setinterfaceconstant{source}{origine}
\setinterfaceconstant{source}{source}
\setinterfaceconstant{space}{spazio}
\setinterfaceconstant{spaceafter}{spaziodopo}
\setinterfaceconstant{spaceafterside}{spaceafterside}
Expand Down Expand Up @@ -1280,6 +1284,7 @@
\setinterfaceconstant{synonymcommand}{synonymcommand}
\setinterfaceconstant{synonymstyle}{stilesinonimi}
\setinterfaceconstant{tab}{tab}
\setinterfaceconstant{target}{target}
\setinterfaceconstant{text}{testo}
\setinterfaceconstant{textalign}{textalign}
\setinterfaceconstant{textalternative}{textalternative}
Expand Down
2 changes: 1 addition & 1 deletion tex/context/base/mkiv/cont-new.mkiv
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tex/context/base/mkiv/context.mkiv
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
34 changes: 33 additions & 1 deletion tex/context/base/mkiv/core-con.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
249 changes: 249 additions & 0 deletions tex/context/base/mkiv/lang-imp-indic.lua
Original file line number Diff line number Diff line change
@@ -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"] = "क्ष",
[""] = "ज्ञ",
},
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ā"] = "खा",
-- }
-- }
-- }
-- }
6 changes: 6 additions & 0 deletions tex/context/base/mkiv/mult-def.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10048,6 +10048,12 @@ return {
["en"]="mathstyle",
["fr"]="stylemath",
},
["mathnumeratorstyle"]={
["en"]="mathnumeratorstyle",
},
["mathdenominatorstyle"]={
["en"]="mathdenominatorstyle",
},
["max"]={
["cs"]="max",
["de"]="max",
Expand Down
Binary file modified tex/context/base/mkiv/status-files.pdf
Binary file not shown.
Binary file modified tex/context/base/mkiv/status-lua.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion tex/context/base/mkiv/strc-enu.mkvi
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading

0 comments on commit a16a684

Please sign in to comment.