# [NTG-context] Figure-libray/resource library

Hans Hagen pragma at wxs.nl
Wed Apr 8 19:06:53 CEST 2015

```On 4/7/2015 7:18 PM, Willi Egger wrote:
> Hi all!
>
> I am  working on an older project… Herein a resource-library is used. Now I have the problem, that Context does not find page 103 (resulting in a fatal error: LuaTeX error: PDF inclusion: required page <103> does not exist  ==> Fatal error occurred, no output PDF file produced!).
>
> When I put the the figure contained on page 103 as an \externalfigure[mylibrary][page=103], the figure is displayed. — Now I tried to remake the resource library with changing the format from MKII to MKIV. However there seems to be a problem, since I get only two pages of output. Even with the enclosed minimal I get only two empty pages… What to do?

xml             > core > load error in [id: main, file: test.xml]:
invalid xml file - parsed text

so ... clue: look at comment

-----------------------------------------------------------------