Re: [O] \newpage in HTML export

2013-11-21 Thread Jambunathan K
Eric Abrahamsen writes: > Emacs already has the concept of the page-delimiter (defaults to ^L), > for page-related commands. I once floated the idea of making a > page-break a full org element, that could be handled differently by > different backends. You are not alone. The ODT model would be

Re: [O] \newpage in HTML export

2013-11-21 Thread Eric Abrahamsen
Suvayu Ali writes: > On Thu, Nov 21, 2013 at 08:11:50AM +0700, Eric Abrahamsen wrote: >> Suvayu Ali writes: >> >> > On Wed, Nov 20, 2013 at 03:20:02PM -0600, Russell Adams wrote: >> >> On Wed, Nov 20, 2013 at 09:15:43PM +, Luke Crook wrote: >> >> > >> >> > That works. But that means I need

Re: [O] \newpage in HTML export

2013-11-21 Thread Suvayu Ali
On Thu, Nov 21, 2013 at 08:11:50AM +0700, Eric Abrahamsen wrote: > Suvayu Ali writes: > > > On Wed, Nov 20, 2013 at 03:20:02PM -0600, Russell Adams wrote: > >> On Wed, Nov 20, 2013 at 09:15:43PM +, Luke Crook wrote: > >> > > >> > That works. But that means I need both #+HTML: and #+Latex: fo

Re: [O] \newpage in HTML export

2013-11-20 Thread Eric Abrahamsen
Suvayu Ali writes: > On Wed, Nov 20, 2013 at 03:20:02PM -0600, Russell Adams wrote: >> On Wed, Nov 20, 2013 at 09:15:43PM +, Luke Crook wrote: >> > >> > That works. But that means I need both #+HTML: and #+Latex: for the same >> > thing. \newpage should convert as appropriate depending on th

Re: [O] \newpage in HTML export

2013-11-20 Thread Suvayu Ali
On Wed, Nov 20, 2013 at 03:20:02PM -0600, Russell Adams wrote: > On Wed, Nov 20, 2013 at 09:15:43PM +, Luke Crook wrote: > > > > That works. But that means I need both #+HTML: and #+Latex: for the same > > thing. \newpage should convert as appropriate depending on the export. > > > > So, \newp

Re: [O] \newpage in HTML export

2013-11-20 Thread Russell Adams
On Wed, Nov 20, 2013 at 09:15:43PM +, Luke Crook wrote: > > That works. But that means I need both #+HTML: and #+Latex: for the same > thing. \newpage should convert as appropriate depending on the export. > > So, \newpage should translate to the HTML equivalent on HTML export, and the > Latex

Re: [O] \newpage in HTML export

2013-11-20 Thread Luke Crook
That works. But that means I need both #+HTML: and #+Latex: for the same thing. \newpage should convert as appropriate depending on the export. So, \newpage should translate to the HTML equivalent on HTML export, and the Latex equivalent on Latex export. It only works correctly on Latex expor

Re: [O] \newpage in HTML export

2013-11-20 Thread Dan Griswold
This works well for me: #+HTML:   placed right where you want the page break. The break will not appear in the browser, but it will when you print. Dan On Wed, Nov 20, 2013 at 1:52 PM, Luke Crook wrote: > Both "\newpage" and "#+LATEX: \newpage" generate page breaks in Latex. > However "\ne

[O] \newpage in HTML export

2013-11-20 Thread Luke Crook
Both "\newpage" and "#+LATEX: \newpage" generate page breaks in Latex. However "\newpage" is included verbatim in HTML export. Should I use "#+LATEX: \newpage" instead? /Luke