diff options
-rw-r--r-- | ekdosis.dtx | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/ekdosis.dtx b/ekdosis.dtx index e20075b..e7d3660 100644 --- a/ekdosis.dtx +++ b/ekdosis.dtx | |||
@@ -1057,16 +1057,22 @@ Running "make install" installs the files in the local TeX tree. | |||
1057 | ekdosis.storeabspg(\luastring{\zref@extract{ekd:\theekd@lab}{abspage}}, | 1057 | ekdosis.storeabspg(\luastring{\zref@extract{ekd:\theekd@lab}{abspage}}, |
1058 | "pg_i")}% | 1058 | "pg_i")}% |
1059 | } | 1059 | } |
1060 | \NewDocumentCommand{\EkdosisOn}{}{\ekd@statetrue} | 1060 | \NewDocumentCommand{\EkdosisOn}{}{% |
1061 | \ekd@statetrue} | ||
1061 | \NewDocumentCommand{\EkdosisOff}{}{% | 1062 | \NewDocumentCommand{\EkdosisOff}{}{% |
1062 | \ekd@statefalse% | 1063 | \ekd@statefalse% |
1063 | } | 1064 | } |
1064 | \NewDocumentEnvironment{ekdosis}{+b}{% | 1065 | \NewDocumentEnvironment{ekdosis}{+b}{% |
1065 | \begin{linenumbers} | 1066 | \let\setpagewiselinenumbers\relax% |
1067 | \let\pagewiselinenumbers\relax% | ||
1068 | \let\endpagewiselinenumbers\relax% | ||
1069 | \let\runningpagewiselinenumbers\relax% | ||
1070 | \let\realpagewiselinenumbers\relax% | ||
1071 | \begin{runninglinenumbers} | ||
1066 | \EkdosisStart | 1072 | \EkdosisStart |
1067 | \EkdosisOn#1}{% | 1073 | \EkdosisOn#1}{% |
1068 | \EkdosisOff | 1074 | \EkdosisOff |
1069 | \end{linenumbers}% | 1075 | \end{runninglinenumbers}% |
1070 | \iftei@export\luadirect{ekdosis.exporttei(\luastringN{#1})}\else\fi} | 1076 | \iftei@export\luadirect{ekdosis.exporttei(\luastringN{#1})}\else\fi} |
1071 | % \end{macrocode} | 1077 | % \end{macrocode} |
1072 | % Alignment:--- | 1078 | % Alignment:--- |