## LaTeX forum ⇒ MakeIndex, Nomenclature, Glossaries and Acronyms ⇒ Makeindex: glossaries package with acronym option Topic is solved

Information and discussion about MakeIndex - the tool to generate subject indices for LaTeX documents.
nicol
Posts: 11
Joined: Wed Jan 05, 2011 1:54 pm

### Makeindex: glossaries package with acronym option

Dear all

I have a problem with the glossaries package with the option acronym.

I am using texmaker on windows.

I modified the makeindex command with:
makeindex %.idx %.glo -t %.glg -s %.ist -o %.gls %.acn

and I run
pdflatex -- makeindex -- pdflatex -- pdflatex

The problem is that I cannot print the list of the acronym as separated by the glossary in two separated sections.

I managed to print "only" the main glossaries with acronyms and glossary entries together

this is the code I used:
\documentclass[4apaper]{book} \usepackage[german,french,spanish,english]{babel} \usepackage{hyperref} \usepackage{makeidx}\makeindex \usepackage[acronym]{glossaries}  \newglossaryentry{parola}{name=parola,description={Bla Bla}} \newacronym{TEM}{TEM}{scanning electron microscope} \newacronym{lVm}{LVM}{Logical Volume Manager} \makeglossaries \begin{document}  \chapter{Chap One}Ciao\acrshort{lVm} Ciao\gls{TEM} Ciao\gls{parola}  \printglossary[type=\acronymtype]\printglossary  \end{document}

I tried also the simple \printglossaries instead of the two separated commands \printglossary[type=\acronymtype] and \printglossary, but nothing changed.

How can I do?
Nicol
Last edited by cgnieder on Sun Jan 12, 2014 11:48 am, edited 1 time in total.

Tags:

cgnieder
Site Moderator
Posts: 1986
Joined: Sat Apr 16, 2011 7:27 pm
Location: Germany
Contact:
Hi Nicol,

YOu don't need to do anything with the makeindex command. Instead run makeglossaries.

If I run your code with
1. pdflatex
2. makeglossaries
3. pdflatex

I get a document with five pages containing of chapter »Chap One«, a chapter »Acronyms« and a chapter »Glossary« as expected.

Regards
Clemens
------------------------------
chemmacros · chemformula · leadsheets · xsim

nicol
Posts: 11
Joined: Wed Jan 05, 2011 1:54 pm
sorry for my ignorance but...

how can I run makeglossaries?

Tekmaker doesn't work with it even if I created the command
makeindex%

following these instructions ( http://tex.stackexchange.com/questions/ ... on-windows )

Bests
Nicol

cgnieder
Site Moderator
Posts: 1986
Joined: Sat Apr 16, 2011 7:27 pm
Location: Germany
Contact:
Try the command line. If your file is called test.tex you should be able to call
makeglossaries test

How you tell TeXmaker to use it I have no idea since I never used that editor.

Regards
Clemens
------------------------------
chemmacros · chemformula · leadsheets · xsim

nicol
Posts: 11
Joined: Wed Jan 05, 2011 1:54 pm
Thank you very much

what do you use? (just for information)

Bests
Nicol

cgnieder
Site Moderator
Posts: 1986
Joined: Sat Apr 16, 2011 7:27 pm
Location: Germany
Contact:
I used to use Kile a lot but I switched to emacs not too long ago. (I even wrote a blog post about that )

Regards
Clemens
------------------------------
chemmacros · chemformula · leadsheets · xsim

nicol
Posts: 11
Joined: Wed Jan 05, 2011 1:54 pm
ok thank you very much.

nicol

Johannes_B
Site Moderator
Posts: 3663
Joined: Thu Nov 01, 2012 4:08 pm
nicol wrote:Tekmaker doesn't work with it even if I created the command
makeindex%
following these instructions ( http://tex.stackexchange.com/questions/ ... on-windows )

Maybe just a mistake when writing the post, but you have to input makeglossaries % as the new defined command.

Btw: Texmaker is useful for editing tex-files. There are other editors which are especially helpful for other files (like e.g. HTML).
Some editors are more powerful than others and can do almost everything (aside from making coffee), the big two are emacs and vim. Personally, i do everything in vim. Both are a bit complicated at first.
Let your personal taste decide who wins the editor war.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

cgnieder
Site Moderator
Posts: 1986
Joined: Sat Apr 16, 2011 7:27 pm
Location: Germany
Contact:
Johannes_B wrote:Some editors are more powerful than others and can do almost everything (aside from making coffee)

Well, since TeX can make toast it should be possible to make coffee as well. (Maybe even without TeX but with your editor of choice...)
Clemens
------------------------------
chemmacros · chemformula · leadsheets · xsim