summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/morefloats/morefloats.sty
diff options
context:
space:
mode:
authorManuel Pégourié-Gonnard <mpg@elzevir.fr>2011-08-02 19:20:24 +0000
committerManuel Pégourié-Gonnard <mpg@elzevir.fr>2011-08-02 19:20:24 +0000
commit4d3cb91b88fc7d1de519718adef83d50c3dc9696 (patch)
tree4f12bed71e0e7f5846651067e82977dad34a483a /Master/texmf-dist/tex/latex/morefloats/morefloats.sty
parent8f553777f0835a8505253e040817cf44a666a47c (diff)
morefloats 2011/07/10, v1.0e
git-svn-id: svn://tug.org/texlive/trunk@23341 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/morefloats/morefloats.sty')
-rw-r--r--Master/texmf-dist/tex/latex/morefloats/morefloats.sty44
1 files changed, 24 insertions, 20 deletions
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%