I am relatively new to LaTeX, and have been trying to set up the kaomain template which I downloaded from latextemplates.com.
In trying to follow the instructions from that site:
pdflatex main
makeindex main.nlo -s nomencl.ist -o main.nls
makeindex main
biber main
main
I find that pdflatex main fails because the glossaries have not been produced, and makeglossaries will not run because pdflatex failed:
[13] (main.mw)
! Package glossaries Error: Glossary entry `computer' has not been defined.
See the glossaries package documentation for explanation.
Type H <return> for immediate help.
...
l.99 ...ng to use them, like this: \gls{computer}.
?
! Emergency stop.
Is there a way to run pdflatex and ignore the lack of glossaries? Or is there some other solution needed? Running pdflatex again does not resolve the problem, no matter how many times I run it.
Thanks!
LaTeX forum ⇒ Theses, Books, Title pages ⇒ kaobook will not build
- Johannes_B
- Site Moderator
- Posts: 4185
- Joined: Thu Nov 01, 2012 4:08 pm
Define the glossary entry called computer.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Define the glossary entry called computer.
I should have emphasized that this problem is with the unchanged files downloaded with the template. I have so far edited nothing. And being new to the package, was expecting to build the sample before making any changes.
And looking in main.tex, it appears as though the entry is being defined:
\newglossaryentry{computer}{
name=computer,
description={is a programmable machine that receives input, stores and manipulates data, and provides output in a useful format}
}
wmeyer48 wrote:And looking in main.tex, it appears as though the entry is being defined:
yes, well, the definition comes a bit too late. To ensure it's defined before being accessed, just move it -- and the
\newacronym
macros, too -- into the preamble, i.e., between \documentclass
and \begin{document}
.KR
Rainer
yes, well, the definition comes a bit too late. To ensure it's defined before being accessed, just move it -- and the \newacronym macros, too -- into the preamble, i.e., between \documentclass and \begin{document}.
Thank you! I might have gotten there eventually, but it's a part-time activity for me, and a lot to digest.
Return to “Theses, Books, Title pages”
Who is online
Users browsing this forum: No registered users and 4 guests