From ead77bc75c6da50050a8084d83bb0f59e1c7b87d Mon Sep 17 00:00:00 2001
From: Robert Alessi <alessi@robertalessi.net>
Date: Fri, 12 Jun 2020 19:36:31 +0200
Subject: tidy up

---
 ekdosis.dtx | 27 +--------------------------
 1 file changed, 1 insertion(+), 26 deletions(-)

(limited to 'ekdosis.dtx')

diff --git a/ekdosis.dtx b/ekdosis.dtx
index 1a184f7..49ce5b9 100644
--- a/ekdosis.dtx
+++ b/ekdosis.dtx
@@ -515,15 +515,12 @@ along with this program.  If not, see
 \protected\def\LRnum#1{\bgroup\textdir TLT#1\egroup}
 \newcounter{ekd@lab}
 \globalcounter{ekd@lab}
- % \def\unconditional@appin#1{%
- %   \luadirect{ekdosis.appin(\luastringN{#1})}%
- % }
 \NewDocumentCommand{\unconditional@appin}{o m}{%
   \IfNoValueTF{#1}
   {\luadirect{ekdosis.appin(\luastringO{#2})}}
   {\luadirect{ekdosis.appin(\luastringO{#2}, \luastringO{#1})}}%
 }
-% \def\blfootnote{\gdef\@thefnmark{\relax}\@footnotetext}
+ % \def\blfootnote{\gdef\@thefnmark{\relax}\@footnotetext}
 \def\blfootnote{\gdef\@thefnmark{}\@blfootnotetext}
 \long\def\@blfootnotetext#1{\insert\footins{%
     \reset@font\footnotesize
@@ -552,27 +549,17 @@ along with this program.  If not, see
 \def\ekd@unit@delim{}
 \NewDocumentCommand{\SetUnitDelimiter}{m}{\def\ekd@unit@delim{#1}}
 \def\ekd@default@rule{\rule{2truein}{0.5pt}}
- % \def\ekd@default@rule{\vskip-\baselineskip\mbox{}\newline%
- %    \rule{2truein}{0.5pt}}
- % \def\footnoterule{\vskip-\baselineskip}
- % \def\pcol@footnoterule{}
 \newif\iffootnoterule
 \let\dflt@footnoterule\footnoterule
 \let\dflt@pcol@footnoterule\pcol@footnoterule
 \renewcommand\footnoterule{%
   \iffootnoterule
   \dflt@footnoterule%
-  \else
-  % \noindent\ekd@default@rule%
-  % \advance\skip\footins 4\p@\@plus2\p@\relax%
   \fi
 }
 \renewcommand\pcol@footnoterule{%
   \iffootnoterule
   \dflt@pcol@footnoterule%
-  \else
-  % \noindent\ekd@default@rule%
-  % \advance\skip\footins 4\p@\@plus2\p@\relax%
   \fi
 }
 \newcommand*{\NLS}{%
@@ -614,8 +601,6 @@ along with this program.  If not, see
     \if@pkg@parnotes\parnotes\parnotereset\else\fi%
   }%
   \fi%
-  % \unless\ifekd@mapps\unconditional@appin{%
-  %   \expandafter{\ekd@default@rule}\newline}\fi
 }
 \def\add@apparatus{%
   \test@apparatus%
@@ -634,7 +619,6 @@ along with this program.  If not, see
   {\luadirect{tex.sprint(ekdosis.mdvappend(\luastringO{#2}))}}
   {\luadirect{tex.sprint(ekdosis.mdvappend(\luastringO{#2},
       \luastringO{#1}))}}}
- % \define@cmdkey[ekd]{appnote}[ekdan@]{type}[default]{}
 \ekvdefinekeys{appnote}{
    store type = \ekdan@type,
    initial type = default
@@ -642,8 +626,6 @@ along with this program.  If not, see
 \NewDocumentCommand{\EkdosisDefaultApparatus}{m}{%
   \ekvset{appnote}{type=#1}}
 \NewDocumentCommand{\app}{O{} > { \TrimSpaces } +m}{%
-  % \presetkeys[ekd]{appnote}{type=default}{}%
-  % \setkeys[ekd]{appnote}{#1}%
   \begingroup
   \ekvset{appnote}{#1}%
   \ekd@isinapptrue%
@@ -930,9 +912,6 @@ along with this program.  If not, see
   \fi%
   \egroup%
 }
- % \define@cmdkeys[ekd]{note}[ekdn@]{lem, labelb, labele}
- % \define@cmdkey[ekd]{note}[ekdn@]{sep}{}
- % \presetkeys[ekd]{note}{sep=\ekdsep}{}
 \ekvdefinekeys{note}{
   store type = \ekdan@type,
   store lem = \ekdn@lem,
@@ -943,10 +922,8 @@ along with this program.  If not, see
   initial sep = \ekdsep
  }
 \NewDocumentCommand{\note@noapp}{O{} +m}{%
-  % \presetkeys[ekd]{appnote}{type=default}{}%
   \bgroup%
   \ekvset{note}{#1}
-  % \setkeys[ekd]{appnote,note}{#1}%
   \stepcounter{ekd@lab}%
   \zlabel{ekd:\theekd@lab}%
   \luadirect{ekdosis.storeabspg(
@@ -1087,10 +1064,8 @@ along with this program.  If not, see
 \NewDocumentEnvironment{ekdosis}{+b}{%
   \ekd@setlineno%
   \runninglinenumbers
-    % \EkdosisColStart
     \EkdosisOn#1}{%
     \EkdosisOff
-    % \EkdosisColStop
   \endrunninglinenumbers%
   \iftei@export\luadirect{ekdosis.exporttei(\luastringN{\par #1\par })}\else\fi}
 %    \end{macrocode}
-- 
cgit v1.2.3

