diff options
author | Robert Alessi <alessi@robertalessi.net> | 2016-12-06 11:29:30 +0100 |
---|---|---|
committer | Robert Alessi <alessi@robertalessi.net> | 2016-12-06 11:29:30 +0100 |
commit | c3602097f2b0c81625317422187e381848d09881 (patch) | |
tree | 5d3c5a94c963607b9d061aaebbfc2833d707cd12 | |
parent | 1d2205ff9fe21d21088f9b0c003751da52d0d9ea (diff) | |
download | arabluatex-c3602097f2b0c81625317422187e381848d09881.tar.gz |
added punctuation characters in trigraphs rules (dmg mode) before al-; still implementing Arabic verse environment
-rw-r--r-- | arabluatex.dtx | 2 | ||||
-rw-r--r-- | arabluatex_trans.lua | 12 |
2 files changed, 7 insertions, 7 deletions
diff --git a/arabluatex.dtx b/arabluatex.dtx index c13d563..7128adf 100644 --- a/arabluatex.dtx +++ b/arabluatex.dtx | |||
@@ -2983,7 +2983,7 @@ wa-ya.sIru ta.hta 'l-jild-i | |||
2983 | \ifx\al@mode\al@mode@trans% | 2983 | \ifx\al@mode\al@mode@trans% |
2984 | \ifal@verse@utf\setRL\else\setLR\fi% | 2984 | \ifal@verse@utf\setRL\else\setLR\fi% |
2985 | \else\setRL\fi% | 2985 | \else\setRL\fi% |
2986 | }{\\\setkeys[al]{verse}[width,utf,mode]{#1}\egroup\par} | 2986 | }{\newline\null\hfill\setkeys[al]{verse}[width,utf,mode]{#1}\egroup\par} |
2987 | % \end{macrocode} | 2987 | % \end{macrocode} |
2988 | % \end{environment} | 2988 | % \end{environment} |
2989 | % \begin{macro}{\abjad} \cs{abjad}\marg{number} expresses its argument | 2989 | % \begin{macro}{\abjad} \cs{abjad}\marg{number} expresses its argument |
diff --git a/arabluatex_trans.lua b/arabluatex_trans.lua index bf6be44..e7087c0 100644 --- a/arabluatex_trans.lua +++ b/arabluatex_trans.lua | |||
@@ -165,24 +165,24 @@ tanwintrdmg = { | |||
165 | trigraphstrdmg = { -- trigraphs or more | 165 | trigraphstrdmg = { -- trigraphs or more |
166 | -- 'llatI / 'llad_I | 166 | -- 'llatI / 'llad_I |
167 | {a="^'ll(a)([%_]?[dt])", b="'ll%1%2"}, | 167 | {a="^'ll(a)([%_]?[dt])", b="'ll%1%2"}, |
168 | {a="(%s)'ll(a)([%_]?[dt])", b="%1'll%2%3"}, | 168 | {a="([%p%s])'ll(a)([%_]?[dt])", b="%1'll%2%3"}, --p |
169 | -- al- + lām | 169 | -- al- + lām |
170 | {a="^(a)l%-(l)", b="%1l-%2"}, | 170 | {a="^(a)l%-(l)", b="%1l-%2"}, |
171 | {a="([%s%-])(a)l%-(l)", b="%1%2l-%3"}, | 171 | {a="([%p%s%-])(a)l%-(l)", b="%1%2l-%3"}, --p |
172 | -- al- + solar consonant | 172 | -- al- + solar consonant |
173 | {a="^(a)l%-([%_%^%.]?[tdrzsn])", b="%1%2-%2"}, | 173 | {a="^(a)l%-([%_%^%.]?[tdrzsn])", b="%1%2-%2"}, |
174 | {a="([%s%-])(a)l%-([%_%^%.]?[tdrzsn])", b="%1%2%3-%3"}, | 174 | {a="([%p%s%-])(a)l%-([%_%^%.]?[tdrzsn])", b="%1%2%3-%3"}, --p |
175 | -- assim. art. + solar consonant | 175 | -- assim. art. + solar consonant |
176 | {a="^(a)([%_%^%.]?[tdrzsn])%-", b="%1%2-"}, | 176 | {a="^(a)([%_%^%.]?[tdrzsn])%-", b="%1%2-"}, |
177 | {a="([%s%-])(a)([%_%^%.]?[tdrzsn])%-", b="%1%2%3-"}, | 177 | {a="([%p%s%-])(a)([%_%^%.]?[tdrzsn])%-", b="%1%2%3-"}, --p |
178 | -- al- + initial unstable hamza | 178 | -- al- + initial unstable hamza |
179 | {a="^(a)l%-(\"?[uai])", b="%1l-%2"}, | 179 | {a="^(a)l%-(\"?[uai])", b="%1l-%2"}, |
180 | {a="([%s%-])(a)l%-(\"?[uai])", b="%1%2l-%3"}, | 180 | {a="([%p%s%-])(a)l%-(\"?[uai])", b="%1%2l-%3"}, --p |
181 | -- li-/la- + art. + initial unstable hamza is a special orthography | 181 | -- li-/la- + art. + initial unstable hamza is a special orthography |
182 | {a="l([ai])%-l%-([uai])", b="l%1-l-%2"}, | 182 | {a="l([ai])%-l%-([uai])", b="l%1-l-%2"}, |
183 | -- al- + lunar consonant (i.e. what remains) | 183 | -- al- + lunar consonant (i.e. what remains) |
184 | {a="^(a)l%-", b="%1l-"}, | 184 | {a="^(a)l%-", b="%1l-"}, |
185 | {a="([%s%-])(a)l%-", b="%1%2l-"}, | 185 | {a="([%p%s%-])(a)l%-", b="%1%2l-"}, --p |
186 | -- diphthongs to be resolved before ʾalif conjunctionis | 186 | -- diphthongs to be resolved before ʾalif conjunctionis |
187 | {a="(aw)(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="%1u%2%3"}, | 187 | {a="(aw)(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="%1u%2%3"}, |
188 | {a="(ay)(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="%1i%2%3"}, | 188 | {a="(ay)(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="%1i%2%3"}, |