[NTG-context] need help comparing strings
Pablo Rodriguez
oinos at gmx.es
Tue Oct 13 19:09:02 CEST 2020
On 10/13/20 6:14 PM, Wolfgang Schuster wrote:
> Pablo Rodriguez schrieb am 13.10.2020 um 17:33:
>> [...]
>> 2. Is there no Lua version of \getvariable{...}{...}?
>
> There is no need because everything is stored in a Lua table.
> [...]
> local argumentlist = document.arguments.arguments
> local argumenttable = utilities.parsers.settings_to_hash(argumentlist)
>
> context(argumenttable["fname"])
Many thanks for your reply, Wolfgang.
This is exactly what I need.
Many thanks for your help,
Pablo
--
http://www.ousia.tk
More information about the ntg-context
mailing list