View Single Post
Old 06-15-2011, 01:52 PM   #1
jhsrennie
Member
jhsrennie began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Jun 2011
Device: Android
RTF conversion problem - no page breaks

I have the following RTF (hand written for this test!) saved as test.rtf:

Code:
{\rtf1\ansi
{\fonttbl{\f0\fswiss\fprq2\fcharset0 Arial;}}
{\colortbl ;\red0\green0\blue0;}
\viewkind4\uc1\pard\sa200\cf1\lang2057\f0
\fs28 Citizen of the Galaxy\fs24
\par Robert A. Heinlein
\par Copyright 1957
\page\par\fs28 Chapter 1\fs24
\par "Lot ninety-seven," the auctioneer announced. "A boy."
}
If I open this in Word it shows the page break before the chapter as expected. If I convert it to MOBI or PDF using:

ebook-convert test.rtf .mobi

or

ebook-convert test.rtf .pdf

then the resulting output file does not have a page break before the chapter. ebook-convert --version gives me:

ebook-convert.exe (calibre 0.7.23)
Created by: Kovid Goyal <kovid@kovidgoyal.net>

Thanks,

John Rennie
jhsrennie is offline   Reply With Quote