aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ekdosis.dtx19
1 files changed, 6 insertions, 13 deletions
diff --git a/ekdosis.dtx b/ekdosis.dtx
index 05a1b00..fdd14f3 100644
--- a/ekdosis.dtx
+++ b/ekdosis.dtx
@@ -379,15 +379,9 @@ 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{\DeclareNewWitness}{m m m O{}}{%
383 \IfNoValueTF{#4} 383 \bgroup
384 {\luadirect{ekdosis.newwitness( 384 \options{/witness,#4}
385 \luastringN{#1},
386 \luastringN{#2},
387 \luastringN{#3}
388 )}}
389 {\bgroup
390 \options{/witness,#4}
391 \letoption{/witness/settlement}\settlement@value 385 \letoption{/witness/settlement}\settlement@value
392 \letoption{/witness/repository}\repository@value 386 \letoption{/witness/repository}\repository@value
393 \letoption{/witness/idno}\idno@value 387 \letoption{/witness/idno}\idno@value
@@ -401,10 +395,9 @@ Running "make install" installs the files in the local TeX tree.
401 \luastringO{\repository@value}, 395 \luastringO{\repository@value},
402 \luastringO{\idno@value}, 396 \luastringO{\idno@value},
403 \luastringO{\msName@value}, 397 \luastringO{\msName@value},
404 \luastringO{\origDate@value} 398 \luastringO{\origDate@value})}
405 )} 399 \egroup
406 \egroup} 400 }
407}
408\@onlypreamble\DeclareNewWitness 401\@onlypreamble\DeclareNewWitness
409\NewDocumentCommand{\DeclareNewHand}{m m m +O{}}{ 402\NewDocumentCommand{\DeclareNewHand}{m m m +O{}}{
410 \luadirect{ekdosis.newhand(\luastringN{#1}, 403 \luadirect{ekdosis.newhand(\luastringN{#1},