Dear list,
To get properties of a figure without actually typesetting it, it is
handy to use \registerexternalfigure. However, trying to use it fails.
Consider the following MWE:
\starttext
\registerexternalfigure[cow.pdf]
\stoptext
Looking at the definition in grph-inc.mkiv reveals that is it complete
bogus.
\unexpanded\def\registerexternalfigure
{\dotripleempty\grph_include_register}
\def\grph_include_register[#1][#2][#3]%
{\startnointerference
\c_grph_include_test_only
\setfalse\c_grph_include_flush % == test ?
\externalfigure[#1][#2][#3]% or
\externalfigure[#1][#2,\c!display=,\c!mask=,\c!object=\v!no]%
\stopnointerference}
I guess this is not intentional and was left over at some point. Could
you please fix this?
Cheers,
Henri
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___