From 6aed5cb676f076e1174e35e79edb66fd9aef1b16 Mon Sep 17 00:00:00 2001 From: Robert Alessi Date: Sun, 21 Apr 2019 01:31:14 +0200 Subject: removed unwanted space before \note* --- ekdosis.dtx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ekdosis.dtx') 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]{% |\if@pkg@parnotes|% \append@app{% \ifcommandkey{pre}{\commandkey{pre}}{}% - |\parnote|{#1}% + |\unskip\parnote|{#1}% \ifcommandkey{post}{\commandkey{post}}{}% }% |\else|% \append@app{% - |\footnote|{#1}} + |\unskip\footnote|{#1}} |\fi|% } \NewDocumentCommand{\note}{s O{} +m}{% @@ -1113,8 +1113,8 @@ function ekdosis.appout() end f:close() str = table.concat(output, "\n") - str = string.gsub(str, "", " ") - str = string.gsub(str, "<"..cur_abs_pg..">", "") + str = string.gsub(str, "", "") + str = string.gsub(str, "<"..cur_abs_pg..">", " ") return str else end end -- cgit v1.2.3