aboutsummaryrefslogtreecommitdiff
path: root/arabluatex_voc.lua
diff options
context:
space:
mode:
authorRobert Alessi <alessi@robertalessi.net>2016-03-30 15:54:25 +0200
committerRobert Alessi <alessi@robertalessi.net>2016-03-30 15:54:25 +0200
commit332f1b5c403c5e8c5f9aff8dbb00989c5609dd26 (patch)
tree23088fd8ae6c7c8493791bea7d37ed7b10d31f50 /arabluatex_voc.lua
parenta0cabb9d3873021aadb2accf9addbdb7b7ba6282 (diff)
downloadarabluatex-332f1b5c403c5e8c5f9aff8dbb00989c5609dd26.tar.gz
added README.tex; cleaning up
Diffstat (limited to 'arabluatex_voc.lua')
-rw-r--r--arabluatex_voc.lua84
1 files changed, 32 insertions, 52 deletions
diff --git a/arabluatex_voc.lua b/arabluatex_voc.lua
index 2660ed8..4983ad0 100644
--- a/arabluatex_voc.lua
+++ b/arabluatex_voc.lua
@@ -1,7 +1,7 @@
1--[[ 1--[[
2This file is part of the `arabluatex' package 2This file is part of the `arabluatex' package
3 3
4copyright (C) 2016 Robert Alessi 4Copyright (C) 2016 Robert Alessi
5 5
6Please send error reports and suggestions for improvements to 6Please send error reports and suggestions for improvements to
7Robert Alessi <alessi@robertalessi.net> 7Robert Alessi <alessi@robertalessi.net>
@@ -92,14 +92,6 @@ hamza = {
92 {a="(%W)(')([ua])", b="%1أ%3"}, 92 {a="(%W)(')([ua])", b="%1أ%3"},
93 {a="(%W)(')(i)", b="%1إ%3"}, 93 {a="(%W)(')(i)", b="%1إ%3"},
94 -- final 94 -- final
95-- {a="([Iy])(')(aN)$", b="%1ئ%3"},
96-- {a="([Iy])(')(aN)(%W)", b="%1ئ%3%4"},
97-- {a="([^uai])(')([uai]N?)$", b="%1ء%3"},
98-- {a="([^uai])(')([uai]N?)(%W)", b="%1ء%3%4"},
99-- {a="([UI])(')([uai])$", b="%1ء%3"},
100-- {a="([UI])(')([uai])(%W)", b="%1ء%3%4"},
101-- {a="([UI])(')([uai]N?)$", b="%1ء%3"},
102-- {a="([UI])(')([uai]N?)(%W)", b="%1ء%3%4"},
103 -- ^say'aN and .zim'aN are special orthographies 95 -- ^say'aN and .zim'aN are special orthographies
104 {a="(%^say)(%')(aN)", b="%1ئ%3"}, 96 {a="(%^say)(%')(aN)", b="%1ئ%3"},
105 {a="(.zi?m)(%')(aN)", b="%1ئ%3"}, 97 {a="(.zi?m)(%')(aN)", b="%1ئ%3"},
@@ -312,31 +304,31 @@ digraphs = {
312} 304}
313 305
314single = { 306single = {
315 {a="b", b="ب"}, 307 {a="b", b="ب"},
316 {a="t", b="ت"}, 308 {a="t", b="ت"},
317 {a="j", b="ج"}, 309 {a="j", b="ج"},
318 {a="x", b="خ"}, 310 {a="x", b="خ"},
319 {a="d", b="د"}, 311 {a="d", b="د"},
320 {a="r", b="ر"}, 312 {a="r", b="ر"},
321 {a="z", b="ز"}, 313 {a="z", b="ز"},
322 {a="s", b="س"}, 314 {a="s", b="س"},
323 {a="f", b="ف"}, 315 {a="f", b="ف"},
324 {a="`", b="ع"}, 316 {a="`", b="ع"},
325 {a="f", b="ف"}, 317 {a="f", b="ف"},
326 {a="q", b="ق"}, 318 {a="q", b="ق"},
327 {a="k", b="ك"}, 319 {a="k", b="ك"},
328 {a="l", b="ل"}, 320 {a="l", b="ل"},
329 {a="m", b="م"}, 321 {a="m", b="م"},
330 {a="n", b="ن"}, 322 {a="n", b="ن"},
331 {a="h", b="ه"}, 323 {a="h", b="ه"},
332 {a="w", b="و"}, 324 {a="w", b="و"},
333 {a="y", b="ي"}, 325 {a="y", b="ي"},
334 {a="T", b="ة"}, 326 {a="T", b="ة"},
335 {a="\"$", b="ْ"}, 327 {a="\"$", b="ْ"},
336 {a="\"(%W)", b="ْ%1"}, 328 {a="\"(%W)", b="ْ%1"},
337 {a="\"([^uaiUAI])", b="ْ%1"}, 329 {a="\"([^uaiUAI])", b="ْ%1"},
338 {a="([^0-9])%-([^0-9])", b="%1%2"}, 330 {a="([^0-9])%-([^0-9])", b="%1%2"},
339 {a="B", b="ـ"} 331 {a="B", b="ـ"}
340} 332}
341 333
342longv = { 334longv = {
@@ -351,12 +343,12 @@ longv = {
351} 343}
352 344
353shortv = { 345shortv = {
354 {a="\"u", b=""}, 346 {a="\"u", b=""},
355 {a="\"a", b=""}, 347 {a="\"a", b=""},
356 {a="\"i", b=""}, 348 {a="\"i", b=""},
357 {a="u", b="ُ"}, 349 {a="u", b="ُ"},
358 {a="a", b="َ"}, 350 {a="a", b="َ"},
359 {a="i", b="ِ"} 351 {a="i", b="ِ"}
360} 352}
361 353
362punctuation = { 354punctuation = {
@@ -376,15 +368,3 @@ null = {
376 {a="%|", b=""}, 368 {a="%|", b=""},
377 {a="([^0-9])(%-)", b="%1"} 369 {a="([^0-9])(%-)", b="%1"}
378} 370}
379
380-- return {
381-- raw = raw,
382-- hamza = hamza,
383-- trigraphs = trigraphs,
384-- tanwin = tanwin,
385-- digraphs = digraphs,
386-- single = single,
387-- longv = longv,
388-- shortv = shortv,
389-- null =null
390-- }