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 or maybe even \ifconditional\testexternalfigureonly \ifcase\figurestatus \else \ctxlua{figures.check()}% \ctxlua{figures.scale()}% \fi \signalexternalfigure \else Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------