emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Force new page on exporting


From: John Hendy
Subject: Re: [O] Force new page on exporting
Date: Tue, 1 Jul 2014 10:06:04 -0500

On Mon, Jun 30, 2014 at 11:00 PM, Thomas S. Dye <address@hidden> wrote:
> Aloha York,
>
> York Zhao <address@hidden> 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 <address@hidden> wrote:
>>> Aloha York,
>>>
>>> York Zhao <address@hidden> 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
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]