diff options
author | Robert Alessi <alessi@robertalessi.net> | 2020-02-18 14:07:56 +0100 |
---|---|---|
committer | Robert Alessi <alessi@robertalessi.net> | 2020-02-18 14:07:56 +0100 |
commit | c67d7a0463454d62d3d2a5f10cc38699f8e18e66 (patch) | |
tree | 77df806728bc227c7ce6aace600b73fc4331269a | |
parent | bd04fcc37940e954de06c50ed6d23de186662891 (diff) | |
download | ekdosis-c67d7a0463454d62d3d2a5f10cc38699f8e18e66.tar.gz |
more careful expansion control
-rw-r--r-- | ekdosis.dtx | 30 |
1 files changed, 20 insertions, 10 deletions
diff --git a/ekdosis.dtx b/ekdosis.dtx index f377803..edefb6e 100644 --- a/ekdosis.dtx +++ b/ekdosis.dtx | |||
@@ -393,15 +393,20 @@ Running "make install" installs the files in the local TeX tree. | |||
393 | )}} | 393 | )}} |
394 | {\bgroup | 394 | {\bgroup |
395 | \options{/witness,#4} | 395 | \options{/witness,#4} |
396 | \letoption{/witness/settlement}\settlement@value | ||
397 | \letoption{/witness/repository}\repository@value | ||
398 | \letoption{/witness/idno}\idno@value | ||
399 | \letoption{/witness/msName}\msName@value | ||
400 | \letoption{/witness/origDate}\origDate@value | ||
396 | \luadirect{ekdosis.newwitness( | 401 | \luadirect{ekdosis.newwitness( |
397 | \luastringN{#1}, | 402 | \luastringN{#1}, |
398 | \luastringN{#2}, | 403 | \luastringN{#2}, |
399 | \luastringN{#3}, | 404 | \luastringN{#3}, |
400 | \luastring{\option{/witness/settlement}}, | 405 | \luastringO{\settlement@value}, |
401 | \luastring{\option{/witness/repository}}, | 406 | \luastringO{\repository@value}, |
402 | \luastring{\option{/witness/idno}}, | 407 | \luastringO{\idno@value}, |
403 | \luastring{\option{/witness/msName}}, | 408 | \luastringO{\msName@value}, |
404 | \luastring{\option{/witness/origDate}} | 409 | \luastringO{\origDate@value} |
405 | )} | 410 | )} |
406 | \egroup} | 411 | \egroup} |
407 | } | 412 | } |
@@ -483,14 +488,19 @@ Running "make install" installs the files in the local TeX tree. | |||
483 | \unless\ifekd@mapps\global\ekd@mappstrue\fi | 488 | \unless\ifekd@mapps\global\ekd@mappstrue\fi |
484 | \bgroup | 489 | \bgroup |
485 | \options{/newapp,#2} | 490 | \options{/newapp,#2} |
491 | \letoption{/newapp/rule}\rule@val | ||
492 | \letoption{/newapp/delim}\delim@val | ||
493 | \letoption{/newapp/sep}\sep@val | ||
494 | \letoption{/newapp/bhook}\bhook@val | ||
495 | \letoption{/newapp/ehook}\ehook@val | ||
486 | \luadirect{ekdosis.newapparatus( | 496 | \luadirect{ekdosis.newapparatus( |
487 | \luastringN{#1}, | 497 | \luastringN{#1}, |
488 | \luastring{\option{/newapp/direction}}, | 498 | \luastring{\option{/newapp/direction}}, |
489 | \luastring{\option{/newapp/rule}}, | 499 | \luastringO{\rule@val}, |
490 | \luastring{\option{/newapp/delim}}, | 500 | \luastringO{\delim@val}, |
491 | \luastring{\option{/newapp/sep}}, | 501 | \luastringO{\sep@val}, |
492 | \luastring{\option{/newapp/bhook}}, | 502 | \luastringO{\bhook@val}, |
493 | \luastring{\option{/newapp/ehook}} | 503 | \luastringO{\ehook@val} |
494 | )} | 504 | )} |
495 | \egroup | 505 | \egroup |
496 | } | 506 | } |