aboutsummaryrefslogtreecommitdiff
path: root/ekdosis.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'ekdosis.dtx')
-rw-r--r--ekdosis.dtx27
1 files changed, 14 insertions, 13 deletions
diff --git a/ekdosis.dtx b/ekdosis.dtx
index 28b25a3..fb405b1 100644
--- a/ekdosis.dtx
+++ b/ekdosis.dtx
@@ -379,7 +379,7 @@ Running "make install" installs the files in the local TeX tree.
379 /witness/msName/.new value = {}, 379 /witness/msName/.new value = {},
380 /witness/origDate/.new value = {} 380 /witness/origDate/.new value = {}
381} 381}
382\NewDocumentCommand{\DeclareNewWitness}{m m m O{}}{% 382\NewDocumentCommand{\DeclareWitness}{m m m O{}}{%
383 \bgroup 383 \bgroup
384 \options{/witness,#4} 384 \options{/witness,#4}
385 \letoption{/witness/settlement}\settlement@value 385 \letoption{/witness/settlement}\settlement@value
@@ -398,25 +398,25 @@ Running "make install" installs the files in the local TeX tree.
398 \luastringO{\origDate@value})} 398 \luastringO{\origDate@value})}
399 \egroup 399 \egroup
400 } 400 }
401\@onlypreamble\DeclareNewWitness 401\@onlypreamble\DeclareWitness
402\NewDocumentCommand{\DeclareNewHand}{m m m +O{}}{ 402\NewDocumentCommand{\DeclareHand}{m m m +O{}}{
403 \luadirect{ekdosis.newhand(\luastringN{#1}, 403 \luadirect{ekdosis.newhand(\luastringN{#1},
404 \luastringN{#2}, 404 \luastringN{#2},
405 \luastringN{#3}, 405 \luastringN{#3},
406 \luastringN{#4})} 406 \luastringN{#4})}
407} 407}
408\@onlypreamble\DeclareNewHand 408\@onlypreamble\DeclareHand
409\NewDocumentCommand{\DeclareNewScholar}{m m}{ 409\NewDocumentCommand{\DeclareScholar}{m m}{
410 \luadirect{ekdosis.newscholar(\luastringN{#1}, 410 \luadirect{ekdosis.newscholar(\luastringN{#1},
411 \luastringN{#2})} 411 \luastringN{#2})}
412} 412}
413\@onlypreamble\DeclareNewScholar 413\@onlypreamble\DeclareScholar
414\NewDocumentCommand{\DeclareNewShorthand}{m m m}{ 414\NewDocumentCommand{\DeclareShorthand}{m m m}{
415 \luadirect{ekdosis.newshorthand(\luastringN{#1}, 415 \luadirect{ekdosis.newshorthand(\luastringN{#1},
416 \luastringN{#2}, 416 \luastringN{#2},
417 \luastringN{#3})} 417 \luastringN{#3})}
418} 418}
419\@onlypreamble\DeclareNewShorthand 419\@onlypreamble\DeclareShorthand
420\NewDocumentCommand{\getsiglum}{m}{% 420\NewDocumentCommand{\getsiglum}{m}{%
421 \luadirect{tex.sprint(ekdosis.getsiglum(\luastringN{#1}))}% 421 \luadirect{tex.sprint(ekdosis.getsiglum(\luastringN{#1}))}%
422} 422}
@@ -734,6 +734,7 @@ Running "make install" installs the files in the local TeX tree.
734 \fi% 734 \fi%
735 }% 735 }%
736 }% 736 }%
737\protected\def\nbsp{\nobreak\space}
737\define@cmdkeys[ekd]{lemrdg}[ekdlr@]{wit, alt, pre, post, prewit, 738\define@cmdkeys[ekd]{lemrdg}[ekdlr@]{wit, alt, pre, post, prewit,
738 postwit} 739 postwit}
739\define@cmdkey[ekd]{lem}[ekdl@]{sep}{} 740\define@cmdkey[ekd]{lem}[ekdl@]{sep}{}
@@ -763,7 +764,7 @@ Running "make install" installs the files in the local TeX tree.
763 \else% 764 \else%
764 \ifsubsq@unit\unexpanded\expandafter{\ekd@unit@delim}\fi% 765 \ifsubsq@unit\unexpanded\expandafter{\ekd@unit@delim}\fi%
765 \fi% 766 \fi%
766 \current@ref{} }%\hskip .25em}% 767 \current@ref\nbsp}%\hskip .25em}%
767 \else% 768 \else%
768 \ifbool{al@rlmode}{% 769 \ifbool{al@rlmode}{%
769 \edef\lem@app{% 770 \edef\lem@app{%
@@ -774,7 +775,7 @@ Running "make install" installs the files in the local TeX tree.
774 \else% 775 \else%
775 \ifsubsq@unit\unexpanded\expandafter{\ekd@unit@delim}\fi% 776 \ifsubsq@unit\unexpanded\expandafter{\ekd@unit@delim}\fi%
776 \fi% 777 \fi%
777 \current@ref{} %\hskip .25em 778 \current@ref\nbsp%\hskip .25em
778 \ifdefined\ekdlr@alt% 779 \ifdefined\ekdlr@alt%
779 \ifdefined\ekdlr@post% 780 \ifdefined\ekdlr@post%
780 \space\unexpanded\expandafter{\ekdlr@post}\space\else\fi 781 \space\unexpanded\expandafter{\ekdlr@post}\space\else\fi
@@ -805,7 +806,7 @@ Running "make install" installs the files in the local TeX tree.
805 \else% 806 \else%
806 \ifsubsq@unit\unexpanded\expandafter{\ekd@unit@delim}\fi% 807 \ifsubsq@unit\unexpanded\expandafter{\ekd@unit@delim}\fi%
807 \fi% 808 \fi%
808 \current@ref{} %\hskip .25em 809 \current@ref\nbsp%\hskip .25em
809 \ifdefined\ekdlr@alt% 810 \ifdefined\ekdlr@alt%
810 \ifdefined\ekdlr@pre% 811 \ifdefined\ekdlr@pre%
811 \space\unexpanded\expandafter{\ekdlr@pre}\space\else\fi 812 \space\unexpanded\expandafter{\ekdlr@pre}\space\else\fi
@@ -951,7 +952,7 @@ Running "make install" installs the files in the local TeX tree.
951 \else% 952 \else%
952 \ifsubsq@unit\unexpanded\expandafter{\ekd@unit@delim}\fi% 953 \ifsubsq@unit\unexpanded\expandafter{\ekd@unit@delim}\fi%
953 \fi% 954 \fi%
954 \current@ref@arg{\ekdn@labelb}{\ekdn@labele} %\hskip .25em 955 \current@ref@arg{\ekdn@labelb}{\ekdn@labele}\nbsp%\hskip .25em
955 \ifdefined\ekdn@lem% 956 \ifdefined\ekdn@lem%
956 {\textdir TRT\unexpanded\expandafter{\ekdn@lem}}% 957 {\textdir TRT\unexpanded\expandafter{\ekdn@lem}}%
957 \unexpanded\expandafter{\ekdn@sep}\else\fi% 958 \unexpanded\expandafter{\ekdn@sep}\else\fi%
@@ -964,7 +965,7 @@ Running "make install" installs the files in the local TeX tree.
964 \else% 965 \else%
965 \ifsubsq@unit\unexpanded\expandafter{\ekd@unit@delim}\fi% 966 \ifsubsq@unit\unexpanded\expandafter{\ekd@unit@delim}\fi%
966 \fi% 967 \fi%
967 \current@ref@arg{\ekdn@labelb}{\ekdn@labele} %\hskip .25em 968 \current@ref@arg{\ekdn@labelb}{\ekdn@labele}\nbsp%\hskip .25em
968 \ifdefined\ekdn@lem 969 \ifdefined\ekdn@lem
969 \ltx@ifpackageloaded{babel}% 970 \ltx@ifpackageloaded{babel}%
970 {\noexpand\selectlanguage{\languagename}% 971 {\noexpand\selectlanguage{\languagename}%