Am 2017-02-16 14:43, schrieb Hans Hagen:
because additional ones live at the tex end
why not use context.labeltext etc?
Hans
`context.labeltext` would immediately print the label, so I cannot use
the value within lua. My workaround would be a crossover between lua and
tex, but that results in the bookmark having the wrong label:
\setuplabeltext[en][test=Something]
\startluacode
context.startsectionlevel{title="\\labeltext[test]"}
-- ...
context.stopsectionlevel()
\stopluacode
The title correctly reads "Something", but the bookmark in the PDF
viewer shows "test".
Best regards,
Andreas
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________