I am trying to create a simple outline document (based on scrbook), that contains just headings (chapter, section, ...) and a few notes inbetween. For that, I removed the clearpage before a new chapter, and adjusted the heading spacings with the titlesec package. Later, I'll comment out the modification and flesh out the outline to be the final document.
I's looking pretty good so far, but Latex insists in inserting rubber between paragraphs and before and after sections. Setting \raggedbottom fixed that, but I still get some section headings pushed to the next page, although there would be enough space on the current page.
I'd like it to put as much text as possible on the current page, even if the page ends with a heading. I tried
\widowpenalty=0
\clubpenalty=0
but that didn't have any effect. What can I try?
\includeonly{<filename>}. This file contains chapter and subsections but your final document need only show the table of contents. Otherwise, why doesn't just using nested lists suit your purpose? – A.Ellett Nov 26 '12 at 14:31\makeatletter\@clubpenalty=0 \makeatother? – egreg Nov 26 '12 at 14:37Also, I want to be able to "flesh out" the comments and then have my proper document; writing lists in latex is cumbersome, and I'd have to rewrite the outline with sections afterwards anyway.
– jdm Nov 26 '12 at 14:44\patchcmd{\section}{...}, that really only affects the section headers. – jdm Nov 26 '12 at 15:00