<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 2012-07-23 12:17, Jean-Claude Raoult wrote:
<blockquote cite="mid:500D24C0.8050105@free.fr" type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
<div class="moz-cite-prefix">Le 23/07/2012 07:59, Stefan Löffler a
écrit :<br>
</div>
<blockquote cite="mid:500CE83C.4090907@gmail.com" type="cite">Well,
I'm not sure what you mean with "by hand". I used the method
outlined at <a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="http://www.tug.org/texlive/acquire-netinstall.html">http://www.tug.org/texlive/acquire-netinstall.html</a>.
You only
need to download one file, and it does everything else
"automatically".
The resulting files all went to /usr/local/texlive in my case
(with some
symlinks in /usr/local/bin). </blockquote>
<br>
OK, I have just used this same method, and tried to xetex a single
line<br>
(Ceci est un essai de xetex). Using TeXworks, I had the message:<br>
<br>
<meta name="qrichtext" content="1">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;"><!--StartFragment-->This
is XeTeX, Version 3.1415926-2.2-0.9995.2 (TeX Live 2009/Debian)</p>
<p style="-qt-paragraph-type:empty; margin-top:0px;
margin-bottom:0px; margin-left:0px; margin-right:0px;
-qt-block-indent:0; text-indent:0px;"><br>
</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;">kpathsea:
Running mktexfmt xetex.fmt</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;">I can't
find the format file `xetex.fmt'!<!--EndFragment--></p>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<style type="text/css">
p, li { white-space: pre-wrap; }
</style><br>
and using the terminal, with command line: xetex test<br>
Ireceive the same message.<br>
I checked, and found xetex.fmt in the directory<br>
/usr/local/texlive/2012/texmf-var/web2c/xetex<br>
</blockquote>
<br>
OK, that's the same place as on my computer.<br>
<br>
A few things come to my mind:<br>
<br>
1) Permissions<br>
TeX uses "ls-R" files to find things. They are normally generated
automatically using the "mktexlsr" tool. However, if you installed
using sudo but are running the rest as a normal user, these files
may not be updated properly (resulting in TeX not finding files even
though they are installed). Try running `mktexlsr` from a terminal.
If it fails with "permission denied" errors, you have several
options:<br>
a) run it with `sudo mktexlsr` (not sure if this works; won't make
your life easier, though, as you'd need to do it manually every time
you change the packages)<br>
b) change permissions on /usr/local/texlive (or at least some
files/subdirectories) so that every user can write to them and then
rerun mktexlsr<br>
c) make yourself the owner of /usr/local/texlive (I used this method
for convenience, but obviously this is not recommended if several
users should use/administer the TeX distro); then rerun mktexlsr<br>
<br>
In the end, /usr/local/texlive/2012/texmf-var/ls-R should contain
"xetex.fmt".<br>
<br>
2) Programs<br>
Try running `which mktexlsr` (or similar) to determine if the right
mktexlsr program is used (i.e., not one still lying around from
earlier attempts, e.g., using synaptic)<br>
<br>
3) Try running `mktexfmt xetex.fmt` from the terminal. It might give
more verbose output.<br>
<br>
<blockquote cite="mid:500D24C0.8050105@free.fr" type="cite"> and I
added it to the working directories of TeXWorks.<br>
No effect.<br>
</blockquote>
<br>
Yes. This is not an issue with TeXworks, but with the TeX
distribution itself. As long as running XeTeX from the command line
does not work, you don't need to change anything in TeXworks.<br>
<br>
<blockquote cite="mid:500D24C0.8050105@free.fr" type="cite"> I
asked: file xetex.fmt: gzip compressed data, from Unix, max speed.<br>
</blockquote>
<br>
Same here.<br>
<br>
HTH<br>
Stefan<br>
</body>
</html>