16 Feb
2017
16 Feb
'17
2:06 p.m.
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