Sometimes, but not systematically, when my chapters end on an odd page, a blank page is inserted afterwards.
Sometimes, but not systematically, when my chapters end on an even page two blank pages are inserted.
These pages are numbered. I would like to remove all of these blank pages. So far, I've tried:
\let\cleardoublepage\clearpageat the end of the chapters
openanyoption in the document class
onesideoption in the document class
None of these have succeeded in removing the blank pages.
This wasn't happening at first, and it suddenly started happening after I moved some figures around. In fact, this issue doesn't appear in the chapters before the figures I moved around (which are all in the same chapter).
My document class is an
scrbook, and it compiles with 0 warnings and 0 errors.
Does anyone have any idea what's going on?
EDIT: Here's a little more precision: Chapters 1, 2, and 3 work fine (No blank pages inserted). Chapter 4 has the aforementioned figures that seem to have started this whole thing, ends on an even page, and is followed by two blank pages. Chapter 5 ends on an even page and is followed by two blank pages. Chapter 6 ends on an odd page and is followed by one blank page.
I've fiddled around and as it turns out, commenting out chapter 4 fixes the problem for chapters 5 and 6, and commenting out any other chapter changes nothing. Commenting out chapter 4 does not change the evenness of the pages for chapters 5 and 6.