diff options
author | Philipp Gesang <gesang@stud.uni-heidelberg.de> | 2012-06-06 10:17:13 +0200 |
---|---|---|
committer | Philipp Gesang <gesang@stud.uni-heidelberg.de> | 2012-06-06 10:17:13 +0200 |
commit | dc637761adf54caa9ccb4f18226d5a72670180bc (patch) | |
tree | efdb4cac0ec1fa99938e1e1d3ecebf57d8c0cb5f /tex/plain | |
parent | 2967f2cc01ba0e6cdfe6df20771d5aeecdb26dd9 (diff) | |
download | enigma-dc637761adf54caa9ccb4f18226d5a72670180bc.tar.gz |
[interface] fixed plain/latex setup macro
Diffstat (limited to 'tex/plain')
-rw-r--r-- | tex/plain/enigma/enigma.tex | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tex/plain/enigma/enigma.tex b/tex/plain/enigma/enigma.tex index 7c0981e..9f06856 100644 --- a/tex/plain/enigma/enigma.tex +++ b/tex/plain/enigma/enigma.tex @@ -43,9 +43,10 @@ \directlua{ local enigma = packagedata.enigma local current_args = enigma.parse_args([====[\detokenize{#1}]====]) + enigma.save_raw_args(current_args, [====[\current_enigma_id]====]) enigma.new_callback(enigma.new_machine(current_args, - [====[\currentenigmaid]====]), - [====[\currentenigmaid]====]) + [====[\current_enigma_id]====]), + [====[\current_enigma_id]====]) }% \egroup% } @@ -54,7 +55,7 @@ %D All the logic is at the Lua end, not much to see here … \def\setupenigma#1{% \bgroup - \edef\currentenigmaid{#1} + \edef\current_enigma_id{#1} \luatexcatcodetable \enigmasetupcatcodes \do_setup_enigma% } |