Command/datasetvariable
Jump to navigation
Jump to search
\datasetvariable
Syntax
\datasetvariable{...}{...}{...} | |
{...} | name of data set |
{...} | identifier or number |
{...} | key |
Description
This command retrieves the values that have been saved with the \setdataset command. The first argument is the data set name, given by the first argument of \setdataset. The second argument is an integer if \setdataset was used with two arguments and an identifier if \setdataset was used with three arguments. The last argument is the key, which value should be retrieved.
Usage
\datasetvariable{somedataset}{1}{foo}
or
\datasetvariable{somedataset}{alpha}{bar}
See also
More detailled explanations and examples can be found under Key-Value Assignments section Two-pass data.
Help from ConTeXt-Mailinglist/Forum
All issues with: