diff options
author | Robert Alessi <alessi@robertalessi.net> | 2016-04-27 09:43:53 +0200 |
---|---|---|
committer | Robert Alessi <alessi@robertalessi.net> | 2016-04-27 09:43:53 +0200 |
commit | 9d547f43e4d09f255dc43814667ba8a1cccaeb8b (patch) | |
tree | 6985a64dbe485a0a7523069f31f3ea8b05d88f63 | |
parent | 4119ec9eb6c00ef899a41d8f9ae3abca577b3e9f (diff) | |
download | arabluatex-9d547f43e4d09f255dc43814667ba8a1cccaeb8b.tar.gz |
license: upgrade from GPLv2 to GPLv3 --> arabluatex v1.1
-rw-r--r-- | README.md | 15 | ||||
-rw-r--r-- | README.tex | 24 | ||||
-rw-r--r-- | about.html | 8 | ||||
-rw-r--r-- | arabluatex.dtx | 75 | ||||
-rw-r--r-- | arabluatex.ins | 39 | ||||
-rw-r--r-- | arabluatex.lua | 33 | ||||
-rw-r--r-- | arabluatex_fullvoc.lua | 26 | ||||
-rw-r--r-- | arabluatex_novoc.lua | 26 | ||||
-rw-r--r-- | arabluatex_trans.lua | 26 | ||||
-rw-r--r-- | arabluatex_voc.lua | 33 |
10 files changed, 158 insertions, 147 deletions
@@ -24,8 +24,12 @@ analyzed and correlated in various ways. | |||
24 | License and disclamer | 24 | License and disclamer |
25 | ===================== | 25 | ===================== |
26 | 26 | ||
27 | Copyright ⓒ 2016 Robert Alessi Please send error reports and suggestions | 27 | ArabLuaTeX – Processing ArabTeX notation under LuaLaTeX |
28 | for improvements to Robert Alessi: | 28 | |
29 | Copyright ⓒ 2016 Robert Alessi | ||
30 | |||
31 | Please send error reports and suggestions for improvements to Robert | ||
32 | Alessi: | ||
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 | ||
37 | This program is free software; you can redistribute it and/or modify it | 41 | This program is free software: you can redistribute it and/or modify it |
38 | under the terms of the GNU General Public License as published by the | 42 | under the terms of the GNU General Public License as published by the |
39 | Free Software Foundation; either version 2 of the License, or (at your | 43 | Free Software Foundation, either version 3 of the License, or (at your |
40 | option) any later version. | 44 | option) any later version. |
41 | 45 | ||
42 | This program is distributed in the hope that it will be useful, but | 46 | This 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 | |||
45 | Public License for more details. | 49 | Public License for more details. |
46 | 50 | ||
47 | You should have received a copy of the GNU General Public License along | 51 | You should have received a copy of the GNU General Public License along |
48 | with this program; if not, write to the Free Software Foundation, Inc., | 52 | with this program. If not, see <http://www.gnu.org/licenses/>. |
49 | 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
50 | 53 | ||
51 | This release of arabluatex consists of the following source files: | 54 | This release of arabluatex consists of the following source files: |
52 | 55 | ||
@@ -32,7 +32,10 @@ interact with some other packages yet to come to produce from | |||
32 | searched, analyzed and correlated in various ways. | 32 | searched, analyzed and correlated in various ways. |
33 | 33 | ||
34 | \section*{License and disclamer} | 34 | \section*{License and disclamer} |
35 | ArabLuaTeX -- Processing ArabTeX notation under LuaLaTeX | ||
36 | |||
35 | Copyright ⓒ 2016 Robert Alessi | 37 | Copyright ⓒ 2016 Robert Alessi |
38 | |||
36 | Please send error reports and suggestions for improvements to Robert | 39 | Please send error reports and suggestions for improvements to Robert |
37 | Alessi: | 40 | Alessi: |
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 | ||
45 | This program is free software; you can redistribute it and/or | 48 | This program is free software: you can redistribute it and/or modify |
46 | modify it under the terms of the GNU General Public License | 49 | it under the terms of the GNU General Public License as published by |
47 | as published by the Free Software Foundation; either version 2 | 50 | the Free Software Foundation, either version 3 of the License, or |
48 | of the License, or (at your option) any later version. | 51 | (at your option) any later version. |
49 | 52 | ||
50 | This program is distributed in the hope that it will be useful, | 53 | This program is distributed in the hope that it will be useful, but |
51 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 54 | WITHOUT ANY WARRANTY; without even the implied warranty of |
52 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 55 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
53 | GNU General Public License for more details. | 56 | General Public License for more details. |
54 | 57 | ||
55 | You should have received a copy of the GNU General Public License | 58 | You should have received a copy of the GNU General Public License |
56 | along with this program; if not, write to the Free Software | 59 | along with this program. If not, see |
57 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA | 60 | <http://www.gnu.org/licenses/>. |
58 | 02111-1307, USA. | ||
59 | 61 | ||
60 | This release of arabluatex consists of the following | 62 | This release of arabluatex consists of the following |
61 | source files: | 63 | source files: |
@@ -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 <http://www.gnu.org/licenses/>.</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 | ||
39 | This is a generated file. | 42 | This is a generated file. |
40 | 43 | ||
44 | This file is part of the `arabluatex' package | ||
45 | |||
46 | ArabLuaTeX -- Processing ArabTeX notation under LuaLaTeX | ||
41 | Copyright (C) 2016 Robert Alessi | 47 | Copyright (C) 2016 Robert Alessi |
42 | 48 | ||
43 | Please send error reports and suggestions for improvements to | 49 | Please send error reports and suggestions for improvements to Robert |
44 | Robert Alessi <alessi@robertalessi.net> | 50 | Alessi <alessi@robertalessi.net> |
45 | 51 | ||
46 | This program is free software; you can redistribute it and/or | 52 | This program is free software: you can redistribute it and/or modify |
47 | modify it under the terms of the GNU General Public License | 53 | it under the terms of the GNU General Public License as published by |
48 | as published by the Free Software Foundation; either version 2 | 54 | the Free Software Foundation, either version 3 of the License, or |
49 | of the License, or (at your option) any later version. | 55 | (at your option) any later version. |
50 | 56 | ||
51 | This program is distributed in the hope that it will be useful, | 57 | This program is distributed in the hope that it will be useful, but |
52 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 58 | WITHOUT ANY WARRANTY; without even the implied warranty of |
53 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 59 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
54 | GNU General Public License for more details. | 60 | General Public License for more details. |
55 | 61 | ||
56 | You should have received a copy of the GNU General Public License | 62 | You should have received a copy of the GNU General Public License |
57 | along with this program; if not, write to the Free Software | 63 | along with this program. If not, see |
58 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, | 64 | <http://www.gnu.org/licenses/>. |
59 | USA. | ||
60 | 65 | ||
61 | This release of 'arabluatex' consists of the following source files: | 66 | This 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 | --[[ |
2 | This file is part of the `arabluatex' package | 2 | This file is part of the `arabluatex' package |
3 | 3 | ||
4 | ArabLuaTeX -- Processing ArabTeX notation under LuaLaTeX | ||
4 | Copyright (C) 2016 Robert Alessi | 5 | Copyright (C) 2016 Robert Alessi |
5 | 6 | ||
6 | Please send error reports and suggestions for improvements to | 7 | Please send error reports and suggestions for improvements to Robert |
7 | Robert Alessi <alessi@robertalessi.net> | 8 | Alessi <alessi@robertalessi.net> |
8 | 9 | ||
9 | This program is free software; you can redistribute it and/or | 10 | This program is free software: you can redistribute it and/or modify |
10 | modify it under the terms of the GNU General Public License | 11 | it under the terms of the GNU General Public License as published by |
11 | as published by the Free Software Foundation; either version 2 | 12 | the Free Software Foundation, either version 3 of the License, or |
12 | of the License, or (at your option) any later version. | 13 | (at your option) any later version. |
13 | 14 | ||
14 | This program is distributed in the hope that it will be useful, | 15 | This program is distributed in the hope that it will be useful, but |
15 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 16 | WITHOUT ANY WARRANTY; without even the implied warranty of |
16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 17 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
17 | GNU General Public License for more details. | 18 | General Public License for more details. |
18 | 19 | ||
19 | You should have received a copy of the GNU General Public License | 20 | 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 | along with this program. If not, see |
21 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA | 22 | <http://www.gnu.org/licenses/>. |
22 | 02111-1307, USA. | ||
23 | --]] | 23 | --]] |
24 | 24 | ||
25 | require("arabluatex_voc") | 25 | require("arabluatex_voc") |
@@ -381,13 +381,6 @@ function cap(str) | |||
381 | return str | 381 | return str |
382 | end | 382 | end |
383 | 383 | ||
384 | local 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 | --[[ |
2 | This file is part of the `arabluatex' package | 2 | This file is part of the `arabluatex' package |
3 | 3 | ||
4 | ArabLuaTeX -- Processing ArabTeX notation under LuaLaTeX | ||
4 | Copyright (C) 2016 Robert Alessi | 5 | Copyright (C) 2016 Robert Alessi |
5 | 6 | ||
6 | Please send error reports and suggestions for improvements to | 7 | Please send error reports and suggestions for improvements to Robert |
7 | Robert Alessi <alessi@robertalessi.net> | 8 | Alessi <alessi@robertalessi.net> |
8 | 9 | ||
9 | This program is free software; you can redistribute it and/or | 10 | This program is free software: you can redistribute it and/or modify |
10 | modify it under the terms of the GNU General Public License | 11 | it under the terms of the GNU General Public License as published by |
11 | as published by the Free Software Foundation; either version 2 | 12 | the Free Software Foundation, either version 3 of the License, or |
12 | of the License, or (at your option) any later version. | 13 | (at your option) any later version. |
13 | 14 | ||
14 | This program is distributed in the hope that it will be useful, | 15 | This program is distributed in the hope that it will be useful, but |
15 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 16 | WITHOUT ANY WARRANTY; without even the implied warranty of |
16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 17 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
17 | GNU General Public License for more details. | 18 | General Public License for more details. |
18 | 19 | ||
19 | You should have received a copy of the GNU General Public License | 20 | 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 | along with this program. If not, see |
21 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA | 22 | <http://www.gnu.org/licenses/>. |
22 | 02111-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 | --[[ |
2 | This file is part of the `arabluatex' package | 2 | This file is part of the `arabluatex' package |
3 | 3 | ||
4 | ArabLuaTeX -- Processing ArabTeX notation under LuaLaTeX | ||
4 | Copyright (C) 2016 Robert Alessi | 5 | Copyright (C) 2016 Robert Alessi |
5 | 6 | ||
6 | Please send error reports and suggestions for improvements to | 7 | Please send error reports and suggestions for improvements to Robert |
7 | Robert Alessi <alessi@robertalessi.net> | 8 | Alessi <alessi@robertalessi.net> |
8 | 9 | ||
9 | This program is free software; you can redistribute it and/or | 10 | This program is free software: you can redistribute it and/or modify |
10 | modify it under the terms of the GNU General Public License | 11 | it under the terms of the GNU General Public License as published by |
11 | as published by the Free Software Foundation; either version 2 | 12 | the Free Software Foundation, either version 3 of the License, or |
12 | of the License, or (at your option) any later version. | 13 | (at your option) any later version. |
13 | 14 | ||
14 | This program is distributed in the hope that it will be useful, | 15 | This program is distributed in the hope that it will be useful, but |
15 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 16 | WITHOUT ANY WARRANTY; without even the implied warranty of |
16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 17 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
17 | GNU General Public License for more details. | 18 | General Public License for more details. |
18 | 19 | ||
19 | You should have received a copy of the GNU General Public License | 20 | 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 | along with this program. If not, see |
21 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA | 22 | <http://www.gnu.org/licenses/>. |
22 | 02111-1307, USA. | ||
23 | --]] | 23 | --]] |
24 | 24 | ||
25 | tanwinnv = { | 25 | tanwinnv = { |
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 | --[[ |
2 | This file is part of the `arabluatex' package | 2 | This file is part of the `arabluatex' package |
3 | 3 | ||
4 | ArabLuaTeX -- Processing ArabTeX notation under LuaLaTeX | ||
4 | Copyright (C) 2016 Robert Alessi | 5 | Copyright (C) 2016 Robert Alessi |
5 | 6 | ||
6 | Please send error reports and suggestions for improvements to | 7 | Please send error reports and suggestions for improvements to Robert |
7 | Robert Alessi <alessi@robertalessi.net> | 8 | Alessi <alessi@robertalessi.net> |
8 | 9 | ||
9 | This program is free software; you can redistribute it and/or | 10 | This program is free software: you can redistribute it and/or modify |
10 | modify it under the terms of the GNU General Public License | 11 | it under the terms of the GNU General Public License as published by |
11 | as published by the Free Software Foundation; either version 2 | 12 | the Free Software Foundation, either version 3 of the License, or |
12 | of the License, or (at your option) any later version. | 13 | (at your option) any later version. |
13 | 14 | ||
14 | This program is distributed in the hope that it will be useful, | 15 | This program is distributed in the hope that it will be useful, but |
15 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 16 | WITHOUT ANY WARRANTY; without even the implied warranty of |
16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 17 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
17 | GNU General Public License for more details. | 18 | General Public License for more details. |
18 | 19 | ||
19 | You should have received a copy of the GNU General Public License | 20 | 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 | along with this program. If not, see |
21 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA | 22 | <http://www.gnu.org/licenses/>. |
22 | 02111-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 | --[[ |
2 | This file is part of the `arabluatex' package | 2 | This file is part of the `arabluatex' package |
3 | 3 | ||
4 | ArabLuaTeX -- Processing ArabTeX notation under LuaLaTeX | ||
4 | Copyright (C) 2016 Robert Alessi | 5 | Copyright (C) 2016 Robert Alessi |
5 | 6 | ||
6 | Please send error reports and suggestions for improvements to | 7 | Please send error reports and suggestions for improvements to Robert |
7 | Robert Alessi <alessi@robertalessi.net> | 8 | Alessi <alessi@robertalessi.net> |
8 | 9 | ||
9 | This program is free software; you can redistribute it and/or | 10 | This program is free software: you can redistribute it and/or modify |
10 | modify it under the terms of the GNU General Public License | 11 | it under the terms of the GNU General Public License as published by |
11 | as published by the Free Software Foundation; either version 2 | 12 | the Free Software Foundation, either version 3 of the License, or |
12 | of the License, or (at your option) any later version. | 13 | (at your option) any later version. |
13 | 14 | ||
14 | This program is distributed in the hope that it will be useful, | 15 | This program is distributed in the hope that it will be useful, but |
15 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 16 | WITHOUT ANY WARRANTY; without even the implied warranty of |
16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 17 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
17 | GNU General Public License for more details. | 18 | General Public License for more details. |
18 | 19 | ||
19 | You should have received a copy of the GNU General Public License | 20 | 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 | along with this program. If not, see |
21 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA | 22 | <http://www.gnu.org/licenses/>. |
22 | 02111-1307, USA. | ||
23 | --]] | 23 | --]] |
24 | 24 | ||
25 | abjad = { | ||
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 | |||
25 | numbers = { | 32 | numbers = { |
26 | {a="0", b="٠"}, | 33 | {a="0", b="٠"}, |
27 | {a="1", b="١"}, | 34 | {a="1", b="١"}, |