10-18-2011, 09:22 AM | #1 |
Wizard
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
33⅓ percent
I have this ⅓ symbol in an epub & it looks fine in sigil, but not in ADE. the ⅓ becomes ?
is there a workaround ? I consulted my list of special characters & saw only ½ and ¼ |
10-18-2011, 09:41 AM | #2 |
Enthusiast
Posts: 48
Karma: 1916
Join Date: Sep 2010
Device: Cybook Opus
|
And this concerns Sigil because ...
It's a limitation on the fonts ADE renders with, that's all ... the natural way to go along is to embed a font where that symbol is present, I think. Anyway, I think this thread belongs to the epub forum/section ... |
10-18-2011, 10:12 AM | #3 | |
eBook Enthusiast
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
Quote:
As the previous poster suggested, one solution is to embed a suitable font into your book; another would be to rewrite it as "33 1/3". |
|
10-18-2011, 11:07 AM | #4 |
Wizard
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
because sigil is my tool of choice for editing epubs that I wish to fix. I hoped someone here might know a work-around
but in this case , seems that it can't be done. The text will have to read 33 1/3 if it is to work in ADE / on Sony reader, which is much uglier I take there is no simple way for a future version of sigil to be able to display an "ADE-book view". to to be able to highlight any characters that are not supported in ADE.- maybe as part of the epub validation ? ADE is the most common renderer for epub devices, so it would be good see how things are going to look , while still in sigil. hoping for WYSIWYG ->WYSIWYWGOYR ( what you see is what you will get - on your reader ) Last edited by cybmole; 10-18-2011 at 11:12 AM. |
10-18-2011, 11:24 AM | #5 |
Sigil & calibre developer
Posts: 2,488
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
Most common doesn't mean only. Sigil is not an ADE editor it's an EPUB editor. It's bad enough having to put in hacks to work around limitations of certain renderers but trying to mimic the rendering of a specific reader is asinine.
|
10-18-2011, 11:24 AM | #6 |
Wizard
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
PS - embedding a font for just 1 instance of 1 special character seems a lot of work, but say for sake of argument ath I want to do that.
how would I 1) find a font that will work, both in sigil & in ADE 2) create the relevant html code to cause that character to display within the font ? that symbol is not in the epub special characters help file & I cannot see how to generate it, in word, notepad or whatever via keyboard.... yet it is visible here in google & its visible in sigil book view when I open epub for editing.... |
10-18-2011, 11:42 AM | #7 | |
Wizard
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
Quote:
"asinine" seems a little harsh, given that sigil is billed as a WSYWYG editor ? I take it that the underlying epub spec allows any font /special character combo, so long as there's a method of specifying it in HTML source? |
|
10-18-2011, 11:49 AM | #8 | |
eBook Enthusiast
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
Quote:
|
|
10-18-2011, 12:31 PM | #9 |
Wizard
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
yes I understand the mechanism of font embedding ( in theory - have not actually done one ) I'm stuck on the 2 specific questions I posed above
how would I 1) choose a font that will work, both in sigil & in ADE (i.e. which has the character that I need) 2) create the relevant html code to cause that character to display within the font ? |
10-18-2011, 12:43 PM | #10 | |
Sigil & calibre developer
Posts: 2,488
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
1) You're on your own for finding an appropriate font. Sigil creates and ADE reads Utf-8 encoded text. Any font you properly add should display in ADE. The only 100% way to be sure is to test in each.
2) If it is currently displaying in Sigil then you are using the correct character. Quote:
|
|
10-18-2011, 12:53 PM | #11 |
Wizard
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
yes - I get that, but how do I get sigil or something to show me the code info I need so that I can choose a font+ a code which will work in ADE. (given that I can't see how to type it directly from keyboard ).
do I need an ALTnnnn sequence , or some other special HTML trick ? |
10-18-2011, 01:51 PM | #12 |
eBook Enthusiast
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
The correct character is in the HTML file. To see if it's in a particular font, copy and paste that piece of text from Sigil into "Notepad", select the desired font in Notepad, and see if the character is displayed correctly.
|
10-18-2011, 02:22 PM | #13 | |
Wizard
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
Quote:
but say I was creating a new book in sigil & wanted the ⅓ symbol, yet did not have a document to copy it from. is there somewhere a guide to creating such characters from scratch via the keyboard |
|
10-18-2011, 03:01 PM | #14 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
The UTF-8 code for ⅓ is & #8531;
A simple google search told me that... |
10-18-2011, 03:22 PM | #15 | |
The Grand Mouse 高貴的老鼠
Posts: 71,480
Karma: 305784726
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
|
Quote:
I can't remember off-hand if it's possible to do baseline shifts easily in ePub, but that and a smaller font size would be an alternative to a superscript code, and would probably be more reliable. |
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
convert unicode number forms ⅓ and ⅔ | flamand | Conversion | 6 | 10-12-2011 10:15 PM |
50 percent off at Champagne Books | Catlady | Deals and Resources (No Self-Promotion or Affiliate Links) | 0 | 07-27-2011 11:20 AM |
360 Britain has 2 prices - one colour is about 51 percent more | Font | PocketBook | 3 | 02-18-2011 07:39 PM |
Amazon: We have 70-80 percent of e-book market | kjk | News | 29 | 08-04-2010 11:09 AM |
20 Percent Off @ Sony | MickeyC | Deals and Resources (No Self-Promotion or Affiliate Links) | 16 | 01-27-2009 01:45 PM |