I keep getting the Broken Pipe error. It didn't worry me too much when it went away the following time I reran xelatex, but it's becoming more persistent for me now.
I'm running xelatex through the most recent texlive (2007?) for OS X.
I use English and Japanese in this (rather large) document. I couldn't reproduce the error in a small example which used Japanese and Chinese.
Log output as follows.
=================================
This is XeTeXk, Version 3.141592-2.2-0.996 (Web2C 7.5.6)
%&-line parsing enabled.
entering extended mode
(./thesis.tex
LaTeX2e <2005/12/01>
Babel <v3.8h> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, arabic, basque, bulgarian, coptic, welsh, czech, slovak, german, ng
erman, danish, esperanto, spanish, catalan, galician, estonian, farsi, finnish,
french, greek, monogreek, ancientgreek, croatian, hungarian, interlingua, ibyc
us, indonesian, icelandic, italian, latin, mongolian, dutch, norsk, polish, por
tuguese, pinyin, romanian, russian, slovenian, uppersorbian, serbian, swedish,
turkish, ukenglish, ukrainian, loaded.
(./ltthesis.cls
Document Class: ltthesis 2004/01/06 v1.3 University of Melbourne LT Thesis Clas
s
(/usr/local/texlive/2007/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty)
(./ltmacros.sty) (./hut12.clo)
Package Fancyhdr Warning: \fancyhead's `E' option without twoside option is use
less on input line 1306.
Package Fancyhdr Warning: \fancyhead's `E' option without twoside option is use
less on input line 1308.
) (/usr/local/texlive/2007/texmf-dist/tex/xelatex/xetexurl/url.sty)
(/usr/local/texlive/2007/texmf-dist/tex/latex/base/latexsym.sty)
(/usr/local/texlive/2007/texmf-dist/tex/latex/hyperref/hyperref.sty
(/usr/local/texlive/2007/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/local/texlive/2007/texmf-dist/tex/latex/hyperref/pd1enc.def)
(/usr/local/texlive/2007/texmf/tex/latex/config/hyperref.cfg)
(/usr/local/texlive/2007/texmf-dist/tex/latex/oberdiek/kvoptions.sty)
Implicit mode ON; LaTeX internals redefined
)
*hyperref using default driver hdvipdfm*
(/usr/local/texlive/2007/texmf-dist/tex/latex/hyperref/hdvipdfm.def)
(/usr/local/texlive/2007/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/local/texlive/2007/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/local/texlive/2007/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/local/texlive/2007/texmf/tex/latex/config/graphics.cfg)
(/usr/local/texlive/2007/texmf-dist/tex/xelatex/graphics/xetex.def)))
(/usr/local/texlive/2007/texmf-dist/tex/latex/amsfonts/amssymb.sty
(/usr/local/texlive/2007/texmf-dist/tex/latex/amsfonts/amsfonts.sty))
(/usr/local/texlive/2007/texmf-dist/tex/latex/tools/xspace.sty)
(/usr/local/texlive/2007/texmf-dist/tex/xelatex/fontspec/fontspec.sty
(/usr/local/texlive/2007/texmf-dist/tex/generic/ifxetex/ifxetex.sty)
(/usr/local/texlive/2007/texmf-dist/tex/latex/tools/calc.sty)
(/usr/local/texlive/2007/texmf-dist/tex/latex/xkeyval/xkeyval.sty
(/usr/local/texlive/2007/texmf-dist/tex/latex/xkeyval/xkeyval.tex))
(/usr/local/texlive/2007/texmf-dist/tex/latex/lm/lmodern.sty)
(/usr/local/texlive/2007/texmf-dist/tex/latex/base/fontenc.sty
(/usr/local/texlive/2007/texmf-dist/tex/xelatex/euenc/eu1enc.def)
(/usr/local/texlive/2007/texmf-dist/tex/xelatex/euenc/lm/eu1lmr.fd))
fontspec.cfg loaded.
(/usr/local/texlive/2007/texmf-dist/tex/xelatex/fontspec/fontspec.cfg))
(/usr/local/texlive/2007/texmf-dist/tex/xelatex/xunicode/xunicode.sty)
(/usr/local/texlive/2007/texmf-dist/tex/latex/graphics/epsfig.sty)
(/usr/local/texlive/2007/texmf-dist/tex/latex/float/float.sty) (./lsalike.sty
test LSAlike Bibliography and Citation Style -- released 06 Jan 1994
) (/usr/local/texlive/2007/texmf-dist/tex/latex/amsmath/amsmath.sty
For additional information on amsmath, use the `?' option.
(/usr/local/texlive/2007/texmf-dist/tex/latex/amsmath/amstext.sty
(/usr/local/texlive/2007/texmf-dist/tex/latex/amsmath/amsgen.sty))
(/usr/local/texlive/2007/texmf-dist/tex/latex/amsmath/amsbsy.sty)
(/usr/local/texlive/2007/texmf-dist/tex/latex/amsmath/amsopn.sty))
(./thesis.aux (./frontmatter.aux) (./ch1-introduction.aux) (./ch2-litReview.aux
) (./ch3-foksExtensions.aux) (./ch4-similarity.aux) (./b.aux) (./ap1.aux))
(/usr/local/texlive/2007/texmf-dist/tex/latex/hyperref/nameref.sty
(/usr/local/texlive/2007/texmf-dist/tex/latex/oberdiek/refcount.sty))
(./thesis.out) (./thesis.out) (./frontmatter.tex
Package hyperref Warning: No destination for bookmark of \addcontentsline,
(hyperref) destination is added on input line 14.
[1] [2]
Underfull \hbox (badness 10000) in paragraph at lines 17--17
[3] (./thesis.toc (/usr/local/texlive/2007/texmf-dist/tex/latex/lm/omllmm.fd)
(/usr/local/texlive/2007/texmf-dist/tex/latex/lm/omslmsy.fd)
(/usr/local/texlive/2007/texmf-dist/tex/latex/lm/omxlmex.fd)
(/usr/local/texlive/2007/texmf-dist/tex/latex/base/ulasy.fd)
(/usr/local/texlive/2007/texmf-dist/tex/latex/amsfonts/umsa.fd)
(/usr/local/texlive/2007/texmf-dist/tex/latex/amsfonts/umsb.fd) [4])
Package Fancyhdr Warning: \headheight is too small (14.0pt):
Make it at least 14.49998pt.
We now make it that large for the rest of the document.
This may cause the page layout to be inconsistent, however.
[5]
LaTeX Warning: Reference `chap:section:intro' on page vi undefined on input lin
e 45.
Underfull \hbox (badness 10000) in paragraph at lines 44--47
[6] [7] [8]) (./ch1-introduction.tex
Chapter 1.
) [1] (./ch2-litReview.tex
Chapter 2.
) [2] (./ch3-foksExtensions.tex
Chapter 3.
) [3] (./ch4-similarity.tex
Chapter 4.
[4]
Package Fancyhdr Warning: \headheight is too small (14.0pt):
Make it at least 14.49998pt.
We now make it that large for the rest of the document.
This may cause the page layout to be inconsistent, however.
[5] <use "figures/structure.pdf" >
Package Fancyhdr Warning: \headheight is too small (14.0pt):
Make it at least 14.49998pt.
We now make it that large for the rest of the document.
This may cause the page layout to be inconsistent, however.
[6]
Package Fancyhdr Warning: \headheight is too small (14.0pt):
Make it at least 14.49998pt.
We now make it that large for the rest of the document.
This may cause the page layout to be inconsistent, however.
[7]
Package Fancyhdr Warning: \headheight is too small (14.0pt):
Make it at least 14.49998pt.
We now make it that large for the rest of the document.
This may cause the page layout to be inconsistent, however.
[8]
LaTeX Warning: Reference `sec:lexicalProcessing' on page 9 undefined on input l
ine 108.
Package Fancyhdr Warning: \headheight is too small (14.0pt):
Make it at least 14.49998pt.
We now make it that large for the rest of the document.
This may cause the page layout to be inconsistent, however.
[9]
*** no 'post' table found, unable to re-encode font lmmi12
Package Fancyhdr Warning: \headheight is too small (14.0pt):
Make it at least 14.49998pt.
We now make it that large for the rest of the document.
This may cause the page layout to be inconsistent, however.
[10Broken pipe
Anonymous
Logged In: YES
user_id=700925
Originator: NO
This almost certainly indicates an output driver failure. The message
*** no 'post' table found, unable to re-encode font lmmi12
is one sign of trouble; xdv2pdf isn't able to cope with the Latin Modern configuration you're using.
One workaround is to try the xdvipdfmx output driver instead, by using the XeTeX-xdvipdfmx "engine" in TeXShop (see the TS help or the XeTeX mailing list if you don't know how to enable this). Or if you're using the command line, try
xelatex -output-driver="xdvipdfmx -q -E" thesis.tex
and see if that works.
Logged In: YES
user_id=1074618
Originator: YES
Bingo! Using the different output driver on the command line compiles it cleanly. To be sure, I got it into a state where normal compilation fails every time (instead of non-deterministically). From this state, it also worked cleanly without errors.
Thanks Jonathan!