[XeTeX] graphic filename in Chinese
Yue Wang
yuleopen at gmail.com
Fri Apr 24 10:05:44 CEST 2009
Hi,
BTW, When XeTeX try to find my graphics or fonts specified in the
source (like my example above),
it usually search the disk for more than 1.5 minutes before throwing
the error message. Why?
(I state in the texmf.cnf very clearly that kpse should use ls-R to
search all directories:
TEXMF =
{!!$TEXMFPROJECT,!!$TEXMFFONTS,!!$TEXMFLOCAL,!!$TEXMFCONTEXT,!!$TEXMFEXTRA,!!$TEXMFMAIN}
SYSTEXMF = $TEXMF
and moreover, my texmf tree is very small, all ls-R files in
directories are only 60KB in total.
)
even if the right font/picture filename is given, the first xetex run
is still very slow. a simple example like
\usetypescript[iwona]
\setupbodyfont[iwona,ss,12pt]
\starttext
\dorecurse{20}{\input zapf}
\stoptext
will take 1.5 min to search the disk. second run also takes more than
10 seconds.
Why is it so slow?
Yue Wang
On Fri, Apr 24, 2009 at 3:21 PM, Akira Kakuto <kakuto at fuk.kindai.ac.jp> wrote:
>> 2009/4/23 Yue Wang <yuleopen at gmail.com>:
>> > On Windows, I already set the encoding to UTF-8.
>> > The output log is get from TeXWorks. Windows' cmd cannot display that
>> > (I am using the English version, but I doubt Chinese version cannot
>> > display that either since Simplified Chinese version Windows use GBK
>> > for cmd).
>
> In my test,
> \XeTeXpicfile "\344\275\240\345\245\275.jpg" \bye
> can include the picture file without any problem
> on windows. See an attached fname.tar.gz.
> (I've written here the name with octal numbers, since
> my mail program does not know utf8 encoding.)
> Note that the file name must also be utf8.
> The problem is that it is not easy to make a
> file with utf8 name.
>
> Best,
> Akira
>
> _______________________________________________
> XeTeX mailing list
> postmaster at tug.org
> http://tug.org/mailman/listinfo/xetex
>
>
More information about the XeTeX
mailing list