[EMAIL PROTECTED] wrote: > > I am reading the user guide on how to insert a pagebreak.
In lyx, you don't "insert pagebreaks" what you can do is to decide that a paragraph starts with, or/and ends with, a page break. > In my case, > a new section called > > Presentation > > starts at the bottom of the page. That happens to me a lot while writing - i.e. I write the section heading "presentation" and have no text following it yet. Then it might go to the bottom of a page. Things get much better as soon as I write some actual text in a paragraph following the section header. Latex understands that a section header ought to be on the same page as its text, but this doesn't apply until there actually is some text. Do you get this problem _with_ text following the section heading? Also note that manual pagebreaking is the _last_ thing to do after writing everything else. I often go back and change the first parts of what I write, this changes the page breaking in everything that follows. A manual page break existing at that point may then result in half-full pages and similar abominations as they no longer fit. Putting this off for as long as possible avoids re-doing manual breaks. > Does not look good, so I select > layout->paragraph->bottom. The pagebreak is inserted in the LyX doc. > Now I go to update my dvi view. After selecting update->DVI, the darn > pagebreak disappears from the lyx doc, and in the dvi file I still see > `Presentation' at the bottom of the page. > > Is there a _LyX_ solution to the problem? (I certainly can insert the > \newpage latex command) > Yes, there are very simple solutions to the problem, which seems to be due to a misunderstanding. The cursor was in the section heading, and you selected layout->paragraph->page breaks below. And you got what you asked for: the page now always breaks below the section heading which _is_ a paragraph of its own. Two solutions: 1. Change it to page breaks "above" instead of "below". You will then ensure that the section heading moves to the next page, and so there will be room under it for the next paragraph which contains the contents of your section. 2. Set up page break below for the previous paragraph (the text above your section heading) and turn it off for that section heading. This will have the same effect, the page will break after the previous paragraph, and your section heading will be first on the next page. This is unusual though - section headings usually move to the next page automatically _if_ there is some text that is supposed to follow the heading. This don't happen if the next paragraph is another section heading, but that only happens in unfinished documents. (If you want a two-line section heading, use ctrl+enter. Don't use two sections!) Helge Hafting > Thx, > > Mate > -- > --- > Mate Wierdl | Dept. of Math. Sciences | University of Memphis > Please avoid sending me Word or PowerPoint attachments. > See http://www.fsf.org/philosophy/no-word-attachments.html
