diff options
author | Robert Alessi <alessi@robertalessi.net> | 2018-07-22 11:37:19 +0200 |
---|---|---|
committer | Robert Alessi <alessi@robertalessi.net> | 2018-07-22 11:37:28 +0200 |
commit | 3dc81a801b8b69b3c5d7b4db65c4a556869d043d (patch) | |
tree | d92d2025204e37d70a7b32905d24904bdbec555b | |
parent | c551da776df046df20669c1af5e0f418878d8549 (diff) | |
download | arabluatex-3dc81a801b8b69b3c5d7b4db65c4a556869d043d.tar.gz |
use precomposed unicode ǧ/Ǧ instead of 'g/G + caron above'
not every font has this precomposed letter, but this can be compensated by the 'newunicodechar' package
-rw-r--r-- | arabluatex.dtx | 3 | ||||
-rw-r--r-- | arabluatex_trans.lua | 12 |
2 files changed, 9 insertions, 6 deletions
diff --git a/arabluatex.dtx b/arabluatex.dtx index 8ed1f36..f17c67b 100644 --- a/arabluatex.dtx +++ b/arabluatex.dtx | |||
@@ -155,6 +155,9 @@ | |||
155 | \defaultfontfeatures{RawFeature={+liga}} | 155 | \defaultfontfeatures{RawFeature={+liga}} |
156 | \setmainfont{Old Standard}[SmallCapsFont={Latin Modern Roman Caps}, | 156 | \setmainfont{Old Standard}[SmallCapsFont={Latin Modern Roman Caps}, |
157 | RawFeature={+mark;+ccmp;+ss05;+ss06}] | 157 | RawFeature={+mark;+ccmp;+ss05;+ss06}] |
158 | \usepackage{newunicodechar} | ||
159 | \newunicodechar{ǧ}{ǧ} % Old Standard does include ǧ/Ǧ | ||
160 | \newunicodechar{Ǧ}{Ǧ} % | ||
158 | \usepackage{arabluatex}[2018/06/24] | 161 | \usepackage{arabluatex}[2018/06/24] |
159 | \usepackage[nopar]{quran} | 162 | \usepackage[nopar]{quran} |
160 | \usepackage[noindex]{nameauth} | 163 | \usepackage[noindex]{nameauth} |
diff --git a/arabluatex_trans.lua b/arabluatex_trans.lua index 1651418..775e820 100644 --- a/arabluatex_trans.lua +++ b/arabluatex_trans.lua | |||
@@ -43,7 +43,7 @@ captr = { | |||
43 | {a="b", b="B"}, | 43 | {a="b", b="B"}, |
44 | {a="t", b="T"}, | 44 | {a="t", b="T"}, |
45 | {a="ṯ", b="Ṯ"}, | 45 | {a="ṯ", b="Ṯ"}, |
46 | {a="ǧ", b="Ǧ"}, | 46 | {a="ǧ", b="Ǧ"}, |
47 | {a="ḥ", b="Ḥ"}, | 47 | {a="ḥ", b="Ḥ"}, |
48 | {a="ḫ", b="Ḫ"}, | 48 | {a="ḫ", b="Ḫ"}, |
49 | {a="d", b="D"}, | 49 | {a="d", b="D"}, |
@@ -75,7 +75,7 @@ lcuc = { | |||
75 | {a="b", b="B"}, | 75 | {a="b", b="B"}, |
76 | {a="t", b="T"}, | 76 | {a="t", b="T"}, |
77 | {a="ṯ", b="Ṯ"}, | 77 | {a="ṯ", b="Ṯ"}, |
78 | {a="ǧ", b="Ǧ"}, | 78 | {a="ǧ", b="Ǧ"}, |
79 | {a="j", b="J"}, | 79 | {a="j", b="J"}, |
80 | {a="ḥ", b="Ḥ"}, | 80 | {a="ḥ", b="Ḥ"}, |
81 | {a="ḫ", b="Ḫ"}, | 81 | {a="ḫ", b="Ḫ"}, |
@@ -427,7 +427,7 @@ digraphstrdmg = { | |||
427 | {a="T(%p*)$", b="h%1"}, | 427 | {a="T(%p*)$", b="h%1"}, |
428 | {a="T(%p*)(%W)", b="h%1%2"}, | 428 | {a="T(%p*)(%W)", b="h%1%2"}, |
429 | {a="_t", b="ṯ"}, | 429 | {a="_t", b="ṯ"}, |
430 | {a="%^g", b="ǧ"}, | 430 | {a="%^g", b="ǧ"}, |
431 | {a="%.h", b="ḥ"}, | 431 | {a="%.h", b="ḥ"}, |
432 | {a="_h", b="ḫ"}, | 432 | {a="_h", b="ḫ"}, |
433 | {a="_d", b="ḏ"}, | 433 | {a="_d", b="ḏ"}, |
@@ -462,7 +462,7 @@ digraphstrdmg = { | |||
462 | singletrdmg = { | 462 | singletrdmg = { |
463 | {a="b", b="b"}, | 463 | {a="b", b="b"}, |
464 | {a="t", b="t"}, | 464 | {a="t", b="t"}, |
465 | {a="j", b="ǧ"}, | 465 | {a="j", b="ǧ"}, |
466 | {a="x", b="ḫ"}, | 466 | {a="x", b="ḫ"}, |
467 | {a="d", b="d"}, | 467 | {a="d", b="d"}, |
468 | {a="r", b="r"}, | 468 | {a="r", b="r"}, |
@@ -949,7 +949,7 @@ digraphstrarabica = { | |||
949 | {a="aT(%p*)$", b="a%1"}, | 949 | {a="aT(%p*)$", b="a%1"}, |
950 | {a="aT(%p*%s)", b="a%1"}, | 950 | {a="aT(%p*%s)", b="a%1"}, |
951 | {a="_t", b="ṯ"}, | 951 | {a="_t", b="ṯ"}, |
952 | {a="%^g", b="ǧ"}, | 952 | {a="%^g", b="ǧ"}, |
953 | {a="%.h", b="ḥ"}, | 953 | {a="%.h", b="ḥ"}, |
954 | {a="_h", b="ḫ"}, | 954 | {a="_h", b="ḫ"}, |
955 | {a="_d", b="ḏ"}, | 955 | {a="_d", b="ḏ"}, |
@@ -983,7 +983,7 @@ digraphstrarabica = { | |||
983 | singletrarabica = { | 983 | singletrarabica = { |
984 | {a="b", b="b"}, | 984 | {a="b", b="b"}, |
985 | {a="t", b="t"}, | 985 | {a="t", b="t"}, |
986 | {a="j", b="ǧ"}, | 986 | {a="j", b="ǧ"}, |
987 | {a="x", b="ḫ"}, | 987 | {a="x", b="ḫ"}, |
988 | {a="d", b="d"}, | 988 | {a="d", b="d"}, |
989 | {a="r", b="r"}, | 989 | {a="r", b="r"}, |