Latest news 2019-11-04: The giveaway of two signed copies of “Quack, quack, quack. Give my hat back!” has closed and the winning entrants have been selected. Thank you to everyone who took part.

# glossaries package FAQ

FAQ Search Tips

Why shouldn't I use \include to include my glossary definitions? 🔗

Suppose you've defined all your glossary entries in a file called glossary-defs.tex and you want to use some or all of these entries in your document. The glossaries user guide says that you can use:

to load the file. For example:

```\loadglsentries{glossary-defs}
```
You can also use \input{filename} (e.g., \input{glossary-defs}) but you shouldn't use \include{filename}, despite the number of web pages that suggest you can or should.

Although both \input and \include make TeX read the named file, these two commands aren't equivalent. The first, \input, acts as though the contents of the file were written directly in your document in place of the \input command. The other one, \include, does a lot more than this. It

• checks it hasn't been nested;
• issues a \clearpage;
• writes a line to the main .aux file;
• checks if the file should be included or excluded. (See \includeonly and \excludeonly). If it should be included, then it:
• creates an associated .aux file that's used instead of the main .aux file while the included contents are being read;