I do have two problems using the glossaries package:
What I want to accomplish:
Normal glossary entries as usual but the abbreviated acronyms should be set in
\textsc
(using my \myacro{}
command if possible).What I got:
When I am using the "smaller" option in order to do the
\renewcommand*{\acronymfont}
trick (as mentioned in the glossaries FAQs), I get brackets after each normal glossary word in the main text. Second problem:
I have got an entry (myinode) which does not get printed in the glossary. I could not generate a minimal example because whenever I remove a part of its text, it suddenly appears in the glossary. Perhaps you can find my problem with this entry.
Code: Select all
\documentclass[a4paper]{scrartcl}
\usepackage{ucs}
\usepackage[utf8x]{inputenc}
\newcommand{\myacro}[1]{\textsc{\lowercase{#1}}} %% I use this to format TLAs
\usepackage[toc,smaller]{glossaries} %% option "smaller" is to be able to change acronym font
\renewcommand*{\acronymfont}[1]{\myacro{#1}} %% changes the format of the acronyms
\makeglossaries
\begin{document}
\newglossaryentry{partition}
{
name={partition},
description={Physical hard disks\ldots}
}
\newglossaryentry{inode}
{
name=inode,
plural=inodes,
description={The smallest file- or directory-related information
entity managed by a file system. Usually, a file is stored in a set
of linear linked inodes. A link or a directory consists of a single
inode. The actual size of an inode is defined by the chunk
size of a specific file system while being instantiated. Typically
an inode is 4,096 Bytes big. A file system is only able to store
files multiples of inode size quantities. This means that a file
which holds 42 Bytes also uses up 4,096 Bytes on the hard
drive. This unused occupied 4.052 Bytes are part of the
``internal fragmentation''. In extreme cases this could lead
to a full hard drive partition while only storing a fraction of the
disk capacity. Most file systems have a hard limit on the number of
inodes.\footnote{There are some exceptions to this fact. For example
in \myacro{XFS}, inodes are assigned dynamically and therefore can
hold much more entities.}}
}
\newacronym{lvm}{LVM}{Logical Volume Manager}
My problem:\\
\gls{partition} is having brackets\\
\gls{lvm} is fine but is in small characters in the glossary\\
\gls{lvm} is fine but is in small characters in the glossary\\
\gls{inode} is having brackets and its entry never gets printed in the glossary.
\printglossaries
%% compiled with: (on Ubuntu 10.04)
%% pdflatex main.tex && makeglossaries main && pdflatex main && pdflatex main && okular main.pdf
%% pdfTeX 3.1415926-1.40.10-2.2 (TeX Live 2009/Debian)
%% Makeglossaries Version 1.7 (2009-09-23)
\end{document}
Code: Select all
vk@gary ~2d % makeglossaries 2012-07-07-glossaries-problems
added glossary type 'main' (glg,gls,glo)
makeindex -s "2012-07-07-glossaries-problems.ist" -t "2012-07-07-glossaries-problems.glg" -o "2012-07-07-glossaries-problems.gls" "2012-07-07-glossaries-problems.glo"
This is makeindex, version 2.15 [TeX Live 2009] (kpathsea + Thai support).
Scanning style file ./2012-07-07-glossaries-problems.ist...........................done (27 attributes redefined, 0 ignored).
Scanning input file 2012-07-07-glossaries-problems.glo....done (4 entries accepted, 1 rejected).
Sorting entries....done (9 comparisons).
Generating output file 2012-07-07-glossaries-problems.gls....done (12 lines written, 0 warnings).
Output written in 2012-07-07-glossaries-problems.gls.
Transcript written in 2012-07-07-glossaries-problems.glg.