summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/mfirstuc/mfirstuc.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/mfirstuc/mfirstuc.sty')
-rw-r--r--Master/texmf-dist/tex/latex/mfirstuc/mfirstuc.sty12
1 files changed, 11 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/mfirstuc/mfirstuc.sty b/Master/texmf-dist/tex/latex/mfirstuc/mfirstuc.sty
index ed7992e1d6f..06fae7ea38d 100644
--- a/Master/texmf-dist/tex/latex/mfirstuc/mfirstuc.sty
+++ b/Master/texmf-dist/tex/latex/mfirstuc/mfirstuc.sty
@@ -39,12 +39,22 @@
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{mfirstuc}[2015/09/09 v2.0 (NLCT)]
+\ProvidesPackage{mfirstuc}[2015/12/08 v2.01 (NLCT)]
\RequirePackage{etoolbox}
\newif\if@glscs
\newtoks\@glsmfirst
\newtoks\@glsmrest
\newrobustcmd*{\makefirstuc}[1]{%
+ \@MFU@p@makefirstuc#1\relax\relax\relax\@end@MFU@protected{#1}%
+}
+\def\@MFU@p@makefirstuc#1#2#3\@end@MFU@protected#4{%
+ \ifx\protect#1\relax
+ \@makefirstuc{#2#3}%
+ \else
+ \@makefirstuc{#4}%
+ \fi
+}
+\newcommand*{\@makefirstuc}[1]{%
\def\gls@argi{#1}%
\ifx\gls@argi\@empty
\else