aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Alessi <alessi@robertalessi.net>2019-04-21 01:31:14 +0200
committerRobert Alessi <alessi@robertalessi.net>2019-04-21 01:31:14 +0200
commit6aed5cb676f076e1174e35e79edb66fd9aef1b16 (patch)
tree61f6d13b7bc22b5cabc287cfc3b176d6780ca9a8
parentf9250ea2485df75b8148aeee6bfaad3c9a45062e (diff)
downloadekdosis-6aed5cb676f076e1174e35e79edb66fd9aef1b16.tar.gz
removed unwanted space before \note*
-rw-r--r--ekdosis.dtx8
1 files changed, 4 insertions, 4 deletions
diff --git a/ekdosis.dtx b/ekdosis.dtx
index 6843859..23afbe2 100644
--- a/ekdosis.dtx
+++ b/ekdosis.dtx
@@ -587,12 +587,12 @@ choice nosep={false,,true}, choice nolem={false,,true}][1]{%
587 |\if@pkg@parnotes|% 587 |\if@pkg@parnotes|%
588 \append@app{% 588 \append@app{%
589 \ifcommandkey{pre}{\commandkey{pre}}{}% 589 \ifcommandkey{pre}{\commandkey{pre}}{}%
590 |\parnote|{#1}% 590 |\unskip\parnote|{#1}%
591 \ifcommandkey{post}{\commandkey{post}}{}% 591 \ifcommandkey{post}{\commandkey{post}}{}%
592 }% 592 }%
593 |\else|% 593 |\else|%
594 \append@app{% 594 \append@app{%
595 |\footnote|{#1}} 595 |\unskip\footnote|{#1}}
596 |\fi|% 596 |\fi|%
597} 597}
598\NewDocumentCommand{\note}{s O{} +m}{% 598\NewDocumentCommand{\note}{s O{} +m}{%
@@ -1113,8 +1113,8 @@ function ekdosis.appout()
1113 end 1113 end
1114 f:close() 1114 f:close()
1115 str = table.concat(output, "\n") 1115 str = table.concat(output, "\n")
1116 str = string.gsub(str, "</"..cur_abs_pg..">", " ") 1116 str = string.gsub(str, "</"..cur_abs_pg..">", "")
1117 str = string.gsub(str, "<"..cur_abs_pg..">", "") 1117 str = string.gsub(str, "<"..cur_abs_pg..">", " ")
1118 return str 1118 return str
1119 else end 1119 else end
1120end 1120end