[XeTeX] Linux setup question (follow up)

Peter Dyballa Peter_Dyballa at Web.DE
Sat Dec 23 11:58:01 CET 2006


Am 23.12.2006 um 06:00 schrieb Dennis Drescher:

> I guess I didn't tell you that I did not install XeTeX from source.
> Sorry if you were confused. I used the packages available from the
> scripts.sil.org website. (http://scripts.sil.org/xetex_linux)

Please check what went wrong with this package! It should have added  
the missing "instructions" in the right file(s) and it should have  
provided and executed some post install script to create whatever is  
missing (for example prepare the system for future TeX update with  
need to rebuild all FMT files). Or at least invoke a texhash ...

>
> Unfortunately, the procedure you described above does not work on  
> Ubuntu
> Edgy. However, it did get me going in the right direction.
>
> The fmtutil.cnf file is actually not the right file to make additional
> formating config references. In the header of
> /var/lib/texmf/web2c/fmtutil.cnf is says:
>
> ### This file was automatically generated by update-fmtutil.
> #
> # Please do not edit it directly. If you want to add or change
> # anything here, please have a look at the files in:
> #
> #    /etc/texmf/fmt.d/
> #
> # and invoke update-fmtutil.
> #
> ###
>
> With that in mind this is what I did to create the xetex.fmt file  
> on my
> system:
>
> 1) Invoke:
>
> 	sudo gedit /etc/texmf/fmt.d/00tex.cnf
>
> 2) Add the following lines near the bottom of the file:
>
> 	# XeTeX-based formats using etex, eplain, and latex macros
> 	xetex        xetex   -               -etex xetex.ini
> 	xeplain      xetex   language.dat    -etex xeplain.ini
> 	xelatex      xetex   language.dat    -etex xelatex.ini
>
> 3) Invoke:
>
> 	update-fmtutil
>
> 4) Invoke:
>
> 	sudo fmtutil-sys --enablefmt xetex
> 	sudo fmtutil-sys --enablefmt xelatex
> 	sudo fmtutil-sys --byfmt xetex
> 	sudo fmtutil-sys --byfmt xelatex
>
> 5) Rebuild the ls-R database file so the new xetex.fmt file can be  
> seen
> by the system. Invoke:
>
> 	sudo -H texhash
>
> My XeTeX system seems to be running now so I'm assuming this is "a"
> right way to create the xetex.fmt file. If not, please let me know  
> what
> I need to do differently. Thanks.

I am on Mac OS X, but this looks reasonable! Debian based systems  
have some very strange places where they hide files from their users  
(offering to have mounted some disk slices as virus free read-only  
file systems). Now you should remove the earlier FMT files from your  
own branch ($HOME). Any TeX looks first into personal repositories  
for files before it looks up the system.

--
Greetings

   Pete

Rain is saved up in cloud banks.




More information about the XeTeX mailing list