Changes

Jump to navigation Jump to search
how to build XeTeX and xdvipdfmx (by Taco and Arthur)
= Current state of binaries in minimals =
 
(Not yet online.)
{| border="1"
== splitting binaries ==
files.lst :
# common
...
...
#luatex
...
...
#xetex
...
...
#pdftex
...
...
i can then use that (will make a script) that will install what is needed
mtxrun --script install --engine=xetex --platform=macosx-intel
and such (is we make luatex 'common' we have a scripting machinery)
 
== building XeTeX and xdvipdfmx ==
 
(This might need to be moved to some better place, for example under XeTeX, but I needed to leave a note on building process before we all forget it.)
 
SVN sources are available at:
http://scripts.sil.org/svn-public/xetex/TRUNK
http://scripts.sil.org/svn-public/xdvipdfmx/TRUNK
 
=== Taco's notes (for linux) ===
 
XeTeX's build process needs the texlive bin directory in the path.
On the contextgarden, that should be <code>/opt/texlive2007/bin/i386-linux/</code>,
because the build massages that path a bit to find an install directory,
and it assumes one of the bits is '<code>/bin/</code>'
 
For xdvipdfmx you have to feed it the locations of the kpathsea and freetype2 packages. I used these three commands:
 
$ export XETEX=location-of-xetex-TRUNK
$ export LDFLAGS=-L$XETEX/Work/texk/kpathsea/.libs
$ export CFLAGS="-I$XETEX/texk -I$XETEX/Work/texk"
$ ./configure --with-ft2lib=$XETEX/Work/libs/freetype2/.libs/libfreetype.a --with-ft2include="$XETEX/libs/freetype2/include"
 
followed by 'make'. Not very pretty, but it worked.
 
=== Arthur's notes (for xdvipdfmx) ===
 
$ export $XETEX=location-of-xetex-TRUNK
$ CFLAGS="-I$XETEX/texk -I$XETEX/Work/texk -I$XETEX/libs/freetype2/include -I$XETEX/libs/freetype2" \
LDFLAGS="-L$XETEX/Work/texk/kpathsea/.libs -L$XETEX/Work/libs/freetype2" ./configure
 
== Cross-compiling for PPC on Intel Mac ==

Navigation menu