31 Oct
2009
31 Oct
'09
11:52 p.m.
On Sat, 31 Oct 2009, Hans Hagen wrote:
Aditya Mahajan wrote:
Hi,
What is the correct way of getting the number of figure pages in MkIV. The following, which works in MkII, always gives 0 is MkIV.
\getfiguredimensions[filename] \noffigurepages
in grph-inc.mkiv we need to add a check pass for this
\ifconditional\testexternalfigureonly \ifcase\figurestatus \else \ctxlua{figures.check()}% \fi \signalexternalfigure \else
This works perfectly.
\ifconditional\testexternalfigureonly \ifcase\figurestatus \else \ctxlua{figures.check()}% \ctxlua{figures.scale()}% \fi \signalexternalfigure \else
and so does this. Thanks, Aditya