summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/morefloats
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-07-22 23:01:13 +0000
committerKarl Berry <karl@freefriends.org>2015-07-22 23:01:13 +0000
commitc7fbeeaff8d1548d8bb4dc7e3e4dd49846d0e974 (patch)
tree674bd29aa194ebe5436f7d3f1c57641765285456 /Master/texmf-dist/doc/latex/morefloats
parenteccd10e4fe7f75163ac2a0104e8172e3fa056a60 (diff)
morefloats (22jul15)
git-svn-id: svn://tug.org/texlive/trunk@37927 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/morefloats')
-rw-r--r--Master/texmf-dist/doc/latex/morefloats/README5
-rw-r--r--Master/texmf-dist/doc/latex/morefloats/morefloats-example.pdfbin63739 -> 61674 bytes
-rw-r--r--Master/texmf-dist/doc/latex/morefloats/morefloats-example.tex187
-rw-r--r--Master/texmf-dist/doc/latex/morefloats/morefloats.pdfbin487934 -> 493525 bytes
4 files changed, 30 insertions, 162 deletions
diff --git a/Master/texmf-dist/doc/latex/morefloats/README b/Master/texmf-dist/doc/latex/morefloats/README
index 1898228cee5..bb3c11351bb 100644
--- a/Master/texmf-dist/doc/latex/morefloats/README
+++ b/Master/texmf-dist/doc/latex/morefloats/README
@@ -1,4 +1,4 @@
-README for morefloats package, 2015/07/16, v1.0g
+README for morefloats package, 2015/07/22, v1.0h
TABLE OF CONTENTS
@@ -21,7 +21,8 @@ The limit of unprocessed floats, 18, can be increased with this
morefloats package. Otherwise, \clear(double)page, h(!), H from the
float package, or \FloatBarrier from the picins package might help.
-Note: The main code of this package was invented by
+Note: The original main code of this package
+(without \extrafloats from LaTeX 2015) was invented by
Don Hosek, Quixote, 1990/07/27 (Thanks!).
Maintenance has been taken over in September 2010 by H.-Martin M\"{u}nch.
diff --git a/Master/texmf-dist/doc/latex/morefloats/morefloats-example.pdf b/Master/texmf-dist/doc/latex/morefloats/morefloats-example.pdf
index d3373c9139a..4c9b1d0b999 100644
--- a/Master/texmf-dist/doc/latex/morefloats/morefloats-example.pdf
+++ b/Master/texmf-dist/doc/latex/morefloats/morefloats-example.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/morefloats/morefloats-example.tex b/Master/texmf-dist/doc/latex/morefloats/morefloats-example.tex
index 81e943694cf..b8fdd2aa86c 100644
--- a/Master/texmf-dist/doc/latex/morefloats/morefloats-example.tex
+++ b/Master/texmf-dist/doc/latex/morefloats/morefloats-example.tex
@@ -9,7 +9,7 @@
%% This is a generated file.
%%
%% Project: morefloats
-%% Version: 2015/07/16 v1.0g
+%% Version: 2015/07/22 v1.0h
%%
%% Copyright (C) 2010 - 2015 by
%% H.-Martin M"unch <Martin dot Muench at Uni-Bonn dot de>
@@ -56,21 +56,26 @@
%%
\documentclass[british]{article}[2014/09/29]% v1.4h
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\usepackage[maxfloats=19]{morefloats}[2015/07/16]% v1.0g
+\usepackage[maxfloats=25]{morefloats}[2015/07/22]% v1.0h
+%% \maxdeadcycles is the maximum number of calls of \output
+%% without a \shipout.
\gdef\unit#1{\mathord{\thinspace\mathrm{#1}}}%
\listfiles
\begin{document}
+\makeatletter
+
\section*{Example for morefloats}
\markboth{Example for morefloats}{Example for morefloats}
This example demonstrates the use of package\newline
-\textsf{morefloats}, v1.0g as of 2015/07/16 (HMM).\newline
-The package takes options (here: \verb|maxfloats=19| is used).\newline
+\textsf{morefloats}, v1.0h as of 2015/07/22 (HMM).\newline
+The package takes options (here:
+\verb|maxfloats=|\texttt{\morefloats@maxfloats} is used).\newline
For more details please see the documentation!\newline
To reproduce the\newline
-\texttt{\LaTeX{} Error: Too many unprocessed floats},\newline
+\LaTeX{} \texttt{ Error: Too many unprocessed floats},\newline
comment out the \verb|\usepackage...| in the preamble
(line~3)\newline
(by placing a \% before it).\newline
@@ -84,164 +89,26 @@ I do NOT think, that it is necessary to print THIS file, really!
\bigskip
-There follow a lot of floating tables.
+There follow \morefloats@maxfloats{} floating tables.
\pagebreak
-Here are a lot of floating tables.\newline
-
-\begin{table}[t] \centering%
-\begin{tabular}{|l|}
-\hline
-A table, which will keep floating.\\ \hline
-\end{tabular}%
-\caption{The first Table}%
-\end{table}%
-
-\begin{table}[t] \centering%
-\begin{tabular}{|l|}
-\hline
-A table, which will keep floating.\\ \hline
-\end{tabular}%
-\caption{The second Table}%
-\end{table}%
-
-\begin{table}[t] \centering%
-\begin{tabular}{|l|}
-\hline
-A table, which will keep floating.\\ \hline
-\end{tabular}%
-\caption{The third Table}%
-\end{table}%
-
-\begin{table}[t] \centering%
-\begin{tabular}{|l|}
-\hline
-A table, which will keep floating.\\ \hline
-\end{tabular}%
-\caption{The fourth Table}%
-\end{table}%
-
-\begin{table}[t] \centering%
-\begin{tabular}{|l|}
-\hline
-A table, which will keep floating.\\ \hline
-\end{tabular}%
-\caption{The fifth Table}%
-\end{table}%
-
-\begin{table}[t] \centering%
-\begin{tabular}{|l|}
-\hline
-A table, which will keep floating.\\ \hline
-\end{tabular}%
-\caption{The sixth Table}%
-\end{table}%
-
-\begin{table}[t] \centering%
-\begin{tabular}{|l|}
-\hline
-A table, which will keep floating.\\ \hline
-\end{tabular}%
-\caption{The seventh Table}%
-\end{table}%
-
-\begin{table}[t] \centering%
-\begin{tabular}{|l|}
-\hline
-A table, which will keep floating.\\ \hline
-\end{tabular}%
-\caption{The eighth Table}%
-\end{table}%
-
-\begin{table}[t] \centering%
-\begin{tabular}{|l|}
-\hline
-A table, which will keep floating.\\ \hline
-\end{tabular}%
-\caption{The ninth Table}%
-\end{table}%
-
-\begin{table}[t] \centering%
-\begin{tabular}{|l|}
-\hline
-A table, which will keep floating.\\ \hline
-\end{tabular}%
-\caption{The tenth Table}%
-\end{table}%
-
-\begin{table}[t] \centering%
-\begin{tabular}{|l|}
-\hline
-A table, which will keep floating.\\ \hline
-\end{tabular}%
-\caption{The eleventh Table}%
-\end{table}%
-
-\begin{table}[t] \centering%
-\begin{tabular}{|l|}
-\hline
-A table, which will keep floating.\\ \hline
-\end{tabular}%
-\caption{The twelfth Table}%
-\end{table}%
-
-\begin{table}[t] \centering%
-\begin{tabular}{|l|}
-\hline
-A table, which will keep floating.\\ \hline
-\end{tabular}%
-\caption{The thirteenth Table}%
-\end{table}%
-
-\begin{table}[t] \centering%
-\begin{tabular}{|l|}
-\hline
-A table, which will keep floating.\\ \hline
-\end{tabular}%
-\caption{The fourteenth Table}%
-\end{table}%
-
-\begin{table}[t] \centering%
-\begin{tabular}{|l|}
-\hline
-A table, which will keep floating.\\ \hline
-\end{tabular}%
-\caption{The fifteenth Table}%
-\end{table}%
-
-\begin{table}[t] \centering%
-\begin{tabular}{|l|}
-\hline
-A table, which will keep floating.\\ \hline
-\end{tabular}%
-\caption{The sixteenth Table}%
-\end{table}%
-
-\begin{table}[t] \centering%
-\begin{tabular}{|l|}
-\hline
-A table, which will keep floating.\\ \hline
-\end{tabular}%
-\caption{The seventeenth Table}%
-\end{table}%
-
-\begin{table}[t] \centering%
-\begin{tabular}{|l|}
-\hline
-A table, which will keep floating.\\ \hline
-\end{tabular}%
-\caption{The eighteenth Table}%
-\end{table}%
-
-\begin{table}[t] \centering%
-\begin{tabular}{|l|}
-\hline
-One floating table too many
-(without \textsf{morefloats} and appropriate option(s)).\\ \hline
-\end{tabular}%
-\caption{The nineteenth Table}%
-\end{table}%
+\@tempcnta=18\relax% default floats
+\advance\@tempcnta by \morefloats@morefloats%
+\loop
+ \ifnum\@tempcnta>0\relax%
+ \begin{table}[t]\centering%
+ \begin{tabular}{|l|}%
+ \hline%
+ A table, which will keep floating.\\%
+ \hline
+ \end{tabular}%
+ \caption{A floating Table.}%
+ \end{table}%
+ \advance\@tempcnta by -1\relax%
+\repeat
+
+\makeatother
\end{document}
\endinput
diff --git a/Master/texmf-dist/doc/latex/morefloats/morefloats.pdf b/Master/texmf-dist/doc/latex/morefloats/morefloats.pdf
index e620602308e..0eb09eb88a9 100644
--- a/Master/texmf-dist/doc/latex/morefloats/morefloats.pdf
+++ b/Master/texmf-dist/doc/latex/morefloats/morefloats.pdf
Binary files differ