aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Alessi <alessi@robertalessi.net>2020-03-26 17:21:38 +0100
committerRobert Alessi <alessi@robertalessi.net>2020-03-26 17:21:51 +0100
commitafc5f309daa548287986176461d4493045f761f7 (patch)
treed8db4e44c3a31ac088f07139159f02c3fd6ab18b
parent2c8259d908346f1ff51d8838caaf3cd80693f103 (diff)
downloadekdosis-afc5f309daa548287986176461d4493045f761f7.tar.gz
nullify pagewiselinenumbers (look again into this later)
-rw-r--r--ekdosis.dtx12
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:---