texlive[45743] Master/texmf-dist: mfirstuc (10nov17)

commits+karl at tug.org commits+karl at tug.org
Fri Nov 10 22:46:36 CET 2017


Revision: 45743
          http://tug.org/svn/texlive?view=revision&revision=45743
Author:   karl
Date:     2017-11-10 22:46:36 +0100 (Fri, 10 Nov 2017)
Log Message:
-----------
mfirstuc (10nov17)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/mfirstuc/CHANGES
    trunk/Master/texmf-dist/doc/latex/mfirstuc/README
    trunk/Master/texmf-dist/doc/latex/mfirstuc/mfirstuc-code.pdf
    trunk/Master/texmf-dist/doc/latex/mfirstuc/mfirstuc-manual.html
    trunk/Master/texmf-dist/doc/latex/mfirstuc/mfirstuc-manual.pdf
    trunk/Master/texmf-dist/doc/latex/mfirstuc/mfirstuc-manual.tex
    trunk/Master/texmf-dist/doc/latex/mfirstuc/sample-mfirstuc.pdf
    trunk/Master/texmf-dist/source/latex/mfirstuc/mfirstuc.dtx
    trunk/Master/texmf-dist/source/latex/mfirstuc/mfirstuc.ins
    trunk/Master/texmf-dist/tex/latex/mfirstuc/mfirstuc-english.sty
    trunk/Master/texmf-dist/tex/latex/mfirstuc/mfirstuc.sty

Modified: trunk/Master/texmf-dist/doc/latex/mfirstuc/CHANGES
===================================================================
--- trunk/Master/texmf-dist/doc/latex/mfirstuc/CHANGES	2017-11-10 21:46:23 UTC (rev 45742)
+++ trunk/Master/texmf-dist/doc/latex/mfirstuc/CHANGES	2017-11-10 21:46:36 UTC (rev 45743)
@@ -1,5 +1,9 @@
 mfirstuc change log:
 
+v2.05:
+
+  * bug fix in \@mfu at applytofirst (#1 must be grouped)
+
 v2.04:
 
   * bug fixes in \capitalisefmtwords and \@gls at split

Modified: trunk/Master/texmf-dist/doc/latex/mfirstuc/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/mfirstuc/README	2017-11-10 21:46:23 UTC (rev 45742)
+++ trunk/Master/texmf-dist/doc/latex/mfirstuc/README	2017-11-10 21:46:36 UTC (rev 45743)
@@ -1,6 +1,6 @@
-LaTeX Package : mfirstuc v2.04
+LaTeX Package : mfirstuc v2.05
 
-Last Modified : 2016-07-31
+Last Modified : 2017-11-10
 
 Author        : Nicola Talbot
 

Modified: trunk/Master/texmf-dist/doc/latex/mfirstuc/mfirstuc-code.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/mfirstuc/mfirstuc-manual.html
===================================================================
--- trunk/Master/texmf-dist/doc/latex/mfirstuc/mfirstuc-manual.html	2017-11-10 21:46:23 UTC (rev 45742)
+++ trunk/Master/texmf-dist/doc/latex/mfirstuc/mfirstuc-manual.html	2017-11-10 21:46:36 UTC (rev 45743)
@@ -174,7 +174,7 @@
 >
 <!--l. 36--><p class="noindent" >
 </p><!--l. 36--><p class="noindent" ><span 
-class="cmr-17">mfirstuc.sty v2.04: uppercasing first letter</span>
+class="cmr-17">mfirstuc.sty v2.05: uppercasing first letter</span>
 </p>
 <div class="tabular"> <table id="TBL-1" class="tabular" 
 cellspacing="0" cellpadding="0"  
@@ -196,12 +196,13 @@
 class="cmtt-12">http://www.dickimaw-books.com/</span></a></td></tr></table>
 </div>
 <!--l. 36--><p class="noindent" ><span 
-class="cmr-12">2016-07-31</span></p></div>
+class="cmr-12">2017-11-10</span></p></div>
                                                                          
 
                                                                          
    <h2 class="likechapterHead"><a 
- id="x1-1000"></a>Contents</h2> <div class="tableofcontents">
+ id="x1-1000"></a>Contents</h2>
+   <div class="tableofcontents">
    <span class="chapterToc" >1 <a 
 href="#sec:intro" id="QQ2-1-2">Introduction</a></span>
 <br />   <span class="chapterToc" >2 <a 
@@ -240,7 +241,7 @@
 
                                                                          
      <div class="verbatim" id="verbatim-1">
-     \newcommand{\qt}[1]{‘‘#1’’}
+     \newcommand{\qt}[1]{``#1''}
 </div>
      <!--l. 60--><p class="nopar" > (or use the <span 
 class="cmss-10">csquotes </span>package). With this, the following works:
@@ -260,7 +261,7 @@
                                                                          
 </p>
      <div class="verbatim" id="verbatim-3">
-     \makefirstuc{‘‘word’’}
+     \makefirstuc{``word''}
 </div>
      <!--l. 73--><p class="nopar" > fails (no case-change and double open quote becomes two single open quotes):
      <spacer type=vertical size=10><span class="obeylines-h">
@@ -1079,7 +1080,7 @@
    <div class="verbatim" id="verbatim-39">
 Package&#x00A0;hyperref&#x00A0;Warning:&#x00A0;Token&#x00A0;not&#x00A0;allowed&#x00A0;in&#x00A0;a&#x00A0;PDF&#x00A0;string
 &#x00A0;<br />(PDFDocEncoding):
-&#x00A0;<br />(hyperref)&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;removing&#x00A0;‘\capitalisewords’
+&#x00A0;<br />(hyperref)&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;removing&#x00A0;`\capitalisewords'
 </div>
 <!--l. 632--><p class="nopar" > </div>
 </p><!--l. 633--><p class="noindent" >
@@ -1516,7 +1517,8 @@
 <!--l. 2--><p class="indent" >   </div>
 </p><!--l. 2--><p class="noindent" ><a 
 href="#top">Top</a></p><h2 class="likechapterHead"><a 
- id="x1-80004"></a>Index</h2>                                                                                                    <span 
+ id="x1-80004"></a>Index</h2>
+                                                                       <span 
 class="cmbx-10">C</span>
    <div class="theindex"><span class="index-item"><span class="obeylines-h"><span class="verb"><span 
 class="cmtt-10">\capitalisewords</span></span></span>&#x00A0;&#x00A0;<span 
@@ -1568,11 +1570,11 @@
 class="cmti-10">5 </span><br /></span>
 <span class="index-item"><span 
 class="cmss-10">mfirstuc </span>package&#x00A0;&#x00A0;6, 19 <br /></span>
-<span class="index-item"><span 
-class="cmss-10">mfirstuc-english </span>package&#x00A0;&#x00A0;15 <br /></span>
                                                                          
 
                                                                          
+<span class="index-item"><span 
+class="cmss-10">mfirstuc-english </span>package&#x00A0;&#x00A0;15 <br /></span>
 <span class="index-item"><span class="obeylines-h"><span class="verb"><span 
 class="cmtt-10">\MFUcapword</span></span></span>&#x00A0;&#x00A0;<span 
 class="cmti-10">8 </span><br /></span>

Modified: trunk/Master/texmf-dist/doc/latex/mfirstuc/mfirstuc-manual.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/mfirstuc/mfirstuc-manual.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/mfirstuc/mfirstuc-manual.tex	2017-11-10 21:46:23 UTC (rev 45742)
+++ trunk/Master/texmf-dist/doc/latex/mfirstuc/mfirstuc-manual.tex	2017-11-10 21:46:36 UTC (rev 45743)
@@ -26,13 +26,13 @@
 
 \begin{document}
 \MakeShortVerb{|}
- \title{mfirstuc.sty v2.04: 
+ \title{mfirstuc.sty v2.05: 
 uppercasing first letter}
  \author{Nicola L.C. Talbot\\[10pt]
 Dickimaw Books\\
 \url{http://www.dickimaw-books.com/}}
 
- \date{2016-07-31}
+ \date{2017-11-10}
  \maketitle
  \tableofcontents
 

Modified: trunk/Master/texmf-dist/doc/latex/mfirstuc/sample-mfirstuc.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/latex/mfirstuc/mfirstuc.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/mfirstuc/mfirstuc.dtx	2017-11-10 21:46:23 UTC (rev 45742)
+++ trunk/Master/texmf-dist/source/latex/mfirstuc/mfirstuc.dtx	2017-11-10 21:46:36 UTC (rev 45743)
@@ -1,21 +1,21 @@
 %\iffalse
-% mfirstuc.dtx generated using makedtx version 1.1 (c) Nicola Talbot
+% mfirstuc.dtx generated using makedtx version 1.2 (c) Nicola Talbot
 % Command line args:
 %   -doc "mfirstuc-codedoc.tex"
+%   -setambles ".*\.perl=>\nopreamble\nopostamble"
+%   -setambles ".*\.tex=>\nopreamble\nopostamble"
+%   -author "Nicola Talbot"
+%   -comment ".*\.perl"
+%   -comment ".*\.tex"
 %   -macrocode ".*\.perl"
 %   -macrocode ".*\.tex"
 %   -codetitle "Main Package Code"
-%   -comment ".*\.perl"
-%   -comment ".*\.tex"
-%   -setambles ".*\.perl=>\nopreamble\nopostamble"
-%   -setambles ".*\.tex=>\nopreamble\nopostamble"
-%   -author "Nicola Talbot"
 %   -src "mfirstuc.sty\Z=>mfirstuc.sty"
 %   -src "mfirstuc-english.sty\Z=>mfirstuc-english.sty"
 %   -src "(sample.*\.tex)\Z=>\1"
 %   -src "(.*\.perl)\Z=>\1"
 %   mfirstuc
-% Created on 2016/7/31 20:20
+% Created on 2017/11/10 13:34
 %\fi
 %\iffalse
 %<*package>
@@ -38,7 +38,7 @@
 %\fi
 % \iffalse
 % Doc-Source file to use with LaTeX2e
-% Copyright (C) 2016 Nicola Talbot, all rights reserved.
+% Copyright (C) 2017 Nicola Talbot, all rights reserved.
 % \fi
 % \iffalse
 %<*driver>
@@ -74,12 +74,12 @@
 %\MakeShortVerb{"}
 %\DeleteShortVerb{\|}
 %
-% \title{Documented Code For mfirstuc v2.04}
+% \title{Documented Code For mfirstuc v2.05}
 % \author{Nicola L.C. Talbot\\[10pt]
 %Dickimaw Books\\
 %\url{http://www.dickimaw-books.com/}}
 %
-% \date{2016-07-31}
+% \date{2017-11-10}
 % \maketitle
 %
 %\tableofcontents
@@ -111,7 +111,7 @@
 %\changes{2.0}{2015/09/09}{package split from glossaries}
 %    \begin{macrocode}
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{mfirstuc}[2016/07/31 v2.04 (NLCT)]
+\ProvidesPackage{mfirstuc}[2017/11/10 v2.05 (NLCT)]
 %    \end{macrocode}
 % Requires \sty{etoolbox}:\changes{1.06}{2012/05/21}{now requires
 % etoolbox}
@@ -282,12 +282,22 @@
        \expandafter#3\expandafter{\dtl at first}\dtl at rest
     }%
     {%
-      #3#1#2%
+%    \end{macrocode}
+%First argument needs to be grouped in case it consists of more than
+%one token.
+%\changes{2.05}{2017-11-10}{grouped first argument}
+%    \begin{macrocode}
+      #3{#1}#2%
     }%
   }%
 }%
 {%
-  \def\@mfu at applytofirst#1#2\@mfu at end@applytofirst#3{#3#1#2}
+%    \end{macrocode}
+%First argument needs to be grouped in case it consists of more than
+%one token.
+%\changes{2.05}{2017-11-10}{grouped first argument}
+%    \begin{macrocode}
+  \def\@mfu at applytofirst#1#2\@mfu at end@applytofirst#3{#3{#1}#2}
 }
 %    \end{macrocode}
 %\end{macro}
@@ -916,7 +926,7 @@
 %\label{sec:code:mfirstuc-english}
 %    \begin{macrocode}
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{mfirstuc-english}[2016/07/31 v2.04 (NLCT)]
+\ProvidesPackage{mfirstuc-english}[2017/11/10 v2.05 (NLCT)]
 %    \end{macrocode}
 % Load \sty{mfirstuc} if not already loaded:
 %    \begin{macrocode}

Modified: trunk/Master/texmf-dist/source/latex/mfirstuc/mfirstuc.ins
===================================================================
--- trunk/Master/texmf-dist/source/latex/mfirstuc/mfirstuc.ins	2017-11-10 21:46:23 UTC (rev 45742)
+++ trunk/Master/texmf-dist/source/latex/mfirstuc/mfirstuc.ins	2017-11-10 21:46:36 UTC (rev 45743)
@@ -1,14 +1,14 @@
-% mfirstuc.ins generated using makedtx version 1.1 2016/7/31 20:20
+% mfirstuc.ins generated using makedtx version 1.2 2017/11/10 13:34
 \input docstrip
 
 \preamble
 
  mfirstuc.dtx
- Copyright 2016 Nicola Talbot
+ Copyright 2017 Nicola Talbot
 
  This work may be distributed and/or modified under the
  conditions of the LaTeX Project Public License, either version 1.3
- of this license of (at your option) any later version.
+ of this license or (at your option) any later version.
  The latest version of this license is in
    http://www.latex-project.org/lppl.txt
  and version 1.3 or later is part of all distributions of LaTeX

Modified: trunk/Master/texmf-dist/tex/latex/mfirstuc/mfirstuc-english.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/mfirstuc/mfirstuc-english.sty	2017-11-10 21:46:23 UTC (rev 45742)
+++ trunk/Master/texmf-dist/tex/latex/mfirstuc/mfirstuc-english.sty	2017-11-10 21:46:36 UTC (rev 45743)
@@ -7,11 +7,11 @@
 %% mfirstuc.dtx  (with options: `mfirstuc-english.sty,package')
 %% 
 %%  mfirstuc.dtx
-%%  Copyright 2016 Nicola Talbot
+%%  Copyright 2017 Nicola Talbot
 %% 
 %%  This work may be distributed and/or modified under the
 %%  conditions of the LaTeX Project Public License, either version 1.3
-%%  of this license of (at your option) any later version.
+%%  of this license or (at your option) any later version.
 %%  The latest version of this license is in
 %%    http://www.latex-project.org/lppl.txt
 %%  and version 1.3 or later is part of all distributions of LaTeX
@@ -39,7 +39,7 @@
 %%   Grave accent  \`     Left brace    \{     Vertical bar  \|
 %%   Right brace   \}     Tilde         \~}
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{mfirstuc-english}[2016/07/31 v2.04 (NLCT)]
+\ProvidesPackage{mfirstuc-english}[2017/11/10 v2.05 (NLCT)]
 \RequirePackage{mfirstuc}
 \MFUnocap{a}
 \MFUnocap{an}

Modified: trunk/Master/texmf-dist/tex/latex/mfirstuc/mfirstuc.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/mfirstuc/mfirstuc.sty	2017-11-10 21:46:23 UTC (rev 45742)
+++ trunk/Master/texmf-dist/tex/latex/mfirstuc/mfirstuc.sty	2017-11-10 21:46:36 UTC (rev 45743)
@@ -7,11 +7,11 @@
 %% mfirstuc.dtx  (with options: `mfirstuc.sty,package')
 %% 
 %%  mfirstuc.dtx
-%%  Copyright 2016 Nicola Talbot
+%%  Copyright 2017 Nicola Talbot
 %% 
 %%  This work may be distributed and/or modified under the
 %%  conditions of the LaTeX Project Public License, either version 1.3
-%%  of this license of (at your option) any later version.
+%%  of this license or (at your option) any later version.
 %%  The latest version of this license is in
 %%    http://www.latex-project.org/lppl.txt
 %%  and version 1.3 or later is part of all distributions of LaTeX
@@ -39,7 +39,7 @@
 %%   Grave accent  \`     Left brace    \{     Vertical bar  \|
 %%   Right brace   \}     Tilde         \~}
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{mfirstuc}[2016/07/31 v2.04 (NLCT)]
+\ProvidesPackage{mfirstuc}[2017/11/10 v2.05 (NLCT)]
 \RequirePackage{etoolbox}
 \newif\if at glscs
 \newtoks\@glsmfirst
@@ -134,12 +134,12 @@
        \expandafter#3\expandafter{\dtl at first}\dtl at rest
     }%
     {%
-      #3#1#2%
+      #3{#1}#2%
     }%
   }%
 }%
 {%
-  \def\@mfu at applytofirst#1#2\@mfu at end@applytofirst#3{#3#1#2}
+  \def\@mfu at applytofirst#1#2\@mfu at end@applytofirst#3{#3{#1}#2}
 }
 \ifdef\dtl at getfirst@UTFviii
 {%



More information about the tex-live-commits mailing list