| 1 |
% \iffalse meta-comment |
| 2 |
% |
| 3 |
% File: morefloats.dtx |
| 4 |
% Version: 2025/01/28 v1.1a |
| 5 |
% Info: Raise limit of unprocessed floats |
| 6 |
% |
| 7 |
% Copyright © 2010 - 2025 by |
| 8 |
% H.-Martin Münch <Martin dot Muench at Uni-Bonn dot de> |
| 9 |
% Portions of code copyrighted by other people as marked. |
| 10 |
% |
| 11 |
% LaTeX 2015 provides the extrafloats command. |
| 12 |
% Don Hosek, Quixote, 1990-07-27 (Thanks!) |
| 13 |
% invented the main code for handling more floats |
| 14 |
% before extrafloats was available. |
| 15 |
% Maintenance has been taken over in September 2010 |
| 16 |
% by H.-Martin M\"{u}nch. |
| 17 |
% David Carlisle pointed the maintainer to the new |
| 18 |
% extrafloats command (Thanks!). |
| 19 |
% |
| 20 |
% This work may be distributed and/or modified under the |
| 21 |
% conditions of the LaTeX Project Public License, either |
| 22 |
% version 1.3c of this license or (at your option) any later |
| 23 |
% version. This version of this license is in |
| 24 |
% https://www.latex-project.org/lppl/lppl-1-3c.txt |
| 25 |
% and the latest version of this license is in |
| 26 |
% https://www.latex-project.org/lppl.txt |
| 27 |
% and version 1.3c or later is part of all distributions of |
| 28 |
% LaTeX version 2005-12-01 or later. |
| 29 |
% |
| 30 |
% This work has the LPPL maintenance status "maintained". |
| 31 |
% |
| 32 |
% The Current Maintainer of this work is H.-Martin Münch. |
| 33 |
% |
| 34 |
% This work consists of the main source file morefloats.dtx, |
| 35 |
% the README, and the derived files |
| 36 |
% morefloats.sty, morefloats.pdf, |
| 37 |
% morefloats.ins, morefloats.drv, |
| 38 |
% morefloats-example.tex, morefloats-example.pdf. |
| 39 |
% |
| 40 |
% "morefloats" is available on CTAN: |
| 41 |
% https://www.ctan.org/pkg/morefloats |
| 42 |
% |
| 43 |
% Also a TDS.ZIP file is provided that contains all the files |
| 44 |
% already sorted in a TDS tree: |
| 45 |
% https://mirror.ctan.org/install/macros/latex/contrib/morefloats.tds.zip |
| 46 |
% |
| 47 |
%<*ignore> |
| 48 |
\begingroup |
| 49 |
\catcode123=1 % |
| 50 |
\catcode125=2 % |
| 51 |
\def\x{LaTeX2e}% |
| 52 |
\expandafter\endgroup |
| 53 |
\ifcase 0\ifx\install y1\fi\expandafter |
| 54 |
\ifx\csname processbatchFile\endcsname\relax\else1\fi |
| 55 |
\ifx\fmtname\x\else 1\fi\relax |
| 56 |
\else\csname fi\endcsname |
| 57 |
%</ignore> |
| 58 |
%<*install> |
| 59 |
\input docstrip.tex |
| 60 |
\Msg{*******************************************************************************} |
| 61 |
\Msg{* Installation *} |
| 62 |
\Msg{* Package: morefloats 2025/01/28 v1.1a Raise limit of unprocessed floats (HMM)*} |
| 63 |
\Msg{*******************************************************************************} |
| 64 |
|
| 65 |
\keepsilent |
| 66 |
\askforoverwritefalse |
| 67 |
|
| 68 |
\let\MetaPrefix\relax |
| 69 |
\preamble |
| 70 |
|
| 71 |
This is a generated file. |
| 72 |
|
| 73 |
Project: morefloats |
| 74 |
Version: 2025/01/28 v1.1a |
| 75 |
|
| 76 |
Copyright (C) 2010 - 2025 by |
| 77 |
H.-Martin Muench <Martin dot Muench at Uni-Bonn dot de> |
| 78 |
Portions of code copyrighted by other people as marked. |
| 79 |
|
| 80 |
This work may be distributed and/or modified under the |
| 81 |
conditions of the LaTeX Project Public License, either |
| 82 |
version 1.3c of this license or (at your option) any later |
| 83 |
version. This version of this license is in |
| 84 |
https://www.latex-project.org/lppl/lppl-1-3c.txt |
| 85 |
and the latest version of this license is in |
| 86 |
https://www.latex-project.org/lppl.txt |
| 87 |
and version 1.3c or later is part of all distributions of |
| 88 |
LaTeX version 2005-12-01 or later. |
| 89 |
|
| 90 |
This work has the LPPL maintenance status "maintained". |
| 91 |
|
| 92 |
The Current Maintainer of this work is H.-Martin Muench. |
| 93 |
|
| 94 |
LaTeX 2015 provides the extrafloats command. |
| 95 |
Don Hosek, Quixote, 1990-07-27 (Thanks!) |
| 96 |
invented the main code for handling more floats |
| 97 |
before extrafloats was available. |
| 98 |
Maintenance has been taken over in September 2010 |
| 99 |
by H.-Martin Muench. |
| 100 |
David Carlisle pointed the maintainer to the new |
| 101 |
extrafloats command (Thanks!). |
| 102 |
|
| 103 |
This work consists of the main source file morefloats.dtx, |
| 104 |
the README, and the derived files |
| 105 |
morefloats.sty, morefloats.pdf, |
| 106 |
morefloats.ins, morefloats.drv, |
| 107 |
morefloats-example.tex, morefloats-example.pdf. |
| 108 |
|
| 109 |
In memoriam |
| 110 |
Claudia Simone Barth + 1996-01-30 |
| 111 |
Tommy Muench + 2014-01-02 |
| 112 |
Hans-Klaus Muench + 2014-08-24 |
| 113 |
|
| 114 |
\endpreamble |
| 115 |
\let\MetaPrefix\DoubleperCent |
| 116 |
|
| 117 |
\generate{% |
| 118 |
\file{morefloats.ins}{\from{morefloats.dtx}{install}}% |
| 119 |
\file{morefloats.drv}{\from{morefloats.dtx}{driver}}% |
| 120 |
\usedir{tex/latex/morefloats}% |
| 121 |
\file{morefloats.sty}{\from{morefloats.dtx}{package}}% |
| 122 |
\usedir{doc/latex/morefloats}% |
| 123 |
\file{morefloats-example.tex}{\from{morefloats.dtx}{example}}% |
| 124 |
} |
| 125 |
|
| 126 |
\catcode32=13\relax% active space |
| 127 |
\let =\space% |
| 128 |
\Msg{************************************************************************} |
| 129 |
\Msg{*} |
| 130 |
\Msg{* To finish the installation you have to move the following} |
| 131 |
\Msg{* file into a directory searched by TeX:} |
| 132 |
\Msg{*} |
| 133 |
\Msg{* morefloats.sty} |
| 134 |
\Msg{*} |
| 135 |
\Msg{* To produce the documentation run the file `morefloats.drv'} |
| 136 |
\Msg{* through (pdf)LaTeX, e.g.} |
| 137 |
\Msg{* pdflatex morefloats.drv} |
| 138 |
\Msg{* makeindex -s gind.ist morefloats.idx} |
| 139 |
\Msg{* pdflatex morefloats.drv} |
| 140 |
\Msg{* makeindex -s gind.ist morefloats.idx} |
| 141 |
\Msg{* pdflatex morefloats.drv} |
| 142 |
\Msg{*} |
| 143 |
\Msg{* At least three runs are necessary e.g. to get the} |
| 144 |
\Msg{* references right!} |
| 145 |
\Msg{*} |
| 146 |
\Msg{* Happy TeXing!} |
| 147 |
\Msg{*} |
| 148 |
\Msg{************************************************************************} |
| 149 |
|
| 150 |
\endbatchfile |
| 151 |
%</install> |
| 152 |
%<*ignore> |
| 153 |
\fi |
| 154 |
%</ignore> |
| 155 |
% |
| 156 |
% \section{The documentation driver file} |
| 157 |
% |
| 158 |
% The next bit of code contains the documentation driver file for |
| 159 |
% \TeX , i.\,e., the file that will produce the documentation you |
| 160 |
% are currently reading. It will be extracted from this file by the |
| 161 |
% \texttt{docstrip} programme. That is, run \LaTeX{} on \texttt{docstrip} |
| 162 |
% and specify the \texttt{driver} option when \texttt{docstrip} |
| 163 |
% asks for options. |
| 164 |
% |
| 165 |
% \begin{macrocode} |
| 166 |
%<*driver> |
| 167 |
\NeedsTeXFormat{LaTeX2e}[2015/01/01] |
| 168 |
\ProvidesFile{morefloats.drv}% |
| 169 |
[2025/01/28 v1.1a Raise limit of unprocessed floats (HMM)] |
| 170 |
\documentclass{ltxdoc}[2024/02/08]% v2.1j |
| 171 |
\usepackage[T1]{fontenc}[2005/09/27]% v1.99g |
| 172 |
\usepackage{pdflscape}[2022-10-27]% v0.13 |
| 173 |
\usepackage{holtxdoc}[2019/12/09]% v0.30 |
| 174 |
\hypersetup{% |
| 175 |
pdfsubject={Increasing the limit of unprocessed floats (HMM)},% |
| 176 |
pdfkeywords={LaTeX, morefloats, floats},% |
| 177 |
pdfencoding=auto,% |
| 178 |
pdflang={en},% |
| 179 |
breaklinks=true,% |
| 180 |
linktoc=all,% |
| 181 |
pdfstartview=FitH,% |
| 182 |
pdfpagelayout=OneColumn,% |
| 183 |
bookmarksnumbered=true,% |
| 184 |
bookmarksopen=true,% |
| 185 |
bookmarksopenlevel=2,% |
| 186 |
pdfmenubar=true,% |
| 187 |
pdftoolbar=true,% |
| 188 |
pdfwindowui=true,% |
| 189 |
pdfnewwindow=true% |
| 190 |
} |
| 191 |
\CodelineIndex |
| 192 |
\hyphenation{docu-ment} |
| 193 |
\begin{document} |
| 194 |
\DocInput{morefloats.dtx}% |
| 195 |
\end{document} |
| 196 |
%</driver> |
| 197 |
% \end{macrocode} |
| 198 |
% \fi |
| 199 |
% |
| 200 |
% \GetFileInfo{morefloats.drv} |
| 201 |
% |
| 202 |
% \begingroup |
| 203 |
% \def\x{\#,\$,\^,\_,\~,\ ,\&,\{,\},\%}% |
| 204 |
% \makeatletter |
| 205 |
% \@onelevel@sanitize\x |
| 206 |
% \expandafter\endgroup |
| 207 |
% \expandafter\DoNotIndex\expandafter{\x} |
| 208 |
% \expandafter\DoNotIndex\expandafter{\string\ } |
| 209 |
% \begingroup |
| 210 |
% \makeatletter |
| 211 |
% \lccode`9=32\relax |
| 212 |
% \lowercase{%^^A |
| 213 |
% \edef\x{\noexpand\DoNotIndex{\@backslashchar9}}%^^A |
| 214 |
% }%^^A |
| 215 |
% \expandafter\endgroup\x |
| 216 |
% \DoNotIndex{\\,\,,% |
| 217 |
% \def,\edef,\gdef, \xdef,% |
| 218 |
% \ifnum, \ifx,% |
| 219 |
% \begin, \end, \LaTeX, \LateXe,% |
| 220 |
% \bigskip, \caption, \centering, \hline, \MessageBreak,% |
| 221 |
% \documentclass, \markboth, \mathrm, \mathord,% |
| 222 |
% \NeedsTeXFormat, \usepackage, \ProvidesPackage, \RequirePackage,% |
| 223 |
% \newline, \newpage, \pagebreak,% |
| 224 |
% \section, \subsection, \space, \thinspace,% |
| 225 |
% \textsf, \texttt,% |
| 226 |
% \the, \@tempcnta,\@tempcntb,% |
| 227 |
% \@elt,\@freelist, \newinsert,% |
| 228 |
% \bx@A, \bx@B, \bx@C, \bx@D, \bx@E, \bx@F, \bx@G, \bx@H, \bx@I, \bx@J, \bx@K, \bx@L, \bx@M, \bx@N, \bx@O, \bx@P, \bx@Q, \bx@R, \bx@S, \bx@T, \bx@U, \bx@V, \bx@W, \bx@X, \bx@Y, \bx@Z,% |
| 229 |
% \bx@AA, \bx@AB, \bx@AC, \bx@AD, \bx@AE, \bx@AF, \bx@AG, \bx@AH, \bx@AI, \bx@AJ, \bx@AK, \bx@AL, \bx@AM, \bx@AN, \bx@AO, \bx@AP, \bx@AQ, \bx@AR, \bx@AS, \bx@AT, \bx@AU, \bx@AV, \bx@AW, \bx@AX, \bx@AY, \bx@AZ,% |
| 230 |
% \bx@BA, \bx@BB, \bx@BC, \bx@BD, \bx@BE, \bx@BF, \bx@BG, \bx@BH, \bx@BI, \bx@BJ, \bx@BK, \bx@BL, \bx@BM, \bx@BN, \bx@BO, \bx@BP, \bx@BQ, \bx@BR, \bx@BS, \bx@BT, \bx@BU, \bx@BV, \bx@BW, \bx@BX, \bx@BY, \bx@BZ,% |
| 231 |
% \bx@CA, \bx@CB, \bx@CC, \bx@CD, \bx@CE, \bx@CF, \bx@CG, \bx@CH, \bx@CI, \bx@CJ, \bx@CK, \bx@CL, \bx@CM, \bx@CN, \bx@CO, \bx@CP, \bx@CQ, \bx@CR, \bx@CS, \bx@CT, \bx@CU, \bx@CV, \bx@CW, \bx@CX, \bx@CY, \bx@CZ,% |
| 232 |
% \bx@DA, \bx@DB, \bx@DC, \bx@DD, \bx@DE, \bx@DF, \bx@DG, \bx@DH, \bx@DI, \bx@DJ, \bx@DK, \bx@DL, \bx@DM, \bx@DN, \bx@DO, \bx@DP, \bx@DQ, \bx@DR, \bx@DS, \bx@DT, \bx@DU, \bx@DV, \bx@DW, \bx@DX, \bx@DY, \bx@DZ,% |
| 233 |
% \bx@EA, \bx@EB, \bx@EC, \bx@ED, \bx@EE, \bx@EF, \bx@EG, \bx@EH, \bx@EI, \bx@EJ, \bx@EK, \bx@EL, \bx@EM, \bx@EN, \bx@EO, \bx@EP, \bx@EQ, \bx@ER, \bx@ES, \bx@ET, \bx@EU, \bx@EV, \bx@EW, \bx@EX, \bx@EY, \bx@EZ,% |
| 234 |
% \bx@FA, \bx@FB, \bx@FC, \bx@FD, \bx@FE, \bx@FF, \bx@FG, \bx@FH, \bx@FI, \bx@FJ, \bx@FK, \bx@FL, \bx@FM, \bx@FN, \bx@FO, \bx@FP, \bx@FQ, \bx@FR, \bx@FS, \bx@FT, \bx@FU, \bx@FV, \bx@FW, \bx@FX, \bx@FY, \bx@FZ,% |
| 235 |
% \bx@GA, \bx@GB, \bx@GC, \bx@GD, \bx@GE, \bx@GF, \bx@GG, \bx@GH, \bx@GI, \bx@GJ, \bx@GK, \bx@GL, \bx@GM, \bx@GN, \bx@GO, \bx@GP, \bx@GQ, \bx@GR, \bx@GS, \bx@GT, \bx@GU, \bx@GV, \bx@GW, \bx@GX, \bx@GY, \bx@GZ,% |
| 236 |
% \bx@HA, \bx@HB, \bx@HC, \bx@HD, \bx@HE, \bx@HF, \bx@HG, \bx@HH, \bx@HI, \bx@HJ, \bx@HK, \bx@HL, \bx@HM, \bx@HN, \bx@HO, \bx@HP, \bx@HQ, \bx@HR, \bx@HS, \bx@HT, \bx@HU, \bx@HV, \bx@HW, \bx@HX, \bx@HY, \bx@HZ,% |
| 237 |
% \bx@IA, \bx@IB, \bx@IC, \bx@ID, \bx@IE, \bx@IF, \bx@IG, \bx@IH, \bx@II, \bx@IJ, \bx@IK, \bx@IL, \bx@IM, \bx@IN, \bx@IO, \bx@IP, \bx@IQ, \bx@IR, \bx@IS, \bx@IT, \bx@IU, \bx@IV, \bx@IW, \bx@IX, \bx@IY, \bx@IZ,% |
| 238 |
% \bx@JA, \bx@JB, \bx@JC, \bx@JD, \bx@JE, \bx@JF, \bx@JG, \bx@JH, \bx@JI, \bx@JJ, \bx@JK, \bx@JL, \bx@JM, \bx@JN, \bx@JO, \bx@JP, \bx@JQ, \bx@JR, \bx@JS, \bx@JT, \bx@JU, \bx@JV, \bx@JW, \bx@JX, \bx@JY, \bx@JZ,% |
| 239 |
% \morefloats@mx} |
| 240 |
% |
| 241 |
% \title{The \xpackage{morefloats} package} |
| 242 |
% \author{H.-Martin Münch (current maintainer;\\ |
| 243 |
% invented by Don Hosek, Quixote)\\ |
| 244 |
% \xemail{Martin.Muench at Uni-Bonn.de}} |
| 245 |
% \date{2025/01/28 v1.1a} |
| 246 |
% \maketitle |
| 247 |
% |
| 248 |
% \begin{abstract} |
| 249 |
% The default limit of unprocessed floats, $18$, |
| 250 |
% can be increased with this \xpackage{morefloats} package. |
| 251 |
% Otherwise, |\clear(double)page|, |h(!)|, |H|~from the \xpackage{float} package, |
| 252 |
% or |\FloatBarrier| from the \xpackage{picins} package might help. |
| 253 |
% \end{abstract} |
| 254 |
% |
| 255 |
% \bigskip |
| 256 |
% |
| 257 |
% \noindent Note: \LaTeX{} since 2015 provides the |\extrafloats| command. |
| 258 |
% \textsc{Don Hosek}, Quixote, 1990-07-27 (Thanks!) |
| 259 |
% invented the main code for handling more floats |
| 260 |
% before |\extrafloats| was available. |
| 261 |
% \textsc{David Carlisle} pointed the maintainer to the new |
| 262 |
% |\extrafloats| (Thanks!). |
| 263 |
% The current maintainer is \textsc{H.-Martin Münch}.\bigskip |
| 264 |
% |
| 265 |
% \noindent Disclaimer for web links: The author is not responsible for any contents |
| 266 |
% referred to in this work unless having full knowledge of illegal contents. |
| 267 |
% If any damage occurs by the use of information presented there, |
| 268 |
% only the author of the respective pages might be liable, |
| 269 |
% not the one who has referred to those pages. |
| 270 |
% \newpage |
| 271 |
% \tableofcontents |
| 272 |
% |
| 273 |
% \newpage |
| 274 |
% |
| 275 |
% \section{Introduction\label{sec:Introduction}} |
| 276 |
% The default limit of unprocessed floats, $18$, |
| 277 |
% can be increased with this \xpackage{morefloats} package.\\ |
| 278 |
% \textquotedblleft{}Of course one immediately begins to wonder: |
| 279 |
% \guillemotright{}Why eighteen?!\guillemotleft{} And it turns out that $18$ |
| 280 |
% one{-}line tables with $10$~point Computer Modern using \xclass{article.cls} |
| 281 |
% produces almost exactly one page worth of material.\textquotedblright{}\\ |
| 282 |
% (user \url{https://tex.stackexchange.com/users/1495/kahen} as comment to\\ |
| 283 |
% \url{https://tex.stackexchange.com/a/35596} on 2011-11-21)\\ |
| 284 |
% As alternatives (see also section \ref{sec:alternatives} below) |
| 285 |
% |\clear(double)page|, |h(!)|, |H|~from the |
| 286 |
% \href{https://www.ctan.org/pkg/float}{\xpackage{float}} package, |
| 287 |
% or |\FloatBarrier| from the % |
| 288 |
% \href{https://www.ctan.org/pkg/picins}{\xpackage{picins}} package might help. |
| 289 |
% If the floats cannot be placed anywhere at all, extending the number of floats |
| 290 |
% will just delay the arrival of the corresponding error. |
| 291 |
% |
| 292 |
% \section{Usage} |
| 293 |
% \subsection{General usage:} |
| 294 |
% Load the package placing |
| 295 |
% \begin{quote} |
| 296 |
% |\usepackage[<|\textit{options}|>]{morefloats}| |
| 297 |
% \end{quote} |
| 298 |
% \noindent in the preamble of your \LaTeXe{} source file (the earlier the better).\\ |
| 299 |
% \noindent The \xpackage{morefloats} package takes two options: |maxfloats| and |
| 300 |
% |morefloats|, where |morefloats| gives the number of additional floats and |
| 301 |
% |maxfloats| gives the maximum number of floats. |maxfloats=25| therefore means, |
| 302 |
% that there are $18$~(default) floats and $7$~additional floats. |
| 303 |
% |morefloats=7|~therefore has the same meaning. It is only necessary to give |
| 304 |
% one of these two options. At the time being, it is not possible to reduce |
| 305 |
% the number of floats (for example to save boxes). If you have code |
| 306 |
% accomplishing that, please send it to the package maintainer, thanks.\\ |
| 307 |
% Version 1.0b used a fixed value of |maxfloats=36|. Therefore for backward |
| 308 |
% compatibility this value is taken as the default one.\\ |
| 309 |
% Example: |
| 310 |
% \begin{quote} |
| 311 |
% |\usepackage[maxfloats=25]{morefloats}| |
| 312 |
% \end{quote} |
| 313 |
% or |
| 314 |
% \begin{quote} |
| 315 |
% |\usepackage[morefloats=7]{morefloats}| |
| 316 |
% \end{quote} |
| 317 |
% or |
| 318 |
% \begin{quote} |
| 319 |
% |\usepackage[maxfloats=25,morefloats=7]{morefloats}| |
| 320 |
% \end{quote} |
| 321 |
% |
| 322 |
% \subsection{Situation for \LaTeX{} before 2015:} |
| 323 |
% |Float| uses |insert|, and each |insert| uses a group of |count|, |dimen|, |
| 324 |
% |skip|, and |box| each. When there are not enough available, no |\newinsert| |
| 325 |
% can be created. The |
| 326 |
% \href{https://www.ctan.org/pkg/etex-pkg}{\xpackage{etex}} package |
| 327 |
% provides access at an extended range of those registers, |
| 328 |
% but does not use those for |\newinsert|. Therefore the inserts must be |
| 329 |
% reserved first, which forces the use of the extended register range |
| 330 |
% for other new |count|, |dimen|, |skip|, and |box|: |
| 331 |
% To have more floats available, use |\usepackage{etex}\reserveinserts{...}| |
| 332 |
% right after |\documentclass[...]{...}|, where the argument of |\reserveinserts| |
| 333 |
% should be at least the maximum number of floats. Add another $10$ |
| 334 |
% if the \href{https://www.ctan.org/pkg/bigfoot}{\xpackage{bigfoot}} or the |
| 335 |
% \href{https://www.ctan.org/pkg/manyfoot}{\xpackage{manyfoot}} package |
| 336 |
% is used, but |\reserveinserts| can be about $234$ at most for older |
| 337 |
% \LaTeX{} formats. |
| 338 |
% |
| 339 |
% \subsection{Situation for \LaTeX{} since 2015:} |
| 340 |
% Now |\reserveinserts| can be about $2\,147\,483\,647$, |
| 341 |
% but |\insert255{}| even then produces an error. |
| 342 |
% The \LaTeX{} 2015 \textquotedblleft release provides a new command in the format |
| 343 |
% |\extrafloats|\textquotedblright ; \textquotedblleft as it doesn't use |
| 344 |
% |\newinsert| (and as the 2015 format uses extended registers by default) |
| 345 |
% you can allocate a lot more floats\textquotedblright{} % |
| 346 |
% (both \textsc{David Carlisle}, 29. June 2015), \hbox{e.\,g. |\extrafloats{1234}|.} |
| 347 |
% |
| 348 |
% \section{Alternatives (kind of)\label{sec:alternatives}} |
| 349 |
% |
| 350 |
% The very old \xpackage{morefloats} with a fixed number of |maxfloats=36| {}% |
| 351 |
% \hbox{(i.\,e. $18$ |morefloats|)} has been archived at |
| 352 |
% \href{http://mirror.ctan.org/obsolete/macros/latex/contrib/misc/morefloats.sty}{% |
| 353 |
% http://mirror.ctan.org/obsolete/macros/latex/contrib/}\newline% |
| 354 |
% \href{http://mirror.ctan.org/obsolete/macros/latex/contrib/misc/morefloats.sty}{% |
| 355 |
% misc/morefloats.sty}.\bigskip |
| 356 |
% |
| 357 |
% If you really want to increase the number of (possible) floats, |
| 358 |
% this is the right package. On the other hand, if you ran into trouble of |
| 359 |
% \texttt{Too many unprocessed floats}, but would also accept less floats, |
| 360 |
% there are some other possibilities: |
| 361 |
% \begin{description} |
| 362 |
% \item[-] The command |\clearpage| forces \LaTeX{} to output any floating objects |
| 363 |
% that occurred before this command (and go to the next page). |
| 364 |
% |\cleardoublepage| does the same but ensures that the next page with |
| 365 |
% output is one with odd page number. |
| 366 |
% \item[-] Using different float specifiers: |t|~top, |b|~bottom, |p|~page |
| 367 |
% of floats. |
| 368 |
% \item[-] Suggesting \LaTeX{} to put the object where it was placed: |
| 369 |
% |h| (= here) float specifier. |
| 370 |
% \item[-] Telling \LaTeX{} to please put the object where it was placed: |
| 371 |
% |h!| (= here!) float specifier. |
| 372 |
% \item[-] Forcing \LaTeX{} to put the object where it was placed and shut up: |
| 373 |
% The \xpackage{float} package provides the \textquotedblleft style |
| 374 |
% option here, giving floating environments a [H] option which means |
| 375 |
% `PUT IT HERE' (as opposed to the standard [h] option which means |
| 376 |
% `You may put it here if you like')\textquotedblright{} (\xpackage{float} |
| 377 |
% package documentation v1.3d as of 2001/11/08). |
| 378 |
% Changing e.\,g. |\begin{figure}[tbp]...| to |\begin{figure}[H]...| |
| 379 |
% forces the figure to be placed HERE instead of floating away.\\ |
| 380 |
% The \xpackage{float} package is available at \url{https://www.ctan.org/pkg/float}. |
| 381 |
% \item[-] The \xpackage{placeins} package provides the command |\FloatBarrier|. |
| 382 |
% Floats occurring before the |\FloatBarrier| are not allowed to float |
| 383 |
% to a later place, and floats occurring after the |\FloatBarrier| are not |
| 384 |
% allowed to float to an earlier place than the |\FloatBarrier|. (There |
| 385 |
% can be more than one |\FloatBarrier| in a document.) -- % |
| 386 |
% The same package also provides an option to automatically add |\FloatBarrier|s to |
| 387 |
% section headings. It is further possible to make |
| 388 |
% |\FloatBarrier|s less strict (see that package's documentation).\\ |
| 389 |
% The \xpackage{placeins} package is available at \url{https://www.ctan.org/pkg/placeins}. |
| 390 |
% \item[-] Sometimes also increasing the maximum number (|\maxdeadcycles|) |
| 391 |
% of calls of |\output| without a |\shipout| can help, |
| 392 |
% for example |\maxdeadcycles=123\relax|. |
| 393 |
% \end{description} |
| 394 |
% |
| 395 |
% \newpage |
| 396 |
% |
| 397 |
% \noindent See also the following entries in the |
| 398 |
% \texttt{UK~List of TeX Frequently Asked Questions on the Web}: |
| 399 |
% \begin{description} |
| 400 |
% \item[-] \url{http://www.tex.ac.uk/cgi-bin/texfaq2html?label=floats} |
| 401 |
% \item[-] \url{http://www.tex.ac.uk/cgi-bin/texfaq2html?label=tmupfl} |
| 402 |
% \item[-] \url{http://www.tex.ac.uk/cgi-bin/texfaq2html?label=figurehere} |
| 403 |
% \end{description} |
| 404 |
% and the \textbf{excellent article on \textquotedblleft How to influence the position |
| 405 |
% of float environments like figure and table in \hbox{\LaTeX ?\textquotedblright } by |
| 406 |
% \textsc{Frank Mittelbach}} at |
| 407 |
% \url{https://www.latex-project.org/publications/indexbyyear/2014/}{}!\bigskip |
| 408 |
% |
| 409 |
% \noindent (You programmed or found another alternative, |
| 410 |
% which is available at CTAN?\\ |
| 411 |
% OK, send an e-mail to me with the name, location at CTAN, |
| 412 |
% and a short notice, and I will probably include it in |
| 413 |
% the list above.) |
| 414 |
% |
| 415 |
% \bigskip |
| 416 |
% |
| 417 |
% \section{Example} |
| 418 |
% |
| 419 |
% \begin{macrocode} |
| 420 |
%<*example> |
| 421 |
\documentclass[british]{article}[2024/06/29]% v1.4n |
| 422 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 423 |
\usepackage[maxfloats=25]{morefloats}[2025/01/28]% v1.1a |
| 424 |
%% \maxdeadcycles=200\relax% |
| 425 |
%%% \maxdeadcycles is the maximum number of calls of \output |
| 426 |
%%% without a \shipout. |
| 427 |
\listfiles |
| 428 |
\begin{document} |
| 429 |
|
| 430 |
\makeatletter |
| 431 |
|
| 432 |
\section*{Example for morefloats} |
| 433 |
\markboth{Example for morefloats}{Example for morefloats} |
| 434 |
|
| 435 |
This example demonstrates the use of package\newline |
| 436 |
\textsf{morefloats}, v1.1a as of 2025/01/28 (HMM).\newline |
| 437 |
The package takes options (here: |
| 438 |
\verb|maxfloats=|\texttt{\morefloats@maxfloats} is used).\newline |
| 439 |
For more details please see the documentation!\newline |
| 440 |
|
| 441 |
To reproduce the\newline |
| 442 |
\LaTeX{} \texttt{ Error: Too many unprocessed floats},\newline |
| 443 |
comment out the \verb|\usepackage...| in the preamble |
| 444 |
(line~3)\newline |
| 445 |
(by placing a \% before it).\bigskip |
| 446 |
|
| 447 |
There follow \morefloats@maxfloats{} floating tables. |
| 448 |
|
| 449 |
\pagebreak |
| 450 |
|
| 451 |
\@tempcnta=18\relax% default floats |
| 452 |
\advance\@tempcnta by \morefloats@morefloats% |
| 453 |
% \morefloats@morefloats is the number of additional |
| 454 |
% floating tables to create. |
| 455 |
\loop |
| 456 |
\ifnum\@tempcnta>0\relax% |
| 457 |
\begin{table}[t]\centering% |
| 458 |
\begin{tabular}{|l|}% |
| 459 |
\hline% |
| 460 |
A table, which will keep floating.\\% |
| 461 |
\hline |
| 462 |
\end{tabular}% |
| 463 |
\caption{A floating Table.}% |
| 464 |
\end{table}% |
| 465 |
\advance\@tempcnta by -1\relax% |
| 466 |
\repeat |
| 467 |
|
| 468 |
\makeatother |
| 469 |
|
| 470 |
\end{document} |
| 471 |
%</example> |
| 472 |
% \end{macrocode} |
| 473 |
% \StopEventually{} |
| 474 |
% \newpage |
| 475 |
% |
| 476 |
% \section{The implementation} |
| 477 |
% We start off by checking that we are loading into \LaTeXe{} and |
| 478 |
% announcing the name and version of this package. |
| 479 |
% |
| 480 |
% \begin{macrocode} |
| 481 |
%<*package> |
| 482 |
% \end{macrocode} |
| 483 |
% |
| 484 |
% \begin{macrocode} |
| 485 |
\NeedsTeXFormat{LaTeX2e}[2011/06/27] |
| 486 |
\ProvidesPackage{morefloats}[2025/01/28 v1.1a Raise limit of unprocessed floats (HMM)] |
| 487 |
|
| 488 |
% \end{macrocode} |
| 489 |
% |
| 490 |
% \DescribeMacro{Options} |
| 491 |
% \begin{macrocode} |
| 492 |
\RequirePackage{kvoptions}[2011/06/30]% v3.11, newer versions exist! |
| 493 |
\SetupKeyvalOptions{family=morefloats,prefix=morefloats@} |
| 494 |
\DeclareStringOption{maxfloats}% \morefloats@maxfloats |
| 495 |
\DeclareStringOption{morefloats}% \morefloats@morefloats |
| 496 |
\ProcessKeyvalOptions* |
| 497 |
|
| 498 |
% \end{macrocode} |
| 499 |
% |
| 500 |
% The \xpackage{morefloats} package takes two options: |maxfloats| and |morefloats|, |
| 501 |
% where |morefloats| gives the number of additional floats and |maxfloats| gives |
| 502 |
% the maximum number of floats. |maxfloats=37| therefore means, that there are |
| 503 |
% $18$ (default) floats and another $19$ additional floats. |morefloats=19| therefore |
| 504 |
% has the same meaning. Version~1.0b used a fixed value of |maxfloats=36|. |
| 505 |
% Therefore for backward compatibility this value will be taken as the default one.\\ |
| 506 |
% Now we check whether |maxfloats=...| or |morefloats=...| or both were used, |
| 507 |
% and if one option was not used, we supply the according value. |
| 508 |
% If no option was used at all, we use the default values. |
| 509 |
% Too many requested floats produce error messages by \LaTeX , |
| 510 |
% which might not be easily traced back to this, |
| 511 |
% therefore we issue a warning. If option |maxfloats| or |morefloats| is no number, |
| 512 |
% the user will received the according error message by \LaTeX{} automatically. |
| 513 |
% |
| 514 |
% \begin{macrocode} |
| 515 |
\ifx\morefloats@maxfloats\@empty% |
| 516 |
\ifx\morefloats@morefloats\@empty% apply defaults: |
| 517 |
\gdef\morefloats@maxfloats{36}% |
| 518 |
\gdef\morefloats@morefloats{18}% |
| 519 |
\else% |
| 520 |
\ifnum\morefloats@morefloats>1569\relax% |
| 521 |
\PackageWarning{morefloats}{% |
| 522 |
\morefloats@morefloats\space more floats requested.\MessageBreak% |
| 523 |
LaTeX might run out of memory before this\MessageBreak% |
| 524 |
(in which case it will notify you)\MessageBreak% |
| 525 |
}% |
| 526 |
\else% |
| 527 |
\PackageInfo{morefloats}{% |
| 528 |
\morefloats@morefloats\space more floats requested.\MessageBreak% |
| 529 |
LaTeX might run out of memory before this\MessageBreak% |
| 530 |
(in which case it will notify you)\MessageBreak% |
| 531 |
}% |
| 532 |
\fi% |
| 533 |
\@tempcnta=\morefloats@morefloats\relax% |
| 534 |
\advance\@tempcnta by +18% |
| 535 |
\xdef\morefloats@maxfloats{\the\@tempcnta}% |
| 536 |
\fi% |
| 537 |
\else% |
| 538 |
\ifx\morefloats@morefloats\@empty% |
| 539 |
\@tempcnta=\morefloats@maxfloats\relax% |
| 540 |
\advance\@tempcnta by -18% |
| 541 |
\xdef\morefloats@morefloats{\the\@tempcnta}% |
| 542 |
\ifnum\morefloats@morefloats<\z@\relax% i.e. \morefloats@maxfloats < 18 |
| 543 |
\gdef\morefloats@morefloats{0}% |
| 544 |
\fi% |
| 545 |
\ifnum\morefloats@maxfloats>1587\relax% |
| 546 |
\PackageWarning{morefloats}{% |
| 547 |
\morefloats@maxfloats\space floats requested.\MessageBreak% |
| 548 |
LaTeX might run out of memory before this\MessageBreak% |
| 549 |
(in which case it will notify you)\MessageBreak% |
| 550 |
}% |
| 551 |
\fi% |
| 552 |
\fi% |
| 553 |
\fi% |
| 554 |
|
| 555 |
\@tempcnta=\morefloats@maxfloats\relax% |
| 556 |
\xdef\morefloats@max{\the\@tempcnta}% |
| 557 |
|
| 558 |
\ifnum\@tempcnta<18\relax% |
| 559 |
\PackageError{morefloats}{Option maxfloats is \the\@tempcnta<18}{% |
| 560 |
maxfloats must be a number equal to or larger than 18\MessageBreak% |
| 561 |
(or not used at all).\MessageBreak% |
| 562 |
Now setting maxfloats=18.\MessageBreak% |
| 563 |
}% |
| 564 |
\gdef\morefloats@max{18}% |
| 565 |
\fi% |
| 566 |
|
| 567 |
\@tempcnta=\morefloats@morefloats\relax% |
| 568 |
\xdef\morefloats@more{\the\@tempcnta}% |
| 569 |
|
| 570 |
\ifnum\@tempcnta<\z@\relax% |
| 571 |
\PackageError{morefloats}{Option morefloats is \the\@tempcnta<0}{% |
| 572 |
morefloats must be a number equal to or larger than 0\MessageBreak% |
| 573 |
(or not used at all).\MessageBreak% |
| 574 |
Now setting morefloats=0.\MessageBreak% |
| 575 |
}% |
| 576 |
\gdef\morefloats@more{0}% |
| 577 |
\fi% |
| 578 |
|
| 579 |
\@tempcnta=18\relax% |
| 580 |
\advance\@tempcnta by \morefloats@more% |
| 581 |
% \end{macrocode} |
| 582 |
% |
| 583 |
% The value of |morefloats| should now be equal to the value of |morefloats@max|. |
| 584 |
% |
| 585 |
% \begin{macrocode} |
| 586 |
\advance\@tempcnta by -\morefloats@max% |
| 587 |
% \end{macrocode} |
| 588 |
% |
| 589 |
% Therefore |\@tempcnta| should now be equal to zero. |
| 590 |
% |
| 591 |
% \begin{macrocode} |
| 592 |
\xdef\morefloats@mx{\the\@tempcnta}% |
| 593 |
\ifnum\morefloats@mx=\z@\relax% |
| 594 |
\@tempcnta=\morefloats@maxfloats\relax% |
| 595 |
\else% |
| 596 |
\PackageError{morefloats}{% |
| 597 |
Clash between options maxfloats and morefloats}{% |
| 598 |
Option maxfloats must be empty\MessageBreak% |
| 599 |
or the sum of 18 and option value morefloats,\MessageBreak% |
| 600 |
but it is maxfloats=\morefloats@maxfloats\space and % |
| 601 |
morefloats=\morefloats@morefloats .\MessageBreak% |
| 602 |
}% |
| 603 |
% \end{macrocode} |
| 604 |
% |
| 605 |
% We choose the larger value to be used. |
| 606 |
% |
| 607 |
% \begin{macrocode} |
| 608 |
\ifnum\@tempcnta<\z@% \morefloats@max > \morefloats@more |
| 609 |
\@tempcnta=\morefloats@maxfloats\relax% |
| 610 |
\else% \@tempcnta>0, \morefloats@max < \morefloats@more |
| 611 |
\@tempcnta=18\relax% |
| 612 |
\advance\@tempcnta by \morefloats@morefloats% |
| 613 |
\fi% |
| 614 |
\fi% |
| 615 |
\edef\morefloats@mx{\the\@tempcnta}% |
| 616 |
% \end{macrocode} |
| 617 |
% |
| 618 |
% Maybe we had to change |\morefloats@maxfloats| or |\morefloats@maxfloats|: |
| 619 |
% |
| 620 |
% \begin{macrocode} |
| 621 |
\xdef\morefloats@maxfloats{\the\@tempcnta}% |
| 622 |
\advance\@tempcnta by -18\relax% |
| 623 |
\xdef\morefloats@morefloats{\the\@tempcnta}% |
| 624 |
\gdef\morefloats@test{1}% |
| 625 |
\ifx\morefloats@morefloats\morefloats@test\relax% |
| 626 |
\PackageInfo{morefloats}{% |
| 627 |
Maximum number of possible floats asked for: \morefloats@maxfloats% |
| 628 |
\MessageBreak% |
| 629 |
(i.e. one more float)\@gobble% |
| 630 |
}% |
| 631 |
\else% |
| 632 |
\PackageInfo{morefloats}{% |
| 633 |
Maximum number of possible floats asked for: \morefloats@maxfloats% |
| 634 |
\MessageBreak% |
| 635 |
(i.e. \morefloats@morefloats\space more floats).\MessageBreak% |
| 636 |
LaTeX might run out of memory before this\MessageBreak% |
| 637 |
(in which case it will notify you)% |
| 638 |
\@gobble% |
| 639 |
}% |
| 640 |
\fi% |
| 641 |
|
| 642 |
|
| 643 |
% \end{macrocode} |
| 644 |
% |
| 645 |
% The \LaTeX{} 2015 \textquotedblleft release provides a new command in the format |
| 646 |
% |\extrafloats| which does a similar job [as earlier versions of this package did], |
| 647 |
% although as it doesn't use |\newinsert| (and as the 2015 format uses extended |
| 648 |
% registers by default) you can allocate a lot more floats,\textquotedblright{} % |
| 649 |
% \hbox{e.\,g.~|\extrafloats{1234}|.} Loading the \xpackage{etex} package and |
| 650 |
% \xpackage{morefloats} with the new format would |
| 651 |
% \textquotedblleft over{-}write the new allocation mechanism and end up with |
| 652 |
% fewer floats available.\textquotedblright{} Therefore here it is tested |
| 653 |
% \textquotedblleft for the new format and switch[ed] to the new mechanism |
| 654 |
% in that case, so that existing documents work as before but using the new allocation |
| 655 |
% scheme underneath.\textquotedblright{} (all \textsc{David Carlisle}, 29. June 2015, |
| 656 |
% who provided also main parts of the following code) |
| 657 |
% |
| 658 |
% \begin{macrocode} |
| 659 |
%% Test for new mechanism in LaTeX 2015: |
| 660 |
\ifx\e@alloc\@undefined\relax% |
| 661 |
%% This is an old LaTeX format, \extrafloats is not available. |
| 662 |
\PackageWarning{morefloats}{% |
| 663 |
\fmtname\space <\fmtversion> % |
| 664 |
\ifx\patch@level\@undefined\relax% |
| 665 |
\else patch level \patch@level% |
| 666 |
\fi% |
| 667 |
\MessageBreak% |
| 668 |
found. At least\MessageBreak% |
| 669 |
LaTeX2e <2015/01/01> patch level 2\MessageBreak% |
| 670 |
is now available\MessageBreak% |
| 671 |
and can handle even more floats% |
| 672 |
\@gobble% |
| 673 |
}% |
| 674 |
\else% |
| 675 |
%% This is new in LaTeX 2015, \extrafloats is available. |
| 676 |
\@ifpackageloaded{etex}% |
| 677 |
{%% etex package loaded: |
| 678 |
%% "it overwrites all the new allocation system |
| 679 |
%% so really \extrafloats shouldn't be expected to work" |
| 680 |
%% (D. Carlisle, 2015/07/16, who also provided the following |
| 681 |
%% \extrafloats redefinition). |
| 682 |
\gdef\extrafloats#1{% |
| 683 |
\ifnum#1>\z@\relax% |
| 684 |
\count@\numexpr\float@count-1\relax% |
| 685 |
\ch@ck0\count@\count\relax% |
| 686 |
\ch@ck1\count@\dimen\relax% |
| 687 |
\ch@ck2\count@\skip\relax% |
| 688 |
\ch@ck4\count@\box\relax% |
| 689 |
\e@alloc@chardef\float@count\count@% |
| 690 |
\expandafter\e@alloc@chardef\csname bx@\the\float@count\endcsname\float@count% |
| 691 |
\@cons\@freelist{\csname bx@\the\float@count\endcsname}% |
| 692 |
\expandafter% |
| 693 |
\extrafloats\expandafter{\numexpr#1-1\relax}% |
| 694 |
\fi% |
| 695 |
}% |
| 696 |
}{% etex package not loaded |
| 697 |
}% |
| 698 |
\extrafloats{\morefloats@morefloats}% |
| 699 |
% The part after the test is no longer needed and therefore not loaded: |
| 700 |
\expandafter\endinput% |
| 701 |
\fi% |
| 702 |
%% End of the test for LaTeX 2015 (or newer). |
| 703 |
%% Not new format, otherwise the last \endinput would have been applied. |
| 704 |
|
| 705 |
%% Test for e-TeX: |
| 706 |
\RequirePackage{ifetex}[2011/12/15]% v1.2, replaced by iftex-package nowadays |
| 707 |
\ifetex%% then we can use code similar to the one from David Carlisle, |
| 708 |
%% https://tex.stackexchange.com/a/212483 |
| 709 |
\mathchardef\float@count=32767\relax% |
| 710 |
\gdef\extrafloats#1{% |
| 711 |
\ifnum#1>\z@\relax% |
| 712 |
\count@\numexpr\float@count-1\relax% |
| 713 |
\ch@ck0\count@\count\relax% |
| 714 |
\ch@ck1\count@\dimen\relax% |
| 715 |
\ch@ck2\count@\skip\relax% |
| 716 |
\ch@ck4\count@\box\relax% |
| 717 |
\mathchardef\float@count\count@\relax% |
| 718 |
\expandafter\mathchardef\csname bx@\the\float@count\endcsname\float@count% |
| 719 |
\@cons\@freelist{\csname bx@\the\float@count\endcsname}% |
| 720 |
\expandafter% |
| 721 |
\extrafloats\expandafter{\numexpr#1-1\relax}% |
| 722 |
\fi}% |
| 723 |
\extrafloats{\morefloats@morefloats}% |
| 724 |
\expandafter\endinput% |
| 725 |
\fi% |
| 726 |
%% End of the test for e-TeX. |
| 727 |
%% Old format and not e-TeX, |
| 728 |
%% otherwise the last \endinput would have been applied. |
| 729 |
|
| 730 |
|
| 731 |
% \end{macrocode} |
| 732 |
% |
| 733 |
% If we ever come to this place, \textquotedblleft everything\textquotedblright{} % |
| 734 |
% failed and we need to do things the old fashioned way, |
| 735 |
% which severely limits the maximum number of additionally available floats. |
| 736 |
% |
| 737 |
% \begin{macrocode} |
| 738 |
\PackageWarning{morefloats}{% |
| 739 |
e-TeX is not available here\MessageBreak% |
| 740 |
but it is available in almost all\MessageBreak% |
| 741 |
recent TeX distributions.\MessageBreak% |
| 742 |
Maybe consider updating to one of those% |
| 743 |
\@gobble% |
| 744 |
}% |
| 745 |
|
| 746 |
% \end{macrocode} |
| 747 |
% |
| 748 |
% \newpage |
| 749 |
% |
| 750 |
% \begin{landscape} |
| 751 |
% |
| 752 |
% |Float| uses |insert|, and each |insert| use a group of |count|, |dimen|, |skip|, |
| 753 |
% and |box| each. When there are not enough available, no |\newinsert| can be created. |
| 754 |
% |
| 755 |
% \begin{macrocode} |
| 756 |
%% Code similar to the one from Heiko Oberdiek, |
| 757 |
%% http://permalink.gmane.org/gmane.comp.tex.latex.latex3/2159 |
| 758 |
\@tempcnta=\the\count10 \relax \def\maxfloats@vln{count} % |
| 759 |
\ifnum \count11>\@tempcnta \@tempcnta=\the\count11 \relax \def\maxfloats@vln{dimen} \fi% |
| 760 |
\ifnum \count12>\@tempcnta \@tempcnta=\the\count12 \relax \def\maxfloats@vln{skip} \fi% |
| 761 |
\ifnum \count14>\@tempcnta \@tempcnta=\the\count14 \relax \def\maxfloats@vln{box} \fi% |
| 762 |
%% end similar |
| 763 |
\@tempcntb=234\relax% |
| 764 |
\advance\@tempcntb by -\@tempcnta\relax% |
| 765 |
\@tempcnta=\@tempcntb\relax% |
| 766 |
\ifnum\morefloats@mx>\@tempcntb\relax% |
| 767 |
\PackageError{morefloats}{Too many floats requested}{% |
| 768 |
Maximum number of possible floats asked for: \morefloats@mx .\MessageBreak% |
| 769 |
There are only \the\@tempcnta\space \maxfloats@vln\space left,\MessageBreak% |
| 770 |
therefore only \the\@tempcntb\space floats will be possible.\MessageBreak% |
| 771 |
Load the morefloats package earlier and/or\MessageBreak% |
| 772 |
reduce the number of used \maxfloats@vln\space registers\MessageBreak% |
| 773 |
to have more floats available!\MessageBreak% |
| 774 |
}% |
| 775 |
\xdef\morefloats@mx{\the\@tempcntb}% |
| 776 |
\fi% |
| 777 |
|
| 778 |
% \end{macrocode} |
| 779 |
% |
| 780 |
% The task at hand is to increase \LaTeX{}'s default limit of $18$~unprocessed |
| 781 |
% floats in memory at once to |maxfloats|. |
| 782 |
% An examination of \texttt{latex.tex} reveals that this is accomplished |
| 783 |
% by allocating~(!) an insert register for each unprocessed float. A~quick |
| 784 |
% check of (the obsolete, now \texttt{ltplain}, update to \LaTeX2e{}!) |
| 785 |
% \texttt{lplain.lis} reveals that there is room, in fact, for up to |
| 786 |
% $256$ unprocessed floats, but \TeX{}'s main memory could be exhausted |
| 787 |
% well before that happened.\\ |
| 788 |
% |
| 789 |
% \LaTeX2e{} uses a |\dimen| for each |\newinsert|, and the number of |\dimen|s |
| 790 |
% is also restricted. Therefore only use the number of floats you need! |
| 791 |
% To check the number of used registers, you could use the \xpackage{regstats} |
| 792 |
% and/or \xpackage{regcount} packages (see subsection~\ref{ss:Downloads}). |
| 793 |
% |
| 794 |
% \bigskip |
| 795 |
% |
| 796 |
% \DescribeMacro{Allocating insert registers} |
| 797 |
% \DescribeMacro{@freelist} |
| 798 |
% \DescribeMacro{@elt} |
| 799 |
% \DescribeMacro{newinsert} |
| 800 |
% First we allocate the additional insert registers needed.\\ |
| 801 |
% |
| 802 |
% That accomplished, the next step is to define the macro |\@freelist|, |
| 803 |
% which is merely a~list of the box registers each preceded by |\@elt|. |
| 804 |
% This approach allows processing of the list to be done far more efficiently. |
| 805 |
% A similar approach is used by \textsc{Mittelbach \& Sch\"{o}pf}'s \texttt{doc.sty} to |
| 806 |
% keep track of control sequences, which should not be indexed.\\ |
| 807 |
% First for the 18 default \LaTeX{} boxes.\\ |
| 808 |
% \noindent |\ifnum maxfloats <= 18|, \LaTeX{} already allocated the insert registers. |\fi|\\ |
| 809 |
% |
| 810 |
% \begin{macrocode} |
| 811 |
\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% |
| 812 |
\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} |
| 813 |
|
| 814 |
% \end{macrocode} |
| 815 |
% |
| 816 |
% Now we need to add |\@elt\bx@...| depending on the number of |morefloats| wanted:\\ |
| 817 |
% (\textsc{Karl Berry} helped with two out of three |\expandafter|s, thanks!) |
| 818 |
% |
| 819 |
% \medskip |
| 820 |
% |
| 821 |
% \begin{macrocode} |
| 822 |
\ifnum \morefloats@mx> 18 \newinsert\bx@S \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@S} |
| 823 |
\ifnum \morefloats@mx> 19 \newinsert\bx@T \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@T} |
| 824 |
\ifnum \morefloats@mx> 20 \newinsert\bx@U \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@U} |
| 825 |
\ifnum \morefloats@mx> 21 \newinsert\bx@V \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@V} |
| 826 |
\ifnum \morefloats@mx> 22 \newinsert\bx@W \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@W} |
| 827 |
\ifnum \morefloats@mx> 23 \newinsert\bx@X \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@X} |
| 828 |
\ifnum \morefloats@mx> 24 \newinsert\bx@Y \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@Y} |
| 829 |
\ifnum \morefloats@mx> 25 \newinsert\bx@Z \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@Z} |
| 830 |
\ifnum \morefloats@mx> 26 \newinsert\bx@AA \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@AA} |
| 831 |
\ifnum \morefloats@mx> 27 \newinsert\bx@AB \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@AB} |
| 832 |
\ifnum \morefloats@mx> 28 \newinsert\bx@AC \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@AC} |
| 833 |
\ifnum \morefloats@mx> 29 \newinsert\bx@AD \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@AD} |
| 834 |
\ifnum \morefloats@mx> 30 \newinsert\bx@AE \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@AE} |
| 835 |
\ifnum \morefloats@mx> 31 \newinsert\bx@AF \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@AF} |
| 836 |
\ifnum \morefloats@mx> 32 \newinsert\bx@AG \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@AG} |
| 837 |
\ifnum \morefloats@mx> 33 \newinsert\bx@AH \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@AH} |
| 838 |
\ifnum \morefloats@mx> 34 \newinsert\bx@AI \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@AI} |
| 839 |
\ifnum \morefloats@mx> 35 \newinsert\bx@AJ \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@AJ} |
| 840 |
\ifnum \morefloats@mx> 36 \newinsert\bx@AK \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@AK} |
| 841 |
\ifnum \morefloats@mx> 37 \newinsert\bx@AL \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@AL} |
| 842 |
\ifnum \morefloats@mx> 38 \newinsert\bx@AM \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@AM} |
| 843 |
\ifnum \morefloats@mx> 39 \newinsert\bx@AN \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@AN} |
| 844 |
\ifnum \morefloats@mx> 40 \newinsert\bx@AO \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@AO} |
| 845 |
\ifnum \morefloats@mx> 41 \newinsert\bx@AP \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@AP} |
| 846 |
\ifnum \morefloats@mx> 42 \newinsert\bx@AQ \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@AQ} |
| 847 |
\ifnum \morefloats@mx> 43 \newinsert\bx@AR \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@AR} |
| 848 |
\ifnum \morefloats@mx> 44 \newinsert\bx@AS \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@AS} |
| 849 |
\ifnum \morefloats@mx> 45 \newinsert\bx@AT \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@AT} |
| 850 |
\ifnum \morefloats@mx> 46 \newinsert\bx@AU \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@AU} |
| 851 |
\ifnum \morefloats@mx> 47 \newinsert\bx@AV \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@AV} |
| 852 |
\ifnum \morefloats@mx> 48 \newinsert\bx@AW \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@AW} |
| 853 |
\ifnum \morefloats@mx> 49 \newinsert\bx@AX \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@AX} |
| 854 |
\ifnum \morefloats@mx> 50 \newinsert\bx@AY \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@AY} |
| 855 |
\ifnum \morefloats@mx> 51 \newinsert\bx@AZ \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@AZ} |
| 856 |
\ifnum \morefloats@mx> 52 \newinsert\bx@BA \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@BA} |
| 857 |
\ifnum \morefloats@mx> 53 \newinsert\bx@BB \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@BB} |
| 858 |
\ifnum \morefloats@mx> 54 \newinsert\bx@BC \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@BC} |
| 859 |
\ifnum \morefloats@mx> 55 \newinsert\bx@BD \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@BD} |
| 860 |
\ifnum \morefloats@mx> 56 \newinsert\bx@BE \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@BE} |
| 861 |
\ifnum \morefloats@mx> 57 \newinsert\bx@BF \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@BF} |
| 862 |
\ifnum \morefloats@mx> 58 \newinsert\bx@BG \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@BG} |
| 863 |
\ifnum \morefloats@mx> 59 \newinsert\bx@BH \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@BH} |
| 864 |
\ifnum \morefloats@mx> 60 \newinsert\bx@BI \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@BI} |
| 865 |
\ifnum \morefloats@mx> 61 \newinsert\bx@BJ \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@BJ} |
| 866 |
\ifnum \morefloats@mx> 62 \newinsert\bx@BK \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@BK} |
| 867 |
\ifnum \morefloats@mx> 63 \newinsert\bx@BL \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@BL} |
| 868 |
\ifnum \morefloats@mx> 64 \newinsert\bx@BM \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@BM} |
| 869 |
\ifnum \morefloats@mx> 65 \newinsert\bx@BN \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@BN} |
| 870 |
\ifnum \morefloats@mx> 66 \newinsert\bx@BO \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@BO} |
| 871 |
\ifnum \morefloats@mx> 67 \newinsert\bx@BP \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@BP} |
| 872 |
\ifnum \morefloats@mx> 68 \newinsert\bx@BQ \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@BQ} |
| 873 |
\ifnum \morefloats@mx> 69 \newinsert\bx@BR \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@BR} |
| 874 |
\ifnum \morefloats@mx> 70 \newinsert\bx@BS \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@BS} |
| 875 |
\ifnum \morefloats@mx> 71 \newinsert\bx@BT \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@BT} |
| 876 |
\ifnum \morefloats@mx> 72 \newinsert\bx@BU \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@BU} |
| 877 |
\ifnum \morefloats@mx> 73 \newinsert\bx@BV \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@BV} |
| 878 |
\ifnum \morefloats@mx> 74 \newinsert\bx@BW \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@BW} |
| 879 |
\ifnum \morefloats@mx> 75 \newinsert\bx@BX \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@BX} |
| 880 |
\ifnum \morefloats@mx> 76 \newinsert\bx@BY \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@BY} |
| 881 |
\ifnum \morefloats@mx> 77 \newinsert\bx@BZ \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@BZ} |
| 882 |
\ifnum \morefloats@mx> 78 \newinsert\bx@CA \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@CA} |
| 883 |
\ifnum \morefloats@mx> 79 \newinsert\bx@CB \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@CB} |
| 884 |
\ifnum \morefloats@mx> 80 \newinsert\bx@CC \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@CC} |
| 885 |
\ifnum \morefloats@mx> 81 \newinsert\bx@CD \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@CD} |
| 886 |
\ifnum \morefloats@mx> 82 \newinsert\bx@CE \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@CE} |
| 887 |
\ifnum \morefloats@mx> 83 \newinsert\bx@CF \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@CF} |
| 888 |
\ifnum \morefloats@mx> 84 \newinsert\bx@CG \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@CG} |
| 889 |
\ifnum \morefloats@mx> 85 \newinsert\bx@CH \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@CH} |
| 890 |
\ifnum \morefloats@mx> 86 \newinsert\bx@CI \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@CI} |
| 891 |
\ifnum \morefloats@mx> 87 \newinsert\bx@CJ \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@CJ} |
| 892 |
\ifnum \morefloats@mx> 88 \newinsert\bx@CK \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@CK} |
| 893 |
\ifnum \morefloats@mx> 89 \newinsert\bx@CL \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@CL} |
| 894 |
\ifnum \morefloats@mx> 90 \newinsert\bx@CM \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@CM} |
| 895 |
\ifnum \morefloats@mx> 91 \newinsert\bx@CN \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@CN} |
| 896 |
\ifnum \morefloats@mx> 92 \newinsert\bx@CO \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@CO} |
| 897 |
\ifnum \morefloats@mx> 93 \newinsert\bx@CP \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@CP} |
| 898 |
\ifnum \morefloats@mx> 94 \newinsert\bx@CQ \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@CQ} |
| 899 |
\ifnum \morefloats@mx> 95 \newinsert\bx@CR \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@CR} |
| 900 |
\ifnum \morefloats@mx> 96 \newinsert\bx@CS \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@CS} |
| 901 |
\ifnum \morefloats@mx> 97 \newinsert\bx@CT \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@CT} |
| 902 |
\ifnum \morefloats@mx> 98 \newinsert\bx@CU \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@CU} |
| 903 |
\ifnum \morefloats@mx> 99 \newinsert\bx@CV \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@CV} |
| 904 |
\ifnum \morefloats@mx>100 \newinsert\bx@CW \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@CW} |
| 905 |
\ifnum \morefloats@mx>101 \newinsert\bx@CX \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@CX} |
| 906 |
\ifnum \morefloats@mx>102 \newinsert\bx@CY \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@CY} |
| 907 |
\ifnum \morefloats@mx>103 \newinsert\bx@CZ \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@CZ} |
| 908 |
\ifnum \morefloats@mx>104 \newinsert\bx@DA \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@DA} |
| 909 |
\ifnum \morefloats@mx>105 \newinsert\bx@DB \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@DB} |
| 910 |
\ifnum \morefloats@mx>106 \newinsert\bx@DC \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@DC} |
| 911 |
\ifnum \morefloats@mx>107 \newinsert\bx@DD \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@DD} |
| 912 |
\ifnum \morefloats@mx>108 \newinsert\bx@DE \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@DE} |
| 913 |
\ifnum \morefloats@mx>109 \newinsert\bx@DF \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@DF} |
| 914 |
\ifnum \morefloats@mx>110 \newinsert\bx@DG \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@DG} |
| 915 |
\ifnum \morefloats@mx>111 \newinsert\bx@DH \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@DH} |
| 916 |
\ifnum \morefloats@mx>112 \newinsert\bx@DI \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@DI} |
| 917 |
\ifnum \morefloats@mx>113 \newinsert\bx@DJ \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@DJ} |
| 918 |
\ifnum \morefloats@mx>114 \newinsert\bx@DK \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@DK} |
| 919 |
\ifnum \morefloats@mx>115 \newinsert\bx@DL \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@DL} |
| 920 |
\ifnum \morefloats@mx>116 \newinsert\bx@DM \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@DM} |
| 921 |
\ifnum \morefloats@mx>117 \newinsert\bx@DN \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@DN} |
| 922 |
\ifnum \morefloats@mx>118 \newinsert\bx@DO \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@DO} |
| 923 |
\ifnum \morefloats@mx>119 \newinsert\bx@DP \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@DP} |
| 924 |
\ifnum \morefloats@mx>120 \newinsert\bx@DQ \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@DQ} |
| 925 |
\ifnum \morefloats@mx>121 \newinsert\bx@DR \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@DR} |
| 926 |
\ifnum \morefloats@mx>122 \newinsert\bx@DS \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@DS} |
| 927 |
\ifnum \morefloats@mx>123 \newinsert\bx@DT \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@DT} |
| 928 |
\ifnum \morefloats@mx>124 \newinsert\bx@DU \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@DU} |
| 929 |
\ifnum \morefloats@mx>125 \newinsert\bx@DV \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@DV} |
| 930 |
\ifnum \morefloats@mx>126 \newinsert\bx@DW \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@DW} |
| 931 |
\ifnum \morefloats@mx>127 \newinsert\bx@DX \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@DX} |
| 932 |
\ifnum \morefloats@mx>128 \newinsert\bx@DY \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@DY} |
| 933 |
\ifnum \morefloats@mx>129 \newinsert\bx@DZ \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@DZ} |
| 934 |
\ifnum \morefloats@mx>130 \newinsert\bx@EA \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@EA} |
| 935 |
\ifnum \morefloats@mx>131 \newinsert\bx@EB \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@EB} |
| 936 |
\ifnum \morefloats@mx>132 \newinsert\bx@EC \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@EC} |
| 937 |
\ifnum \morefloats@mx>133 \newinsert\bx@ED \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@ED} |
| 938 |
\ifnum \morefloats@mx>134 \newinsert\bx@EE \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@EE} |
| 939 |
\ifnum \morefloats@mx>135 \newinsert\bx@EF \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@EF} |
| 940 |
\ifnum \morefloats@mx>136 \newinsert\bx@EG \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@EG} |
| 941 |
\ifnum \morefloats@mx>137 \newinsert\bx@EH \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@EH} |
| 942 |
\ifnum \morefloats@mx>138 \newinsert\bx@EI \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@EI} |
| 943 |
\ifnum \morefloats@mx>139 \newinsert\bx@EJ \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@EJ} |
| 944 |
\ifnum \morefloats@mx>140 \newinsert\bx@EK \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@EK} |
| 945 |
\ifnum \morefloats@mx>141 \newinsert\bx@EL \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@EL} |
| 946 |
\ifnum \morefloats@mx>142 \newinsert\bx@EM \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@EM} |
| 947 |
\ifnum \morefloats@mx>143 \newinsert\bx@EN \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@EN} |
| 948 |
\ifnum \morefloats@mx>144 \newinsert\bx@EO \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@EO} |
| 949 |
\ifnum \morefloats@mx>145 \newinsert\bx@EP \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@EP} |
| 950 |
\ifnum \morefloats@mx>146 \newinsert\bx@EQ \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@EQ} |
| 951 |
\ifnum \morefloats@mx>147 \newinsert\bx@ER \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@ER} |
| 952 |
\ifnum \morefloats@mx>148 \newinsert\bx@ES \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@ES} |
| 953 |
\ifnum \morefloats@mx>149 \newinsert\bx@ET \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@ET} |
| 954 |
\ifnum \morefloats@mx>150 \newinsert\bx@EU \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@EU} |
| 955 |
\ifnum \morefloats@mx>151 \newinsert\bx@EV \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@EV} |
| 956 |
\ifnum \morefloats@mx>152 \newinsert\bx@EW \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@EW} |
| 957 |
\ifnum \morefloats@mx>153 \newinsert\bx@EX \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@EX} |
| 958 |
\ifnum \morefloats@mx>154 \newinsert\bx@EY \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@EY} |
| 959 |
\ifnum \morefloats@mx>155 \newinsert\bx@EZ \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@EZ} |
| 960 |
\ifnum \morefloats@mx>156 \newinsert\bx@FA \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@FA} |
| 961 |
\ifnum \morefloats@mx>157 \newinsert\bx@FB \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@FB} |
| 962 |
\ifnum \morefloats@mx>158 \newinsert\bx@FC \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@FC} |
| 963 |
\ifnum \morefloats@mx>159 \newinsert\bx@FD \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@FD} |
| 964 |
\ifnum \morefloats@mx>160 \newinsert\bx@FE \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@FE} |
| 965 |
\ifnum \morefloats@mx>161 \newinsert\bx@FF \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@FF} |
| 966 |
\ifnum \morefloats@mx>162 \newinsert\bx@FG \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@FG} |
| 967 |
\ifnum \morefloats@mx>163 \newinsert\bx@FH \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@FH} |
| 968 |
\ifnum \morefloats@mx>164 \newinsert\bx@FI \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@FI} |
| 969 |
\ifnum \morefloats@mx>165 \newinsert\bx@FJ \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@FJ} |
| 970 |
\ifnum \morefloats@mx>166 \newinsert\bx@FK \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@FK} |
| 971 |
\ifnum \morefloats@mx>167 \newinsert\bx@FL \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@FL} |
| 972 |
\ifnum \morefloats@mx>168 \newinsert\bx@FM \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@FM} |
| 973 |
\ifnum \morefloats@mx>169 \newinsert\bx@FN \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@FN} |
| 974 |
\ifnum \morefloats@mx>170 \newinsert\bx@FO \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@FO} |
| 975 |
\ifnum \morefloats@mx>171 \newinsert\bx@FP \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@FP} |
| 976 |
\ifnum \morefloats@mx>172 \newinsert\bx@FQ \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@FQ} |
| 977 |
\ifnum \morefloats@mx>173 \newinsert\bx@FR \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@FR} |
| 978 |
\ifnum \morefloats@mx>174 \newinsert\bx@FS \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@FS} |
| 979 |
\ifnum \morefloats@mx>175 \newinsert\bx@FT \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@FT} |
| 980 |
\ifnum \morefloats@mx>176 \newinsert\bx@FU \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@FU} |
| 981 |
\ifnum \morefloats@mx>177 \newinsert\bx@FV \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@FV} |
| 982 |
\ifnum \morefloats@mx>178 \newinsert\bx@FW \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@FW} |
| 983 |
\ifnum \morefloats@mx>179 \newinsert\bx@FX \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@FX} |
| 984 |
\ifnum \morefloats@mx>180 \newinsert\bx@FY \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@FY} |
| 985 |
\ifnum \morefloats@mx>181 \newinsert\bx@FZ \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@FZ} |
| 986 |
\ifnum \morefloats@mx>182 \newinsert\bx@GA \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@GA} |
| 987 |
\ifnum \morefloats@mx>183 \newinsert\bx@GB \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@GB} |
| 988 |
\ifnum \morefloats@mx>184 \newinsert\bx@GC \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@GC} |
| 989 |
\ifnum \morefloats@mx>185 \newinsert\bx@GD \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@GD} |
| 990 |
\ifnum \morefloats@mx>186 \newinsert\bx@GE \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@GE} |
| 991 |
\ifnum \morefloats@mx>187 \newinsert\bx@GF \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@GF} |
| 992 |
\ifnum \morefloats@mx>188 \newinsert\bx@GG \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@GG} |
| 993 |
\ifnum \morefloats@mx>189 \newinsert\bx@GH \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@GH} |
| 994 |
\ifnum \morefloats@mx>190 \newinsert\bx@GI \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@GI} |
| 995 |
\ifnum \morefloats@mx>191 \newinsert\bx@GJ \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@GJ} |
| 996 |
\ifnum \morefloats@mx>192 \newinsert\bx@GK \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@GK} |
| 997 |
\ifnum \morefloats@mx>193 \newinsert\bx@GL \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@GL} |
| 998 |
\ifnum \morefloats@mx>194 \newinsert\bx@GM \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@GM} |
| 999 |
\ifnum \morefloats@mx>195 \newinsert\bx@GN \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@GN} |
| 1000 |
\ifnum \morefloats@mx>196 \newinsert\bx@GO \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@GO} |
| 1001 |
\ifnum \morefloats@mx>197 \newinsert\bx@GP \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@GP} |
| 1002 |
\ifnum \morefloats@mx>198 \newinsert\bx@GQ \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@GQ} |
| 1003 |
\ifnum \morefloats@mx>199 \newinsert\bx@GR \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@GR} |
| 1004 |
\ifnum \morefloats@mx>200 \newinsert\bx@GS \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@GS} |
| 1005 |
\ifnum \morefloats@mx>201 \newinsert\bx@GT \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@GT} |
| 1006 |
\ifnum \morefloats@mx>202 \newinsert\bx@GU \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@GU} |
| 1007 |
\ifnum \morefloats@mx>203 \newinsert\bx@GV \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@GV} |
| 1008 |
\ifnum \morefloats@mx>204 \newinsert\bx@GW \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@GW} |
| 1009 |
\ifnum \morefloats@mx>205 \newinsert\bx@GX \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@GX} |
| 1010 |
\ifnum \morefloats@mx>206 \newinsert\bx@GY \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@GY} |
| 1011 |
\ifnum \morefloats@mx>207 \newinsert\bx@GZ \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@GZ} |
| 1012 |
\ifnum \morefloats@mx>208 \newinsert\bx@HA \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@HA} |
| 1013 |
\ifnum \morefloats@mx>209 \newinsert\bx@HB \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@HB} |
| 1014 |
\ifnum \morefloats@mx>210 \newinsert\bx@HC \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@HC} |
| 1015 |
\ifnum \morefloats@mx>211 \newinsert\bx@HD \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@HD} |
| 1016 |
\ifnum \morefloats@mx>212 \newinsert\bx@HE \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@HE} |
| 1017 |
\ifnum \morefloats@mx>213 \newinsert\bx@HF \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@HF} |
| 1018 |
\ifnum \morefloats@mx>214 \newinsert\bx@HG \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@HG} |
| 1019 |
\ifnum \morefloats@mx>215 \newinsert\bx@HH \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@HH} |
| 1020 |
\ifnum \morefloats@mx>216 \newinsert\bx@HI \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@HI} |
| 1021 |
\ifnum \morefloats@mx>217 \newinsert\bx@HJ \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@HJ} |
| 1022 |
\ifnum \morefloats@mx>218 \newinsert\bx@HK \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@HK} |
| 1023 |
\ifnum \morefloats@mx>219 \newinsert\bx@HL \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@HL} |
| 1024 |
\ifnum \morefloats@mx>220 \newinsert\bx@HM \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@HM} |
| 1025 |
\ifnum \morefloats@mx>221 \newinsert\bx@HN \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@HN} |
| 1026 |
\ifnum \morefloats@mx>222 \newinsert\bx@HO \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@HO} |
| 1027 |
\ifnum \morefloats@mx>223 \newinsert\bx@HP \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@HP} |
| 1028 |
\ifnum \morefloats@mx>224 \newinsert\bx@HQ \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@HQ} |
| 1029 |
\ifnum \morefloats@mx>225 \newinsert\bx@HR \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@HR} |
| 1030 |
\ifnum \morefloats@mx>226 \newinsert\bx@HS \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@HS} |
| 1031 |
\ifnum \morefloats@mx>227 \newinsert\bx@HT \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@HT} |
| 1032 |
\ifnum \morefloats@mx>228 \newinsert\bx@HU \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@HU} |
| 1033 |
\ifnum \morefloats@mx>229 \newinsert\bx@HV \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@HV} |
| 1034 |
\ifnum \morefloats@mx>230 \newinsert\bx@HW \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@HW} |
| 1035 |
\ifnum \morefloats@mx>231 \newinsert\bx@HX \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@HX} |
| 1036 |
\ifnum \morefloats@mx>232 \newinsert\bx@HY \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@HY} |
| 1037 |
\ifnum \morefloats@mx>233 \newinsert\bx@HZ \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@HZ} |
| 1038 |
\ifnum \morefloats@mx>234 \newinsert\bx@IA \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@IA} |
| 1039 |
\ifnum \morefloats@mx>235 \newinsert\bx@IB \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@IB} |
| 1040 |
\ifnum \morefloats@mx>236 \newinsert\bx@IC \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@IC} |
| 1041 |
\ifnum \morefloats@mx>237 \newinsert\bx@ID \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@ID} |
| 1042 |
\ifnum \morefloats@mx>238 \newinsert\bx@IE \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@IE} |
| 1043 |
\ifnum \morefloats@mx>239 \newinsert\bx@IF \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@IF} |
| 1044 |
\ifnum \morefloats@mx>240 \newinsert\bx@IG \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@IG} |
| 1045 |
\ifnum \morefloats@mx>241 \newinsert\bx@IH \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@IH} |
| 1046 |
\ifnum \morefloats@mx>242 \newinsert\bx@II \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@II} |
| 1047 |
\ifnum \morefloats@mx>243 \newinsert\bx@IJ \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@IJ} |
| 1048 |
\ifnum \morefloats@mx>244 \newinsert\bx@IK \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@IK} |
| 1049 |
\ifnum \morefloats@mx>245 \newinsert\bx@IL \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@IL} |
| 1050 |
\ifnum \morefloats@mx>246 \newinsert\bx@IM \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@IM} |
| 1051 |
\ifnum \morefloats@mx>247 \newinsert\bx@IN \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@IN} |
| 1052 |
\ifnum \morefloats@mx>248 \newinsert\bx@IO \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@IO} |
| 1053 |
\ifnum \morefloats@mx>249 \newinsert\bx@IP \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@IP} |
| 1054 |
\ifnum \morefloats@mx>250 \newinsert\bx@IQ \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@IQ} |
| 1055 |
\ifnum \morefloats@mx>251 \newinsert\bx@IR \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@IR} |
| 1056 |
\ifnum \morefloats@mx>252 \newinsert\bx@IS \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@IS} |
| 1057 |
\ifnum \morefloats@mx>253 \newinsert\bx@IT \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@IT} |
| 1058 |
\ifnum \morefloats@mx>254 \newinsert\bx@IU \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@IU} |
| 1059 |
\ifnum \morefloats@mx>255 \newinsert\bx@IV \expandafter\gdef\expandafter\@freelist\expandafter{\@freelist \@elt\bx@IV} |
| 1060 |
% \end{macrocode} |
| 1061 |
% |
| 1062 |
% \newpage |
| 1063 |
% |
| 1064 |
% \begin{macrocode} |
| 1065 |
\ifnum \morefloats@mx>256\relax% |
| 1066 |
\PackageError{morefloats}{Too many floats called for}{% |
| 1067 |
You requested more than 256 floats.\MessageBreak% |
| 1068 |
(\morefloats@mx\space to be precise.)\MessageBreak% |
| 1069 |
LaTeX before 2015 could not process\MessageBreak% |
| 1070 |
more than 256 floats, therefore the morefloats\MessageBreak% |
| 1071 |
package only provides 256 floats.\MessageBreak% |
| 1072 |
If you need more floats,\MessageBreak% |
| 1073 |
update to a current (>=2015) LaTeX distribution.\MessageBreak% |
| 1074 |
I expected LaTeX (prior 2015) to run out of dimensions\MessageBreak% |
| 1075 |
or memory long before reaching 256 floats anyway.\MessageBreak% |
| 1076 |
}% |
| 1077 |
\fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi |
| 1078 |
\fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi |
| 1079 |
\fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi |
| 1080 |
\fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi |
| 1081 |
\fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi |
| 1082 |
\fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi |
| 1083 |
\fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi |
| 1084 |
\fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi |
| 1085 |
\fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi |
| 1086 |
\fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi |
| 1087 |
\fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi |
| 1088 |
\fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi |
| 1089 |
\fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi |
| 1090 |
\fi \fi \fi \fi \fi |
| 1091 |
|
| 1092 |
% \end{macrocode} |
| 1093 |
% |
| 1094 |
% \begin{macrocode} |
| 1095 |
%</package> |
| 1096 |
% \end{macrocode} |
| 1097 |
% |
| 1098 |
% \end{landscape} |
| 1099 |
% \newpage |
| 1100 |
% |
| 1101 |
% \section{Installation} |
| 1102 |
% |
| 1103 |
% \subsection{Downloads\label{ss:Downloads}} |
| 1104 |
% |
| 1105 |
% Everything is available at \url{https://www.ctan.org}, |
| 1106 |
% but may need additional packages themselves.\\ |
| 1107 |
% |
| 1108 |
% \DescribeMacro{morefloats.dtx} |
| 1109 |
% For unpacking the |morefloats.dtx| file and constructing the documentation it is required: |
| 1110 |
% \begin{description} |
| 1111 |
% \item[-] \TeX Format \LaTeXe{}: \url{https://www.CTAN.org} |
| 1112 |
% |
| 1113 |
% \item[-] document class \xclass{ltxdoc}, 2015/03/26, v2.0w, |
| 1114 |
% \url{https://www.ctan.org/pkg/ltxdoc} |
| 1115 |
% |
| 1116 |
% \item[-] package \xpackage{fontenc}, 2005/09/27, v1.99g, |
| 1117 |
% \url{https://ctan.org/pkg/fontenc} |
| 1118 |
% |
| 1119 |
% \item[-] package \xpackage{pdflscape}, 2008/08/11, v0.10, |
| 1120 |
% \url{https://ctan.org/pkg/pdflscape} |
| 1121 |
% |
| 1122 |
% \item[-] package \xpackage{holtxdoc}, 2012/03/21, v0.24, |
| 1123 |
% \url{https://ctan.org/pkg/holtxdoc} |
| 1124 |
% |
| 1125 |
% \item[-] package \xpackage{hypdoc}, 2011/08/19, v1.11, |
| 1126 |
% \url{https://ctan.org/pkg/hypdoc} |
| 1127 |
% \end{description} |
| 1128 |
% |
| 1129 |
% \DescribeMacro{morefloats.sty} |
| 1130 |
% The \texttt{morefloats.sty} for \LaTeXe{} \hbox{(i.\,e. each} document using |
| 1131 |
% the \xpackage{morefloats} package) requires: |
| 1132 |
% \begin{description} |
| 1133 |
% \item[-] \TeX Format \LaTeXe{}, \url{https://www.CTAN.org/} |
| 1134 |
% |
| 1135 |
% \item[-] package \xpackage{kvoptions}, 2011/06/30, v3.11, |
| 1136 |
% \url{https://ctan.org/pkg/kvoptions} |
| 1137 |
% |
| 1138 |
% \item[-] package \xpackage{ifetex}, 2011/12/15, v1.2, |
| 1139 |
% \url{https://ctan.org/pkg/ifetex}, is used in some cases, |
| 1140 |
% nowadays replaced by the \url{https://ctan.org/pkg/iftex} package |
| 1141 |
% \end{description} |
| 1142 |
% |
| 1143 |
% \DescribeMacro{regstats} |
| 1144 |
% \DescribeMacro{regcount} |
| 1145 |
% To check the number of used registers it was mentioned: |
| 1146 |
% \begin{description} |
| 1147 |
% \item[-] package \xpackage{regstats}, \url{https://ctan.org/pkg/regstats} |
| 1148 |
% \item[-] package \xpackage{regcount}, \url{https://ctan.org/pkg/regcount} |
| 1149 |
% \end{description} |
| 1150 |
% |
| 1151 |
% \DescribeMacro{Oberdiek} |
| 1152 |
% \DescribeMacro{holtxdoc} |
| 1153 |
% \DescribeMacro{hypdoc} |
| 1154 |
% All packages of \textsc{Heiko Oberdiek}'s bundle `oberdiek' |
| 1155 |
% (especially \xpackage{holtxdoc}, \xpackage{hypdoc}, and \xpackage{kvoptions}) |
| 1156 |
% are also available in a TDS compliant ZIP archive:\\ |
| 1157 |
% \url{http://mirror.ctan.org/install/macros/latex/contrib/oberdiek.tds.zip}.\\ |
| 1158 |
% It is probably best to download and use this, because the packages in there |
| 1159 |
% are quite probably both recent and compatible among themselves.\\ |
| 1160 |
% |
| 1161 |
% \DescribeMacro{hyperref} |
| 1162 |
% \noindent \xpackage{hyperref} is not included in that bundle and needs to be |
| 1163 |
% downloaded separately,\\ |
| 1164 |
% \url{http://mirror.ctan.org/install/macros/latex/contrib/hyperref.tds.zip}.\\ |
| 1165 |
% |
| 1166 |
% \DescribeMacro{Münch} |
| 1167 |
% A hyperlinked list of my (other) packages can be found at\newline |
| 1168 |
% \url{https://www.ctan.org/author/muench-hm}. |
| 1169 |
% |
| 1170 |
% \subsection{Package, unpacking TDS} |
| 1171 |
% \paragraph{Package.} This package is available on \url{https://www.CTAN.org}. |
| 1172 |
% \begin{description} |
| 1173 |
% \item[\url{http://mirror.ctan.org/macros/latex/contrib/morefloats/morefloats.dtx}]\hspace*{0.1cm} |
| 1174 |
% The source file. |
| 1175 |
% \item[\url{http://mirror.ctan.org/macros/latex/contrib/morefloats/morefloats.pdf}]\hspace*{0.1cm} |
| 1176 |
% The documentation. |
| 1177 |
% \item[\url{http://mirror.ctan.org/macros/latex/contrib/morefloats/README}]\hspace*{0.1cm}\\ |
| 1178 |
% \hspace*{1em}The README file. |
| 1179 |
% \end{description} |
| 1180 |
% |
| 1181 |
% \noindent There is also a |morefloats.tds.zip| available: |
| 1182 |
% \begin{description} |
| 1183 |
% \item[\url{http://mirror.ctan.org/install/macros/latex/contrib/morefloats.tds.zip}]\hspace*{0.1cm} |
| 1184 |
% Everything in TDS compliant, compiled format. |
| 1185 |
% \end{description} |
| 1186 |
% which additionally contains\\ |
| 1187 |
% \begin{tabular}{ll} |
| 1188 |
% morefloats.ins & The installation file.\\ |
| 1189 |
% morefloats.drv & The driver to generate the documentation.\\ |
| 1190 |
% morefloats.sty & The \xext{sty}le file.\\ |
| 1191 |
% morefloats-example.tex & The example file.\\ |
| 1192 |
% morefloats-example.pdf & The compiled example file. |
| 1193 |
% \end{tabular} |
| 1194 |
% \bigskip |
| 1195 |
% |
| 1196 |
% \noindent For required other packages, please see the preceding subsection. |
| 1197 |
% |
| 1198 |
% \paragraph{Unpacking.} The \xfile{.dtx} file is a self-extracting |
| 1199 |
% \docstrip{} archive. The files are extracted by running the |
| 1200 |
% \xfile{.dtx} through \plainTeX{}: |
| 1201 |
% \begin{quote} |
| 1202 |
% \verb|tex morefloats.dtx| |
| 1203 |
% \end{quote} |
| 1204 |
% |
| 1205 |
% About generating the documentation see paragraph~\ref{GenDoc} below.\\ |
| 1206 |
% |
| 1207 |
% \paragraph{TDS.} Now the different files must be moved into |
| 1208 |
% the different directories in your installation TDS tree |
| 1209 |
% (also known as \xfile{texmf} tree): |
| 1210 |
% \begin{quote} |
| 1211 |
% \def\t{^^A |
| 1212 |
% \begin{tabular}{@{}>{\ttfamily}l@{ $\rightarrow$ }>{\ttfamily}l@{}} |
| 1213 |
% morefloats.sty & tex/latex/morefloats/morefloats.sty\\ |
| 1214 |
% morefloats.pdf & doc/latex/morefloats/morefloats.pdf\\ |
| 1215 |
% morefloats-example.tex & doc/latex/morefloats/morefloats-example.tex\\ |
| 1216 |
% morefloats-example.pdf & doc/latex/morefloats/morefloats-example.pdf\\ |
| 1217 |
% morefloats.dtx & source/latex/morefloats/morefloats.dtx\\ |
| 1218 |
% \end{tabular}^^A |
| 1219 |
% }^^A |
| 1220 |
% \sbox0{\t}^^A |
| 1221 |
% \ifdim\wd0>\linewidth |
| 1222 |
% \begingroup |
| 1223 |
% \advance\linewidth by\leftmargin |
| 1224 |
% \advance\linewidth by\rightmargin |
| 1225 |
% \edef\x{\endgroup |
| 1226 |
% \def\noexpand\lw{\the\linewidth}^^A |
| 1227 |
% }\x |
| 1228 |
% \def\lwbox{^^A |
| 1229 |
% \leavevmode |
| 1230 |
% \hbox to \linewidth{^^A |
| 1231 |
% \kern-\leftmargin\relax |
| 1232 |
% \hss |
| 1233 |
% \usebox0 |
| 1234 |
% \hss |
| 1235 |
% \kern-\rightmargin\relax |
| 1236 |
% }^^A |
| 1237 |
% }^^A |
| 1238 |
% \ifdim\wd0>\lw |
| 1239 |
% \sbox0{\small\t}^^A |
| 1240 |
% \ifdim\wd0>\linewidth |
| 1241 |
% \ifdim\wd0>\lw |
| 1242 |
% \sbox0{\footnotesize\t}^^A |
| 1243 |
% \ifdim\wd0>\linewidth |
| 1244 |
% \ifdim\wd0>\lw |
| 1245 |
% \sbox0{\scriptsize\t}^^A |
| 1246 |
% \ifdim\wd0>\linewidth |
| 1247 |
% \ifdim\wd0>\lw |
| 1248 |
% \sbox0{\tiny\t}^^A |
| 1249 |
% \ifdim\wd0>\linewidth |
| 1250 |
% \lwbox |
| 1251 |
% \else |
| 1252 |
% \usebox0 |
| 1253 |
% \fi |
| 1254 |
% \else |
| 1255 |
% \lwbox |
| 1256 |
% \fi |
| 1257 |
% \else |
| 1258 |
% \usebox0 |
| 1259 |
% \fi |
| 1260 |
% \else |
| 1261 |
% \lwbox |
| 1262 |
% \fi |
| 1263 |
% \else |
| 1264 |
% \usebox0 |
| 1265 |
% \fi |
| 1266 |
% \else |
| 1267 |
% \lwbox |
| 1268 |
% \fi |
| 1269 |
% \else |
| 1270 |
% \usebox0 |
| 1271 |
% \fi |
| 1272 |
% \else |
| 1273 |
% \lwbox |
| 1274 |
% \fi |
| 1275 |
% \else |
| 1276 |
% \usebox0 |
| 1277 |
% \fi |
| 1278 |
% \end{quote} |
| 1279 |
% If you have a \xfile{docstrip.cfg} that configures and enables \docstrip's |
| 1280 |
% TDS installing feature, then some files can already be in the right |
| 1281 |
% place, see the documentation of \docstrip{}. |
| 1282 |
% |
| 1283 |
% \subsection{Refresh file name databases} |
| 1284 |
% |
| 1285 |
% If your \TeX~distribution (\TeX{} Live, \mikTeX, \teTeX, \dots) relies on |
| 1286 |
% file name databases, you must refresh these. For example, \teTeX{} users run |
| 1287 |
% \verb|texhash| or \verb|mktexlsr|. |
| 1288 |
% |
| 1289 |
% \subsection{Some details for the interested} |
| 1290 |
% |
| 1291 |
% \paragraph{Unpacking with \LaTeX{}.} |
| 1292 |
% The \xfile{.dtx} chooses its action depending on the format: |
| 1293 |
% \begin{description} |
| 1294 |
% \item[\plainTeX:] Run \docstrip{} and extract the files. |
| 1295 |
% \item[\LaTeX:] Generate the documentation. |
| 1296 |
% \end{description} |
| 1297 |
% If you insist on using \LaTeX{} for \docstrip{} (really, |
| 1298 |
% \docstrip{} does not need \LaTeX ), then inform the autodetect routine |
| 1299 |
% about your intention: |
| 1300 |
% \begin{quote} |
| 1301 |
% \verb|latex \let\install=y\input{morefloats.dtx}| |
| 1302 |
% \end{quote} |
| 1303 |
% Do not forget to quote the argument according to the demands |
| 1304 |
% of your shell. |
| 1305 |
% |
| 1306 |
% \paragraph{Generating the documentation.\label{GenDoc}} |
| 1307 |
% You can use both the \xfile{.dtx} or the \xfile{.drv} to generate |
| 1308 |
% the documentation. The process can be configured by a |
| 1309 |
% configuration file \xfile{ltxdoc.cfg}. For instance, put the following |
| 1310 |
% line into this file, if you want to have A4 as paper format: |
| 1311 |
% \begin{quote} |
| 1312 |
% \verb|\PassOptionsToClass{a4paper}{article}| |
| 1313 |
% \end{quote} |
| 1314 |
% |
| 1315 |
% \noindent An example follows how to generate the |
| 1316 |
% documentation with \pdfLaTeX : |
| 1317 |
% |
| 1318 |
% \begin{quote} |
| 1319 |
%\begin{verbatim} |
| 1320 |
%pdflatex morefloats.dtx |
| 1321 |
%makeindex -s gind.ist morefloats.idx |
| 1322 |
%pdflatex morefloats.dtx |
| 1323 |
%makeindex -s gind.ist morefloats.idx |
| 1324 |
%pdflatex morefloats.dtx |
| 1325 |
%\end{verbatim} |
| 1326 |
% \end{quote} |
| 1327 |
% |
| 1328 |
% \subsection{Compiling the example} |
| 1329 |
% |
| 1330 |
% The example file, \textsf{morefloats-example.tex}, can be compiled via\\ |
| 1331 |
% |(pdf)latex morefloats-example.tex|. |
| 1332 |
% |
| 1333 |
% \section{Acknowledgements} |
| 1334 |
% \LaTeX{} 2015 provides the |\extrafloats| command. |
| 1335 |
% \textsc{Don Hosek}, Quixote, 1990-07-27 (Thanks!) |
| 1336 |
% invented the main code for handling more floats |
| 1337 |
% before |\extrafloats| was available. |
| 1338 |
% \textsc{David Carlisle} pointed the maintainer to the new |\extrafloats| |
| 1339 |
% and provided the code for |\extrafloats| in case |\extrafloats| is not yet |
| 1340 |
% available at the used system (Thanks!). |
| 1341 |
% The current maintainer is \textsc{H.-Martin Münch}.\\ |
| 1342 |
% I would like to thank additionally \textsc{Karl Berry} for helping with taking |
| 1343 |
% over the maintainership of this package and two missing |\expandafter|s and |
| 1344 |
% \textsc{Heiko Oberdiek} for providing a~lot~(!) of useful packages (from |
| 1345 |
% which I also got everything I know about creating a file in \xfile{dtx} |
| 1346 |
% format, ok, say it: copying). |
| 1347 |
% |
| 1348 |
% \newpage |
| 1349 |
% |
| 1350 |
% \phantomsection |
| 1351 |
% \begin{History} |
| 1352 |
% \begin{Version}{1990/07/27 v1.0a} |
| 1353 |
% \item Created by \textsc{Don Hosek}. |
| 1354 |
% \end{Version} |
| 1355 |
% \begin{Version}{2008/11/14 v1.0b} |
| 1356 |
% \item \textsc{Clea F. Rees} added a license line. |
| 1357 |
% \end{Version} |
| 1358 |
% \begin{Version}{2010/09/20 v1.0c} |
| 1359 |
% \item \xfile{.dtx} created by \textsc{H.-Martin M\"{u}nch}. |
| 1360 |
% \item Included more documentation and alternatives. |
| 1361 |
% \item Included options to allow the user to flexible choose the number |
| 1362 |
% of floats from $18$ up to $256$ instead of fixed $36$. |
| 1363 |
% \item Included an example file. |
| 1364 |
% \item Created a \texttt{README} file. |
| 1365 |
% \end{Version} |
| 1366 |
% \begin{Version}{2011/02/01 v1.0d} |
| 1367 |
% \item References to\\ |
| 1368 |
% \url{http://www.tex.ac.uk/cgi-bin/texfaq2html?label=figurehere} and\\ |
| 1369 |
% \url{http://mirror.ctan.org/obsolete/macros/latex/contrib/misc/morefloats.sty} |
| 1370 |
% added. |
| 1371 |
% \item Now using the \xpackage{lscape} package from the \xpackage{graphics} |
| 1372 |
% bundle to print some pages of the documentation in landscape instead |
| 1373 |
% of portrait mode, because they were way too wide. (\textit{Since v1.0e |
| 1374 |
% replaced by \xpackage{pdflscape} package.}) |
| 1375 |
% \item Updated the version of the \xpackage{hyperref} package. |
| 1376 |
% (\textit{Since version~1.0e the \xpackage{morefloats} package uses |
| 1377 |
% a fixed version of the \xpackage{holtxdoc} package, which calls for |
| 1378 |
% the right version of the \xpackage{hyperref} package, therefore |
| 1379 |
% it is no longer necessary to give the recent version of the |
| 1380 |
% \xpackage{hyperref} package here.}) |
| 1381 |
% \end{Version} |
| 1382 |
% \begin{Version}{2011/07/10 v1.0e} |
| 1383 |
% \item There is a new version of the used \xpackage{kvoptions} package. |
| 1384 |
% \item Now using the \xpackage{pdflscape} package instead of the |
| 1385 |
% \xpackage{lscape} package in the documentation. |
| 1386 |
% \item The \xpackage{holtxdoc} package was fixed, |
| 1387 |
% therefore the warning in \xfile{drv} could be removed.~-- Adapted |
| 1388 |
% the style of this documentation to new \textsc{Oberdiek} \xfile{dtx} |
| 1389 |
% style. |
| 1390 |
% \end{Version} |
| 1391 |
% \begin{Version}{2012/01/28 v1.0f} |
| 1392 |
% \item Bug fix: wrong path given in the documentation, fixed. |
| 1393 |
% \item Replaced |\global\edef| by |\xdef|. |
| 1394 |
% \item No longer uses a counter for itself but temporary ones. (For the floats |
| 1395 |
% of course inserts and therefore counts are still used.) |
| 1396 |
% \item The number of available inserts is checked before the allocation. |
| 1397 |
% \item Maximum number of floats/inserts is $256$, not $266$; corrected. |
| 1398 |
% \item Quite some additional changes in the \xfile{dtx} and README files. |
| 1399 |
% \end{Version} |
| 1400 |
% \begin{Version}{2015/07/16 v1.0g} |
| 1401 |
% \item Implemented the new |\extrafloats| from \LaTeX{} 2015 allowing |
| 1402 |
% several hundreds of additional floats. |
| 1403 |
% \item Update of documentation, README, and \xfile{dtx} internals. |
| 1404 |
% \end{Version} |
| 1405 |
% \begin{Version}{2015/07/22 v1.0h} |
| 1406 |
% \item Handling of more floats depending on new{/}old \LaTeX{} format, |
| 1407 |
% availability of \eTeX{} in the used distribution, |
| 1408 |
% and loading of the \xpackage{etex} package |
| 1409 |
% (before \xpackage{morefloats}{/}after \xpackage{morefloats}{/}not |
| 1410 |
% at all) should now ensure that the maximum number |
| 1411 |
% for available floats can be allocated. |
| 1412 |
% \item The example file now uses a flexible number of floats. |
| 1413 |
% \end{Version} |
| 1414 |
% \begin{Version}{2025/01/28 v1.1a} |
| 1415 |
% \item Converted to UTF-8 and new format. |
| 1416 |
% \end{Version} |
| 1417 |
% \end{History} |
| 1418 |
% |
| 1419 |
% \bigskip |
| 1420 |
% |
| 1421 |
% When you find a mistake or have a suggestion for an improvement of this package, |
| 1422 |
% please send an e-mail to the maintainer, thanks! (Please see BUG REPORTS in the README.) |
| 1423 |
% |
| 1424 |
% \newpage |
| 1425 |
% |
| 1426 |
% \PrintIndex |
| 1427 |
% |
| 1428 |
% \Finale |
| 1429 |
\endinput |