Indexes, Glossaries, and Acronyms
In EasyLaTeX, the no-index mode of glossaries builds term and acronym lists without external commands. An index can combine manually maintained entries with automatic page references. Put this example in the project main file, select pdfLaTeX, and compile on the platform.
Initialize Terms and Acronyms
Add this setup to the preamble. \makenoidxglossaries lets LaTeX process the lists without requiring a separate index program or changes to platform build configuration.
\usepackage[acronym]{glossaries}
\makenoidxglossaries
\newglossaryentry{typesetting}{
name={Typesetting},
sort={typesetting},
description={Arranging text, mathematics, and graphics}
}
\newacronym{pdf}{PDF}{Portable Document Format}
Use Entries in the Body
Reference defined entries with \gls. An acronym normally expands on first use and is abbreviated thereafter. Add a label where the index should point:
\gls{typesetting}\label{term:typesetting}
The result is often published as \gls{pdf}.
Print Term and Acronym Lists
\printnoidxglossary
\printnoidxglossary[type=\acronymtype]
Defining a term does not use it in the body. If a list is empty, check that its entries actually appear through \gls.
Create an Index
In this approach, you maintain the entries and their order while \pageref updates page numbers. It does not automatically scan the body for every keyword.
\begin{theindex}
\item Typesetting, \pageref{term:typesetting}
\end{theindex}
Organize long indexes according to the template's conventions. For a template with existing glossary definitions, retain its entries and output commands. Use this page's complete example in a blank project for practice.
Check the Result on the Platform
Save the main file, compile, and wait for the complete job. Check entries, first-use expansion, and index page numbers. For ??, inspect labels and the first log error. The platform manages the required compilation passes.
Common Problems
Empty Lists
Check entry names, matching \gls{...} calls, output commands in the body, and whether the current compilation succeeded.
Inconsistent Acronym Capitalization
Define each acronym once in the preamble and use \gls, \Gls, and related commands instead of manually mixing full names and abbreviations.
The Template Already Has a Glossary
Check its entry definitions, references, and list output locations. Do not define the same entry twice. Compare with this page's complete example in a blank project to distinguish template configuration issues from entry-usage issues.
Complete Example
\documentclass[a4paper,12pt]{article}
\usepackage[acronym]{glossaries}
\makenoidxglossaries
\newglossaryentry{typesetting}{
name={Typesetting},
sort={typesetting},
description={Arranging text, mathematics, and graphics}
}
\newacronym{pdf}{PDF}{Portable Document Format}
\begin{document}
\section{Index Example}
\gls{typesetting}\label{term:typesetting}
The result is often published as \gls{pdf}.
\printnoidxglossary
\printnoidxglossary[type=\acronymtype]
\begin{theindex}
\item Typesetting, \pageref{term:typesetting}
\end{theindex}
\end{document}