aboutsummaryrefslogtreecommitdiff
path: root/arabluatex.lua
diff options
context:
space:
mode:
authorRobert Alessi <alessi@robertalessi.net>2016-07-06 10:28:43 +0200
committerRobert Alessi <alessi@robertalessi.net>2016-07-06 10:28:43 +0200
commitc81e964d4b9ebea5776e35c52cf626b861046483 (patch)
treee62f5f333b2417157ef69651f3c025b675bafc4d /arabluatex.lua
parent6035e9952c8f5ee43148df4a62197209e521dfb3 (diff)
downloadarabluatex-c81e964d4b9ebea5776e35c52cf626b861046483.tar.gz
allow the local hyphenation command \- in Arabic environments
Diffstat (limited to 'arabluatex.lua')
-rw-r--r--arabluatex.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/arabluatex.lua b/arabluatex.lua
index b21ee63..435fe83 100644
--- a/arabluatex.lua
+++ b/arabluatex.lua
@@ -129,6 +129,7 @@ local function takeoutcapetc(str)
129 return string.format("%s", body) 129 return string.format("%s", body)
130 end) 130 end)
131 str = string.gsub(str, "\\linebreak", "") 131 str = string.gsub(str, "\\linebreak", "")
132 str = string.gsub(str, "\\%-", "")
132 return str 133 return str
133end 134end
134 135