![](https://secure.gravatar.com/avatar/93131e1e6e2204bd13501390d768dbdc.jpg?s=120&d=mm&r=g)
Am 25.02.2012 um 12:02 schrieb Jaroslav Hajtmar:
Thanx Wolfgang for reply, but it does not work still.
I was in a hurry and had no time to test it but the following is tested and works. \def\strc_lists_write_between[#tag][#settings]#command% we can overload location {\begingroup \edef\currentlist{#tag}% \doifelse{\namedlistparameter{#tag}\c!state}\v!start {\strc_lists_inject_yes[#settings,\c!type=\s!command][command={#command}]} {\endgroup}} \def\strc_lists_write_to_yes[#settings]#first#second% {\strc_lists_inject_yes[\c!location=\v!here,#settings,\c!type=\s!simple][first={#first},second={#second}]} @Hans The “\s!” prefix for first, second and command can’t be used because otherwise the keys end up as “\\s!first ” in Lua table index. Wolfgang