aboutsummaryrefslogtreecommitdiff
path: root/ekdosis.dtx
diff options
context:
space:
mode:
authorRobert Alessi <alessi@robertalessi.net>2019-10-25 11:03:31 +0200
committerRobert Alessi <alessi@robertalessi.net>2019-10-25 11:03:31 +0200
commit02429663d98f4dfb91d504a362fc480393c14f8b (patch)
tree9661370ceadbec200c8e055c7b69223446e4b22d /ekdosis.dtx
parent0d6bc09305d8139778e9bbf95910e614ee66bb99 (diff)
downloadekdosis-02429663d98f4dfb91d504a362fc480393c14f8b.tar.gz
apparatus layout options: either 'float' or 'footins' for now
Diffstat (limited to 'ekdosis.dtx')
-rw-r--r--ekdosis.dtx31
1 files changed, 22 insertions, 9 deletions
diff --git a/ekdosis.dtx b/ekdosis.dtx
index fd99891..105dea3 100644
--- a/ekdosis.dtx
+++ b/ekdosis.dtx
@@ -310,6 +310,15 @@ Running "make install" installs the files in the local TeX tree.
310% Packages that are required by \package{ekdosis}: 310% Packages that are required by \package{ekdosis}:
311% \begin{macrocode} 311% \begin{macrocode}
312\RequirePackage{xkeyval} 312\RequirePackage{xkeyval}
313\newif\if@pkg@float
314\newif\if@pkg@footins
315\define@choicekey{ekdosis.sty}{layout}{float, footins}[float]{%
316 \edef\layout@float{float}
317 \edef\layout@footins{footins}
318 \edef\@tempa{#1}
319 \ifx\@tempa\layout@float\@pkg@floattrue\fi
320 \ifx\@tempa\layout@footins\@pkg@floatfalse\@pkg@footinstrue\fi
321}
313\newif\if@parnotesroman 322\newif\if@parnotesroman
314\newif\if@pkg@parnotes 323\newif\if@pkg@parnotes
315\define@choicekey+{ekdosis.sty}{parnotes}{true, false, roman}[true]{% 324\define@choicekey+{ekdosis.sty}{parnotes}{true, false, roman}[true]{%
@@ -339,7 +348,7 @@ Running "make install" installs the files in the local TeX tree.
339 \AtBeginDocument{\luadirect{ekdosis.openteistream()}}% 348 \AtBeginDocument{\luadirect{ekdosis.openteistream()}}%
340 \AtEndDocument{\luadirect{ekdosis.closeteistream("tidy")}} 349 \AtEndDocument{\luadirect{ekdosis.closeteistream("tidy")}}
341 \else\fi\fi\fi} 350 \else\fi\fi\fi}
342\ExecuteOptionsX{} 351\ExecuteOptionsX{layout}
343\ProcessOptionsX\relax 352\ProcessOptionsX\relax
344\newcommand{\dontusepackage}[2][]{% 353\newcommand{\dontusepackage}[2][]{%
345 \@namedef{ver@#2.sty}{9999/12/31}% 354 \@namedef{ver@#2.sty}{9999/12/31}%
@@ -557,6 +566,7 @@ idno={}, msName={}, origDate={}][3]{%
557\newfootnote{@ekd} 566\newfootnote{@ekd}
558\def\add@@apparatus{% 567\def\add@@apparatus{%
559 \if@pkg@parnotes\parnotes\else\fi% 568 \if@pkg@parnotes\parnotes\else\fi%
569 \if@pkg@footins%
560 \bgroup% 570 \bgroup%
561 \ifrtl@app\setRL\fi% 571 \ifrtl@app\setRL\fi%
562 \blfootnote{% 572 \blfootnote{%
@@ -570,14 +580,17 @@ idno={}, msName={}, origDate={}][3]{%
570 \if@pkg@parnotes\parnotes\parnotereset\else\fi% 580 \if@pkg@parnotes\parnotes\parnotereset\else\fi%
571 }% 581 }%
572 \egroup% 582 \egroup%
573 % \keyparbox[b!]{}{\ifrtl@app\setRL\else\setLR\fi% 583 \fi%
574 % \if@pkg@parnotes% 584 \if@pkg@float%
575 % \if@parnotesroman% 585 \keyparbox[b!]{}{\ifrtl@app\setRL\else\setLR\fi%
576 % \renewcommand*{\theparnotemark}{\roman{parnotemark}}\else\fi% 586 \if@pkg@parnotes%
577 % \parnoteclear\else\fi% 587 \if@parnotesroman%
578 % \footnotesize\apparatus\unless\ifekd@mapps\ekd@end@apparatus\fi% 588 \renewcommand*{\theparnotemark}{\roman{parnotemark}}\else\fi%
579 % \if@pkg@parnotes\parnotes\parnotereset\else\fi% 589 \parnoteclear\else\fi%
580 % }% 590 \footnotesize\apparatus\unless\ifekd@mapps\ekd@end@apparatus\fi%
591 \if@pkg@parnotes\parnotes\parnotereset\else\fi%
592 }%
593 \fi%
581 % \unless\ifekd@mapps\unconditional@appin{% 594 % \unless\ifekd@mapps\unconditional@appin{%
582 % \expandafter{\ekd@default@rule}\newline}\fi 595 % \expandafter{\ekd@default@rule}\newline}\fi
583} 596}