# More floats with memoir [closed]

I'm writing a thesis with memoir. The numerous footnotes are rendered as sidenotes (marginpars) using memoir's \footnotesinmargin (memman.pdf p245). This, with the addition of the marginfix package, produces very satisfactory results.

However, even with judicious use of \setFloatBlock{section} and \usepackage{morefloats} (from this question), the total number of floats sometimes exceeds 36, causing "Too many unprocessed floats" or (with morefloats) "Too many floats requested" errors. \usepackage[morefloats=n]{morefloats} also throws the latter error.

The output in fact looks OK, but I would like to fix this error. This answer mentions that with LaTeX from 01.01.2015, there is the facility to simply request \extrafloats. I have upgraded to TexLive 2015, but this doesn't seem to work if the document's class is memoir. With an minimal working example like:

\documentclass{memoir}
\extrafloats{100}
\title{Memoir with extrafloats}
\begin{document}
\maketitle
\end{document}


I get a fatal error like:

(c:/bin/texlive/2015/texmf-dist/tex/latex/memoir/mempatch.sty))
! Missing = inserted for \ifnum.
<to be read again>
\relax
l.2 \extrafloats{100}


Is there any easy solution here to get more than 36 floats? I am reluctant to unpick everything when it is otherwise working very well and the answer seems close.

## closed as off-topic by Werner, user11232, Claudio Fiandrino, Svend Tveskæg, Tom BombadilOct 29 '15 at 7:30

• This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

• I don't get an error with the above code with latest miktex. – user11232 Oct 29 '15 at 4:08
• This compiles with the latest updates for TeX Live 2015. I know memoir was updated over the summer and there was a latex release earlier in the month. I think installing the latest updates will get you back on track. – brokemongoose Oct 29 '15 at 4:11
• I'm voting to close this question as off-topic because it is solved by a package update and therefore cannot be reproduced. – Werner Oct 29 '15 at 5:28