From 4d3cb91b88fc7d1de519718adef83d50c3dc9696 Mon Sep 17 00:00:00 2001
From: Manuel Pégourié-Gonnard <mpg@elzevir.fr>
Date: Tue, 2 Aug 2011 19:20:24 +0000
Subject: morefloats  2011/07/10, v1.0e

git-svn-id: svn://tug.org/texlive/trunk@23341 c570f23f-e606-0410-a88d-b1316a301751
---
 .../texmf-dist/tex/latex/morefloats/morefloats.sty | 44 ++++++++++++----------
 1 file changed, 24 insertions(+), 20 deletions(-)

(limited to 'Master/texmf-dist/tex/latex/morefloats/morefloats.sty')

diff --git a/Master/texmf-dist/tex/latex/morefloats/morefloats.sty b/Master/texmf-dist/tex/latex/morefloats/morefloats.sty
index ca0ff50ba2b..e7a16b4955b 100644
--- a/Master/texmf-dist/tex/latex/morefloats/morefloats.sty
+++ b/Master/texmf-dist/tex/latex/morefloats/morefloats.sty
@@ -8,8 +8,14 @@
 %% 
 %% This is a generated file.
 %% 
-%% IMPORTANT NOTICE:
-%% The usual disclaimers apply:
+%% Project: morefloats
+%% Version: 2011/07/10 v1.0e
+%% 
+%% Copyright (C) 2010, 2011 by
+%%     H.-Martin M"unch <Martin dot Muench at Uni-Bonn dot de>
+%% Portions of code copyrighted by other people as marked.
+%% 
+%% The usual disclaimer applys:
 %% If it doesn't work right that's your problem.
 %% (Nevertheless, send an e-mail to the maintainer
 %%  when you find an error in this package.)
@@ -26,40 +32,38 @@
 %% 
 %% This work has the LPPL maintenance status "maintained".
 %% 
-%% The Current Maintainer of this work is H.-Martin Muench
-%% (Martin dot Muench at Uni-Bonn dot de).
-%% 
+%% The Current Maintainer of this work is H.-Martin Muench.
 %% The main code of this package was invented by
 %% Don Hosek, Quixote 1990/07/27 (Thanks!).
 %% Maintenance has been taken over in September 2010 by H.-Martin M{\accent "7F u}nch.
 %% 
 %% This work consists of the main source file morefloats.dtx
 %% and the derived files
-%%    morefloats.sty, morefloats.ins, morefloats.drv,
-%%    morefloats-example.tex, morefloats.pdf.
+%%    morefloats.sty, morefloats.pdf, morefloats.ins, morefloats.drv,
+%%    morefloats-example.tex.
 %% 
-\NeedsTeXFormat{LaTeX2e}[1994/06/01]
-\ProvidesPackage{morefloats}[2011/02/01 v1.0d
+\NeedsTeXFormat{LaTeX2e}[2009/09/24]
+\ProvidesPackage{morefloats}[2011/07/10 v1.0e
             Increase limit of unprocessed floats (HMM; DH)]
 
-\RequirePackage{kvoptions}[2010/02/22]% v3.7
-
-%% morefloats may work with an earlier version of that package,
-%% but this was not tested. Please consider updating your package
-%% to the most recent version (if it is not already the most
+\RequirePackage{kvoptions}[2010/12/23]% v3.10
+%% morefloats may work with earlier versions of LaTeX2e and that
+%% package, but this was not tested.
+%% Please consider updating your LaTeX and package
+%% to the most recent version (if they are not already the most
 %% recent version).
 
 \SetupKeyvalOptions{family = morefloats,prefix = morefloats@}
-\DeclareStringOption{maxfloats}% \morefloats@maxfloats
+\DeclareStringOption{maxfloats}%  \morefloats@maxfloats
 \DeclareStringOption{morefloats}% \morefloats@morefloats
 
 \ProcessKeyvalOptions*
 
 \newcounter{maxfloats}
+\setcounter{maxfloats}{0}
 
 \ifx\morefloats@maxfloats\@empty
-  \ifx\morefloats@morefloats\@empty
-    % apply defaults:
+  \ifx\morefloats@morefloats\@empty% apply defaults:
     \gdef\morefloats@maxfloats{36}
     \gdef\morefloats@morefloats{18}
   \else
@@ -120,13 +124,13 @@
   \fi
 \fi
 
-\PackageWarning{maxfloats}{\MessageBreak%
+\PackageWarning{maxfloats}{%
   Maximum number of possible floats asked for: \arabic{maxfloats}.\MessageBreak%
   LaTeX might run out of dimensions or memory\MessageBreak%
   before this (in which case it will notify you).\MessageBreak%
   }
 
-\gdef\@freelist{\@elt\bx@A\@elt\bx@B\@elt\bx@C\@elt\bx@D\@elt\bx@E\@elt\bx@F\@elt\bx@G\@elt\bx@H\@elt%
+\global\long\def\@freelist{\@elt\bx@A\@elt\bx@B\@elt\bx@C\@elt\bx@D\@elt\bx@E\@elt\bx@F\@elt\bx@G\@elt\bx@H\@elt%
 \bx@I\@elt\bx@J\@elt\bx@K\@elt\bx@L\@elt\bx@M\@elt\bx@N\@elt\bx@O\@elt\bx@P\@elt\bx@Q\@elt\bx@R}
 
 \ifnum \value{maxfloats}> 18 \newinsert\bx@S  \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@S}
@@ -378,7 +382,7 @@
 \ifnum \value{maxfloats}>264 \newinsert\bx@JE \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@JE}
 \ifnum \value{maxfloats}>265 \newinsert\bx@JF \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@JF}
 \ifnum \value{maxfloats}>266
-  \PackageError{morefloats}{Too much floats called for}{%
+  \PackageError{morefloats}{Too many floats called for}{%
     You requested more than 266 floats.\MessageBreak%
     (\arabic{maxfloats} to be precise.)\MessageBreak%
     According to my knowledge, LaTeX cannot process\MessageBreak%
-- 
cgit v1.2.3

