Command/datasetvariable

From Wiki
< Command
Revision as of 14:08, 22 April 2012 by Marco (talk | contribs) (Initial commit)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.


\definedataset, \setdataset


Help from ConTeXt-Mailinglist/Forum

All issues with: