aboutsummaryrefslogtreecommitdiff
path: root/arabluatex.lua
diff options
context:
space:
mode:
Diffstat (limited to 'arabluatex.lua')
-rw-r--r--arabluatex.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/arabluatex.lua b/arabluatex.lua
index df23ddc..23abbc9 100644
--- a/arabluatex.lua
+++ b/arabluatex.lua
@@ -239,6 +239,9 @@ local function transdmg(str)
239 for i = 1,#shortvtrdmg do 239 for i = 1,#shortvtrdmg do
240 inside = string.gsub(inside, shortvtrdmg[i].a, shortvtrdmg[i].b) 240 inside = string.gsub(inside, shortvtrdmg[i].a, shortvtrdmg[i].b)
241 end 241 end
242 for i = 1,#nulltr do
243 inside = string.gsub(inside, nulltr[i].a, nulltr[i].b)
244 end
242 return string.format("\\txtrans{%s}", inside) 245 return string.format("\\txtrans{%s}", inside)
243 end) 246 end)
244return str 247return str
@@ -271,6 +274,9 @@ local function transloc(str)
271 for i = 1,#finaltrloc do 274 for i = 1,#finaltrloc do
272 inside = string.gsub(inside, finaltrloc[i].a, finaltrloc[i].b) 275 inside = string.gsub(inside, finaltrloc[i].a, finaltrloc[i].b)
273 end 276 end
277 for i = 1,#nulltr do
278 inside = string.gsub(inside, nulltr[i].a, nulltr[i].b)
279 end
274 return string.format("\\txtrans{%s}", inside) 280 return string.format("\\txtrans{%s}", inside)
275 end) 281 end)
276return str 282return str