diff options
-rw-r--r-- | arabluatex.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arabluatex.lua b/arabluatex.lua index c0e9042..5449689 100644 --- a/arabluatex.lua +++ b/arabluatex.lua | |||
@@ -1100,6 +1100,10 @@ function uc(str) | |||
1100 | for i = 1,#lcuc do | 1100 | for i = 1,#lcuc do |
1101 | str = string.gsub(str, "(%s[%(%<%[]?)"..lcuc[i].a, "%1"..lcuc[i].b) | 1101 | str = string.gsub(str, "(%s[%(%<%[]?)"..lcuc[i].a, "%1"..lcuc[i].b) |
1102 | end | 1102 | end |
1103 | str = gsub(str, -cmd * bcbraces, function(body) | ||
1104 | body = string.sub(body, 2, -2) | ||
1105 | return string.format("%s", body) | ||
1106 | end) | ||
1103 | if export_utf == "yes" then | 1107 | if export_utf == "yes" then |
1104 | tofile = str | 1108 | tofile = str |
1105 | tooutfile(tofile) | 1109 | tooutfile(tofile) |