diff options
-rw-r--r-- | ekdosis.dtx | 32 |
1 files 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() | |||
1982 | if isfound(texts_w_apparatus, aligned_texts[i].text) | 1982 | if isfound(texts_w_apparatus, aligned_texts[i].text) |
1983 | then | 1983 | then |
1984 | table.insert(environments, "\\NewDocumentEnvironment{".. aligned_texts[i].text.."}{}" | 1984 | table.insert(environments, "\\NewDocumentEnvironment{".. aligned_texts[i].text.."}{}" |
1985 | .."{\\switchcolumn[".. aligned_texts[i].column.."]" | 1985 | .."{\\begin{nthcolumn}{".. aligned_texts[i].column.."}" |
1986 | .."\n" | ||
1987 | .."\\begin{ekdosis}" | 1986 | .."\\begin{ekdosis}" |
1988 | .."\n" | ||
1989 | .."\\csname ekd@storecol\\endcsname{\\thecolumn}" | 1987 | .."\\csname ekd@storecol\\endcsname{\\thecolumn}" |
1990 | .."\n" | 1988 | .."\\par" |
1991 | .."}{\\end{ekdosis}}") | 1989 | .."}{\\end{ekdosis}" |
1990 | .."\\end{nthcolumn}}") | ||
1992 | table.insert(environments, "\\NewDocumentEnvironment{".. aligned_texts[i].text.."*}{}" | 1991 | table.insert(environments, "\\NewDocumentEnvironment{".. aligned_texts[i].text.."*}{}" |
1993 | .."{\\switchcolumn[".. aligned_texts[i].column.."]*" | 1992 | .."{\\begin{nthcolumn*}{".. aligned_texts[i].column.."}[]" |
1994 | .."\n" | ||
1995 | .."\\begin{ekdosis}" | 1993 | .."\\begin{ekdosis}" |
1996 | .."\n" | ||
1997 | .."\\csname ekd@storecol\\endcsname{\\thecolumn}" | 1994 | .."\\csname ekd@storecol\\endcsname{\\thecolumn}" |
1998 | .."\n" | 1995 | .."\\par" |
1999 | .."}{\\end{ekdosis}}") | 1996 | .."}{" |
1997 | .."\\end{ekdosis}" | ||
1998 | .."\\end{nthcolumn*}}") | ||
2000 | else | 1999 | else |
2001 | table.insert(environments, "\\NewDocumentEnvironment{".. aligned_texts[i].text.."}{}" | 2000 | table.insert(environments, "\\NewDocumentEnvironment{".. aligned_texts[i].text.."}{}" |
2002 | .."{\\switchcolumn[".. aligned_texts[i].column.."]" | 2001 | .."{\\begin{nthcolumn}{".. aligned_texts[i].column.."}" |
2003 | .."\n" | 2002 | .."\\par" |
2004 | .."}{}") | 2003 | .."}{\\end{nthcolumn}}") |
2005 | table.insert(environments, "\\NewDocumentEnvironment{".. aligned_texts[i].text.."*}{}" | 2004 | table.insert(environments, "\\NewDocumentEnvironment{".. aligned_texts[i].text.."*}{}" |
2006 | .."{\\switchcolumn["..aligned_texts[i].column.."]*" | 2005 | .."{\\begin{nthcolumn*}{"..aligned_texts[i].column.."}[]" |
2007 | .."\n" | 2006 | .."\\par" |
2008 | .."}{}") | 2007 | .."}{" |
2008 | .."\\end{nthcolumn*}}") | ||
2009 | end | 2009 | end |
2010 | end | 2010 | end |
2011 | str = table.concat(environments) | 2011 | str = table.concat(environments) |