diff options
author | Robert Alessi <alessi@robertalessi.net> | 2020-02-19 08:30:26 +0100 |
---|---|---|
committer | Robert Alessi <alessi@robertalessi.net> | 2020-02-19 08:30:26 +0100 |
commit | 026f4f5639db65b4118b57e7912a0b7aa9b88205 (patch) | |
tree | fae34c2ffdd1775b4692261eed16276e4f71c88e | |
parent | ee13476159a05039c3bac2af09f2d5858a05ff3c (diff) | |
download | ekdosis-026f4f5639db65b4118b57e7912a0b7aa9b88205.tar.gz |
last arg. of \DeclareNewWitness was not actually optional: fixed
-rw-r--r-- | ekdosis.dtx | 19 |
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}, |