Hi Pat, thanks a lot, I'll try that. Best regards
David On 29 May 2018 at 10:34, Pat <[email protected]> wrote: > Hi, David, > > I haven’t done this, but my html book says: > You can insert a page break before or after an element. > > Example: the html should say <div class=“page-break-after”> this element. > > The css should be, *.page-break-after { page-break-after: always; } > > And the same pattern for ‘page-break-before’. > > I hope this helps. > Cheers, > Pat > > > > > On 29 May 2018, at 10:00, David Noel <[email protected]> wrote: > > Over the years, I've put together a large website of scientific articles, > at AOI.com.au <http://aoi.com.au/>. It's been reasonably successful for a > science site, clocking up half a million visitors. > > I write each article (eg Article2491.pages) directly in html, using Pages. > To make a Pages article into a web article, I just export it to plain text > (Article2491.txt) and change the .txt to .htm (Article2481.htm). I test by > dragging the .htm over to a browser, which shows me how it will look on the > Web, and when satisfied I upload the .htm and any associated graphics onto > the live AOI site. > > Now I'm working on converting 6 of the website articles into a > print-on-demand book with KDL, Kindle Direct Publishing (part of Amazon), > to be called "How the Universe Works". KDL accepts the PDF of a book text > to make the book layout, and a PDF can be made simply from an HTML article > or book text by Printing to PDF. > > I'd like to find a way to put a marker into the HTML version of a > book/article collection, so that when it's converted to a PDF, it will > create a page break in the PDF. Page breaks are needed in the PDF to make > new pages at the start of chapters and book preliminaries such as title > page, contents page, etc. > > Can anyone suggest a simple way of doing this, please? > > Cheers, David Noel. > > > -- The WA Macintosh User Group Mailing List -- > Archives - <http://www.wamug.org.au/mailinglist/archives.shtml> > Guidelines - <http://www.wamug.org.au/mailinglist/guidelines.shtml> > Settings & Unsubscribe - <http://lists.wamug.org.au/lis > tinfo/wamug.org.au-wamug> > > > > -- The WA Macintosh User Group Mailing List -- > Archives - <http://www.wamug.org.au/mailinglist/archives.shtml> > Guidelines - <http://www.wamug.org.au/mailinglist/guidelines.shtml> > Settings & Unsubscribe - <http://lists.wamug.org.au/lis > tinfo/wamug.org.au-wamug> >
-- The WA Macintosh User Group Mailing List -- Archives - <http://www.wamug.org.au/mailinglist/archives.shtml> Guidelines - <http://www.wamug.org.au/mailinglist/guidelines.shtml> Settings & Unsubscribe - <http://lists.wamug.org.au/listinfo/wamug.org.au-wamug>

