aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ekdosis.dtx24
1 files changed, 12 insertions, 12 deletions
diff --git a/ekdosis.dtx b/ekdosis.dtx
index aac91f8..9518bf0 100644
--- a/ekdosis.dtx
+++ b/ekdosis.dtx
@@ -493,7 +493,7 @@ idno={}, msName={}, origDate={}][3]{%
493 \footnotesize\apparatus\unless\ifekd@mapps\ekd@end@apparatus\fi% 493 \footnotesize\apparatus\unless\ifekd@mapps\ekd@end@apparatus\fi%
494 \if@pkg@parnotes\parnotes\parnotereset\else\fi% 494 \if@pkg@parnotes\parnotes\parnotereset\else\fi%
495 }% 495 }%
496 \unless\ifekd@mapps\unconditional@appin{\rule{5cm}{0.5pt}\newline}\fi 496 \unless\ifekd@mapps\unconditional@appin{\rule{2truein}{0.5pt}\newline}\fi
497} 497}
498\def\add@apparatus{% 498\def\add@apparatus{%
499 \test@apparatus% 499 \test@apparatus%
@@ -516,14 +516,6 @@ idno={}, msName={}, origDate={}][3]{%
516\NewDocumentCommand{\app}{O{} > { \TrimSpaces } +m}{% 516\NewDocumentCommand{\app}{O{} > { \TrimSpaces } +m}{%
517 \presetkeys[ekd]{appnote}{type=default}{}% 517 \presetkeys[ekd]{appnote}{type=default}{}%
518 \setkeys[ekd]{appnote}{#1}% 518 \setkeys[ekd]{appnote}{#1}%
519 \ifekd@mapps%
520 \ifnum%
521 \luadirect{tex.sprint(ekdosis.get_bagunits(\luastringO{\ekdan@type}))}
522 = 1
523 \boolfalse{subsq@unit@\ekdan@type}
524 \fi%
525 \luadirect{ekdosis.increment_bagunits(\luastringO{\ekdan@type})}%
526 \fi%
527 \ekd@isinapptrue% 519 \ekd@isinapptrue%
528 \stepcounter{ekd@lab}% 520 \stepcounter{ekd@lab}%
529 \zlabel{ekd:\theekd@lab}% 521 \zlabel{ekd:\theekd@lab}%
@@ -534,8 +526,7 @@ idno={}, msName={}, origDate={}][3]{%
534 ekdosis.storeabspg(\luastring{\zref@extract{ekd:\theekd@lab}{abspage}}, 526 ekdosis.storeabspg(\luastring{\zref@extract{ekd:\theekd@lab}{abspage}},
535 "pg_ii")}% 527 "pg_ii")}%
536 \luadirect{tex.sprint(ekdosis.removesp(\luastringN{#2}))}% 528 \luadirect{tex.sprint(ekdosis.removesp(\luastringN{#2}))}%
537 \ekd@isinappfalse% 529 \ekd@isinappfalse}
538 \subsq@unittrue}
539\def\current@ref@arg#1#2{{\textdir TLT\noexpand\bfseries% 530\def\current@ref@arg#1#2{{\textdir TLT\noexpand\bfseries%
540 \ifnum% 531 \ifnum%
541 \getpagerefnumber{#1} 532 \getpagerefnumber{#1}
@@ -642,6 +633,14 @@ idno={}, msName={}, origDate={}][3]{%
642 \luadirect{ekdosis.dolnlab(\luastringN{#2})}% 633 \luadirect{ekdosis.dolnlab(\luastringN{#2})}%
643 \bgroup% 634 \bgroup%
644 \setkeys[ekd]{lemrdg,lem}{#1}% 635 \setkeys[ekd]{lemrdg,lem}{#1}%
636 \ifekd@mapps%
637 \ifnum%
638 \luadirect{tex.sprint(ekdosis.get_bagunits(\luastringO{\ekdan@type}))}
639 = 1
640 \boolfalse{subsq@unit@\ekdan@type}
641 \fi%
642 \luadirect{ekdosis.increment_bagunits(\luastringO{\ekdan@type})}%
643 \fi%
645 \ifekdl@nolem\edef\lem@app{% 644 \ifekdl@nolem\edef\lem@app{%
646 \hskip .75em 645 \hskip .75em
647 \ifekd@mapps 646 \ifekd@mapps
@@ -727,6 +726,7 @@ idno={}, msName={}, origDate={}][3]{%
727 \fi% 726 \fi%
728 \egroup% 727 \egroup%
729 \ekd@isinlemfalse% 728 \ekd@isinlemfalse%
729 \subsq@unittrue%
730} 730}
731\NewDocumentCommand{\rdg}{O{} m}{% 731\NewDocumentCommand{\rdg}{O{} m}{%
732 \bgroup% 732 \bgroup%
@@ -1685,7 +1685,7 @@ function ekdosis.appout()
1685 if string.match(t, "<"..cur_abs_pg.."%-"..n..">.-</"..cur_abs_pg.."%-"..n..">") 1685 if string.match(t, "<"..cur_abs_pg.."%-"..n..">.-</"..cur_abs_pg.."%-"..n..">")
1686 then 1686 then
1687 -- table.insert(output, "BEGIN") 1687 -- table.insert(output, "BEGIN")
1688 table.insert(output, "\\par\\rule{5cm}{0.5pt}\\newline") 1688 table.insert(output, "\\par\\rule{2truein}{0.5pt}\\newline")
1689 for i in string.gmatch(t, 1689 for i in string.gmatch(t,
1690 "<"..cur_abs_pg.."%-"..n..">.-</"..cur_abs_pg.."%-"..n..">") 1690 "<"..cur_abs_pg.."%-"..n..">.-</"..cur_abs_pg.."%-"..n..">")
1691 do 1691 do