From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Griswold Subject: Re: \newpage in HTML export Date: Wed, 20 Nov 2013 15:10:45 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113316a852924504eba160d3 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43901) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VjE6p-0005At-Mi for emacs-orgmode@gnu.org; Wed, 20 Nov 2013 15:10:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VjE6o-0000DV-2C for emacs-orgmode@gnu.org; Wed, 20 Nov 2013 15:10:47 -0500 Received: from mail-qa0-x234.google.com ([2607:f8b0:400d:c00::234]:42987) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VjE6n-0000DL-Ui for emacs-orgmode@gnu.org; Wed, 20 Nov 2013 15:10:45 -0500 Received: by mail-qa0-f52.google.com with SMTP id k4so2123703qaq.4 for ; Wed, 20 Nov 2013 12:10:45 -0800 (PST) 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: Luke Crook Cc: emacs-orgmode@gnu.org --001a113316a852924504eba160d3 Content-Type: text/plain; charset=ISO-8859-1 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 "\newpage" is included verbatim in HTML export. > > Should I use "#+LATEX: \newpage" instead? > > /Luke > > > --001a113316a852924504eba160d3 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
This works well for me:

#+HTML:= <div style=3D"page-break-before: always">&nbsp;</di= v>

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 <luke@balooga= .com> wrote:
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



--001a113316a852924504eba160d3--