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, 02: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, 03: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: 7,536
Karma: 19000001
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
Advert
Old 04-10-2009, 06:37 PM   #3
gwynevans
Wizzard
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,402
Karma: 2000000
Join Date: Nov 2007
Location: UK
Device: iPad 2, iPhone 6s, Kindle Voyage & Kindle PaperWhite
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, 07: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, 08:20 PM   #5
gwynevans
Wizzard
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,402
Karma: 2000000
Join Date: Nov 2007
Location: UK
Device: iPad 2, iPhone 6s, Kindle Voyage & Kindle PaperWhite
Azardi V2 or eCub. See here for the CSS, etc.
gwynevans is offline   Reply With Quote
Advert
Old 04-11-2009, 04: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: 7,536
Karma: 19000001
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, 05: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: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
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, 05: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: 76,487
Karma: 136564766
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
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.

https://www.mobileread.com/forums/showthread.php?t=36361
JSWolf is offline   Reply With Quote
Old 04-11-2009, 05: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: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
Thank you, Jon.
HarryT is offline   Reply With Quote
Old 04-11-2009, 06: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: 76,487
Karma: 136564766
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by HarryT View Post
Thank you, Jon.
You're very welcome.
JSWolf is offline   Reply With Quote
Old 03-06-2010, 03: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 44 03-03-2015 04:21 PM
Tweak epub and Simple CSS Editor Shadowman123 Calibre 11 09-30-2010 11:07 AM
Import ebook conversion in python script erollisi Calibre 1 08-19-2010 10:43 PM
conversion script JeffElkins Calibre 2 03-28-2009 04:06 AM
Simple Script to move content to CF Card (works around WLAN - CF Performance Bug) torben iRex 0 12-03-2008 03:45 AM


All times are GMT -4. The time now is 04:48 PM.


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