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 informationentity managed by a file system. Usually, a file is stored in a setof linear linked inodes. A link or a directory consists of a singleinode. The actual size of an inode is defined by the chunksize of a specific file system while being instantiated. Typicallyan inode is 4,096 Bytes big. A file system is only able to storefiles multiples of inode size quantities. This means that a filewhich holds 42 Bytes also uses up 4,096 Bytes on the harddrive. This unused occupied 4.052 Bytes are part of the``internal fragmentation''. In extreme cases this could leadto a full hard drive partition while only storing a fraction of thedisk capacity. Most file systems have a hard limit on the number ofinodes.\footnote{There are some exceptions to this fact. For examplein \myacro{XFS}, inodes are assigned dynamically and therefore canhold much more entities.}}}\newacronym{lvm}{LVM}{Logical Volume Manager}My problem:\\\gls{partition} is having brackets\\
Code: Select all
vk@gary ~2d % makeglossaries 2012-07-07-glossaries-problemsadded 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.