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

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 04-10-2009, 01:51 PM   #1
amuzulo
Junior Member
amuzulo began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Mar 2009
Location: Berlin, Germany
Device: Sony PRS-505
Simple Esperanto ePub conversion script?

I recently noticed that the Sony Reader PRS-505 does not support the following Esperanto characters: ĉĝĥĵŝŭĈĜĤĴŜŬ. They just show up as question marks!

Anyway I'd like to have a script to be able to auto-convert these letters either by adding h to them, so ĉ would become ch, ĝ -> gh, and ŭ -> u. What would be the easiest way to write a script to do this? Could I write a plug-in for Calibre? Is there an easy way to load an ePub file into a free [Mac] editor and just run a global search and replace on the entire file? I'm really frustrated the PRS-505 doesn't have true unicode support. Thanks for any direction you can give me into how to go about this!
amuzulo is offline   Reply With Quote
Old 04-10-2009, 02:26 PM   #2
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 6,091
Karma: 4571547
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
That's probably missing characters in the default font (Unicode is huge, don't expect any font to support all Unicode characters). I believe you can change the font in the Sony, that would be better than modifying the text.

By the way, modifying the text once the contents of the ePUB are unzipped would be fairly easy with any text editor or unix utilities such as tr.
Jellby is offline   Reply With Quote
Old 04-10-2009, 05:37 PM   #3
gwynevans
Wizard
gwynevans ought to be getting tired of karma fortunes by now.gwynevans ought to be getting tired of karma fortunes by now.gwynevans ought to be getting tired of karma fortunes by now.gwynevans ought to be getting tired of karma fortunes by now.gwynevans ought to be getting tired of karma fortunes by now.gwynevans ought to be getting tired of karma fortunes by now.gwynevans ought to be getting tired of karma fortunes by now.gwynevans ought to be getting tired of karma fortunes by now.gwynevans ought to be getting tired of karma fortunes by now.gwynevans ought to be getting tired of karma fortunes by now.gwynevans ought to be getting tired of karma fortunes by now.
 
gwynevans's Avatar
 
Posts: 1,343
Karma: 1065246
Join Date: Nov 2007
Location: UK
Device: Sony 505 (retired), iPad2, iPhone 3GS & Nexus 7 3G
If the book's an un DRMed ePub, it's relatively trivial to set it to use alternative fonts via CSS.
gwynevans is offline   Reply With Quote
Old 04-10-2009, 06:04 PM   #4
amuzulo
Junior Member
amuzulo began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Mar 2009
Location: Berlin, Germany
Device: Sony PRS-505
Quote:
Originally Posted by gwynevans View Post
If the book's an un DRMed ePub, it's relatively trivial to set it to use alternative fonts via CSS.
It has no DRM on it, but how can I edit the CSS? Whenever I try to open an ePub file in a text editor, I just see garbage.
amuzulo is offline   Reply With Quote
Old 04-10-2009, 07:20 PM   #5
gwynevans
Wizard
gwynevans ought to be getting tired of karma fortunes by now.gwynevans ought to be getting tired of karma fortunes by now.gwynevans ought to be getting tired of karma fortunes by now.gwynevans ought to be getting tired of karma fortunes by now.gwynevans ought to be getting tired of karma fortunes by now.gwynevans ought to be getting tired of karma fortunes by now.gwynevans ought to be getting tired of karma fortunes by now.gwynevans ought to be getting tired of karma fortunes by now.gwynevans ought to be getting tired of karma fortunes by now.gwynevans ought to be getting tired of karma fortunes by now.gwynevans ought to be getting tired of karma fortunes by now.
 
gwynevans's Avatar
 
Posts: 1,343
Karma: 1065246
Join Date: Nov 2007
Location: UK
Device: Sony 505 (retired), iPad2, iPhone 3GS & Nexus 7 3G
Azardi V2 or eCub. See here for the CSS, etc.
gwynevans is offline   Reply With Quote
Old 04-11-2009, 03:27 AM   #6
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 6,091
Karma: 4571547
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by amuzulo View Post
It has no DRM on it, but how can I edit the CSS? Whenever I try to open an ePub file in a text editor, I just see garbage.
ePUB files are just zip files. Unzip it with Winzip or similar and you'll see the contents. When zipping back the files (if you do that) the only thing you have to consider is that the "mimetype" file has to be first in the archive, and stored with no compression.
Jellby is offline   Reply With Quote
Old 04-11-2009, 04:25 AM   #7
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: 63,218
Karma: 41342649
Join Date: Nov 2006
Location: UK
Device: PW2, iPad Retina Mini, iPhone 4, MS Surface Pro, Onyx T68, N7,
If these files are just for personal use, your other option would be to change the fonts on your Sony Reader for fonts which do include the "central European" characters that Esperanto uses. Instructions for doing that are in the Sony Reader forum.
HarryT is offline   Reply With Quote
Old 04-11-2009, 04:31 AM   #8
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 36,698
Karma: 17734032
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
Quote:
Originally Posted by HarryT View Post
If these files are just for personal use, your other option would be to change the fonts on your Sony Reader for fonts which do include the "central European" characters that Esperanto uses. Instructions for doing that are in the Sony Reader forum.
Actually, the thread for changing the fonts in ePub for the 505/700 is a sticky in the ePub forum section.

http://www.mobileread.com/forums/showthread.php?t=36361
JSWolf is offline   Reply With Quote
Old 04-11-2009, 04:51 AM   #9
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: 63,218
Karma: 41342649
Join Date: Nov 2006
Location: UK
Device: PW2, iPad Retina Mini, iPhone 4, MS Surface Pro, Onyx T68, N7,
Thank you, Jon.
HarryT is offline   Reply With Quote
Old 04-11-2009, 05:22 AM   #10
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 36,698
Karma: 17734032
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
Quote:
Originally Posted by HarryT View Post
Thank you, Jon.
You're very welcome.
JSWolf is offline   Reply With Quote
Old 03-06-2010, 02:54 PM   #11
paulpeer
Zealot
paulpeer is on a distinguished road
 
paulpeer's Avatar
 
Posts: 147
Karma: 56
Join Date: Dec 2009
Location: Antwerpen
Device: iPhone, Sony PRS-505, EPUBreader
Have you already solved your problem? I've made many ePubs in Esperanto, and probably will be able to help you. Bonvenon!
paulpeer is offline   Reply With Quote
Reply

Tags
epub, esperanto, prs-505, sony, unicode

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Script for converting ePUB to PDF using Prince Jellby ePub 37 12-26-2013 10:55 AM
Tweak epub and Simple CSS Editor Shadowman123 Calibre 11 09-30-2010 10:07 AM
Import ebook conversion in python script erollisi Calibre 1 08-19-2010 09:43 PM
conversion script JeffElkins Calibre 2 03-28-2009 03:06 AM
Simple Script to move content to CF Card (works around WLAN - CF Performance Bug) torben iRex 0 12-03-2008 02:45 AM


All times are GMT -4. The time now is 09:05 PM.


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