diff options
Diffstat (limited to 'arabluatex_novoc.lua')
-rw-r--r-- | arabluatex_novoc.lua | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/arabluatex_novoc.lua b/arabluatex_novoc.lua new file mode 100644 index 0000000..b62c1cc --- /dev/null +++ b/arabluatex_novoc.lua | |||
@@ -0,0 +1,55 @@ | |||
1 | --[[ | ||
2 | This file is part of the `arabluatex' package | ||
3 | |||
4 | copyright (C) 2016 Robert Alessi | ||
5 | |||
6 | Please send error reports and suggestions for improvements to | ||
7 | Robert Alessi <alessi@robertalessi.net> | ||
8 | |||
9 | This program is free software; you can redistribute it and/or | ||
10 | modify it under the terms of the GNU General Public License | ||
11 | as published by the Free Software Foundation; either version 2 | ||
12 | of the License, or (at your option) any later version. | ||
13 | |||
14 | This program is distributed in the hope that it will be useful, | ||
15 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
17 | GNU General Public License for more details. | ||
18 | |||
19 | You should have received a copy of the GNU General Public License | ||
20 | along with this program; if not, write to the Free Software | ||
21 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA | ||
22 | 02111-1307, USA. | ||
23 | --]] | ||
24 | |||
25 | tanwinnovoc = { | ||
26 | {a="uN", b=""}, | ||
27 | {a="(aN)(_A)", b="ى"}, | ||
28 | {a="(T)(aN)", b="%1"}, | ||
29 | {a="([^TA])(aN)", b="%1ا"}, | ||
30 | {a="iN", b=""} | ||
31 | } | ||
32 | |||
33 | longvnovoc = { | ||
34 | {a="A", b="ا"}, | ||
35 | {a="U", b="و"}, | ||
36 | {a="I", b="ي"} | ||
37 | } | ||
38 | |||
39 | shortvnovoc = { | ||
40 | {a="u", b=""}, | ||
41 | {a="a", b=""}, | ||
42 | {a="i", b=""} | ||
43 | } | ||
44 | |||
45 | -- return { | ||
46 | -- raw = raw, | ||
47 | -- hamza = hamza, | ||
48 | -- trigraphs = trigraphs, | ||
49 | -- tanwin = tanwin, | ||
50 | -- digraphs = digraphs, | ||
51 | -- single = single, | ||
52 | -- longv = longv, | ||
53 | -- shortv = shortv, | ||
54 | -- null =null | ||
55 | -- } | ||