[XeTeX] Proposal : that TeX engines generating PDF directly should be able to close the output file without terminating.

Bruno Le Floch blflatex at gmail.com
Fri Jul 3 13:57:20 CEST 2020

On 7/3/20 1:46 PM, Philip Taylor wrote:
> It would seem that adding the command-line qualifier "--shell-escape" is
> required in order that \write 18 be permitted, but then we run into the problem
> that (with the benefit of hindsight) we should have foreseen at the outset : 
> the PDF file is incomplete at this point —

Do the opposite: call xetex --shell-escape "Hoi-An TA menu (combine pages).tex"
and in that file have \immediate\write18{xetex "Hoi-An TA menu (separate
pages).tex"} or similar.

More information about the XeTeX mailing list.