diff options
author | Karl Berry <karl@freefriends.org> | 2016-02-03 23:01:02 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-02-03 23:01:02 +0000 |
commit | 73767cabef196827d926d0e3adce167a57f4a4b9 (patch) | |
tree | 70f3c7450edbed5e7c8ab735eb1438a48b5bfbd2 /Master/texmf-dist/tex/latex/glossaries-extra | |
parent | c2b77b4b887eba9dfa698b9a70e5e73b0f5bbcfa (diff) |
glossaries-extra (3feb16)
git-svn-id: svn://tug.org/texlive/trunk@39563 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/glossaries-extra')
-rw-r--r-- | Master/texmf-dist/tex/latex/glossaries-extra/glossaries-extra.sty | 40 |
1 files changed, 31 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/latex/glossaries-extra/glossaries-extra.sty b/Master/texmf-dist/tex/latex/glossaries-extra/glossaries-extra.sty index fc0517ef5de..3b1643d23f4 100644 --- a/Master/texmf-dist/tex/latex/glossaries-extra/glossaries-extra.sty +++ b/Master/texmf-dist/tex/latex/glossaries-extra/glossaries-extra.sty @@ -39,7 +39,7 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{glossaries-extra}[2016/01/24 v1.0 (NLCT)] +\ProvidesPackage{glossaries-extra}[2016/02/02 v1.01 (NLCT)] \RequirePackage{xkeyval} \RequirePackage{etoolbox} \@ifpackageloaded{glossaries} @@ -2785,7 +2785,7 @@ want }% }% }% - \glsxtrpostnamehook{#1}% + \glsxtrpostnamehook{#1}% } } \@ifpackageloaded{glossaries-accsupp} @@ -3104,19 +3104,41 @@ want {}% } \newcommand*{\glsxtrdiscardperiod}[3]{% - \glsifattribute{#1}{discardperiod}{true}% + \glsxtrifwasfirstuse {% - \glsifplural + \glsifattribute{#1}{retainfirstuseperiod}{true}% + {#3}% {% - \glsifattribute{#1}{pluraldiscardperiod}{true}% - {\glsxtrifperiod{#2}{#3}}% + \glsifattribute{#1}{discardperiod}{true}% + {% + \glsifplural + {% + \glsifattribute{#1}{pluraldiscardperiod}{true}% + {\glsxtrifperiod{#2}{#3}}% + {#3}% + }% + {% + \glsxtrifperiod{#2}{#3}% + }% + }% {#3}% }% + }% + {% + \glsifattribute{#1}{discardperiod}{true}% {% - \glsxtrifperiod{#2}{#3}% + \glsifplural + {% + \glsifattribute{#1}{pluraldiscardperiod}{true}% + {\glsxtrifperiod{#2}{#3}}% + {#3}% + }% + {% + \glsxtrifperiod{#2}{#3}% + }% }% + {#3}% }% - {#3}% } \newcommand*{\glsxtrifperiod}[1]{\new@ifnextchar.{\@firstoftwo{#1}}} \newcommand*{\glsxtr@punclist}{.,:;?!} @@ -4069,7 +4091,7 @@ want \newabbreviationstyle{short-desc}% {% \renewcommand*{\CustomAbbreviationFields}{% - name={\protect\glsextrinlinefullformat{\the\glslabeltok}}, + name={\protect\glsxtrinlinefullformat{\the\glslabeltok}{}}, sort={\the\glsshorttok}, first={\protect\glsfirstabbrvfont{\the\glsshorttok}}, firstplural={\protect\glsfirstabbrvfont{\the\glsshortpltok}}, |