From 041154d5339e42601ed04b6e2a23d53ffaae1022 Mon Sep 17 00:00:00 2001 From: Robert Alessi Date: Mon, 22 Feb 2016 10:06:28 +0100 Subject: initial project version --- arabluatex_novoc.lua | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 arabluatex_novoc.lua (limited to 'arabluatex_novoc.lua') 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 @@ +--[[ +This file is part of the `arabluatex' package + +copyright (C) 2016 Robert Alessi + +Please send error reports and suggestions for improvements to +Robert Alessi + +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. + +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. + +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. +--]] + +tanwinnovoc = { + {a="uN", b=""}, + {a="(aN)(_A)", b="ى"}, + {a="(T)(aN)", b="%1"}, + {a="([^TA])(aN)", b="%1ا"}, + {a="iN", b=""} +} + +longvnovoc = { + {a="A", b="ا"}, + {a="U", b="و"}, + {a="I", b="ي"} +} + +shortvnovoc = { + {a="u", b=""}, + {a="a", b=""}, + {a="i", b=""} +} + +-- return { +-- raw = raw, +-- hamza = hamza, +-- trigraphs = trigraphs, +-- tanwin = tanwin, +-- digraphs = digraphs, +-- single = single, +-- longv = longv, +-- shortv = shortv, +-- null =null +-- } -- cgit v1.2.3