From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Re: Force new page on exporting Date: Tue, 1 Jul 2014 10:06:04 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43997) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X1zdH-0004qP-3h for emacs-orgmode@gnu.org; Tue, 01 Jul 2014 11:06:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X1zdF-0008Sb-Sp for emacs-orgmode@gnu.org; Tue, 01 Jul 2014 11:06:07 -0400 Received: from mail-ob0-x233.google.com ([2607:f8b0:4003:c01::233]:34612) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X1zdF-0008SK-NO for emacs-orgmode@gnu.org; Tue, 01 Jul 2014 11:06:05 -0400 Received: by mail-ob0-f179.google.com with SMTP id uz6so10668560obc.24 for ; Tue, 01 Jul 2014 08:06:04 -0700 (PDT) In-Reply-To: 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: "Thomas S. Dye" Cc: York Zhao , emacs-orgmode 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. John > Also, see the LaTeX commands \pagebreak and \clearpage, which do > generally the same thing but in slightly different ways. > > hth, > Tom > >> >> On Mon, Jun 30, 2014 at 8:49 PM, Thomas S. Dye wrote: >>> Aloha York, >>> >>> York Zhao writes: >>> >>>> I'm selectively exporting some subtree of an org-mode buffer, like this: >>>> >>>> * Headline1 :export: >>> >>> #+latex: \newpage >>> >>>> * Headline2 >>>> * Headline3 :export: >>>> >>>> Question is: how do I force Headline3 to be on a new page while exporting to >>>> LaTeX? >>> >>> hth, >>> Tom >>> >>> -- >>> Thomas S. Dye >>> http://www.tsdye.com >> >> > > -- > Thomas S. Dye > http://www.tsdye.com >