From mboxrd@z Thu Jan 1 00:00:00 1970 From: tsd@tsdye.com (Thomas S. Dye) Subject: Re: Force new page on exporting Date: Tue, 01 Jul 2014 06:31:02 -1000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45190) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X20xr-0000o2-MC for emacs-orgmode@gnu.org; Tue, 01 Jul 2014 12:31:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X20xk-0004yV-2V for emacs-orgmode@gnu.org; Tue, 01 Jul 2014 12:31:27 -0400 Received: from gproxy5-pub.mail.unifiedlayer.com ([67.222.38.55]:44132) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1X20xj-0004xA-QE for emacs-orgmode@gnu.org; Tue, 01 Jul 2014 12:31:19 -0400 In-Reply-To: (John Hendy's message of "Tue, 1 Jul 2014 10:06:04 -0500") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: John Hendy Cc: York Zhao , emacs-orgmode Aloha John, John Hendy writes: > On Mon, Jun 30, 2014 at 11:00 PM, Thomas S. Dye wrote: >> Aloha York, >> >> York Zhao writes: >> >>> Thanks Thomas. This works but is not an ideal approach because in a complex file >>> it may not be so easy to find out the location to insert the "\newpage" >>> instruction. Plus, each time when inserting new exported tree between >>> "Headline1" and "Headline2" you would have to remember to move the "\newpage" to >>> the end of the new tree. >> >> >> Agreed. Something like this is more visible. >> >> * Latex New Page :ignoreheading: >> #+latex: \newpage >> > > Clever! I was trying to think of a way to do it within headline 3, but > get it to break before the actual section heading... this much better. > One question, say the following occurs: > > * Heading 1 :export: ... > * Heading 2 > * Latex New Page :ignoreheading:export: > #+latex: \newpage > > * Heading 3 :export: ... > > Say that with \maketitle and possible TOC, Heading 1 ends exactly on > the last line of page 1. Won't the \newpage command create a full > blank page on page 2, with Heading 3 starting on page 3? > > Rare situation, but just thought I'd inquire about the possibility. I don't think this is a problem. The LaTeX \newpage command requires some content on the page before it will work. If it is the first thing on the page, then no new page is created. All the best, Tom -- Thomas S. Dye http://www.tsdye.com