[XeTeX] Segfault and other problems with \XeTeXpicfile

Rodney Polkinghorne thisrod at gmail.com
Thu Apr 24 08:12:26 CEST 2014


The following terminal log, on OS X version 10.9.2, has me entirely
stumped.  Can anyone suggest what is going on and how to fix it?

I've added some blank lines between commands and their output.

Rodney Polkinghorne


% echo 'beginfig(1); endfig; end' > foo.mp

% mpost foo
This is MetaPost, version 1.803 (kpathsea version 6.1.1)
(mpost.mp (/usr/local/texlive/2013basic/texmf-dist/metapost/base/plain.mp
Preloading the plain mem file, version 1.004) ) (./foo.mp [1] )
1 output file written: foo.1
Transcript written on foo.log.

% bash -c 'mptopdf foo.1'
This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013)
 restricted \write18 enabled.
[MP to PDF] (./foo.1) [warning: the width is less than 1in]
[warning: the height is less than 1in] [1]
Output written on foo.pdf (1 page, 1235 bytes).
Transcript written on foo.log.

MPtoPDF 1.4.1 : foo.1 is converted to foo-1.pdf

% kpsewhich foo.1
./foo.1

% kpsewhich foo-1.pdf
./foo-1.pdf

% echo '\XeTeXpicfile foo-1.pdf \bye' > bar.tex

% xetex bar
This is XeTeX, Version 3.1415926-2.5-0.9999.3 (TeX Live 2013)
 restricted \write18 enabled.
entering extended mode
(./bar.tex
! Unable to load picture or PDF file 'foo-1.pdf'.
<to be read again>
                   \par
\bye ->\par
            \vfill \supereject \end
l.1 \XeTeXpicfile foo-1.pdf \bye

? x
No pages of output.
Transcript written on bar.log.

% echo '\XeTeXpicfile foo.1 \bye' > bar.tex

% xetex bar
This is XeTeX, Version 3.1415926-2.5-0.9999.3 (TeX Live 2013)
 restricted \write18 enabled.
entering extended mode
(./bar.tex3943: signal: sys: segmentation violation

% xetex --version
XeTeX 3.1415926-2.5-0.9999.3-2013061817 (TeX Live 2013)
kpathsea version 6.1.1
Copyright 2013 SIL International and Jonathan Kew.
There is NO warranty.  Redistribution of this software is
covered by the terms of both the XeTeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the XeTeX source.
Primary author of XeTeX: Jonathan Kew.
Compiled with ICU version 51.1; using 51.1
Compiled with zlib version 1.2.7; using 1.2.7
Compiled with FreeType2 version 2.4.11; using 2.4.11
Compiled with Graphite2 version 1.2.1; using 1.2.1
Compiled with HarfBuzz version 0.9.15; using 0.9.15
Using Mac OS X Core Text, Cocoa & ImageIO frameworks

% cat foo.1
%!PS
%%BoundingBox: 0 0 0 0
%%HiResBoundingBox: 0 0 0 0
%%Creator: MetaPost 1.803
%%CreationDate: 2014.04.24:1557
%%Pages: 1
%%BeginProlog
%%EndProlog
%%Page: 1 1
showpage
%%EOF



More information about the XeTeX mailing list