![]() |
#1 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,213
Karma: 12890
Join Date: Feb 2009
Location: Amherst, Massachusetts, USA
Device: Sony PRS-505
|
Hebrew aleph and overlining problems
I'm currently working on a project of trying to create a quality version of Bertrand Russell's Introduction to Mathematical Philosophy, a public domain title published in 1919, a classic in the philosophy of mathematics.
Beginning with a scan, I then created an HTML version, and have been trying to convert into a number of different formats. I really want to create one that will work on a Kindle. See my personal project page here and the HTML version here. But I seem to have reached some stumbling blocks with trying to convert it to .mobi format. There are two problems. Making matters worse is that I don't own a Kindle or other device capable of dealing with .mobi files personally (--though I can use the viewer in calibre--), so I rely on feedback from others. The first involves the Hebrew letter aleph, which is used in post-Cantorian set theory for various infinite cardinal numbers. To create these in the HTML version, I use the HTML 4.0 Unicode code ℵ or &# 8501;, which works fine in the HTML version: ![]() Converting the file to .mobi (using calibre) does seem to preserve this in the file. (If I then convert the .mobi to an .epub and stick it in my Sony, the alephs show up.) But it doesn't actually seem to work on a Kindle, at least not the first generation Kindle an acquaintance uses. He took this screenshot: ![]() I guess this stems from the Kindle not providing full Unicode support. Another problem, in a way more serious has to do with some overlining that gets used in the text. Here's an example passage from the HTML version: ![]() This is done using the code <span style="text-decoration: overline;">blah blah</span> in the HTML. Obviously, this is crucial to the meaning of the passage. But it's lost on the Kindle: ![]() So my question is: what are my options here? I doubt I can expect firmware updates from Amazon to help, and I want the file to be useable without hacks or the link to people with 1st generation Kindles. (I'm not doing this for my own sake. I don't even have one.) Would I get better results with another converter or tool? Or do I have to do something more radical like replace the codes with small inline images or something similar? I can imagine this working so-so with the aleph, but with the overbar, getting a good quality look, especially if the font size is changeable, seems unlikely. Any suggestions? |
![]() |
![]() |
![]() |
#2 | |
The Grand Mouse 高貴的老鼠
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 72,073
Karma: 307935764
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
|
Quote:
I think you'll find that the Mobipocket format just can't do overlines on text. You might have to target ePUB format instead, which should be able to do it, I think. |
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
If you are using a Windows PC, you should install the Windows version of the MobiPocket Reader, which you can download from http://www.mobipocket.com.
|
![]() |
![]() |
![]() |
#4 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,529
Karma: 19000001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
The missing aleph is probably the font's fault. If you'd use a font with that glyph, it'd be displayed. Could you post a test file so I can try in in the Cybook, where I can easily use almost any font?
As for the overline, as pdurrant says, I don't think it's possible with mobipocket, you'd have to find a different notation there, maybe something like neg(p|q). It sould be possible in ePUB, though. |
![]() |
![]() |
![]() |
#5 |
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
The other option would be to use graphic images, but that could be a lot of work. In addition, not all versions of the Mobi reader support "in line" graphics.
I don't often say this, but for a book like this, a PDF version nicely formatted for the page size of the device you're reading on is very probably the best option. |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,529
Karma: 19000001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
|
![]() |
![]() |
![]() |
#7 | ||||||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,213
Karma: 12890
Join Date: Feb 2009
Location: Amherst, Massachusetts, USA
Device: Sony PRS-505
|
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
(And yes, after getting some good working versions, properly proofread, I'll upload here too.) Thanks for the advice! |
||||||
![]() |
![]() |
![]() |
#8 |
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
My comment about the Windows Mobi Reader was in response to your saying that you didn't possess a "real" Mobi device. I was just saying that the Windows Mobi Reader is a "real" version of the Mobi Reader, and will give perhaps give a more accurate view of what the end result will look like on other Mobi devices than will Calibre.
|
![]() |
![]() |
![]() |
#9 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,213
Karma: 12890
Join Date: Feb 2009
Location: Amherst, Massachusetts, USA
Device: Sony PRS-505
|
Ok, thanks. I'll check that out.
|
![]() |
![]() |
![]() |
#10 | |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,529
Karma: 19000001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Quote:
By the way, I'd deffinitely use a different font for the PDF version. Something like what the kpfonts or fourier LaTeX packages provide. Also, I believe microtype would make a noticeable improvement. |
|
![]() |
![]() |
![]() |
#11 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,213
Karma: 12890
Join Date: Feb 2009
Location: Amherst, Massachusetts, USA
Device: Sony PRS-505
|
Yeah I did notice that Computer/Latin Modern looks pretty light on my Sony reader, though I like the look of them otherwise. I completely forgot about the microtype package too -- thanks for the reminder!
EDIT: Switched the ebook-sized PDF over to kpfonts with microtype. Looks great. Thanks for the advice. (It also made it possible to easily use old style numerals everywhere, which Russell himself does in the pbook, but I have mixed feelings about that, so I might scrap it.) I might switch fonts on the larger PDFs too... but right now I need sleep. Last edited by frabjous; 06-06-2009 at 12:40 AM. |
![]() |
![]() |
![]() |
#12 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,213
Karma: 12890
Join Date: Feb 2009
Location: Amherst, Massachusetts, USA
Device: Sony PRS-505
|
Request for a favor -- Kindle owner?
Two months later, and I'm coming close to finally finishing this project -- it's been a lot of work, especially since I'm distributing the book in 10 different formats (6 differentely sized PDFs, including one sized for e-Ink screens and one for iPhones/iPod touches, plus two different HTML versions, an ePub version and a mobi version.)
Since I never "solved" the issues I started this thread about, for the .mobi version I've stooped to using a tilde ~ for negation rather than overlining, and small inline images for the alephs. (I've got an Appendix that lists changes from the print editions, some of which are actual honest-to-god fixes nearly a century after initial publication--since I had help from someone who actually read the original manuscript!) Anyway, I'm here to ask for a favor. Is there anyone out there with a first or second generation Kindle who wouldn't mind testing the .mobi version for me? I want to make sure it looks OK on the Kindle before uploading it here (and regarding it as a "final" version). (If you have another device, you'd be better off using one of the other formats; but as mentioned above, I wanted one suitable for the Kindle in particular.) If yes, I'm particularly interested in what the alephs look like. You can find them mainly in chapters 8 and 9 (e.g., "original" page 84 or 92; the original page numbers are marked inline; compare the HTML version linked to below if need be). I've seen what it looks like in MobiPocket Reader and in Calibre's viewer, but I was really hoping to hear from someone actually using a Kindle. Mobi version: click here HTML source version: click here Project page (with links to all 10 version): click here Thanks in advance! |
![]() |
![]() |
![]() |
#13 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,529
Karma: 19000001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
In the ePUB version you have this:
Code:
<?xml version='1.0' encoding='utf-8'?> <html xmlns="http://www.w3.org/1999/xhtml" lang="en"> <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"/> |
![]() |
![]() |
![]() |
#14 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,213
Karma: 12890
Join Date: Feb 2009
Location: Amherst, Massachusetts, USA
Device: Sony PRS-505
|
Calibre must be doing that. My HTML source is ISO-8859-1, and says so. I'm using calibre to convert it to ePub. Calibre converts it to UTF-8, and must add a tag for it. It should remove the other one. Not sure why it doesn't. Anyway, I haven't had any trouble using it.
|
![]() |
![]() |
![]() |
#15 | |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,529
Karma: 19000001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Quote:
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kobo Hebrew Support | carmelra | Kobo Reader | 44 | 01-24-2016 01:45 AM |
Problem with Hebrew Epub file | LevAizik | PocketBook | 4 | 02-26-2012 11:31 PM |
Classic Hebrew fonts | udiko | Barnes & Noble NOOK | 0 | 07-26-2010 02:20 PM |
Jewish Prayer Book (non-Hebrew) available? | Gideon | Reading Recommendations | 10 | 01-23-2010 07:04 PM |
looking for hebrew and russian fonts | gkazir | Sony Reader | 6 | 01-25-2008 04:06 PM |