![]() |
#31 |
Reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,504
Karma: 8720163
Join Date: May 2007
Location: South Wales, UK
Device: Sony PRS-500, PRS-505, Asus EEEpc 4G
|
So try loading the doc into the Sony software.
|
![]() |
![]() |
![]() |
#32 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,463
Karma: 10684861
Join Date: May 2006
Device: PocketBook 360, before it was Sony Reader, cassiopeia A-20
|
Quote:
When formatting latest free e-books I have received by email from Tor I have tried many options. When you copy and paste document from browser into OpenOffice.org writer or into MSWord the result does not even open properly in Sony reader. So I have opened rtf files in plain text editor, and ... You would not believe the mess the editors do when writing rtf file. I ended up creating an rtf file by hand - using macros (scripts) in a plain text editor -- Vim. - open html file - replace all <i> tags with \i - replace all </i> tags with \i0 tag - replace all <p something> tags with \par - delete all the rest of html tags -- :%s/<[^>]*>//g - insert file header "stolen" from a very simple word pad created file (on Unix and Linux I use Ted editor that produces THE cleanest rtf code I have seen to date) - insert footer "stolen" from the file above - rename *html to *rtf File size is small fraction of the same book formated in word processor. |
|
![]() |
![]() |
Advert | |
|
![]() |
#33 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Quote:
The best bet is to modify in word pad and then revisit once in word to add the metadata. (It is possible to just append the metadata at the bottom of the file from an older word rtf or design a simple script to add it back in. Just look it over and you will see how it is structured. Dale |
|
![]() |
![]() |
![]() |
#34 |
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,544
Karma: 93383099
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
What will REALLY bump up the size of an RTF file is adding pictures to it. RTF stores each pixel of the image encoded as ASCII characters, and adding a 100kb JPG image can easily increase the size of an RTF by 3-4 MB!
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
RTF tip - Instantly reduce filesize by 40% | garbanzo | Other formats | 10 | 03-21-2011 04:19 AM |
RTF into Sigil - need RTF->HTML converter | Daemon | Sigil | 8 | 09-21-2010 03:56 PM |
Keep getting "Page Error" on epub file when I open it on my PRS-300 (filesize > 25MB) | ryancolm | Sigil | 6 | 09-03-2010 10:45 AM |
PRS-500 RTF Tools - a simple tool for batch edtiting your rtf ebooks | boradicus | Sony Reader Dev Corner | 11 | 05-06-2008 11:41 AM |
Mobigen filesize smaller when using Mobigen instead of Creator? | pvdv | Kindle Formats | 3 | 03-06-2008 02:28 PM |