Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 11-26-2008, 12:02 PM   #1
martingUSA
Member
martingUSA began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Nov 2008
Device: SRS-505
rtf conversion

Hello All,
I am new to this forum and have a question on putting rtf files on my Sony 505 using Calibre.

I am creating rtf files with MS Word.

When converting them using Calibre they show up different on my reader than I had them showing in Ms Word.

For example:

The titles and Author I had centered in MSWord separated with empty lines.

In Sony Reader it is not centered and there are no empty lines in between.

Why do the empty lines disappear and how do I need to set up the rtf file in MSWord so they show up in the reader?
martingUSA is offline   Reply With Quote
Old 11-27-2008, 02:17 PM   #2
martingUSA
Member
martingUSA began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Nov 2008
Device: SRS-505
no responces

was my question that dumb, that nobody answered
martingUSA is offline   Reply With Quote
Advert
Old 11-27-2008, 02:35 PM   #3
zelda_pinwheel
zeldinha zippy zeldissima
zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.
 
zelda_pinwheel's Avatar
 
Posts: 27,827
Karma: 921169
Join Date: Dec 2007
Location: Paris, France
Device: eb1150 & is that a nook in her pocket, or she just happy to see you?
i don't think your question was too dumb, but i know a lot of people are on holiday this week in the US, perhaps they haven't seen it yet. give it a bit more time.

also, perhaps take a look around the Format Conversion forum and the calibre forum, perhaps there is a tutorial which could help you, or someone else may have posted on the same topic.
zelda_pinwheel is offline   Reply With Quote
Old 11-27-2008, 03:55 PM   #4
RCR
Addict
RCR ought to be getting tired of karma fortunes by now.RCR ought to be getting tired of karma fortunes by now.RCR ought to be getting tired of karma fortunes by now.RCR ought to be getting tired of karma fortunes by now.RCR ought to be getting tired of karma fortunes by now.RCR ought to be getting tired of karma fortunes by now.RCR ought to be getting tired of karma fortunes by now.RCR ought to be getting tired of karma fortunes by now.RCR ought to be getting tired of karma fortunes by now.RCR ought to be getting tired of karma fortunes by now.RCR ought to be getting tired of karma fortunes by now.
 
RCR's Avatar
 
Posts: 334
Karma: 992487
Join Date: Dec 2007
Location: Melbourne, Australia
Device: 2 x Sony 505, iPad, Samsung 7 Tablet, ASUS Transformer, Nexus 7
Quote:
Originally Posted by martingUSA View Post
Hello All,
I am new to this forum and have a question on putting rtf files on my Sony 505 using Calibre.

I am creating rtf files with MS Word.

When converting them using Calibre they show up different on my reader than I had them showing in Ms Word.
I convert most of my ebooks to rtf when I can. But why are you going an extra step to convert them using Calibre (to lrf?)?

You can put rtf files straight onto the Sony and it will show them just fine. The advantage of keeping your ebook in rtf is you can always port it back to your computer and edit it - correct typos, change font style or font size. And you can even read the ebook on your computer if you want, without any special reading software except WORD.
RCR is offline   Reply With Quote
Old 11-27-2008, 11:35 PM   #5
FizzyWater
You kids get off my lawn!
FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.
 
FizzyWater's Avatar
 
Posts: 4,220
Karma: 73492664
Join Date: Aug 2007
Location: Columbus, Ohio
Device: Oasis 2 and Libra H2O and half a dozen older models I can't let go of
I don't know about the centering issue, but I found that my extra line spacing "disappeared" when converting sometimes, too. I "fixed" it by changing the empty lines' from having paragraph returns (^p) to line endings (^l). It wasn't necessary to replace all paragraph returns, just the ones where I wanted a blank line.

HTH.

Edited: What I did was search & replace: ^p^p with ^p^l
FizzyWater is offline   Reply With Quote
Advert
Old 11-28-2008, 12:43 AM   #6
ProDigit
Karmaniac
ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.
 
Posts: 2,553
Karma: 11499146
Join Date: Oct 2008
Location: Miami FL
Device: PRS-505, Jetbook, + Mini, +Color, Astak Ez Reader Pro, PPW1, Aura H2O
Quote:
Originally Posted by RCR View Post
I convert most of my ebooks to rtf when I can. But why are you going an extra step to convert them using Calibre (to lrf?)?

You can put rtf files straight onto the Sony and it will show them just fine. The advantage of keeping your ebook in rtf is you can always port it back to your computer and edit it - correct typos, change font style or font size. And you can even read the ebook on your computer if you want, without any special reading software except WORD.
the reader can't read rtf files straight, just tested,they don't appear in the list.
If you add them via calibre or Sony library they get converted in the process to I suppose .lrf.
ProDigit is offline   Reply With Quote
Old 11-28-2008, 01:21 AM   #7
FizzyWater
You kids get off my lawn!
FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.
 
FizzyWater's Avatar
 
Posts: 4,220
Karma: 73492664
Join Date: Aug 2007
Location: Columbus, Ohio
Device: Oasis 2 and Libra H2O and half a dozen older models I can't let go of
Quote:
Originally Posted by ProDigit View Post
the reader can't read rtf files straight, just tested,they don't appear in the list.
If you add them via calibre or Sony library they get converted in the process to I suppose .lrf.
I have read RTFs on my Sony 505. I even used Sony Library to put them on the Reader. If I remember correctly, you may have to have Word installed...wait, that might be to change DOC to RTF when moving to the Reader.
FizzyWater is offline   Reply With Quote
Old 11-28-2008, 05:36 AM   #8
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,552
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
Quote:
Originally Posted by FizzyWater View Post
I have read RTFs on my Sony 505. I even used Sony Library to put them on the Reader.
I found that if I loaded rtf files to my PRS500 via Sony Library they worked OK, but if I simply copied them to a SD card in rtf format then they did not. I assumed that the Sony Library software is doing some sort of conversion when loading books although I could be wrong and the problem was elsewhere.
itimpi is offline   Reply With Quote
Old 11-28-2008, 09:46 AM   #9
martingUSA
Member
martingUSA began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Nov 2008
Device: SRS-505
Quote:
Originally Posted by FizzyWater View Post
I don't know about the centering issue, but I found that my extra line spacing "disappeared" when converting sometimes, too. I "fixed" it by changing the empty lines' from having paragraph returns (^p) to line endings (^l). It wasn't necessary to replace all paragraph returns, just the ones where I wanted a blank line.

HTH.

Edited: What I did was search & replace: ^p^p with ^p^l
Thank you for that trick, are there any other search "keys" like that?
Where can I find them?
Can be very useful for my conversions.


Also, I did not know I can put rtf directly on the reader using Calibre.
I converted about 60 rtf books using Calibre to lrf before I put them on the reader. I'll try to put my rtf directly on there tonight.

thank you all
martingUSA is offline   Reply With Quote
Old 11-28-2008, 10:59 AM   #10
ProDigit
Karmaniac
ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.
 
Posts: 2,553
Karma: 11499146
Join Date: Oct 2008
Location: Miami FL
Device: PRS-505, Jetbook, + Mini, +Color, Astak Ez Reader Pro, PPW1, Aura H2O
also I am interested in those things.. Would be nice to find a page somewhere with all those names. good for macro's
ProDigit is offline   Reply With Quote
Old 11-28-2008, 11:01 PM   #11
FizzyWater
You kids get off my lawn!
FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.
 
FizzyWater's Avatar
 
Posts: 4,220
Karma: 73492664
Join Date: Aug 2007
Location: Columbus, Ohio
Device: Oasis 2 and Libra H2O and half a dozen older models I can't let go of
I don't remember which web page(s) I collected these from, but when searching in Word, either in the "Find" box or in VBA (macros), you have the following "shortcut" keys:

Code:

^m                         page break
^b ^12 if using wildcards  section break (can't use in "Replace" box)
^n                         section break
^t                         tab
^+                         em dash
^=                         en dash
^g                         any graphic
^?                         any character
^#                         any digit
^$                         any letter
^w                         white space (can't use in "Replace" box)
^^                         caret character
^p ^13 if using wildcards  paragraph return
^l                         line feed
I have written Word macros (with a whole lot more anguish than Excel, that's for sure!), but only for my own occasional use. I can copy what I have here, and you can play with them or tweak them to your personal specifications.

It's embarrassing to admit, but I convert each book I touch to three formats (well, four, if you count RTF): eBookwise, Mobipocket, and Sony LRF. I own devices that read those, and don't want to have to remember - "oops, gotta grab the Sony to read that book!"

The first macro - Ebook Cleanup Word Macro - is used on a basic document in Word. It doesn't clean up multiple line-feeds, like the kind you get in Gutenburg texts. I usually start with an html file that I've either copy-and-pasted into Word, or one I've opened in Word. To avoid certain Word formatting issues that cause macro errors, I usually save the raw file to RTF, close it, then reopen it before running the macro.

For the true programmers here, I'm probably blaspheming. But I haven't coded HTML since it was 3.2. It's too time-consuming and painful for me to relearn now. So this is just easier for me. I can add book covers and back cover "blurbs" at the beginning of every book and just make it look the way I like. So take anything here with a grain of salt. It's only helpful if it works for you!

For the first pass, I start out with replacing any line-feeds with paragraph returns. I seem to have fewer errors in my eBookwise files that way. I try to strip out extra spaces before the paragraph returns, to avoid those odd "blank pages" that really contain one "space" character right before a page break.

It also gives you the option to delete double paragraph returns with singles (for when the books come with an actually page return to create blank space between the paragraphs), and to add a space after each em-dash (which, if not already there, helps cut down on too much white-space at the end of a line because of no hyphenation). Then there's a handful of fixes to try to avoid odd em-dash spacing (like "But-- ").

It also calls a "clear formatting" (from the Find and Replace logic) subroutine between each search which I found highly recommended on the word.mvps.org website.

After I've added covers/blurbs and cleaned up the book the way I like and saved the file as RTF, I run the second macro - Quick Mobi Cleanup Macro - to put those line-feed characters back in where I want blank rows. I found that when I used Mobipocket Creator on my initial RTFs I had 1) too much white-space between paragraphs (my paragraph format has some spacing built into the beginning and end) and 2) my intention blank rows disappeared!

So this changes the paragraph format to having no padding and changes those double paragraphs to paragraph & line feed. It also tries to find things like page break & paragraph, and changes those extra paragraph returns to line feeds, too.

It also tells you to manually correct any section breaks & paragraph returns, because the section break shortcut code (^b) can't be used in the "Replace" function in Word (even though it CAN be in "Find" - what's up with that?!)

I save the file again, with "Mobi" at the end of the filename. It's that second RTF file I import into Mobipocket Creator.

Then, because Mobipocket Creator makes a new HTML file, with associated pictures in a separate file, I zip those up and import them to Calibre to make my Sony LRFs. (Whew!)

Finally, I've attached a third file with some macro "snippets" I was playing with or found hints about online. I'm not even sure what they do. But who knows, they might be useful to you.

HTH
Attached Files
File Type: txt Ebook Cleanup Word Macro.txt (6.7 KB, 368 views)
File Type: txt Quick Mobi Cleanup Macro.txt (3.1 KB, 305 views)
File Type: txt Experimental Word Macros for Ebooks.txt (2.2 KB, 339 views)
FizzyWater is offline   Reply With Quote
Old 11-29-2008, 10:38 AM   #12
ProDigit
Karmaniac
ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.
 
Posts: 2,553
Karma: 11499146
Join Date: Oct 2008
Location: Miami FL
Device: PRS-505, Jetbook, + Mini, +Color, Astak Ez Reader Pro, PPW1, Aura H2O
you forgot:

^r hard return?
ProDigit is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
conversion from .rtf problems gondwild Calibre 7 02-06-2010 11:18 PM
RTF and TEXT conversion spaze Calibre 4 08-23-2009 03:11 AM
Error with RTF Conversion daesdaemar Calibre 4 01-29-2009 05:42 PM
RTF conversion. Riocaz iRex 15 08-08-2006 11:55 AM
RTF Conversion with Plucker cactusjack Reading and Management 9 11-16-2004 07:44 PM


All times are GMT -4. The time now is 03:15 PM.


MobileRead.com is a privately owned, operated and funded community.