GeneralGlossary not printed

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
Scorpion
Posts: 12
Joined: Sun May 05, 2013 10:37 pm

Glossary not printed

Post by Scorpion »

Hey,

I use the package glossaries in this way.

Code: Select all

\usepackage[acronym,toc]{glossaries}
It works so far in the text, but now at the end of my thesis I wanted to print it out.

Code: Select all

\printglossary[type=\acronymtype,title=XXX,nonumberlist=true,toctitle=XXX, style=altlong4colwithindent]
But it just prints out an empty page and there is also no entry in the ToC. The style works, because I already used this for the bachelors thesis and that's why I have almost no idea how I can make it work!

The only thing I can think of is that I have to put some parameters to MakeIndex but when I try this (in TeXnicCenter) I just get errors.

Code: Select all

-s "%tm.ist" -t "%tm.alg" -o "%tm.acr" "%tm.acn"
I really need help because I have to submit in two days and I have no clue how to fix it. :(

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

Glossary not printed

Post by cgnieder »

Can you please post a Infominimal working example that let's us reproduce your issues?

Regards
site moderator & package author
Scorpion
Posts: 12
Joined: Sun May 05, 2013 10:37 pm

Glossary not printed

Post by Scorpion »

Code: Select all

\documentclass[
  11pt,
  a4paper,
%  draft, % draft=entwurf
%  normalheadings,
  listof=totoc,
  bibliography=totoc,	% Bibliographie ins ToC
]{scrreprt}	
\usepackage[acronym, toc]{glossaries}
						
\renewcommand*{\glspostdescription}{} 
\makeglossaries 

\newacronym{123}{123}{1234567890}

\newcommand*{\myglossaryindent}{0.65cm} 	
\newcommand*{\myglsdescwidth}{10cm} 			
\newglossarystyle{altlong4colwithindent}
{
  \glossarystyle{altlong4col}
  \renewenvironment{theglossary}
    {\begin{longtable}[l]{@{\hspace{\myglossaryindent}}lp{\myglsdescwidth}lp{\glspagelistwidth}@{}}}
    {\end{longtable}}
}

\begin{document}

\tableofcontents	

\chapter{chapter 1}
text \gls{123}.

\printglossary[type=\acronymtype, title=Abkürzungen, nonumberlist=true, toctitle=Abkürzungen, style=altlong4colwithindent]
								
\end{document}
User avatar
cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

Glossary not printed

Post by cgnieder »

When I copied you code to a file test.tex and compiled
  1. with pdflatex (pdflatex test)
  2. with makeglossaries (makeglossaries test)
  3. with pdflatex (pdflatex test)
everything looks as I expect it to... no errors and the acronym shows up in the list as it should.

Regards
site moderator & package author
Scorpion
Posts: 12
Joined: Sun May 05, 2013 10:37 pm

Re: Glossary not printed

Post by Scorpion »

omg.... the problem was the "ü" i had in the title of the glossaries :shock:
User avatar
cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

Glossary not printed

Post by cgnieder »

Did you run the makeglossaries program on the file? You said something about makeindex (which works but makeglossaries tales care of any needed options, style files, ...).

Regards
site moderator & package author
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Glossary not printed

Post by localghost »

A corresponding Know How Article might help here.


Thorsten
User avatar
cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

Glossary not printed

Post by cgnieder »

Scorpion wrote:omg.... the problem was the "ü" i had in the title of the glossaries :shock:
That's strange: your example compiled for me just fine -- including the “ü”
site moderator & package author
Post Reply