| 1 |
README for morefloats package, 2025-01-28, v1.1a |
| 2 |
|
| 3 |
|
| 4 |
TABLE OF CONTENTS |
| 5 |
================= |
| 6 |
|
| 7 |
1 Introduction |
| 8 |
2 Download |
| 9 |
3 Installation |
| 10 |
4 Additional Packages |
| 11 |
5 Package Compatibility |
| 12 |
6 Authors/Maintainer |
| 13 |
7 Bug Reports |
| 14 |
8 Known Problems |
| 15 |
|
| 16 |
|
| 17 |
1 INTRODUCTION |
| 18 |
============== |
| 19 |
|
| 20 |
The limit of unprocessed floats, 18, can be increased with this |
| 21 |
morefloats package. Otherwise, \clear(double)page, h(!), H from the |
| 22 |
float package, or \FloatBarrier from the picins package might help. |
| 23 |
|
| 24 |
If e-TeX is available, the number of registers allocated |
| 25 |
in the format to hold floats such as figures is already |
| 26 |
increased from 18 to 52. |
| 27 |
|
| 28 |
Note: The original main code of this package |
| 29 |
(without \extrafloats from LaTeX 2015) was invented by |
| 30 |
Don Hosek, Quixote, 1990-07-27 (Thanks!). |
| 31 |
Maintenance has been taken over in September 2010 by H.-Martin Münch. |
| 32 |
The extended allocation system introduced in |
| 33 |
2015-01-01 means that in most cases it is no longer |
| 34 |
necessary to load the etex package. Many classes and |
| 35 |
packages that previously loaded this package no longer |
| 36 |
do so. Unfortunately in some circumstances where a |
| 37 |
package or class previously used the etex |
| 38 |
\reserveinserts command, it is possible for a |
| 39 |
document that previously worked to generate an error |
| 40 |
"no room for a new insert". In practice this error can |
| 41 |
always be avoided by declaring inserts earlier, before |
| 42 |
the registers below 256 are all allocated. However, it is |
| 43 |
better not to require packages to be re-ordered and in |
| 44 |
some cases the re-ordering is complicated due to |
| 45 |
delayed allocations in \AtBeginDocument. |
| 46 |
In this release, a new implementation of \newinsert |
| 47 |
is used which allocates inserts from the previously |
| 48 |
allocated float lists once the classical register allocation |
| 49 |
has run out. This allows an extra 52 (or in LuaTEX, |
| 50 |
64 thousand) insert allocations which is more than |
| 51 |
enough for practical documents (by default, LATEX only |
| 52 |
uses two insert allocations). |
| 53 |
|
| 54 |
This material is published under the LPPL 1.3c: This work may be |
| 55 |
distributed and/or modified under the conditions of the LaTeX Project |
| 56 |
Public License, either version 1.3c of this license or (at your option) |
| 57 |
any later version. This version of this license is in |
| 58 |
https://www.latex-project.org/lppl/lppl-1-3c.txt |
| 59 |
and the latest version of this license is in |
| 60 |
https://www.latex-project.org/lppl.txt |
| 61 |
and version 1.3c or later is part of all distributions of |
| 62 |
LaTeX version 2005-12-01 or later. |
| 63 |
|
| 64 |
|
| 65 |
2 DOWNLOAD |
| 66 |
========== |
| 67 |
|
| 68 |
"morefloats" is available on CTAN: |
| 69 |
https://www.ctan.org/pkg/morefloats |
| 70 |
|
| 71 |
Also a ZIP file is provided that contains the files: |
| 72 |
the manual (morefloats.pdf), the example (morefloats-example.tex), |
| 73 |
the compiled example (morefloats-example.pdf), |
| 74 |
driver (morefloats.drv), morefloats.dtx, |
| 75 |
installation file (morefloats.ins), |
| 76 |
the style file (morefloats.sty), |
| 77 |
and this README, already sorted in a TDS tree: |
| 78 |
https://mirror.ctan.org/install/macros/latex/contrib/morefloats.tds.zip |
| 79 |
|
| 80 |
|
| 81 |
3 INSTALLATION |
| 82 |
============== |
| 83 |
|
| 84 |
Installation with ZIP file in TDS format |
| 85 |
---------------------------------------- |
| 86 |
The ZIP file "morefloats.tds.zip" contains the files |
| 87 |
sorted in a TDS tree. Thus you can directly unpack the |
| 88 |
ZIP file inside a TDS tree. |
| 89 |
See https://www.ctan.org/TDS-guidelines for an explanation |
| 90 |
of TDS. |
| 91 |
Example: |
| 92 |
cd /...somewhere.../texmf |
| 93 |
unzip /...downloadpath.../morefloats.tds.zip |
| 94 |
Do not forget to refresh the file name database of this |
| 95 |
TDS tree. |
| 96 |
Example: |
| 97 |
texhash /...somewhere.../texmf |
| 98 |
|
| 99 |
Manual installation |
| 100 |
------------------- |
| 101 |
a) Download the morefloats files from CTAN. |
| 102 |
If necessary, unpack them. |
| 103 |
b) Generate the package and driver files: |
| 104 |
tex morefloats.dtx |
| 105 |
c) Install the file "morefloats.sty" in your TDS tree: |
| 106 |
cp morefloats.sty TDS:tex/latex/morefloats/ |
| 107 |
Replace "TDS:" by the prefix of your TDS tree |
| 108 |
(texmf directory). |
| 109 |
d) Create the documentation, if necessary, e.g. |
| 110 |
pdflatex morefloats.dtx |
| 111 |
makeindex -s gind.ist morefloats.idx |
| 112 |
pdflatex morefloats.dtx |
| 113 |
makeindex -s gind.ist morefloats.idx |
| 114 |
pdflatex morefloats.dtx |
| 115 |
e) Update the databases if necessary, e.g. for TeXLive |
| 116 |
texhash or mktexlsr. |
| 117 |
f) Create the morefloats-example.pdf, if necessary, e.g. |
| 118 |
pdflatex morefloats-example.tex |
| 119 |
pdflatex morefloats-example.tex |
| 120 |
pdflatex morefloats-example.tex |
| 121 |
g) Copy the documentation files to |
| 122 |
"TDS:doc/latex/morefloats/": |
| 123 |
README, morefloats.pdf, morefloats-example.tex, |
| 124 |
morefloats-example.pdf. |
| 125 |
|
| 126 |
|
| 127 |
4 ADDITIONAL PACKAGES |
| 128 |
===================== |
| 129 |
|
| 130 |
morefloats itself loads the kvoptions package: |
| 131 |
https://ctan.org/pkg/kvoptions |
| 132 |
which again loads other packages |
| 133 |
(see the result of the \listfiles command in the log-file |
| 134 |
of the example). |
| 135 |
When an old LaTeX format is used, additionally the |
| 136 |
https://ctan.org/pkg/ifetex |
| 137 |
package is used. |
| 138 |
|
| 139 |
|
| 140 |
5 PACKAGE COMPATIBILITY |
| 141 |
======================= |
| 142 |
|
| 143 |
There are no known incompatibilities. |
| 144 |
|
| 145 |
|
| 146 |
6 AUTHORS/MAINTAINER |
| 147 |
===================== |
| 148 |
|
| 149 |
* Author of the original main code: |
| 150 |
Don Hosek, Quixote, 1990-07-27 (Thanks!) |
| 151 |
* Author of the recent package and current maintainer: |
| 152 |
H.-Martin Münch |
| 153 |
|
| 154 |
|
| 155 |
7 BUG REPORTS |
| 156 |
============== |
| 157 |
|
| 158 |
A bug report should contain: |
| 159 |
* Comprehensive problem description. This includes error or |
| 160 |
warning messages. |
| 161 |
* \errorcontextlines=\maxdimen can be added in the |
| 162 |
TeX code to get more information in TeX error messages. |
| 163 |
* Minimal test file that shows the problem, |
| 164 |
but does not contain any unnecessary packages and code. |
| 165 |
* Used drivers/programs. |
| 166 |
* Version information about used packages and programs. |
| 167 |
* If you are using LaTeX, then add "\listfiles" to the document. |
| 168 |
Then a list of version information is printed at the end |
| 169 |
of the LaTeX run. |
| 170 |
* Please no other files than the minimal test file. |
| 171 |
The other files .log, .dvi, .ps, .pdf are seldom |
| 172 |
necessary, so send them only on request. |
| 173 |
* Please .zip or .tar.gz your file(s) before sending them! |
| 174 |
|
| 175 |
Bug address |
| 176 |
----------- |
| 177 |
Bug reports can be send to the maintainer: |
| 178 |
H.-Martin Münch <Martin [dot] Muench [at] Uni-Bonn [dot] de> |
| 179 |
|
| 180 |
|
| 181 |
8 KNOWN PROBLEMS |
| 182 |
================= |
| 183 |
|
| 184 |
* If you request too many floats, (La)TeX will run out of |
| 185 |
memory. When testing, this happened when requesting |
| 186 |
more than 1570 (!) floats. |