Newsgroups: fj.comp.texhax
Path: galaxy.trc.rwcp.or.jp!coconuts.jaist!wnoc-tyo-news!wnoc-sfc-news!wnoc-kyo-news!aist-nara!odins-suita!orions-news!icluna!news
From: uchiyama@bacchus.in.kobe-u.ac.jp (Takanori Uchiyama)
Subject: Re: Platex compiles *.tex files slowly
Message-ID: <jb4tquhjga.fsf@in5at3.bacchus.in.kobe-u.ac.jp>
Sender: uchiyama@in5at3.bacchus.in.kobe-u.ac.jp
In-Reply-To: tyasuda@ship3.ipc.tosho-u.ac.jp's message of Mon, 8 Apr 1996 06:46:38 GMT
Date: Mon, 8 Apr 1996 14:35:49 GMT
References: <DpJ6tq.53D@ipc.tosho-u.ac.jp>
Organization:  Dept. Comp. & Sys. Eng., Fac. Eng., Kobe Univ., Kobe, JAPAN
X-Newsreader: Gnus v5.0.15
Lines: 50
Xref: galaxy.trc.rwcp.or.jp fj.comp.texhax:7762
X-originally-archived-at: http://galaxy.rwcp.or.jp/text/cgi-bin/newsarticle2?ng=fj.comp.texhax&nb=7762&hd=a
X-reformat-date: Mon, 18 Oct 2004 15:18:22 +0900
X-reformat-comment: Tabs were expanded into 4 column tabstops by the Galaxy's archiver. See http://katsu.watanabe.name/ancientfj/galaxy-format.html for more info.

In article <DpJ6tq.53D@ipc.tosho-u.ac.jp> tyasuda@ship3.ipc.tosho-u.ac.jp (Tomonaga Yasuda) writes:

   $B:G6a(B ASCII-JTeX $B$+$i(B ASCII-pTeX(2.1.4) $B$K>h$j49$($?$N$G$9$,!"(B
   $B%3%s%Q%$%k$NB.EY$,Hs>o$KCY$/$F:$$C$F$*$j$^$9!#(B

   $B$3$l$O;d$,!V2fK}!W$9$k$Y$-$3$H$J$N$G$7$g$&$+!#(B

$B$"$kDxEY$N%A%e!<%K%s%0$O2DG=$G$9(B. kpathsea.info $B$K(B
----------------------------------------------------------------------
Slow path searching
-------------------

  If your program takes an excessively long time to find fonts or
other
input files, but does eventually succeed, here are some possible
culprits:

   * Most likely, you just have a lot of directories to search, and that
     takes a noticeable time. The solution is to create and maintain a
     separate `ls-R' file that lists all the files in your main TeX
     hierarchy. *Note Filename database::.  (Kpathsea always uses `ls-R'
     if it's present; there's no need to recompile or reinstall any of
     the programs.)

   * Your recursively-searched directories (e.g.,
     `/usr/local/lib/tex/fonts//'), contain a mixture of files and
     directories. This prevents Kpathsea from using a useful
     optimization (*note Subdirectory expansion::.).

     It is best to have only directories (and perhaps a `README') in the
     upper levels of the directory structure, and it's very important
     to have *only* files, and no subdirectories, in the directories
     where the dozens of TFM, PK, or whatever files reside.

   * Finally, one simple-to-fix (but unlikely) cause: If you recursively
     search `$HOME' or `~', and you are running as `root', you will
     search every directory on the system.  This typically takes quite
     some time!

  In any case, you may find the debugging options helpful in determining
precisely when the disk or network is being pounded. *Note Debugging::,
and also see the program's documentation.
-----------------------------------------------------------------------
$B$H$"$j$^$9(B. ls-R $B%U%!%$%k$r:n@.$5$l$F$_$F$O$$$+$,$G$7$g$&$+(B. 

$B$b$C$H$b(B, $B$=$l$G$bCY$$$3$H$K$O$A$,$$$"$j$^$;$s(B. $B$H$/$K(B latex209 $B8_49%b!<(B
$B%I$O(B.
-- 
Takanori Uchiyama
Dept. of Computer & Systems Engin., Fac. of Engin., KOBE Univ. 
