On 17 January 2016 at 17:00, Wolfgang Schuster
Kate F 17. Januar 2016 um 17:56 Hi,
Is it possible to have TeX markup executed in the text fields for \setupinteraction? I would like to do something like:
\definemarking[xyz] \marking[xyz]{Hello} \setupinteraction[state=start] \setupinteraction[title={\getmarking[xyz][current]}] \setupinteraction[author={\getmarking[xyz][current]}] \starttext xyz=\getmarking[xyz][current] \stoptext
But my generated PDF has literally "\getmarking[xyz][current]}" for the title and author.
Are you sure you want to use marks to store text because the mechanism works only in headers and footers.
I don't know, actually. In this case these are values which remain constant throughout the document. So all I'm after here is a mechanism for storing variables by name. Is there something more appropriate to use for those kind of variables? I didn't know markings only exist in headers and footers! Thanks. -- Kate