aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md15
-rw-r--r--README.tex24
-rw-r--r--about.html8
-rw-r--r--arabluatex.dtx75
-rw-r--r--arabluatex.ins39
-rw-r--r--arabluatex.lua33
-rw-r--r--arabluatex_fullvoc.lua26
-rw-r--r--arabluatex_novoc.lua26
-rw-r--r--arabluatex_trans.lua26
-rw-r--r--arabluatex_voc.lua33
10 files changed, 158 insertions, 147 deletions
diff --git a/README.md b/README.md
index b9c08d7..78cddf4 100644
--- a/README.md
+++ b/README.md
@@ -24,8 +24,12 @@ analyzed and correlated in various ways.
24License and disclamer 24License and disclamer
25===================== 25=====================
26 26
27Copyright ⓒ 2016 Robert Alessi Please send error reports and suggestions 27ArabLuaTeX – Processing ArabTeX notation under LuaLaTeX
28for improvements to Robert Alessi: 28
29Copyright ⓒ 2016 Robert Alessi
30
31Please send error reports and suggestions for improvements to Robert
32Alessi:
29 33
30- email: [alessi@robertalessi.net](alessi@robertalessi.net) 34- email: [alessi@robertalessi.net](alessi@robertalessi.net)
31 35
@@ -34,9 +38,9 @@ for improvements to Robert Alessi:
34- comments, feature requests, bug reports: 38- comments, feature requests, bug reports:
35 <https://notabug.org/ralessi/arabluatex> 39 <https://notabug.org/ralessi/arabluatex>
36 40
37This program is free software; you can redistribute it and/or modify it 41This program is free software: you can redistribute it and/or modify it
38under the terms of the GNU General Public License as published by the 42under the terms of the GNU General Public License as published by the
39Free Software Foundation; either version 2 of the License, or (at your 43Free Software Foundation, either version 3 of the License, or (at your
40option) any later version. 44option) any later version.
41 45
42This program is distributed in the hope that it will be useful, but 46This program is distributed in the hope that it will be useful, but
@@ -45,8 +49,7 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
45Public License for more details. 49Public License for more details.
46 50
47You should have received a copy of the GNU General Public License along 51You should have received a copy of the GNU General Public License along
48with this program; if not, write to the Free Software Foundation, Inc., 52with this program. If not, see &lt;http://www.gnu.org/licenses/&gt;.
4959 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
50 53
51This release of arabluatex consists of the following source files: 54This release of arabluatex consists of the following source files:
52 55
diff --git a/README.tex b/README.tex
index d1e5d76..08b4c75 100644
--- a/README.tex
+++ b/README.tex
@@ -32,7 +32,10 @@ interact with some other packages yet to come to produce from
32searched, analyzed and correlated in various ways. 32searched, analyzed and correlated in various ways.
33 33
34\section*{License and disclamer} 34\section*{License and disclamer}
35ArabLuaTeX -- Processing ArabTeX notation under LuaLaTeX
36
35Copyright ⓒ 2016 Robert Alessi 37Copyright ⓒ 2016 Robert Alessi
38
36Please send error reports and suggestions for improvements to Robert 39Please send error reports and suggestions for improvements to Robert
37Alessi: 40Alessi:
38\begin{itemize} 41\begin{itemize}
@@ -42,20 +45,19 @@ Alessi:
42 \url{https://notabug.org/ralessi/arabluatex} 45 \url{https://notabug.org/ralessi/arabluatex}
43\end{itemize} 46\end{itemize}
44 47
45This program is free software; you can redistribute it and/or 48This program is free software: you can redistribute it and/or modify
46modify it under the terms of the GNU General Public License 49it under the terms of the GNU General Public License as published by
47as published by the Free Software Foundation; either version 2 50the Free Software Foundation, either version 3 of the License, or
48of the License, or (at your option) any later version. 51(at your option) any later version.
49 52
50This program is distributed in the hope that it will be useful, 53This program is distributed in the hope that it will be useful, but
51but WITHOUT ANY WARRANTY; without even the implied warranty of 54WITHOUT ANY WARRANTY; without even the implied warranty of
52MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 55MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
53GNU General Public License for more details. 56General Public License for more details.
54 57
55You should have received a copy of the GNU General Public License 58You should have received a copy of the GNU General Public License
56along with this program; if not, write to the Free Software 59along with this program. If not, see
57Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 60<http://www.gnu.org/licenses/>.
5802111-1307, USA.
59 61
60This release of arabluatex consists of the following 62This release of arabluatex consists of the following
61source files: 63source files:
diff --git a/about.html b/about.html
index b451f60..a093cac 100644
--- a/about.html
+++ b/about.html
@@ -16,15 +16,17 @@
16<h1 id="sec:overview" class="unnumbered">Overview</h1> 16<h1 id="sec:overview" class="unnumbered">Overview</h1>
17<p>This package provides for <a href="http://luatex.org">LuaLaTeX</a> an <a href="http://ctan.org/pkg/arabtex">ArabTeX</a>-like interface to generate Arabic writing from an <span style="font-variant: small-caps;">ascii</span> transliteration. It is particularly well-suited for complex documents such as technical documents or critical editions where a lot of left-to-right commands intertwine with Arabic writing. arabluatex is able to process any ArabTeX input notation. Its output can be set in the same modes of vocalization as ArabTeX, or in different roman transliterations. It further allows many typographical refinements. It will eventually interact with some other packages yet to come to produce from <code>.tex</code> source files, in addition to printed books, <code>TEI xml</code> compliant critical editions and/or lexicons that can be searched, analyzed and correlated in various ways.</p> 17<p>This package provides for <a href="http://luatex.org">LuaLaTeX</a> an <a href="http://ctan.org/pkg/arabtex">ArabTeX</a>-like interface to generate Arabic writing from an <span style="font-variant: small-caps;">ascii</span> transliteration. It is particularly well-suited for complex documents such as technical documents or critical editions where a lot of left-to-right commands intertwine with Arabic writing. arabluatex is able to process any ArabTeX input notation. Its output can be set in the same modes of vocalization as ArabTeX, or in different roman transliterations. It further allows many typographical refinements. It will eventually interact with some other packages yet to come to produce from <code>.tex</code> source files, in addition to printed books, <code>TEI xml</code> compliant critical editions and/or lexicons that can be searched, analyzed and correlated in various ways.</p>
18<h1 id="license-and-disclamer" class="unnumbered">License and disclamer</h1> 18<h1 id="license-and-disclamer" class="unnumbered">License and disclamer</h1>
19<p>Copyright ⓒ 2016 Robert Alessi Please send error reports and suggestions for improvements to Robert Alessi:</p> 19<p>ArabLuaTeX – Processing ArabTeX notation under LuaLaTeX</p>
20<p>Copyright ⓒ 2016 Robert Alessi</p>
21<p>Please send error reports and suggestions for improvements to Robert Alessi:</p>
20<ul> 22<ul>
21<li><p>email: <a href="alessi@robertalessi.net" class="uri">alessi@robertalessi.net</a></p></li> 23<li><p>email: <a href="alessi@robertalessi.net" class="uri">alessi@robertalessi.net</a></p></li>
22<li><p>website: <a href="http://www.robertalessi.net/arabluatex" class="uri">http://www.robertalessi.net/arabluatex</a></p></li> 24<li><p>website: <a href="http://www.robertalessi.net/arabluatex" class="uri">http://www.robertalessi.net/arabluatex</a></p></li>
23<li><p>comments, feature requests, bug reports: <a href="https://notabug.org/ralessi/arabluatex" class="uri">https://notabug.org/ralessi/arabluatex</a></p></li> 25<li><p>comments, feature requests, bug reports: <a href="https://notabug.org/ralessi/arabluatex" class="uri">https://notabug.org/ralessi/arabluatex</a></p></li>
24</ul> 26</ul>
25<p>This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.</p> 27<p>This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.</p>
26<p>This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.</p> 28<p>This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.</p>
27<p>You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.</p> 29<p>You should have received a copy of the GNU General Public License along with this program. If not, see &lt;http://www.gnu.org/licenses/&gt;.</p>
28<p>This release of arabluatex consists of the following source files:</p> 30<p>This release of arabluatex consists of the following source files:</p>
29<ul> 31<ul>
30<li><p><code>arabluatex.ins</code></p></li> 32<li><p><code>arabluatex.ins</code></p></li>
diff --git a/arabluatex.dtx b/arabluatex.dtx
index 27e970e..3fd4ccb 100644
--- a/arabluatex.dtx
+++ b/arabluatex.dtx
@@ -1,23 +1,23 @@
1% \iffalse meta-comment 1% \iffalse meta-comment
2% ArabLuaTeX -- Processing ArabTeX notation under LuaLaTeX
2% Copyright (C) 2016 Robert Alessi 3% Copyright (C) 2016 Robert Alessi
3% 4%
4% Please send error reports and suggestions for improvements to 5% Please send error reports and suggestions for improvements to Robert
5% Robert Alessi <alessi@robertalessi.net> 6% Alessi <alessi@robertalessi.net>
6% 7%
7% This program is free software; you can redistribute it and/or 8% This program is free software: you can redistribute it and/or modify
8% modify it under the terms of the GNU General Public License 9% it under the terms of the GNU General Public License as published by
9% as published by the Free Software Foundation; either version 2 10% the Free Software Foundation, either version 3 of the License, or
10% of the License, or (at your option) any later version. 11% (at your option) any later version.
11% 12%
12% This program is distributed in the hope that it will be useful, 13% This program is distributed in the hope that it will be useful, but
13% but WITHOUT ANY WARRANTY; without even the implied warranty of 14% WITHOUT ANY WARRANTY; without even the implied warranty of
14% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15% GNU General Public License for more details. 16% General Public License for more details.
16% 17%
17% You should have received a copy of the GNU General Public License 18% You should have received a copy of the GNU General Public License
18% along with this program; if not, write to the Free Software 19% along with this program. If not, see
19% Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 20% <http://www.gnu.org/licenses/>.
20% 02111-1307, USA.
21% \fi 21% \fi
22% 22%
23% \iffalse 23% \iffalse
@@ -36,25 +36,25 @@
36\begin{filecontents}{\jobname.bib} 36\begin{filecontents}{\jobname.bib}
37% This file is part of the `arabluatex' package 37% This file is part of the `arabluatex' package
38% 38%
39% copyright (C) 2016 Robert Alessi 39% ArabLuaTeX -- Processing ArabTeX notation under LuaLaTeX
40% Copyright (C) 2016 Robert Alessi
40% 41%
41% Please send error reports and suggestions for improvements to 42% Please send error reports and suggestions for improvements to Robert
42% Robert Alessi <alessi@robertalessi.net> 43% Alessi <alessi@robertalessi.net>
43% 44%
44% This program is free software; you can redistribute it and/or 45% This program is free software: you can redistribute it and/or modify
45% modify it under the terms of the GNU General Public License 46% it under the terms of the GNU General Public License as published by
46% as published by the Free Software Foundation; either version 2 47% the Free Software Foundation, either version 3 of the License, or
47% of the License, or (at your option) any later version. 48% (at your option) any later version.
48% 49%
49% This program is distributed in the hope that it will be useful, 50% This program is distributed in the hope that it will be useful, but
50% but WITHOUT ANY WARRANTY; without even the implied warranty of 51% WITHOUT ANY WARRANTY; without even the implied warranty of
51% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 52% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
52% GNU General Public License for more details. 53% General Public License for more details.
53% 54%
54% You should have received a copy of the GNU General Public License 55% You should have received a copy of the GNU General Public License
55% along with this program; if not, write to the Free Software 56% along with this program. If not, see
56% Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 57% <http://www.gnu.org/licenses/>.
57% 02111-1307, USA.
58 58
59@software{pkg:arabtex, 59@software{pkg:arabtex,
60 author = {Lagally, Klaus}, 60 author = {Lagally, Klaus},
@@ -274,20 +274,19 @@
274% \url{https://notabug.org/ralessi/arabluatex} 274% \url{https://notabug.org/ralessi/arabluatex}
275% \end{compactitem} 275% \end{compactitem}
276% 276%
277% This program is free software; you can redistribute it and/or 277% This program is free software: you can redistribute it and/or modify
278% modify it under the terms of the GNU General Public License 278% it under the terms of the GNU General Public License as published by
279% as published by the Free Software Foundation; either version 2 279% the Free Software Foundation, either version 3 of the License, or
280% of the License, or (at your option) any later version. 280% (at your option) any later version.
281% 281%
282% This program is distributed in the hope that it will be useful, 282% This program is distributed in the hope that it will be useful, but
283% but WITHOUT ANY WARRANTY; without even the implied warranty of 283% WITHOUT ANY WARRANTY; without even the implied warranty of
284% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 284% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
285% GNU General Public License for more details. 285% General Public License for more details.
286% 286%
287% You should have received a copy of the GNU General Public License 287% You should have received a copy of the GNU General Public License
288% along with this program; if not, write to the Free Software 288% along with this program. If not, see
289% Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 289% <http://www.gnu.org/licenses/>.
290% 02111-1307, USA.
291% 290%
292% This release of \package{arabluatex} consists of the following 291% This release of \package{arabluatex} consists of the following
293% source files: 292% source files:
diff --git a/arabluatex.ins b/arabluatex.ins
index 62606c6..4901ac9 100644
--- a/arabluatex.ins
+++ b/arabluatex.ins
@@ -1,11 +1,14 @@
1%% This file is part of the `arabluatex' package
2%%
3%% ArabLuaTeX -- Processing ArabTeX notation under LuaLaTeX
1%% Copyright (C) 2016 Robert Alessi 4%% Copyright (C) 2016 Robert Alessi
2%% 5%%
3%% Please send error reports and suggestions for improvements to 6%% Please send error reports and suggestions for improvements to
4%% Robert Alessi <alessi@robertalessi.net> 7%% Robert Alessi <alessi@robertalessi.net>
5%% 8%%
6%% This program is free software; you can redistribute it and/or 9%% This program is free software: you can redistribute it and/or
7%% modify it under the terms of the GNU General Public License 10%% modify it under the terms of the GNU General Public License
8%% as published by the Free Software Foundation; either version 2 11%% as published by the Free Software Foundation, either version 3
9%% of the License, or (at your option) any later version. 12%% of the License, or (at your option) any later version.
10%% 13%%
11%% This program is distributed in the hope that it will be useful, 14%% This program is distributed in the hope that it will be useful,
@@ -14,8 +17,8 @@
14%% GNU General Public License for more details. 17%% GNU General Public License for more details.
15%% 18%%
16%% You should have received a copy of the GNU General Public License 19%% You should have received a copy of the GNU General Public License
17%% along with this program; if not, write to the Free Software 20%% along with this program. If not, see
18%% Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 21%% <http://www.gnu.org/licenses/>.
19%% 22%%
20%% This release of 'arabluatex' consists of the following source files: 23%% This release of 'arabluatex' consists of the following source files:
21%% - arabluatex.ins 24%% - arabluatex.ins
@@ -38,25 +41,27 @@
38 41
39This is a generated file. 42This is a generated file.
40 43
44This file is part of the `arabluatex' package
45
46ArabLuaTeX -- Processing ArabTeX notation under LuaLaTeX
41Copyright (C) 2016 Robert Alessi 47Copyright (C) 2016 Robert Alessi
42 48
43Please send error reports and suggestions for improvements to 49Please send error reports and suggestions for improvements to Robert
44Robert Alessi <alessi@robertalessi.net> 50Alessi <alessi@robertalessi.net>
45 51
46This program is free software; you can redistribute it and/or 52This program is free software: you can redistribute it and/or modify
47modify it under the terms of the GNU General Public License 53it under the terms of the GNU General Public License as published by
48as published by the Free Software Foundation; either version 2 54the Free Software Foundation, either version 3 of the License, or
49of the License, or (at your option) any later version. 55(at your option) any later version.
50 56
51This program is distributed in the hope that it will be useful, 57This program is distributed in the hope that it will be useful, but
52but WITHOUT ANY WARRANTY; without even the implied warranty of 58WITHOUT ANY WARRANTY; without even the implied warranty of
53MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 59MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
54GNU General Public License for more details. 60General Public License for more details.
55 61
56You should have received a copy of the GNU General Public License 62You should have received a copy of the GNU General Public License
57along with this program; if not, write to the Free Software 63along with this program. If not, see
58Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, 64<http://www.gnu.org/licenses/>.
59USA.
60 65
61This release of 'arabluatex' consists of the following source files: 66This release of 'arabluatex' consists of the following source files:
62- arabluatex.ins 67- arabluatex.ins
diff --git a/arabluatex.lua b/arabluatex.lua
index 0f3984b..719e1e0 100644
--- a/arabluatex.lua
+++ b/arabluatex.lua
@@ -1,25 +1,25 @@
1--[[ 1--[[
2This file is part of the `arabluatex' package 2This file is part of the `arabluatex' package
3 3
4ArabLuaTeX -- Processing ArabTeX notation under LuaLaTeX
4Copyright (C) 2016 Robert Alessi 5Copyright (C) 2016 Robert Alessi
5 6
6Please send error reports and suggestions for improvements to 7Please send error reports and suggestions for improvements to Robert
7Robert Alessi <alessi@robertalessi.net> 8Alessi <alessi@robertalessi.net>
8 9
9This program is free software; you can redistribute it and/or 10This program is free software: you can redistribute it and/or modify
10modify it under the terms of the GNU General Public License 11it under the terms of the GNU General Public License as published by
11as published by the Free Software Foundation; either version 2 12the Free Software Foundation, either version 3 of the License, or
12of the License, or (at your option) any later version. 13(at your option) any later version.
13 14
14This program is distributed in the hope that it will be useful, 15This program is distributed in the hope that it will be useful, but
15but WITHOUT ANY WARRANTY; without even the implied warranty of 16WITHOUT ANY WARRANTY; without even the implied warranty of
16MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17GNU General Public License for more details. 18General Public License for more details.
18 19
19You should have received a copy of the GNU General Public License 20You should have received a copy of the GNU General Public License
20along with this program; if not, write to the Free Software 21along with this program. If not, see
21Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 22<http://www.gnu.org/licenses/>.
2202111-1307, USA.
23--]] 23--]]
24 24
25require("arabluatex_voc") 25require("arabluatex_voc")
@@ -381,13 +381,6 @@ function cap(str)
381return str 381return str
382end 382end
383 383
384local abjad = {
385{"a\"'", "b", "j", "d", "h", "w", "z", ".h", ".t"},
386{"y", "k", "l", "m", "n", "s", "`", "f", ".s", },
387{"q", "r", "^s", "t", "_t", "x", "_d", ".d", ".z", },
388{".g"}
389}
390
391-- this function is adapted from an 'obsolete project' of Khaled 384-- this function is adapted from an 'obsolete project' of Khaled
392-- Hosny's that dates back to 2010. Thanks to him. 385-- Hosny's that dates back to 2010. Thanks to him.
393-- See https://github.com/khaledhosny/lualatex-arabic 386-- See https://github.com/khaledhosny/lualatex-arabic
diff --git a/arabluatex_fullvoc.lua b/arabluatex_fullvoc.lua
index 8b94c1e..8263734 100644
--- a/arabluatex_fullvoc.lua
+++ b/arabluatex_fullvoc.lua
@@ -1,25 +1,25 @@
1--[[ 1--[[
2This file is part of the `arabluatex' package 2This file is part of the `arabluatex' package
3 3
4ArabLuaTeX -- Processing ArabTeX notation under LuaLaTeX
4Copyright (C) 2016 Robert Alessi 5Copyright (C) 2016 Robert Alessi
5 6
6Please send error reports and suggestions for improvements to 7Please send error reports and suggestions for improvements to Robert
7Robert Alessi <alessi@robertalessi.net> 8Alessi <alessi@robertalessi.net>
8 9
9This program is free software; you can redistribute it and/or 10This program is free software: you can redistribute it and/or modify
10modify it under the terms of the GNU General Public License 11it under the terms of the GNU General Public License as published by
11as published by the Free Software Foundation; either version 2 12the Free Software Foundation, either version 3 of the License, or
12of the License, or (at your option) any later version. 13(at your option) any later version.
13 14
14This program is distributed in the hope that it will be useful, 15This program is distributed in the hope that it will be useful, but
15but WITHOUT ANY WARRANTY; without even the implied warranty of 16WITHOUT ANY WARRANTY; without even the implied warranty of
16MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17GNU General Public License for more details. 18General Public License for more details.
18 19
19You should have received a copy of the GNU General Public License 20You should have received a copy of the GNU General Public License
20along with this program; if not, write to the Free Software 21along with this program. If not, see
21Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 22<http://www.gnu.org/licenses/>.
2202111-1307, USA.
23--]] 23--]]
24 24
25-- this is new 25-- this is new
diff --git a/arabluatex_novoc.lua b/arabluatex_novoc.lua
index deb5d3e..16f3b51 100644
--- a/arabluatex_novoc.lua
+++ b/arabluatex_novoc.lua
@@ -1,25 +1,25 @@
1--[[ 1--[[
2This file is part of the `arabluatex' package 2This file is part of the `arabluatex' package
3 3
4ArabLuaTeX -- Processing ArabTeX notation under LuaLaTeX
4Copyright (C) 2016 Robert Alessi 5Copyright (C) 2016 Robert Alessi
5 6
6Please send error reports and suggestions for improvements to 7Please send error reports and suggestions for improvements to Robert
7Robert Alessi <alessi@robertalessi.net> 8Alessi <alessi@robertalessi.net>
8 9
9This program is free software; you can redistribute it and/or 10This program is free software: you can redistribute it and/or modify
10modify it under the terms of the GNU General Public License 11it under the terms of the GNU General Public License as published by
11as published by the Free Software Foundation; either version 2 12the Free Software Foundation, either version 3 of the License, or
12of the License, or (at your option) any later version. 13(at your option) any later version.
13 14
14This program is distributed in the hope that it will be useful, 15This program is distributed in the hope that it will be useful, but
15but WITHOUT ANY WARRANTY; without even the implied warranty of 16WITHOUT ANY WARRANTY; without even the implied warranty of
16MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17GNU General Public License for more details. 18General Public License for more details.
18 19
19You should have received a copy of the GNU General Public License 20You should have received a copy of the GNU General Public License
20along with this program; if not, write to the Free Software 21along with this program. If not, see
21Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 22<http://www.gnu.org/licenses/>.
2202111-1307, USA.
23--]] 23--]]
24 24
25tanwinnv = { 25tanwinnv = {
diff --git a/arabluatex_trans.lua b/arabluatex_trans.lua
index 11d1ac1..6b3f1bc 100644
--- a/arabluatex_trans.lua
+++ b/arabluatex_trans.lua
@@ -1,25 +1,25 @@
1--[[ 1--[[
2This file is part of the `arabluatex' package 2This file is part of the `arabluatex' package
3 3
4ArabLuaTeX -- Processing ArabTeX notation under LuaLaTeX
4Copyright (C) 2016 Robert Alessi 5Copyright (C) 2016 Robert Alessi
5 6
6Please send error reports and suggestions for improvements to 7Please send error reports and suggestions for improvements to Robert
7Robert Alessi <alessi@robertalessi.net> 8Alessi <alessi@robertalessi.net>
8 9
9This program is free software; you can redistribute it and/or 10This program is free software: you can redistribute it and/or modify
10modify it under the terms of the GNU General Public License 11it under the terms of the GNU General Public License as published by
11as published by the Free Software Foundation; either version 2 12the Free Software Foundation, either version 3 of the License, or
12of the License, or (at your option) any later version. 13(at your option) any later version.
13 14
14This program is distributed in the hope that it will be useful, 15This program is distributed in the hope that it will be useful, but
15but WITHOUT ANY WARRANTY; without even the implied warranty of 16WITHOUT ANY WARRANTY; without even the implied warranty of
16MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17GNU General Public License for more details. 18General Public License for more details.
18 19
19You should have received a copy of the GNU General Public License 20You should have received a copy of the GNU General Public License
20along with this program; if not, write to the Free Software 21along with this program. If not, see
21Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 22<http://www.gnu.org/licenses/>.
2202111-1307, USA.
23--]] 23--]]
24 24
25-- common 25-- common
diff --git a/arabluatex_voc.lua b/arabluatex_voc.lua
index 0544a63..5eafca5 100644
--- a/arabluatex_voc.lua
+++ b/arabluatex_voc.lua
@@ -1,27 +1,34 @@
1--[[ 1--[[
2This file is part of the `arabluatex' package 2This file is part of the `arabluatex' package
3 3
4ArabLuaTeX -- Processing ArabTeX notation under LuaLaTeX
4Copyright (C) 2016 Robert Alessi 5Copyright (C) 2016 Robert Alessi
5 6
6Please send error reports and suggestions for improvements to 7Please send error reports and suggestions for improvements to Robert
7Robert Alessi <alessi@robertalessi.net> 8Alessi <alessi@robertalessi.net>
8 9
9This program is free software; you can redistribute it and/or 10This program is free software: you can redistribute it and/or modify
10modify it under the terms of the GNU General Public License 11it under the terms of the GNU General Public License as published by
11as published by the Free Software Foundation; either version 2 12the Free Software Foundation, either version 3 of the License, or
12of the License, or (at your option) any later version. 13(at your option) any later version.
13 14
14This program is distributed in the hope that it will be useful, 15This program is distributed in the hope that it will be useful, but
15but WITHOUT ANY WARRANTY; without even the implied warranty of 16WITHOUT ANY WARRANTY; without even the implied warranty of
16MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17GNU General Public License for more details. 18General Public License for more details.
18 19
19You should have received a copy of the GNU General Public License 20You should have received a copy of the GNU General Public License
20along with this program; if not, write to the Free Software 21along with this program. If not, see
21Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 22<http://www.gnu.org/licenses/>.
2202111-1307, USA.
23--]] 23--]]
24 24
25abjad = {
26{"a\"'", "b", "j", "d", "h", "w", "z", ".h", ".t"},
27{"y", "k", "l", "m", "n", "s", "`", "f", ".s", },
28{"q", "r", "^s", "t", "_t", "x", "_d", ".d", ".z", },
29{".g"}
30}
31
25numbers = { 32numbers = {
26 {a="0", b="٠"}, 33 {a="0", b="٠"},
27 {a="1", b="١"}, 34 {a="1", b="١"},