Hi,
I’ve a strange problem, not for the first time, but I can’t find the
actual reason:
If I place an image just with \externalfigure, all is well.
But in my convoluted real application, ConTeXt breaks with a combination of
"Unknown relation will be considered false" and "Oh dear. I can't decide
if the expression above is positive, negative, or zero. So this
comparison test won't be 'true'."
or
"Equation cannot be performed" and "I'm sorry, but I don't know how to
make such things equal."
As a workaround, I can place the image somewhere (e.g. outside of the
printed paper in a tiny size) first, and all is well.
\useexternalfigure doesn’t help.
I couldn’t find a MWE that shows the problem, sorry.
In the current case, it’s about SVG symbols for my folders module.
The problem doesn’t seem to be with defining the symbols in a macro, but
maybe with nested context calls in Lua code (via anonymous functions).
I had a similar problem years ago with images placed on layers with a
macro. So I guess it might be a matter of expansion.
Hraban
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] /
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
___________________________________________________________________________________