On 6/8/24 10:49, vm via ntg-context wrote:
in the document https://wiki.contextgarden.net/images/8/8c/xhtml.pdf
near the end an essential line got truncated: [...] how should this line continue ? {\externalfigure[\xmlatt{#1}{src}][width=\ctxlua{getmeas("\xmla
As this comes from https://wiki.contextgarden.net/images/8/8c/xhtml.pdf#page=16 and it seems to be previously defined on This comes from https://wiki.contextgarden.net/images/8/8c/xhtml.pdf#page=10, I would say: \startxmlsetups xml:img \placefigure [here] [\xmlatt{#1}{src}] {\xmlatt{#1}{alt}} {\externalfigure[\xmlatt{#1}{src}] [width=\ctxlua{getmeas("\xmlatt{#1}{width}")}]} \stopxmlsetups But this is my uneducated guess (and not having checked whehter this may make sense). Just in case it might help, Pablo