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 fatkasuvayu+li...@gmail.com 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:

Re: [O] \newpage in HTML export

2013-11-21 Thread Eric Abrahamsen
Suvayu Ali fatkasuvayu+li...@gmail.com writes: On Thu, Nov 21, 2013 at 08:11:50AM +0700, Eric Abrahamsen wrote: Suvayu Ali fatkasuvayu+li...@gmail.com 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:

Re: [O] \newpage in HTML export

2013-11-21 Thread Jambunathan K
Eric Abrahamsen e...@ericabrahamsen.net 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

[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

Re: [O] \newpage in HTML export

2013-11-20 Thread Dan Griswold
This works well for me: #+HTML: div style=page-break-before: alwaysnbsp;/div 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 l...@balooga.com wrote: Both \newpage and #+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

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 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, \newpage should

Re: [O] \newpage in HTML export

2013-11-20 Thread Eric Abrahamsen
Suvayu Ali fatkasuvayu+li...@gmail.com 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