I'm here to ask you how I can figure out where a chapter ends and add or not a blank page (if it ends on the right) or two (if it ends on the left).I know that there is a way to do it with even and odd numbers, but I never managed to try it: I thought about this code snippet, but even trying it it doesn't work.
Thanks to those who will help me :)
bookclass and quite a few others. – barbara beeton Jan 06 '23 at 23:29