diff options
Diffstat (limited to 'arabluatex.lua')
-rw-r--r-- | arabluatex.lua | 33 |
1 files changed, 13 insertions, 20 deletions
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 |