summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-findfiles.html
blob: bab8cd911356d33c1f12a5f8b00901e98364d9c1 (plain)
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
<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&#8217;s not in their present system (if nothing else, because they&#8217;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&#8217;ve learnt about a package here, you should be able to
retrieve it without too much fuss.
<p/>Otherwise, the CTAN sites provide searching facilities, via the web.
The simplest search, locating files by name, is to be found on the
Dante CTAN
at <a href="http://dante.ctan.org/search.html">http://dante.ctan.org/search.html</a>; the script scans a
list of files (<i>FILES.byname</i> &#8212; see below) and returns a list
of matches, arranged very neatly as a series of links to directories
and to individual files.
<p/>The <a href="http://www.tex.ac.uk/search">UK</a> and
<a href="http://www.ctan.org/search.html">USA</a> CTANs offer a
search page that provides
<ul>
<li> a file-name search similar to the Dante machine&#8217;s (above);
<li> a keyword search of the archive catalogue (see below): this is a
  pretty powerful tool: the results include links to the catalogue
  &#8220;short descriptions&#8221;, so you can assure yourself that the package
  you&#8217;ve found is the one you want; and
<li> a search form that allows you to use <i>Google</i> to search
  CTAN.
</ul>
<p/>An alternative way to scan the catalogue is to use the catalogue&#8217;s

<a href="http://mirrors.ctan.org/help/Catalogue/bytopic.html">&#8220;by topic&#8221; index</a>;
this lists a series of topics, and (La)TeX projects that are worth
considering if you&#8217;re working on matters related to the topic.  
<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&#8217;t bothered to submit to CTAN.  If you&#8217;re using
<i>Google</i>, you can restrict your search to CTAN by
entering
<blockquote>
  <code>site:ctan.org tex-archive &lt;<i>search term(s)</i>&gt;</code>
</blockquote><p>
in <i>Google</i>&#8217;s &#8220;search box&#8221;.  You can also enforce the
restriction using <i>Google</i>&#8217;s &#8220;advanced search&#8221; 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 the archives&#8217; web
file searches use.  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="http://www.tex.ac.uk/tex-archive/FILES.byname">FILES.byname</a>
<dt><tt><i>FILES.last07days</i></tt><dd><a href="http://www.tex.ac.uk/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>