Debian Codegraph @

texmf-dist/doc/latex/glossaries/samples/README-samples

raw
1 These are sample files illustrating the use of the glossaries
2 package. If you are new to this package, start with minimalgls.tex
3 to check you have glossaries correctly installed and to check that
4 you understand how to use it.
5
6 1. Run minimalgls.tex through LaTeX ("compile the document") either
7 by typing
8
9 latex minimalgls
10
11 in a terminal or by using the relevant button or menu item in your
12 text editor or front-end. This will create the required associated
13 files but you will not see the glossary. If you use PDFLaTeX you
14 will also get warnings about non-existent references that look
15 something like:
16
17 pdfTeX warning (dest): name{glo:aca} has been referenced but does
18 not exist,
19 replaced by a fixed one
20
21 These warnings may be ignored on the first run.
22
23 If you get a "Missing \begin{document}" error, then it's most likely
24 that your version of xkeyval.sty is out of date. Check the log file
25 for a warning of that nature. If this is the case, please update
26 your TeX distribution.
27
28 2. Run makeglossaries on the document. This can be done on a
29 terminal either by typing
30
31 makeglossaries minimalgls
32
33 or by typing
34
35 perl makeglossaries minimalgls
36
37 If you don't have Perl installed you will need to run makeindex
38 directly:
39
40 makeindex -s minimalgls.ist -t minimalgls.glg -o minimalgls.gls minimalgls.glo
41
42 Another alternative is to use the Java application makeglossariesgui
43 (http://ctan.org/pkg/makeglossariesgui) which has diagnostic tools
44 to help determine what has gone wrong if there's a problem.
45
46 3. Repeat step 1. Your document minimalgls.pdf should now have a
47 glossary.
48
49 If the above seems complicated, you can automate the process using
50 tools such as latexmk or arara. See
51 http://www.dickimaw-books.com/latex/thesis/html/build.html for
52 further details.