aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Alessi <alessi@robertalessi.net>2022-08-30 07:15:54 +0200
committerRobert Alessi <alessi@robertalessi.net>2022-08-30 07:15:54 +0200
commit8ae25bd88aa372e55836bfdf8a06b2d2195a4268 (patch)
tree29b90b94cfa2136f8e00ac32f7516b12c331705a
parent0888a3817b7726d3d572de7c040d6ebf8f10dda8 (diff)
downloadekdosis-8ae25bd88aa372e55836bfdf8a06b2d2195a4268.tar.gz
texpatttotei(): do ekd@[oc][bs] replacements once
-rw-r--r--ekdosis.dtx8
1 files changed, 4 insertions, 4 deletions
diff --git a/ekdosis.dtx b/ekdosis.dtx
index d2bb237..a7a5b49 100644
--- a/ekdosis.dtx
+++ b/ekdosis.dtx
@@ -11843,12 +11843,12 @@ local function texpatttotei(str)
11843 while string.find(str, texpatttotags[i].a) 11843 while string.find(str, texpatttotags[i].a)
11844 do 11844 do
11845 str = string.gsub(str, texpatttotags[i].a, texpatttotags[i].b) 11845 str = string.gsub(str, texpatttotags[i].a, texpatttotags[i].b)
11846 str = string.gsub(str, "ekd@ob%{", "")
11847 str = string.gsub(str, "%}ekd@cb", "")
11848 str = string.gsub(str, "ekd@os%[", "")
11849 str = string.gsub(str, "%]ekd@cs", "")
11850 end 11846 end
11851 end 11847 end
11848 str = string.gsub(str, "ekd@ob%{", "")
11849 str = string.gsub(str, "%}ekd@cb", "")
11850 str = string.gsub(str, "ekd@os%[", "")
11851 str = string.gsub(str, "%]ekd@cs", "")
11852 return str 11852 return str
11853end 11853end
11854 11854