diff options
-rw-r--r-- | ekdosis.dtx | 8 |
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 |
1120 | end | 1120 | end |