[NTG-context] working on page refs with MP

Hans Hagen j.hagen at xs4all.nl
Thu Mar 18 19:55:27 CET 2021


On 3/18/2021 6:14 PM, Werner Hennrich wrote:

> metafun         > log >
> metafun         > log > error: Improper subscript has been replaced by zero
> metapost        > log > <*> ... numeric numFirst; numFirst := \ref [page]
watch closely to the previous log line ... you're missing quotes so mp 
sees \ref [page] and as it ignores a \ it sees ref[page] which unless 
you defined 'ref' and 'page' triggers an error

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list