diff options
Diffstat (limited to 'arabluatex.lua')
-rw-r--r-- | arabluatex.lua | 6 |
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) |
244 | return str | 247 | return 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) |
276 | return str | 282 | return str |