LaTeX forum ⇒ Theses, Books, Title pageskaobook will not build

Classicthesis, Bachelor and Master thesis, PhD, Doctoral degree
wmeyer48
Posts: 9
Joined: Mon Sep 23, 2019 4:40 pm

kaobook will not build

Postby wmeyer48 » Mon Jun 01, 2020 4:56 pm

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!

User avatar
Johannes_B
Site Moderator
Posts: 4166
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Mon Jun 01, 2020 5:22 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.

wmeyer48
Posts: 9
Joined: Mon Sep 23, 2019 4:40 pm

Postby wmeyer48 » Mon Jun 01, 2020 7:21 pm

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}
}

rais
Posts: 268
Joined: Sun Nov 16, 2014 8:51 pm

Postby rais » Mon Jun 01, 2020 9:37 pm

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

wmeyer48
Posts: 9
Joined: Mon Sep 23, 2019 4:40 pm

Postby wmeyer48 » Mon Jun 01, 2020 10:14 pm

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