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

Go Back   MobileRead Forums > E-Book Readers > Sony Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 01-04-2007, 12:56 PM   #1
ogghead
Junior Birdman
ogghead began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Dec 2006
Smart quotes in RTF?

I have a number of books I've converted from Microsoft's .lit format to RTF. I like RTF because it's an open (enough) format and displays nearly as well as LRF on the Sony Reader.

I use ABC Lit Converter to create the RTF and then format it in OpenOffice. (I've also tried the same process, but converted to plain text and also tried MS Word.)

I cannot get "smart quotes" to show up as anything other than blocky characters or garbage on the Reader, although the documents look great in WordPad, MS Word, or OpenOffice. Same goes for the curly version of the apostrophe.

I'm using the same fonts the Reader does per someone's suggestion, but no luck. In the interim, I converted them all to standard quotes, but the true typeset opposing quotes look so much better, I'd love to know how to preserve them in RTF.
ogghead is offline   Reply With Quote
Old 01-15-2007, 05:07 PM   #2
cats
Junior Member
cats began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Nov 2006
Device: TX
i got the same problem, very annoying, i tried to re-format it in Word, since my problem is all the " " and ' turns to ?, when i replace them all, i have to do it twice, first replace all ? to ", then replace all "" to ?", and leave all the words, like we're or you'd as we"re and you"d.
cats is offline   Reply With Quote
Advert
Old 01-17-2007, 09:54 AM   #3
UncleDuke
books & doughnuts
UncleDuke can name that ebook in five wordsUncleDuke can name that ebook in five wordsUncleDuke can name that ebook in five wordsUncleDuke can name that ebook in five wordsUncleDuke can name that ebook in five wordsUncleDuke can name that ebook in five wordsUncleDuke can name that ebook in five wordsUncleDuke can name that ebook in five wordsUncleDuke can name that ebook in five wordsUncleDuke can name that ebook in five wordsUncleDuke can name that ebook in five words
 
UncleDuke's Avatar
 
Posts: 882
Karma: 37857
Join Date: Jan 2007
Location: usa
Device: sony reader, kindle2
I thought I was the only one with that problem. Thanks for the info.
UncleDuke is offline   Reply With Quote
Old 01-17-2007, 06:08 PM   #4
scotty1024
Banned
scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.
 
Posts: 1,300
Karma: 1479
Join Date: Jul 2006
Location: Peoples Republic of Washington
Device: Reader / iPhone / Librie / Kindle
Sounds like a codepage problem to me.

When ABC lit convertor translated the HTML in the LIT file into RTF there was an implicit codepage conversion and the tool forgot to take care of converting certain character's codes between the two codepage's.

At the start of a BAEN RTF file you see the typical: {\rtf1\ansi\ansicpg1252

That "\ansicpg1251" means all characters in the RTF file are in codepage 1252.

What "\ansicpg" do you find at the front of a ABC lit convertor RTF file?
scotty1024 is offline   Reply With Quote
Old 01-17-2007, 08:08 PM   #5
RWood
Technogeezer
RWood ought to be getting tired of karma fortunes by now.RWood ought to be getting tired of karma fortunes by now.RWood ought to be getting tired of karma fortunes by now.RWood ought to be getting tired of karma fortunes by now.RWood ought to be getting tired of karma fortunes by now.RWood ought to be getting tired of karma fortunes by now.RWood ought to be getting tired of karma fortunes by now.RWood ought to be getting tired of karma fortunes by now.RWood ought to be getting tired of karma fortunes by now.RWood ought to be getting tired of karma fortunes by now.RWood ought to be getting tired of karma fortunes by now.
 
RWood's Avatar
 
Posts: 7,233
Karma: 1601464
Join Date: Nov 2006
Location: Virginia, USA
Device: Sony PRS-500
When I used ABC Amber LIT Converter the ansicpg given was 0 (zero.) The exact outputcode was:
Quote:
{\rtf1\ansi\ansicpg0\uc1\deff0\deflang0\deflangfe0 {\fonttbl{\f0\fnil\fcharset1 Times New Roman;}
I use MS Word under WinXP and I have not encountered the problem if the single and double quotes were correct in the original document. I have had problems with this when converting from PDB files as many of them did not have "smart quotes" in them. (And judging from this preview box, MobileRead Forums also do not have them.)
RWood is offline   Reply With Quote
Advert
Old 01-18-2007, 05:04 AM   #6
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 85,537
Karma: 82470675
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
I've not had this problem with any of the Baen RTFs. It's easy enough, though, to convert the "smart quotes" into "straight quotes" before saving the file, if required.
HarryT is offline   Reply With Quote
Old 01-23-2007, 02:14 PM   #7
ogghead
Junior Birdman
ogghead began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Dec 2006
Yes, but preserving the "smart quotes" was the goal here.

I found that the lit2lrs tool does preserve smart quotes correctly in most cases, and generates BBeB books that look good to me. (Thanks, waykohler!) So I've ditched RTF in favor of that for now, but I believe the codepage suggestion is likely to be the key for RTF.
ogghead is offline   Reply With Quote
Old 01-23-2007, 04:59 PM   #8
Moonraker
Addict
Moonraker ought to be getting tired of karma fortunes by now.Moonraker ought to be getting tired of karma fortunes by now.Moonraker ought to be getting tired of karma fortunes by now.Moonraker ought to be getting tired of karma fortunes by now.Moonraker ought to be getting tired of karma fortunes by now.Moonraker ought to be getting tired of karma fortunes by now.Moonraker ought to be getting tired of karma fortunes by now.Moonraker ought to be getting tired of karma fortunes by now.Moonraker ought to be getting tired of karma fortunes by now.Moonraker ought to be getting tired of karma fortunes by now.Moonraker ought to be getting tired of karma fortunes by now.
 
Moonraker's Avatar
 
Posts: 311
Karma: 1002965
Join Date: Mar 2006
Location: UK
Device: ILiad. Gen 3, PocketBook 360, Kobo Aura HD, Kindle Oasis 2
I don't care much for ABC's Amber Lit converter. I find it does strange things, loses a lot of formatting and often will add spaces in the wrong places. Sometimes thousand's of spaces which is tiresome to correct.

I prefer ConvertLit GUI. I don't know if it will handle smart quotes but it's worth a try.

Get it here:

http://dukelupus.pri.ee/

I think how successful the conversion is depends on how the lit file was created originally. If the Lit file was made with a Microsoft HTML coded file then this can cause problems and also increases the file size. I have found that a better lit is created using the MS "Filtered" HTML or MS RTF format. At least, I find that these convert back much nicer with little or no editing to do.

Last edited by Moonraker; 01-23-2007 at 05:14 PM.
Moonraker is offline   Reply With Quote
Old 01-23-2007, 06:38 PM   #9
scotty1024
Banned
scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.
 
Posts: 1,300
Karma: 1479
Join Date: Jul 2006
Location: Peoples Republic of Washington
Device: Reader / iPhone / Librie / Kindle
Code:
{\rtf1\ansi\ansicpg0\uc1\deff0\deflang0\deflangfe0 {\fonttbl{\f0\fnil\fcharset1 Times New Roman;}
I'd try converting that to

Code:
{\rtf1\ansi\ansicpg1252\uc1\deff0\deflang0\deflangfe0 {\fonttbl{\f0\fnil\fcharset1 Times New Roman;}
And see what happens with your smart quotes.
scotty1024 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
Calibre and Smart Quotes salasnet Calibre 9 09-27-2010 04:32 AM
Smart Quotes Toxaris ePub 2 05-31-2010 10:32 AM
Smart quotes in XHTML? MaggieScratch ePub 12 03-28-2009 05:53 PM
Removing smart quotes horseyride Workshop 8 03-06-2008 12:08 PM
BASIC program for smart quotes Puffball Workshop 4 01-24-2007 09:43 AM


All times are GMT -4. The time now is 03:46 AM.


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