<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16587" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face="Arial Unicode MS">Hello</FONT></DIV>
<DIV><FONT face="Arial Unicode MS"></FONT>&nbsp;</DIV>
<DIV><FONT face="Arial Unicode MS">I've encountered an odd problem in 'plain' 
XeTeX which has never happened to me in plain TeX.&nbsp; For some books (and 
certainly for a periodical that I handle) I like to have a simple master file 
listing all of the items that will be included (they sometimes don't arrive in 
the correct order, or have to be reordered later, so this is the easiest way to 
avoid having to keep track of changing page numbers for each item).&nbsp; 
Thus:</FONT></DIV>
<DIV><FONT face="Arial Unicode MS"></FONT>&nbsp;</DIV>
<DIV><FONT face="Arial Unicode MS">\input jobhead</FONT></DIV>
<DIV><FONT face="Arial Unicode MS">\input bloggs</FONT></DIV>
<DIV><FONT face="Arial Unicode MS">\input jones</FONT></DIV>
<DIV><FONT face="Arial Unicode MS">\input smith</FONT></DIV>
<DIV><FONT face="Arial Unicode MS">\eject \bye</FONT></DIV>
<DIV><FONT face="Arial Unicode MS"></FONT>&nbsp;</DIV>
<DIV><FONT face="Arial Unicode MS">The first line would be all my definitions - 
fonts, page dimensions, cropmarks, etc.</FONT></DIV>
<DIV><FONT face="Arial Unicode MS"></FONT>&nbsp;</DIV>
<DIV><FONT face="Arial Unicode MS">XeTeX won't handle this:&nbsp; it gives up 
after just a few lines of bloggs's chapter and tells me that the capacity is 
exceeded (stack limit is 5000).</FONT></DIV>
<DIV><FONT face="Arial Unicode MS"></FONT>&nbsp;</DIV>
<DIV><FONT face="Arial Unicode MS">But I have no trouble at all if instead I 
put:</FONT></DIV>
<DIV><FONT face="Arial Unicode MS"></FONT>&nbsp;</DIV>
<DIV><FONT face="Arial Unicode MS">\input jobhead</FONT></DIV>
<DIV><FONT face="Arial Unicode MS"></FONT>&nbsp;</DIV>
<DIV><FONT face="Arial Unicode MS">at the start of the bloggs.tex file 
and</FONT></DIV>
<DIV><FONT face="Arial Unicode MS"></FONT>&nbsp;</DIV>
<DIV><FONT face="Arial Unicode MS">\eject\bye</FONT></DIV>
<DIV><FONT face="Arial Unicode MS"></FONT>&nbsp;</DIV>
<DIV><FONT face="Arial Unicode MS">&nbsp;at the end, and then typeset bloggs 
('xetex bloggs' at the command line - just the normal procedure).</FONT></DIV>
<DIV><FONT face="Arial Unicode MS"></FONT>&nbsp;</DIV>
<DIV><FONT face="Arial Unicode MS">If I am stuck with this,&nbsp; I'll just have 
to typeset&nbsp;each chapter separately and put \pageno in manually at the head 
of each once I have all the chapters in.&nbsp; But it will never work for a 
periodical with a large review section (the reviews all run on).</FONT></DIV>
<DIV><FONT face="Arial Unicode MS"></FONT><FONT 
face="Arial Unicode MS"></FONT>&nbsp;</DIV>
<DIV><FONT face="Arial Unicode MS">I've tried (lamely) putting \relax after 
\input jobhead in case for some reason XeTeX needs to pause for breath, but 
predictably that doesn't work.&nbsp; The file jobhead.tex itself uses several 
\input commands, so that basic feature of TeX seems to work as 
expected.</FONT></DIV>
<DIV><FONT face="Arial Unicode MS"></FONT>&nbsp;</DIV>
<DIV><FONT face="Arial Unicode MS">I'm stumped.&nbsp; Any ideas?</FONT></DIV>
<DIV><FONT face="Arial Unicode MS"></FONT>&nbsp;</DIV>
<DIV><FONT face="Arial Unicode MS"></FONT>&nbsp;</DIV>
<DIV><FONT face="Arial Unicode MS">John</FONT></DIV>
<DIV><FONT face="Arial Unicode MS"></FONT>&nbsp;</DIV>
<DIV><FONT face="Arial Unicode MS"></FONT>&nbsp;</DIV></BODY></HTML>