[XeTeX] How do I build xdvipdfmx (or xdv2pdf) on Windows?
Jonathan Kew
jonathan_kew at sil.org
Fri Mar 7 20:11:43 CET 2008
On 7 Mar 2008, at 6:14 pm, Bruno Voisin wrote:
> Le 7 mars 08 à 18:10, Jjgod Jiang a écrit :
>
>> Oops, sorry for sending out the patch too soon, it should be:
>>
>> $ svn diff
>> Index: build-xetex
>> ===================================================================
>> --- build-xetex (revision 600)
>> +++ build-xetex (working copy)
>> @@ -38,6 +38,8 @@
>> rm -rf Work
>> find . -name config.cache -print -exec rm -f {} \;
>>
>> +export ac_cv_exeext=''
>> +
>> find . -name configure -exec chmod +x {} \;
>>
>> # fix up symlink possibly lost in ViewVC's tarball generation :(
>
> You're a star!
>
> After applying your patch:
>
> ### Products built successfully:
> -rwxr-xr-x 1 bvoisin wheel 8040448 7 mar 18:41 Work/texk/web2c/
> xetex
> -rwxr-xr-x 1 bvoisin wheel 79308 7 mar 18:41 Work/texk/xdv2pdf/
> T1Wrap
> -rwxr-xr-x 1 bvoisin wheel 176624 7 mar 18:41 Work/texk/xdv2pdf/
> xdv2pdf
> -rwxr-xr-x 1 bvoisin wheel 1290220 7 mar 18:41 Work/texk/
> xdvipdfmx/
> src/xdvipdfmx
OK, thanks for confirming this. I've patched build-xetex in the
repository.
> install-xetex works afterwards as well:
> ....
> What I'm a bit surprised by, is that the updated TeX and LaTeX support
> files are installed in texmf-local: I would have thought these would
> replace the old files in texmf-dist, in the same way as the updated
> binaries have replaced the old ones in texbin. Maybe this is just
> standard TeXLive policy, after all.
Well.... no, I don't know that there is any "standard TeXLive policy"
on this. Maybe we should go for texmf-dist instead. When I first
wrote this script, I was hesitant to intrude into the main
distribution directories any more than necessary, and felt that
installing our additions in -local was cleaner. But that was before
many of these files had a standard home in the distribution; xetex as
a whole was an "add-on" rather than an update.
(And so we weren't overwriting binaries, we were adding new ones;
they had to go into the main bin directory in order for all the
texmf.cnf stuff to work properly.)
What do people think -- should the install script be modified to
replace old files in texmf-dist with new ones from the repository?
I'm inclined to think "yes", but on the other hand that might cause
more problems for people using texlive packages that are under the
control of a package manager (on Linux, etc).
JK
More information about the XeTeX
mailing list