From 18cfe1b93e2dd8e9ad7c563e4ccee78a2302767c Mon Sep 17 00:00:00 2001 From: Robert Alessi Date: Tue, 31 Mar 2020 16:34:08 +0200 Subject: some missing \par in ekdosis.mkenv() --- ekdosis.dtx | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/ekdosis.dtx b/ekdosis.dtx index 2627afe..0c3b6e2 100644 --- a/ekdosis.dtx +++ b/ekdosis.dtx @@ -1982,30 +1982,30 @@ function ekdosis.mkenv() if isfound(texts_w_apparatus, aligned_texts[i].text) then table.insert(environments, "\\NewDocumentEnvironment{".. aligned_texts[i].text.."}{}" - .."{\\switchcolumn[".. aligned_texts[i].column.."]" - .."\n" + .."{\\begin{nthcolumn}{".. aligned_texts[i].column.."}" .."\\begin{ekdosis}" - .."\n" .."\\csname ekd@storecol\\endcsname{\\thecolumn}" - .."\n" - .."}{\\end{ekdosis}}") + .."\\par" + .."}{\\end{ekdosis}" + .."\\end{nthcolumn}}") table.insert(environments, "\\NewDocumentEnvironment{".. aligned_texts[i].text.."*}{}" - .."{\\switchcolumn[".. aligned_texts[i].column.."]*" - .."\n" + .."{\\begin{nthcolumn*}{".. aligned_texts[i].column.."}[]" .."\\begin{ekdosis}" - .."\n" .."\\csname ekd@storecol\\endcsname{\\thecolumn}" - .."\n" - .."}{\\end{ekdosis}}") + .."\\par" + .."}{" + .."\\end{ekdosis}" + .."\\end{nthcolumn*}}") else table.insert(environments, "\\NewDocumentEnvironment{".. aligned_texts[i].text.."}{}" - .."{\\switchcolumn[".. aligned_texts[i].column.."]" - .."\n" - .."}{}") + .."{\\begin{nthcolumn}{".. aligned_texts[i].column.."}" + .."\\par" + .."}{\\end{nthcolumn}}") table.insert(environments, "\\NewDocumentEnvironment{".. aligned_texts[i].text.."*}{}" - .."{\\switchcolumn["..aligned_texts[i].column.."]*" - .."\n" - .."}{}") + .."{\\begin{nthcolumn*}{"..aligned_texts[i].column.."}[]" + .."\\par" + .."}{" + .."\\end{nthcolumn*}}") end end str = table.concat(environments) -- cgit v1.2.3