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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to