diff options
author | Karl Berry <karl@freefriends.org> | 2016-09-14 21:08:37 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-09-14 21:08:37 +0000 |
commit | cce4cfcca515abf63a126ff196f406246f4d7be3 (patch) | |
tree | 53f4b3e18ca8470fb0569343d365dcfc29e69fb4 /Master/texmf-dist/tex/lualatex/arabluatex/arabluatex.lua | |
parent | 957c08a59cd6471c374be341e2c322bd1e710d3e (diff) |
arabluatex (14sep16)
git-svn-id: svn://tug.org/texlive/trunk@42059 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/lualatex/arabluatex/arabluatex.lua')
-rw-r--r-- | Master/texmf-dist/tex/lualatex/arabluatex/arabluatex.lua | 9 |
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 |