|
|
#1 |
|
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Mar 2013
Device: none
|
Convert HTML to RTF with Page Breaks
<pagenum page="normal" id="p6" smilref="Fudge_a_Mania00001.smil#p6">6</pagenum> </level2> <level2 id="level2_000004"> <h2 id="h2_000004"> <strong id="strong_000003" smilref="Fudge_a_Mania00001.smil#strong_000003">2</strong> <span class="text" id="span_000019" smilref="Fudge_a_Mania00001.smil#span_000019">Pete and</span> <span class="text" id="span_000020" smilref="Fudge_a_Mania00001.smil#span_000020">Farl ey</span> </h2> |
|
|
|
|
|
#2 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,597
Karma: 549131
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (stanza/iBooks/QuickReader)
|
Why do you need to convert the files to rtf? Word can read and edit html files.
__________________
Calibre2opds: Calibre library as a web site - the popular alternative to the Calibre Content Server CLOUD SERVICES: Dropbox: Use this link to sign up for a free Dropbox account and both of us get an extra 500MB free space. Megacloud: Use this link to sign up for a free MegaCloud account and both of us get an extra 500MB free space. Copy.com: Use this link to sign up for a free Copy.com account and both of us get an extra 5GB free space. |
|
|
|
|
Enthusiast
|
|
|
|
#3 |
|
Mobile Reader Geek
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 34,227
Karma: 13801376
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad
|
Why not edit in Sigil and create an ePub that you can use as a source format?
__________________
|
|
|
|
|
|
#4 |
|
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Mar 2013
Device: none
|
The objective is to turn Daisy books into large print paper books for visually impaired kids. I get the Daisy books from Bookshare that contain 10 files including XML, XSL, CSS and OPF. Since not all our kids can have eReaders I make them paper books from this in Word. Any ideas? The way I do it now is very time consuming and I know there must be a quicker way.
|
|
|
|
|
|
#5 |
|
Mobile Reader Geek
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 34,227
Karma: 13801376
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad
|
You could try using Calibre to convert to RTF and see how that goes.
__________________
|
|
|
|
|
|
#6 |
|
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Mar 2013
Device: none
|
Calibre seems like a good option but I can't make it keep page breaks in Word. I thought maybe that was possible under Structure Detection when converting but I have had no luck. The output is a RTF with no page breaks.
|
|
|
|
|
|
#7 | |
|
Staff to 4 Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,748
Karma: 2485850
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2,Black Astak PEz, K4NT(now Wifes)
|
Quote:
Did you try setting the 'Page Setup' to 'Generic' ?
__________________
Using: Ubuntu(32 bit):Oneric,Precise and XPpro SP3, W7HP(64)- - Libre Office w/Writer2EPUB
|
|
|
|
|
|
|
#8 |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 652
Karma: 433538
Join Date: Mar 2012
Location: NSW Australia
Device: None - see signature
|
If there's 'something' in the output RTF that indicates 'force new page here' eg
Code:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BR
__________________
Windows 7Pro 64bit Desktop, Mint UL portable with Firefox & EpubReader |
|
|
|
|
|
#9 |
|
Mobile Reader Geek
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 34,227
Karma: 13801376
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad
|
That is a very good idea to add something to the source to indicate page breaks and then search/replace into a page break.
__________________
|
|
|
|
|
|
#10 |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 652
Karma: 433538
Join Date: Mar 2012
Location: NSW Australia
Device: None - see signature
|
My assumption was that the 'something' comes via the input, and I hoped my conditional statement implied that, but let's be pedantically explicit
If there's 'something' in the output RTF that ORIGINATES FROM THE INPUT that indicates 'force new page here' eg a squiggly line Code:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BR
__________________
Windows 7Pro 64bit Desktop, Mint UL portable with Firefox & EpubReader |
|
|
|
|
|
#11 |
|
Creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,519
Karma: 2944574
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
IIRC, there is no support for page breaks in the RTF output plugin (which is largely unmaintained anyway).
__________________
Get calibre Notice to all: I can not provide assistance with DRM removal, for legal reasons, so please do not contact me about it. |
|
|
|
|
|
#12 |
|
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Mar 2013
Device: none
|
This is a good idea. I will try to find something to do this. Thanks for the suggestion.
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| page breaks in html document | michaelsmith1983 | Conversion | 1 | 03-06-2012 10:32 PM |
| HTML to MOBI conversion ignores page breaks | LeftHanded Matt | Conversion | 2 | 12-21-2011 12:25 PM |
| RTF conversion problem - no page breaks | jhsrennie | Conversion | 7 | 06-16-2011 01:29 PM |
| Cannot Convert HTML to RTF | LightGuard | Calibre | 1 | 06-27-2010 10:37 AM |
| RTF vs HTML---best way to convert my files? | ficbot | Workshop | 16 | 05-06-2010 06:05 PM |