Lines 1 and 4 use nested placeholders. They should be well formed.
PAGE <$N:PG><$RST_PNL> (<$N#PNL:LAST<$N:PG>> panels)
PANEL <$N:PNL:<$SN>>
PANEL <$N:PNL:<$SN>>
PANEL <$N:PNL:LAST<$N:PG>>
Yet they produce spurious right brackets in compiled output.
PAGE 1 (3> panels)
PANEL 1
PANEL 2
PANEL 3>
The expected output is this:
PAGE 1 (3 panels)
PANEL 1
PANEL 2
PANEL 3
But to get that one must actually use mismatched brackets (i.e. delete a right bracket in each offending line).
PAGE <$N:PG><$RST_PNL> (<$N#PNL:LAST<$N:PG> panels)
PANEL <$N:PNL:<$SN>>
PANEL <$N:PNL:<$SN>>
PANEL <$N:PNL:LAST<$N:PG>
Lines 1 and 4 should not be well-formed, but this is the only way to produce the proper output.
–gr
Scriv 2.7 on Mac