LyX ⇒ Glossary with Lyx
Glossary with Lyx
at this moment I write my bachelor thesis and need a glossary.
I created a Databse with BibDesk and inserted it in my LyxDokument over the menubar.
I selected Style: glsplain
Preamble is:
...
\usepackage{gloss}
...
When I try too create a PDF there are a lot of erros like:
Undefined control sequence.
Description: \begin{thegloss}
What goes wrong??
Thanks.
Jazz
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Glossary with Lyx
Please, create an example .lyx file with some dummy text which demonstrates the problem, put it (and all necessary external files if there are any) in a ZIP archive and attach it to your next post. Board Rules (and need for a Minimal Working Example) apply to LyX-related problems too.
Re: Glossary with Lyx
Here are the requested files
- Attachments
-
- Archiv.zip
- Glossar Test
- (4.03 KiB) Downloaded 241 times
Glossary with Lyx
So, if you want to use BibTeX and gloss, you'll probably have to use one of "real" LaTeX editors and work with code. The important points regarding gloss package are:
1. put \makegloss command in the preamble
2. use \gloss{key} to mark the term and write it to .gls.aux file
3. put \printgloss{database} command in the place where you want the glossary to appear
4. run latex (or pdflatex) on the .tex file
5. run bibtex on .gls.aux (note gls part; you must run bibtex on this .gls.aux file, not on "plain" .aux file).
6. run latex (or pdflatex) two more times.
I exported the LYX file you attached in your previous post to .tex and added necessary commands to produce the glossary. You may test it running the following sequence of commands:
Code: Select all
pdflatex glossartest.tex
bibtex glossartest.gls.aux
pdflatex glossartest.tex
pdflatex glossartest.tex
- Attachments
-
- Archiv.zip
- (1.2 KiB) Downloaded 237 times
Re: Glossary with Lyx
Re: Glossary with Lyx
is there another way to create a glossary and a short cut list.
I use already nomencl for short cuts. Do you know a solution?
Thanks
Glossary with Lyx
I created a Script
Code: Select all
pdflatex Thesis.tex
pdflatex Thesis.tex
makeindex Thesis.nlo -s nomencl.ist -o Thesis.nls
pdflatex Thesis.tex
bibtex Thesis.gls.aux
pdflatex Thesis.tex
Open Thesis.pdf
For a german glossar don't forget to add in preamble
Code: Select all
%Glossar
\usepackage[german]{gloss}
\makegloss
and
Code: Select all
\printgloss{Code: Select all
}