summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/glossaries/styles/glossary-list.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-04-20 21:52:18 +0000
committerKarl Berry <karl@freefriends.org>2016-04-20 21:52:18 +0000
commite155df94bcae899bce238a8b1bc2d6b7e7303cbb (patch)
treee300096ee2baf91633ad81125e449d3376fbd7c2 /Master/texmf-dist/tex/latex/glossaries/styles/glossary-list.sty
parent55d513e3d3a10cd226794281bae3af49a4766f9d (diff)
glossaries (20apr16)
git-svn-id: svn://tug.org/texlive/trunk@40635 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/glossaries/styles/glossary-list.sty')
-rw-r--r--Master/texmf-dist/tex/latex/glossaries/styles/glossary-list.sty22
1 files changed, 14 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/latex/glossaries/styles/glossary-list.sty b/Master/texmf-dist/tex/latex/glossaries/styles/glossary-list.sty
index c5a6e5d5ab0..8660f843aa4 100644
--- a/Master/texmf-dist/tex/latex/glossaries/styles/glossary-list.sty
+++ b/Master/texmf-dist/tex/latex/glossaries/styles/glossary-list.sty
@@ -38,10 +38,12 @@
%% Right bracket \] Circumflex \^ Underscore \_
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
-\ProvidesPackage{glossary-list}[2016/01/24 v4.21 (NLCT)]
+\ProvidesPackage{glossary-list}[2016/04/19 v4.22 (NLCT)]
\providecommand{\indexspace}{%
\par \vskip 10\p@ \@plus 5\p@ \@minus 3\p@ \relax
}
+\newcommand*{\glslistgroupheaderfmt}[1]{#1}
+\newcommand*{\glslistnavigationitem}[1]{\item[#1]}
\newglossarystyle{list}{%
\renewenvironment{theglossary}%
{\begin{description}}{\end{description}}%
@@ -53,19 +55,21 @@
\glossentrydesc{##1}\glspostdescription\space ##2}%
\renewcommand*{\subglossentry}[3]{%
\glssubentryitem{##2}%
- \glstarget{##2}{\strut}%
+ \glstarget{##2}{\strut}\space
\glossentrydesc{##2}\glspostdescription\space ##3.}%
\renewcommand*{\glsgroupskip}{\ifglsnogroupskip\else\indexspace\fi}%
}
\newglossarystyle{listgroup}{%
\setglossarystyle{list}%
- \renewcommand*{\glsgroupheading}[1]{\item[\glsgetgrouptitle{##1}]}}
+ \renewcommand*{\glsgroupheading}[1]{%
+ \item[\glslistgroupheaderfmt{\glsgetgrouptitle{##1}}]}}
\newglossarystyle{listhypergroup}{%
\setglossarystyle{list}%
\renewcommand*{\glossaryheader}{%
- \item[\glsnavigation]}%
+ \glslistnavigationitem{\glsnavigation}}%
\renewcommand*{\glsgroupheading}[1]{%
- \item[\glsnavhypertarget{##1}{\glsgetgrouptitle{##1}}]}}
+ \item[\glslistgroupheaderfmt
+ {\glsnavhypertarget{##1}{\glsgetgrouptitle{##1}}}]}}
\newglossarystyle{altlist}{%
\setglossarystyle{list}%
\renewcommand*{\glossentry}[2]{%
@@ -80,13 +84,15 @@
}
\newglossarystyle{altlistgroup}{%
\setglossarystyle{altlist}%
- \renewcommand*{\glsgroupheading}[1]{\item[\glsgetgrouptitle{##1}]}}
+ \renewcommand*{\glsgroupheading}[1]{%
+ \item[\glslistgroupheaderfmt{\glsgetgrouptitle{##1}}]}}
\newglossarystyle{altlisthypergroup}{%
\setglossarystyle{altlist}%
\renewcommand*{\glossaryheader}{%
- \item[\glsnavigation]}%
+ \glslistnavigationitem{\glsnavigation}}%
\renewcommand*{\glsgroupheading}[1]{%
- \item[\glsnavhypertarget{##1}{\glsgetgrouptitle{##1}}]}}
+ \item[\glslistgroupheaderfmt
+ {\glsnavhypertarget{##1}{\glsgetgrouptitle{##1}}}]}}
\newglossarystyle{listdotted}{%
\setglossarystyle{list}%
\renewcommand*{\glossentry}[2]{%