aboutsummaryrefslogtreecommitdiff
path: root/arabluatex.lua
diff options
context:
space:
mode:
Diffstat (limited to 'arabluatex.lua')
-rw-r--r--arabluatex.lua33
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--[[
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