aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--arabluatex.dtx5
-rw-r--r--arabluatex_trans.lua24
2 files changed, 14 insertions, 15 deletions
diff --git a/arabluatex.dtx b/arabluatex.dtx
index 626d7dc..787184c 100644
--- a/arabluatex.dtx
+++ b/arabluatex.dtx
@@ -143,10 +143,9 @@
143\def\actualchar{ =} % there's a bug in doxitem; quick fix. 143\def\actualchar{ =} % there's a bug in doxitem; quick fix.
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\newfontfamily\translitfont{Latin Modern Roman}[Ligatures=TeX] 147RawFeature={+mark;+ccmp;+ss05;+ss06}]
148\usepackage{arabluatex}[2016/07/09] 148\usepackage{arabluatex}[2016/07/09]
149\SetTranslitFont{\translitfont}
150\usepackage{varioref} 149\usepackage{varioref}
151\usepackage{hypdoc} 150\usepackage{hypdoc}
152\hypersetup{unicode=true, colorlinks, allcolors=blue, 151\hypersetup{unicode=true, colorlinks, allcolors=blue,
diff --git a/arabluatex_trans.lua b/arabluatex_trans.lua
index 91ca869..7068a47 100644
--- a/arabluatex_trans.lua
+++ b/arabluatex_trans.lua
@@ -133,23 +133,23 @@ tanwintrdmg = {
133 {a="%-?iNI", b="i\\arbup{n}"}, 133 {a="%-?iNI", b="i\\arbup{n}"},
134 -- tanwīn preceding ʾalif conjunctionis 134 -- tanwīn preceding ʾalif conjunctionis
135 {a="%-?(uN)(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="\\arbup{uni}%2%3"}, 135 {a="%-?(uN)(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="\\arbup{uni}%2%3"},
136 {a="%-?(aN)(_A)(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="\\arbup{ni}%3%4"}, 136 {a="%-?(aN)(_A)(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="\\arbup{ni}%3%4"},
137 {a="%-?(aN)(Y)(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="\\arbup{ni}%3%4"}, 137 {a="%-?(aN)(Y)(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="\\arbup{ni}%3%4"},
138 {a="(T)%-?(aN)(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="t\\arbup{ani}%3%4"}, 138 {a="(T)%-?(aN)(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="t\\arbup{ani}%3%4"},
139 {a="([^TA])%-?(aN)(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="%1\\arbup{ani}%3%4"}, 139 {a="([^TA])%-?(aN)(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="%1\\arbup{ani}%3%4"},
140 {a="%-?(iN)(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="\\arbup{ini}%2%3"}, 140 {a="%-?(iN)(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="\\arbup{ini}%2%3"},
141-- tanwīn + alif without hamza and kasra (ibn) 141-- tanwīn + alif without hamza and kasra (ibn)
142 {a="%-?(uN)(%s)(i)", b="\\arbup{uni}%2'"}, 142 {a="%-?(uN)(%s)(i)", b="\\arbup{uni}%2'"},
143 {a="%-?(aN)(_A)(%s)(i)", b="\\arbup{ni}%3%'"}, 143 {a="%-?(aN)(_A)(%s)(i)", b="\\arbup{ni}%3%'"},
144 {a="%-?(aN)(Y)(%s)(i)", b="\\arbup{ni}%3%'"}, 144 {a="%-?(aN)(Y)(%s)(i)", b="\\arbup{ni}%3%'"},
145 {a="(T)%-?(aN)(%s)(i)", b="t\\arbup{ani}%3%'"}, 145 {a="(T)%-?(aN)(%s)(i)", b="t\\arbup{ani}%3%'"},
146 {a="([^TA])%-?(aN)(%s)(i)", b="%1\\arbup{ani}%3%'"}, 146 {a="([^TA])%-?(aN)(%s)(i)", b="%1\\arbup{ani}%3%'"},
147 {a="%-?(iN)(%s)(i)", b="\\arbup{ini}%2%'"}, 147 {a="%-?(iN)(%s)(i)", b="\\arbup{ini}%2%'"},
148 -- 148 --
149-- {a="uN", b="\\arbup{un}"}, (now included in the last line of this table) 149-- {a="uN", b="\\arbup{un}"}, (now included in the last line of this table)
150 {a="%-?(\"?At)%-?([ui])N", b="\\arbup{%1%2n}"}, 150 {a="%-?(\"?At)%-?([ui])N", b="\\arbup{%1%2n}"},
151 {a="%-?(aN)(_A)", b="\\arbup{n}"}, 151 {a="%-?(aN)(_A)", b="\\arbup{n}"},
152 {a="%-?(aN)(Y)", b="\\arbup{n}"}, 152 {a="%-?(aN)(Y)", b="\\arbup{n}"},
153 {a="(T)%-?(\"?aN)", b="t\\arbup{an}"}, 153 {a="(T)%-?(\"?aN)", b="t\\arbup{an}"},
154 {a="([^TA])%-?(\"?aN)", b="%1\\arbup{an}"}, 154 {a="([^TA])%-?(\"?aN)", b="%1\\arbup{an}"},
155 {a="%-?([ui])N", b="\\arbup{%1n}"} 155 {a="%-?([ui])N", b="\\arbup{%1n}"}
@@ -272,8 +272,8 @@ digraphstrdmg = {
272-- {a="([%_]?[uaiUAIY])(%s)([uai])", b="%1%2'"}, -- initial alif without hamza 272-- {a="([%_]?[uaiUAIY])(%s)([uai])", b="%1%2'"}, -- initial alif without hamza
273 {a="(aW)(%s)(\"?[uai])", b="awu%2%3"}, 273 {a="(aW)(%s)(\"?[uai])", b="awu%2%3"},
274 {a="([^%_][uai])(%s)(\"?[uai])", b="%1%2'"}, 274 {a="([^%_][uai])(%s)(\"?[uai])", b="%1%2'"},
275 {a="(%_A)(%s)(\"?[uai])", b="%2'"}, 275 {a="(%_A)(%s)(\"?[uai])", b="%2'"},
276 {a="(Y)(%s)(\"?[uai])", b="%2'"}, 276 {a="(Y)(%s)(\"?[uai])", b="%2'"},
277 {a="(%_a)(%s)(\"?[uai])", b="a%2'"}, 277 {a="(%_a)(%s)(\"?[uai])", b="a%2'"},
278 {a="(A)(%s)(\"?[uai])", b="a%2'"}, 278 {a="(A)(%s)(\"?[uai])", b="a%2'"},
279 {a="([%_]?[Uu])(%s)(\"?[uai])", b="u%2'"}, 279 {a="([%_]?[Uu])(%s)(\"?[uai])", b="u%2'"},
@@ -294,9 +294,9 @@ digraphstrdmg = {
294 {a="(U)(A)", b="U"}, 294 {a="(U)(A)", b="U"},
295 {a="(aW)(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="awu%2%3"}, 295 {a="(aW)(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="awu%2%3"},
296 {a="(%_a)(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="a%2%3"}, 296 {a="(%_a)(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="a%2%3"},
297 {a="(%_A)(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="%2%3"}, 297 {a="(%_A)(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="%2%3"},
298 {a="(A)(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="a%2%3"}, 298 {a="(A)(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="a%2%3"},
299 {a="(Y)(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="%2%3"}, 299 {a="(Y)(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="%2%3"},
300 {a="([%_]?[Uu])(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="u%2%3"}, 300 {a="([%_]?[Uu])(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="u%2%3"},
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=""},
@@ -318,7 +318,7 @@ digraphstrdmg = {
318-- {a="(U)(A)", b="ū"}, 318-- {a="(U)(A)", b="ū"},
319 {a="WA", b="w"}, 319 {a="WA", b="w"},
320 {a="(a)W", b="%1w"}, 320 {a="(a)W", b="%1w"},
321 {a="_A", b=""}, 321 {a="_A", b="ā"},
322 {a="_u", b="ū"}, 322 {a="_u", b="ū"},
323 {a="_a", b="ā"}, 323 {a="_a", b="ā"},
324 {a="_i", b="ī"}, 324 {a="_i", b="ī"},
@@ -358,7 +358,7 @@ longvtrdmg = {
358 {a="A", b="ā"}, 358 {a="A", b="ā"},
359 {a="U", b="ū"}, 359 {a="U", b="ū"},
360 {a="I", b="ī"}, 360 {a="I", b="ī"},
361 {a="Y", b=""} 361 {a="Y", b="ā"}
362} 362}
363 363
364shortvtrdmg = { 364shortvtrdmg = {