aboutsummaryrefslogtreecommitdiff
path: root/ekdosis.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'ekdosis.dtx')
-rw-r--r--ekdosis.dtx27
1 files changed, 1 insertions, 26 deletions
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
515\protected\def\LRnum#1{\bgroup\textdir TLT#1\egroup} 515\protected\def\LRnum#1{\bgroup\textdir TLT#1\egroup}
516\newcounter{ekd@lab} 516\newcounter{ekd@lab}
517\globalcounter{ekd@lab} 517\globalcounter{ekd@lab}
518 % \def\unconditional@appin#1{%
519 % \luadirect{ekdosis.appin(\luastringN{#1})}%
520 % }
521\NewDocumentCommand{\unconditional@appin}{o m}{% 518\NewDocumentCommand{\unconditional@appin}{o m}{%
522 \IfNoValueTF{#1} 519 \IfNoValueTF{#1}
523 {\luadirect{ekdosis.appin(\luastringO{#2})}} 520 {\luadirect{ekdosis.appin(\luastringO{#2})}}
524 {\luadirect{ekdosis.appin(\luastringO{#2}, \luastringO{#1})}}% 521 {\luadirect{ekdosis.appin(\luastringO{#2}, \luastringO{#1})}}%
525} 522}
526% \def\blfootnote{\gdef\@thefnmark{\relax}\@footnotetext} 523 % \def\blfootnote{\gdef\@thefnmark{\relax}\@footnotetext}
527\def\blfootnote{\gdef\@thefnmark{}\@blfootnotetext} 524\def\blfootnote{\gdef\@thefnmark{}\@blfootnotetext}
528\long\def\@blfootnotetext#1{\insert\footins{% 525\long\def\@blfootnotetext#1{\insert\footins{%
529 \reset@font\footnotesize 526 \reset@font\footnotesize
@@ -552,27 +549,17 @@ along with this program. If not, see
552\def\ekd@unit@delim{} 549\def\ekd@unit@delim{}
553\NewDocumentCommand{\SetUnitDelimiter}{m}{\def\ekd@unit@delim{#1}} 550\NewDocumentCommand{\SetUnitDelimiter}{m}{\def\ekd@unit@delim{#1}}
554\def\ekd@default@rule{\rule{2truein}{0.5pt}} 551\def\ekd@default@rule{\rule{2truein}{0.5pt}}
555 % \def\ekd@default@rule{\vskip-\baselineskip\mbox{}\newline%
556 % \rule{2truein}{0.5pt}}
557 % \def\footnoterule{\vskip-\baselineskip}
558 % \def\pcol@footnoterule{}
559\newif\iffootnoterule 552\newif\iffootnoterule
560\let\dflt@footnoterule\footnoterule 553\let\dflt@footnoterule\footnoterule
561\let\dflt@pcol@footnoterule\pcol@footnoterule 554\let\dflt@pcol@footnoterule\pcol@footnoterule
562\renewcommand\footnoterule{% 555\renewcommand\footnoterule{%
563 \iffootnoterule 556 \iffootnoterule
564 \dflt@footnoterule% 557 \dflt@footnoterule%
565 \else
566 % \noindent\ekd@default@rule%
567 % \advance\skip\footins 4\p@\@plus2\p@\relax%
568 \fi 558 \fi
569} 559}
570\renewcommand\pcol@footnoterule{% 560\renewcommand\pcol@footnoterule{%
571 \iffootnoterule 561 \iffootnoterule
572 \dflt@pcol@footnoterule% 562 \dflt@pcol@footnoterule%
573 \else
574 % \noindent\ekd@default@rule%
575 % \advance\skip\footins 4\p@\@plus2\p@\relax%
576 \fi 563 \fi
577} 564}
578\newcommand*{\NLS}{% 565\newcommand*{\NLS}{%
@@ -614,8 +601,6 @@ along with this program. If not, see
614 \if@pkg@parnotes\parnotes\parnotereset\else\fi% 601 \if@pkg@parnotes\parnotes\parnotereset\else\fi%
615 }% 602 }%
616 \fi% 603 \fi%
617 % \unless\ifekd@mapps\unconditional@appin{%
618 % \expandafter{\ekd@default@rule}\newline}\fi
619} 604}
620\def\add@apparatus{% 605\def\add@apparatus{%
621 \test@apparatus% 606 \test@apparatus%
@@ -634,7 +619,6 @@ along with this program. If not, see
634 {\luadirect{tex.sprint(ekdosis.mdvappend(\luastringO{#2}))}} 619 {\luadirect{tex.sprint(ekdosis.mdvappend(\luastringO{#2}))}}
635 {\luadirect{tex.sprint(ekdosis.mdvappend(\luastringO{#2}, 620 {\luadirect{tex.sprint(ekdosis.mdvappend(\luastringO{#2},
636 \luastringO{#1}))}}} 621 \luastringO{#1}))}}}
637 % \define@cmdkey[ekd]{appnote}[ekdan@]{type}[default]{}
638\ekvdefinekeys{appnote}{ 622\ekvdefinekeys{appnote}{
639 store type = \ekdan@type, 623 store type = \ekdan@type,
640 initial type = default 624 initial type = default
@@ -642,8 +626,6 @@ along with this program. If not, see
642\NewDocumentCommand{\EkdosisDefaultApparatus}{m}{% 626\NewDocumentCommand{\EkdosisDefaultApparatus}{m}{%
643 \ekvset{appnote}{type=#1}} 627 \ekvset{appnote}{type=#1}}
644\NewDocumentCommand{\app}{O{} > { \TrimSpaces } +m}{% 628\NewDocumentCommand{\app}{O{} > { \TrimSpaces } +m}{%
645 % \presetkeys[ekd]{appnote}{type=default}{}%
646 % \setkeys[ekd]{appnote}{#1}%
647 \begingroup 629 \begingroup
648 \ekvset{appnote}{#1}% 630 \ekvset{appnote}{#1}%
649 \ekd@isinapptrue% 631 \ekd@isinapptrue%
@@ -930,9 +912,6 @@ along with this program. If not, see
930 \fi% 912 \fi%
931 \egroup% 913 \egroup%
932} 914}
933 % \define@cmdkeys[ekd]{note}[ekdn@]{lem, labelb, labele}
934 % \define@cmdkey[ekd]{note}[ekdn@]{sep}{}
935 % \presetkeys[ekd]{note}{sep=\ekdsep}{}
936\ekvdefinekeys{note}{ 915\ekvdefinekeys{note}{
937 store type = \ekdan@type, 916 store type = \ekdan@type,
938 store lem = \ekdn@lem, 917 store lem = \ekdn@lem,
@@ -943,10 +922,8 @@ along with this program. If not, see
943 initial sep = \ekdsep 922 initial sep = \ekdsep
944 } 923 }
945\NewDocumentCommand{\note@noapp}{O{} +m}{% 924\NewDocumentCommand{\note@noapp}{O{} +m}{%
946 % \presetkeys[ekd]{appnote}{type=default}{}%
947 \bgroup% 925 \bgroup%
948 \ekvset{note}{#1} 926 \ekvset{note}{#1}
949 % \setkeys[ekd]{appnote,note}{#1}%
950 \stepcounter{ekd@lab}% 927 \stepcounter{ekd@lab}%
951 \zlabel{ekd:\theekd@lab}% 928 \zlabel{ekd:\theekd@lab}%
952 \luadirect{ekdosis.storeabspg( 929 \luadirect{ekdosis.storeabspg(
@@ -1087,10 +1064,8 @@ along with this program. If not, see
1087\NewDocumentEnvironment{ekdosis}{+b}{% 1064\NewDocumentEnvironment{ekdosis}{+b}{%
1088 \ekd@setlineno% 1065 \ekd@setlineno%
1089 \runninglinenumbers 1066 \runninglinenumbers
1090 % \EkdosisColStart
1091 \EkdosisOn#1}{% 1067 \EkdosisOn#1}{%
1092 \EkdosisOff 1068 \EkdosisOff
1093 % \EkdosisColStop
1094 \endrunninglinenumbers% 1069 \endrunninglinenumbers%
1095 \iftei@export\luadirect{ekdosis.exporttei(\luastringN{\par #1\par })}\else\fi} 1070 \iftei@export\luadirect{ekdosis.exporttei(\luastringN{\par #1\par })}\else\fi}
1096% \end{macrocode} 1071% \end{macrocode}