summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/lualatex/arabluatex/arabluatex.lua
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/lualatex/arabluatex/arabluatex.lua')
-rw-r--r--Master/texmf-dist/tex/lualatex/arabluatex/arabluatex.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/lualatex/arabluatex/arabluatex.lua b/Master/texmf-dist/tex/lualatex/arabluatex/arabluatex.lua
index c0e02324e07..35dccff7485 100644
--- a/Master/texmf-dist/tex/lualatex/arabluatex/arabluatex.lua
+++ b/Master/texmf-dist/tex/lualatex/arabluatex/arabluatex.lua
@@ -589,3 +589,12 @@ function abjadify(n)
end
return "\\arb[novoc]{"..abjadnum.."}"
end
+
+function abraces(str)
+ if tex.textdir == "TRT" then
+ str = "\\}"..str.."\\{"
+ elseif tex.textdir == "TLT" then
+ str = "\\{"..str.."\\}"
+ end
+ return str
+end