View Issue Details

IDProjectCategoryView StatusLast Update
0001022contextbug reportpublic2020-12-12 23:43
Reporterjemmybutton Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Summary0001022: textext within reusableMPgraphic causes an error if placed on the first page of a document
DescriptionWith ConTeXt ver: 2020.03.10 14:44 MKIV beta fmt: 2020.7.20 the following happens:
Whenever I use \reuseMPgraphic with textext on the first page of the document, ConTeXt returns an error:

...

lua error > lua error on line 5 in file ***.tex:

/usr/share/texmf-dist/tex/context/base/mkiv/node-syn.lua:435: attempt to index a nil value (upvalue 'filehandle')

1 \starttext
2 \startreusableMPgraphic{abc}
3 draw textext("ABC");
4 \stopreusableMPgraphic
5 >> \reuseMPgraphic{abc}
6 \stoptext

mtx-context | fatal error: return code: 256

However, if it's not the first page, everything's fine
Steps To Reproduce\starttext
\startreusableMPgraphic{abc}
draw textext("ABC");
\stopreusableMPgraphic
\reuseMPgraphic{abc}
\stoptext

while

\starttext
\startreusableMPgraphic{abc}
draw textext("ABC");
\stopreusableMPgraphic
~\pagebreak
\reuseMPgraphic{abc}
\stoptext

works just fine
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2020-12-12 23:43 jemmybutton New Issue