1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
|
<head>
<title>UK TeX FAQ -- question label findfiles</title>
</head><body>
<h3>Finding (La)TeX files</h3>
<p>Modern TeX distributions contain a huge array of support files of
various sorts, but sooner or later most people need to find something
that's not in their present system (if nothing else, because they've
heard that something has been updated).
<p>But how to find the files?
<p>Some sources, such as these FAQ answers, provide links to
files: so if you've learnt about a package here, you should be able to
retrieve it without too much fuss.
<p>The CTAN sites provide searching facilities. Mostly, these are
Web-based, but the <i>ftp</i> site \FTP{dante.ctan.org} still
offers an <i>ftp</i> command
<blockquote>
<code>quote site index <<i>thing</i>></code>
</blockquote>
which reports the first twenty files on the archive that it can find,
whose names match <code><<i>thing</i>></code> (ignoring the case of any
letters). This is a blunt tool at best, and skill in writing regular
expressions is necessary to get it to give of its best: so a tool for
<i>unix</i> system hackers and their ilk.
<p>The same search, tidied to be much more nearly useful, is to be found
at <a href="http://www.dante.de/cgi-bin/ctan-index">http://www.dante.de/cgi-bin/ctan-index</a>; the script returns
the same data as does <code>quote site index</code>, but not truncated and
arranged very neatly as a series of links to directories and
individual files.
<p>The UK CTAN offers a
<a href="http://www.tex.ac.uk/search">search page</a> that provides a
file-name search similar to the Dante machine's (above), and also
allows keyword search of the archive catalogue (see below). This is a
pretty powerful tool: the results include links to the catalogue
"short descriptions", so you can assure yourself that the package
you've found is the one you want.
<p>The USA CTAN's
<a href="http://www.ctan.org/search">search page</a> provides the two search
options of the UK site, plus a search form that allows you to
use <i>Google</i> to search CTAN.
<p>In fact, <i>Google</i>, and other search engines, can be useful
tools. Enter your search keywords, and you may pick up a package that
the author hasn't bothered to submit to CTAN. If you're using
<i>Google</i>, you can restrict your search to CTAN by
entering
<blockquote>
<code>site:ctan.org tex-archive <<i>search term(s)</i>></code>
</blockquote>
in <i>Google</i>'s "search box". You can also enforce the
restriction using <i>Google</i>'s "advanced search" mechanism;
other search engines (presumably) have similar facilities.
<p>Many people avoid the need to go over the network at all, for their
searches, by downloading the file list that Dante's
"<code>quote site index</code>" command uses. This file, <i>FILES.byname</i>,
presents a unified listing of the archive (omitting directory names and
cross-links). Its companion <i>FILES.last07days</i> is also useful, to
keep an eye on the changes on the archive. Since these files are
updated only once a day, a nightly automatic download (perhaps using
<i>rsync</i>) makes good sense.
<dl>
<dt><tt><i>FILES.byname</i></tt><dd><a href="ftp://cam.ctan.org/tex-archive/FILES.byname">FILES.byname</a>
<dt><tt><i>FILES.last07days</i></tt><dd><a href="ftp://cam.ctan.org/tex-archive/FILES.last07days">FILES.last07days</a>
</dl>
<p><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=findfiles">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=findfiles</a>
</body>
|