From 884fec6d73854a8027dac0edfeb3b63a52c0a1a4 Mon Sep 17 00:00:00 2001 From: Robert Alessi Date: Mon, 26 Jun 2017 01:32:21 +0200 Subject: bugfix: initial hamzah after hyphen was broken; a couple of typos --- arabluatex_trans.lua | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'arabluatex_trans.lua') diff --git a/arabluatex_trans.lua b/arabluatex_trans.lua index 31e00b2..52167e2 100644 --- a/arabluatex_trans.lua +++ b/arabluatex_trans.lua @@ -108,11 +108,11 @@ hamzatrdmg = { -- then the 'initial' rules for the remaining cases {a="^(')([ua])", b="ʾ%2"}, {a="^(')(i)", b="ʾ%2"}, - -- consider replacing initial %W with [%s%(%[%<]: + -- consider replacing initial %W with [%s%(%[%<%-]: -- {a="(%W)(')([ua])", b="%1ʾ%3"}, -- {a="(%W)(')(i)", b="%1ʾ%3"}, - {a="([%s%(%[%<])(')([ua])", b="%1ʾ%3"}, - {a="([%s%(%[%<])(')(i)", b="%1ʾ%3"}, + {a="([%s%(%[%<%-])(')([ua])", b="%1ʾ%3"}, + {a="([%s%(%[%<%-])(')(i)", b="%1ʾ%3"}, -- final {a="([Iy])(')(aN)$", b="%1ʾ%3"}, {a="([Iy])(')(aN)(%W)", b="%1ʾ%3%4"}, @@ -474,11 +474,11 @@ hamzatrloc = { -- initial (needs both ^ and %W patterns) {a="^(')([ua])", b="%2"}, {a="^(')(i)", b="%2"}, - -- consider replacing initial %W with [%s%(%[%<]: + -- consider replacing initial %W with [%s%(%[%<%-]: -- {a="(%W)(')([ua])", b="%1%3"}, -- {a="(%W)(')(i)", b="%1%3"}, - {a="([%s%(%[%<])(')([ua])", b="%1%3"}, - {a="([%s%(%[%<])(')(i)", b="%1%3"}, + {a="([%s%(%[%<%-])(')([ua])", b="%1%3"}, + {a="([%s%(%[%<%-])(')(i)", b="%1%3"}, -- final {a="([Iy])(')(aN)$", b="%1ʾ%3"}, {a="([Iy])(')(aN)(%W)", b="%1ʾ%3%4"}, @@ -729,11 +729,11 @@ hamzatrarabica = { -- ≠ from hamzatrloc: initial hamza has to be held -- hold it for now (see below, beginning of digraphs table) {a="^(')([ua])", b="@%2"}, {a="^(')(i)", b="@%2"}, - -- consider replacing initial %W with [%s%(%[%<]: + -- consider replacing initial %W with [%s%(%[%<%-]: -- {a="(%W)(')([ua])", b="%1@%3"}, -- {a="(%W)(')(i)", b="%1@%3"}, - {a="([%s%(%[%<])(')([ua])", b="%1@%3"}, - {a="([%s%(%[%<])(')(i)", b="%1@%3"}, + {a="([%s%(%[%<%-])(')([ua])", b="%1@%3"}, + {a="([%s%(%[%<%-])(')(i)", b="%1@%3"}, -- final {a="([Iy])(')(aN)$", b="%1ʾ%3"}, {a="([Iy])(')(aN)(%W)", b="%1ʾ%3%4"}, -- cgit v1.2.3