Trying to produce a MN-WE for this problem, I have progressively moved the final \end statement earlier and earlier in the code, and am now able to produce a different (but equally fatal) diagnostic :
> This is XeTeX, Version 3.14159265-2.6-0.99993 (TeX Live 2016/W32TeX/dev) > (preloaded format=xetex) > restricted \write18 enabled. > entering extended mode > (./Master.tex (./B5-Master.tex A5-Master processing is now complete [1] ) ) > Error -1073741515 (driver return code) generating output; > file ../Dynamic-content/Master.pdf may not be valid. > SyncTeX written on ../Dynamic-content/Master.synctex.gz. > Transcript written on ../Dynamic-content/Master.log. Philip Taylor -------------------------------------------------- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex