texlive[42632] Master/texmf-dist: mweights (3dec16)

commits+karl at tug.org commits+karl at tug.org
Sat Dec 3 23:27:09 CET 2016


Revision: 42632
          http://tug.org/svn/texlive?view=revision&revision=42632
Author:   karl
Date:     2016-12-03 23:27:09 +0100 (Sat, 03 Dec 2016)
Log Message:
-----------
mweights (3dec16)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/mweights/README
    trunk/Master/texmf-dist/tex/latex/mweights/mweights.sty

Modified: trunk/Master/texmf-dist/doc/latex/mweights/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/mweights/README	2016-12-03 22:26:46 UTC (rev 42631)
+++ trunk/Master/texmf-dist/doc/latex/mweights/README	2016-12-03 22:27:09 UTC (rev 42632)
@@ -1,4 +1,4 @@
-This is the README for the mweights package, version 2016-08-15.
+This is the README for the mweights package, version 2016-12-02.
 
 Many font families available for use with LaTeX have multiple
 weights, especially when originally aimed at use on the web. For

Modified: trunk/Master/texmf-dist/tex/latex/mweights/mweights.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/mweights/mweights.sty	2016-12-03 22:26:46 UTC (rev 42631)
+++ trunk/Master/texmf-dist/tex/latex/mweights/mweights.sty	2016-12-03 22:27:09 UTC (rev 42632)
@@ -1,24 +1,23 @@
 \ProvidesPackage{mweights}
-  [2016/08/15 (Bob Tennent)  Support package for multiple-weight font packages. ]
+  [2016/12/02 (Bob Tennent)  Support package for multiple-weight font packages. ]
 
-\AtBeginDocument{%
-  % Define any undefined \mdseries at rm etc. 
-  % Defined \mdseries at rm etc. assumed to be fully expanded!
-  \ifdefined\mdseries at rm\else\edef\mdseries at rm{\mddefault}\fi
-  \ifdefined\bfseries at rm\else\edef\bfseries at rm{\bfdefault}\fi
-  \ifdefined\mdseries at sf\else\edef\mdseries at sf{\mddefault}\fi
-  \ifdefined\bfseries at sf\else\edef\bfseries at sf{\bfdefault}\fi
-  \ifdefined\mdseries at tt\else\edef\mdseries at tt{\mddefault}\fi
-  \ifdefined\bfseries at tt\else\edef\bfseries at tt{\bfdefault}\fi
 
-  % In case any unexpanded macros present in \rmdefault, etc
-  \edef\rmdef at ult{\rmdefault}
-  \edef\sfdef at ult{\sfdefault}
-  \edef\ttdef at ult{\ttdefault}
-  \edef\bfdef at ult{\bfdefault}
-  \edef\mddef at ult{\mddefault}
-}
+% Define any undefined \mdseries at rm etc. 
+% Defined \mdseries at rm etc. assumed to be fully expanded!
+\ifdefined\mdseries at rm\else\edef\mdseries at rm{\mddefault}\fi
+\ifdefined\bfseries at rm\else\edef\bfseries at rm{\bfdefault}\fi
+\ifdefined\mdseries at sf\else\edef\mdseries at sf{\mddefault}\fi
+\ifdefined\bfseries at sf\else\edef\bfseries at sf{\bfdefault}\fi
+\ifdefined\mdseries at tt\else\edef\mdseries at tt{\mddefault}\fi
+\ifdefined\bfseries at tt\else\edef\bfseries at tt{\bfdefault}\fi
 
+% In case any unexpanded macros present in \rmdefault, etc
+\edef\rmdef at ult{\rmdefault}
+\edef\sfdef at ult{\sfdefault}
+\edef\ttdef at ult{\ttdefault}
+\edef\bfdef at ult{\bfdefault}
+\edef\mddef at ult{\mddefault}
+
 \DeclareRobustCommand\bfseries{%
 \not at math@alphabet\bfseries\mathbf
 \ifx\f at family\rmdef at ult\fontseries\bfseries at rm



More information about the tex-live-commits mailing list