Hi, I’m generating some code in a loop and would like to use formatting like \quotation or \emph in a caption: context.startplacefigure({title = "Style " .. context.quotation(style)}) That doesn’t work. I guess context.quotation is executed immediately and doesn’t return anything? How can I do this? Hraban
Am 08.11.23 um 18:44 schrieb Henning Hraban Ramm:
Hi, I’m generating some code in a loop and would like to use formatting like \quotation or \emph in a caption:
context.startplacefigure({title = "Style " .. context.quotation(style)})
That doesn’t work. I guess context.quotation is executed immediately and doesn’t return anything? How can I do this?
Hraban
Found it: title = "Style \\quotation{" .. style .. "}" Sorry for the noise. Hraban
participants (1)
-
Henning Hraban Ramm