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.