pacific-hake / hake-assessment

:zap: :fish: Build the assessment document using latex and knitr
MIT License
13 stars 6 forks source link

Blank page before Figures section #1109

Closed cgrandin closed 10 months ago

cgrandin commented 10 months ago

Needs removing by whoever working on server, probably me

cgrandin commented 10 months ago

I think this is caused by twoside page mode. A new section will always start on an even numbered page, and a blank page is injected in between if the previous section ended on an even page.

So far the only fix I can see is to go back to oneside, but that screw up all the margins again. I tried removingtwoside` but the problem still exists, and worse, the one page summary goes over onto a second page.

Last resort we can manually delete the page using Acrobat but I'd rather fix it in code if possible.

cgrandin commented 10 months ago

Tried this (https://texfaq.org/FAQ-reallyblank) and no dice

kellijohnson-NOAA commented 10 months ago

Why are we using twoside?

andrew-edwards commented 10 months ago

Strangely I don't get the blank page on my local build, so can always use that if we can't fix it. twoside is what gives the different margins on odd an even pages, but I tried removing it and playing and the margins were weird #1080. But I'm not sure why it's needed in the first place (haven't had it before). It's really for theses when you have to bind them on one side. So I probably last used it in the 90's!

cgrandin commented 10 months ago

I couldn't get my changes to the margins to be acknowledged when not using twoside. I will work a little more on it later

andrew-edwards commented 10 months ago

Thanks. Yes, think I had the same thing maybe (tried some extreme values and nothing changed). I figured pandoc was maybe inserting something, and that's all a bit confusing.

andrew-edwards commented 10 months ago

Actually, I do get that blank page (thought I didn't the other day, maybe I did). And one at the end of Figures section. Easy fix is to add "This page intentionally left blank" and leave the reader to ponder why.

That would bug the hell out of me as a reviewer!!!

cgrandin commented 10 months ago

Seems to have been fixed when the margins were corrected in 77d4b24c426b41f60f3a8db56dc52ab8f13deeb7