[BUG] \registerexternalfigure doesn't work
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
Henri Menke schrieb am 20.08.2020 um 07:05:
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
Wrong command, use \getfiguredimensions[...]
Looking at the definition in grph-inc.mkiv reveals that is it complete bogus.
Is this necessary? Wolfgang
participants (2)
-
Henri Menke
-
Wolfgang Schuster