aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ekdosis.dtx4
1 files changed, 3 insertions, 1 deletions
diff --git a/ekdosis.dtx b/ekdosis.dtx
index d5c6bd5..a7a6dac 100644
--- a/ekdosis.dtx
+++ b/ekdosis.dtx
@@ -577,7 +577,7 @@ idno={}, msName={}, origDate={}][3]{%
577 \egroup% 577 \egroup%
578 \fi% 578 \fi%
579 \if@pkg@float% 579 \if@pkg@float%
580 \keyparbox[b!]{}{\ifrtl@app\setRL\fi% 580 \keyparbox[!b]{}{\ifrtl@app\setRL\fi%
581 \if@pkg@parnotes% 581 \if@pkg@parnotes%
582 \if@parnotesroman% 582 \if@parnotesroman%
583 \renewcommand*{\theparnotemark}{\roman{parnotemark}}\else\fi% 583 \renewcommand*{\theparnotemark}{\roman{parnotemark}}\else\fi%
@@ -1541,6 +1541,8 @@ end
1541local function cmdtotei(str) 1541local function cmdtotei(str)
1542 for i = 1,#cmdtotags 1542 for i = 1,#cmdtotags
1543 do 1543 do
1544 str = gsub(str, lpeg.P("\\") * lpeg.Cs(cmdtotags[i].a) * spcenc^-1 * bsqbrackets * -bcbraces, "\\%1%2{}")
1545 str = gsub(str, lpeg.P("\\") * lpeg.Cs(cmdtotags[i].a) * spcenc^-1 * -(bsqbrackets + bcbraces), "\\%1[]{}")
1544 str = string.gsub(str, "(\\"..cmdtotags[i].a..")%s?%*?(%b{})", "%1[]%2") 1546 str = string.gsub(str, "(\\"..cmdtotags[i].a..")%s?%*?(%b{})", "%1[]%2")
1545 str = string.gsub(str, "(\\"..cmdtotags[i].a..")%s?%*?(%b[])(%b{})", 1547 str = string.gsub(str, "(\\"..cmdtotags[i].a..")%s?%*?(%b[])(%b{})",
1546 function(cmd, arg, body) 1548 function(cmd, arg, body)