diff options
author | Robert Alessi <alessi@robertalessi.net> | 2016-09-08 19:01:46 +0200 |
---|---|---|
committer | Robert Alessi <alessi@robertalessi.net> | 2016-09-08 19:01:46 +0200 |
commit | 8d6ea910fb1ef1841f13de37c9dc23d7642b96cd (patch) | |
tree | a3300ed37593271857688e079ca0b8580ddd1f1e | |
parent | 121d9be01e3936395955630d44fdf3dc202d846b (diff) | |
download | arabluatex-8d6ea910fb1ef1841f13de37c9dc23d7642b96cd.tar.gz |
bugfix: the name of God should always have the šaddah; tāʾ marbūṭah without ʾiʿrāb must be transliterated 'h' in dmg mode
-rw-r--r-- | arabluatex.dtx | 6 | ||||
-rw-r--r-- | arabluatex_trans.lua | 4 | ||||
-rw-r--r-- | arabluatex_voc.lua | 2 |
3 files changed, 7 insertions, 5 deletions
diff --git a/arabluatex.dtx b/arabluatex.dtx index 787184c..3b4b8f0 100644 --- a/arabluatex.dtx +++ b/arabluatex.dtx | |||
@@ -144,7 +144,7 @@ | |||
144 | \usepackage{fontspec,luatextra} | 144 | \usepackage{fontspec,luatextra} |
145 | \defaultfontfeatures{RawFeature={+liga}} | 145 | \defaultfontfeatures{RawFeature={+liga}} |
146 | \setmainfont{Old Standard}[SmallCapsFont={Latin Modern Roman Caps}, | 146 | \setmainfont{Old Standard}[SmallCapsFont={Latin Modern Roman Caps}, |
147 | RawFeature={+mark;+ccmp;+ss05;+ss06}] | 147 | RawFeature={+mark;+ccmp;+ss05;+ss06}] |
148 | \usepackage{arabluatex}[2016/07/09] | 148 | \usepackage{arabluatex}[2016/07/09] |
149 | \usepackage{varioref} | 149 | \usepackage{varioref} |
150 | \usepackage{hypdoc} | 150 | \usepackage{hypdoc} |
@@ -198,7 +198,7 @@ RawFeature={+mark;+ccmp;+ss05;+ss06}] | |||
198 | %</driver> | 198 | %</driver> |
199 | % \fi | 199 | % \fi |
200 | % | 200 | % |
201 | % \CheckSum{371} | 201 | % \CheckSum{0} |
202 | % | 202 | % |
203 | % \CharacterTable | 203 | % \CharacterTable |
204 | % {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z | 204 | % {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z |
@@ -2517,7 +2517,7 @@ wa-ya.sIru ta.hta 'l-jild-i | |||
2517 | % formatting directives as argument, like so: | 2517 | % formatting directives as argument, like so: |
2518 | % \cs{SetArbUp}\marg{code}. | 2518 | % \cs{SetArbUp}\marg{code}. |
2519 | % \begin{macrocode} | 2519 | % \begin{macrocode} |
2520 | \NewDocumentCommand{\al@arbup@dflt}{m}{\textsuperscript{#1}}% | 2520 | \NewDocumentCommand{\al@arbup@dflt}{m}{\textsuperscript{\thinspace#1}}% |
2521 | \NewDocumentCommand{\al@arbup}{m}{\al@arbup@dflt{#1}} | 2521 | \NewDocumentCommand{\al@arbup}{m}{\al@arbup@dflt{#1}} |
2522 | \NewDocumentCommand{\arbup}{m}{\al@arbup{#1}} | 2522 | \NewDocumentCommand{\arbup}{m}{\al@arbup{#1}} |
2523 | \NewDocumentCommand{\ArbUpDflt}{}{\let\al@arbup=\al@arbup@dflt} | 2523 | \NewDocumentCommand{\ArbUpDflt}{}{\let\al@arbup=\al@arbup@dflt} |
diff --git a/arabluatex_trans.lua b/arabluatex_trans.lua index 7068a47..82459e9 100644 --- a/arabluatex_trans.lua +++ b/arabluatex_trans.lua | |||
@@ -301,8 +301,8 @@ digraphstrdmg = { | |||
301 | {a="([%_]?[Ii])(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="i%2%3"}, | 301 | {a="([%_]?[Ii])(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="i%2%3"}, |
302 | {a="%-%-", b=""}, | 302 | {a="%-%-", b=""}, |
303 | -- {a="T([^uai])", b="%1"}, | 303 | -- {a="T([^uai])", b="%1"}, |
304 | {a="T(%p?%s)", b="%1"}, | 304 | {a="T(%p?%s)", b="h%1"}, |
305 | {a="T(%p?)$", b="%1"}, | 305 | {a="T(%p?)$", b="h%1"}, |
306 | {a="_t", b="ṯ"}, | 306 | {a="_t", b="ṯ"}, |
307 | {a="%^g", b="ğ"}, | 307 | {a="%^g", b="ğ"}, |
308 | {a="%.h", b="ḥ"}, | 308 | {a="%.h", b="ḥ"}, |
diff --git a/arabluatex_voc.lua b/arabluatex_voc.lua index 20ed016..e28cd7e 100644 --- a/arabluatex_voc.lua +++ b/arabluatex_voc.lua | |||
@@ -473,6 +473,8 @@ trigraphs = { -- trigraphs or more | |||
473 | } | 473 | } |
474 | 474 | ||
475 | trigraphseasy = { -- differences marked below with 'easy' | 475 | trigraphseasy = { -- differences marked below with 'easy' |
476 | -- Allah (easy) | ||
477 | {a="l%-l_ah", b="l-ll_ah"}, | ||
476 | -- 'llatI / 'llad_I | 478 | -- 'llatI / 'llad_I |
477 | {a="^'ll(a)([%_]?[dt])", b="الّ%1%2"}, | 479 | {a="^'ll(a)([%_]?[dt])", b="الّ%1%2"}, |
478 | {a="([%s%-])'ll(a)([%_]?[dt])", b="%1الّ%2%3"}, | 480 | {a="([%s%-])'ll(a)([%_]?[dt])", b="%1الّ%2%3"}, |