I've written a book with the memoir class (a great package, I take my hat off to the author), and I now need a version that has all the figures at the end (or the end of each chapter), each on a separate page together with the figure caption. This is the kind of thing that the endfloat package does, but when I try it I get lots of error messages and the compilation fails, so I wonder if the two packages are incompatible? (Neither package mentions the other in its documentation.) I also have lots of customizations for the figures and captions, for example putting the caption in the margin in a pseudo-Tufte style, which I think endfloat would have a hard time with even if they were compatible.
So my question is simply how to put all the figures at the end in a document using the memoir class? Thanks.