10-06-2010, 05:11 PM | #1 |
Fanatic
Posts: 550
Karma: 1020204
Join Date: Sep 2008
Location: Bosnia and Herzegovina
Device: Lenovo Yoga Tab 2 (Android)
|
CE characters not displaying
Can somebody please tell me what I'm doing wrong with this file? It is really simple, just the basic formatting, no styles or anything since it's pure text.
I started with a clean html file (I use HTMLPad 2010 as my editor), broke the imported file into a lot of small chapters, ran it through epub check and it validated, but I still can't get Central European characters to show up. I tried adding a lang declaration, but Sigil deletes everything it doesn't like. Font embedding didn't work for me - I tried that before, closely following instructions from some very kind people here who offered to help me, but it never worked; only about half of characters would show up, and the others would still be represented by ???. I am not experienced enough with epub to recognize errors on sight, so I would appreciate some advice. This is a collection of lectures I attended, and am trying to study for my exam. The whole reason I bought a reader (Astak EZReader 6") was so I could stop carrying a massive number of printouts to and from work. I'm going crazy here. |
10-06-2010, 05:45 PM | #2 |
Created Sigil, FlightCrew
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
There's a FAQ item for this. Basically, ADE does not have the required characters in its default font. You'll need to embed a font.
Da je zajebano što ne možemo vidjeti naše dijakritike po defaultu, je. Ali objasni ti ljudima u Adobeu da su budale. |
Advert | |
|
10-06-2010, 07:24 PM | #3 | ||
Fanatic
Posts: 550
Karma: 1020204
Join Date: Sep 2008
Location: Bosnia and Herzegovina
Device: Lenovo Yoga Tab 2 (Android)
|
Quote:
Ne mogu ti opisati koliko me nervira ta njihova glupost! Kratkovidni idioti. A imam puno zabilješki koje bih trebala prekucati i konvertovati... [edit] Quote:
Last edited by citac; 10-06-2010 at 07:29 PM. |
||
10-07-2010, 04:17 AM | #4 | ||
Created Sigil, FlightCrew
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
Quote:
1. Add the font file(s) (TTFs or OTFs) to the book by right-clicking anywhere in the Book Browser, selecting "Add existing items" and then selecting the files to add. 2. Add @font-face style rules to your CSS that reference the fonts you just added. This makes the fonts available to the rest of the style rules. Here's an example of what it should look like: Code:
@font-face { font-family: "Fontin"; font-weight: normal; font-style: normal; src: url(../Fonts/Fontin-Regular.ttf); } @font-face { font-family: "Fontin"; font-weight: bold; font-style: normal; src: url(../Fonts/Fontin-Bold.ttf); } @font-face { font-family: "Fontin"; font-weight: normal; font-style: italic; src: url(../Fonts/Fontin-Italic.ttf); } Code:
body { font-family: "Fontin", serif; } That's it. This was just an overview, take a look a the Three Men in a Boat epub book that I linked to previously. It's available for download (for free) right here on MobileRead and it opens just fine in Sigil. Hm... I should probably put this in the FAQ. Quote:
You'll have to ask the Qt guys. It's up to them. Last edited by Valloric; 10-07-2010 at 04:21 AM. |
||
10-07-2010, 10:27 AM | #5 |
Wizard
Posts: 1,196
Karma: 1281258
Join Date: Sep 2009
Device: PRS-505
|
I embedded Charis in your epub so it will show all the characters (I'm not a great fan of Charis, but it's the only free full Unicode font I know of that also has a bold version). You should be able to see everything now.
|
Advert | |
|
10-07-2010, 11:00 AM | #6 | |
frumious Bandersnatch
Posts: 7,523
Karma: 19000001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Quote:
|
|
10-07-2010, 02:31 PM | #7 | |
Fanatic
Posts: 550
Karma: 1020204
Join Date: Sep 2008
Location: Bosnia and Herzegovina
Device: Lenovo Yoga Tab 2 (Android)
|
Quote:
One thing I can't seem to figure out is how to use the catalog? I can go to it, and expand the headings, but can't seem to get them to take me to that particular page. I'm using the latest lbook firmware. |
|
10-07-2010, 02:34 PM | #8 | |
Well trained by Cats
Posts: 30,188
Karma: 57532382
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Press the "Enter(menu) key. |
|
10-07-2010, 02:35 PM | #9 |
Fanatic
Posts: 550
Karma: 1020204
Join Date: Sep 2008
Location: Bosnia and Herzegovina
Device: Lenovo Yoga Tab 2 (Android)
|
Valloric - thank you for the code. I think I had placed body before the @font-face the first time I tried it. Once I have some more free time on my hands I'll sit down and try do do some epub editing.
|
10-07-2010, 02:42 PM | #10 | |
Fanatic
Posts: 550
Karma: 1020204
Join Date: Sep 2008
Location: Bosnia and Herzegovina
Device: Lenovo Yoga Tab 2 (Android)
|
Quote:
I just tried something else: I opened the heading I wanted, then double pressed the corresponding key; that opened it. It can't be too fast or it takes me back a level. But then the next time I tried the same thing it didn't, so I just pressed it once, with a bit more force. That seemed to work. Very odd. I think I'll just have to work out on my own what functions and what doesn't. Last edited by citac; 10-07-2010 at 02:53 PM. |
|
10-07-2010, 02:43 PM | #11 | |
Fanatic
Posts: 550
Karma: 1020204
Join Date: Sep 2008
Location: Bosnia and Herzegovina
Device: Lenovo Yoga Tab 2 (Android)
|
Quote:
|
|
10-07-2010, 05:23 PM | #12 | |
Well trained by Cats
Posts: 30,188
Karma: 57532382
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Using the "catalog key (7) here. you see the top level (h1 ?) (the page indicator t the bottom sas how many screens make up this level Press the number You now see all the items UNDER that first level tag (h2 ?), but you dont see lever 2 for any other H1 tags. Again, you may have 1 of n pages shown at the bottom. page turn (up-down) changes pages (9 and 0 are page turn keys at this point) Press the number. The Return (exit) key backs out of the current layer The 0 key changes function to navigate to the next hyperlink (within a document (example the Calibre Catalog: Authors that begin with "A". That is a page within the document. (you will not see numbers exactly like the normal menu) That is when the 0 key steps thru the underlined (link) items. Catalog work like this on the Lbook (Astak) The Book is the trunk (the Menu is part of the trunk) You can only see other "trunk" branches (h1)at the trunk level When you step onto the branch, you can see the path back (1) and the path(s) forward (2-7) (h2 ?) Once you step onto the next branch, you can see the return (1) and more branches (h3 ?) The return key (1 to N layers) is the bail out key Pressing a number may show the next level (+ symbol next to the number) OR Jump to the place in the document. Now if you are designing a document: h3 is for the Chapter (start), but to be consistant we really use h4 anchors: #start, #onethird, #twothirds Now the branch looks balanced(theoretically, the H3 takes you visually to the same point as h4 #start) |
|
10-07-2010, 05:46 PM | #13 | ||
Fanatic
Posts: 550
Karma: 1020204
Join Date: Sep 2008
Location: Bosnia and Herzegovina
Device: Lenovo Yoga Tab 2 (Android)
|
Quote:
Quote:
What are #start, #onethird, #twothirds?? |
||
10-07-2010, 07:48 PM | #14 | |
Grand Sorcerer
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Quote:
This is different from following a link inside the document. Somehow this is being mixed up in the discussion. Links inside the document can be followed as well but they have nothing to do with content generation, they may look like an inline TOC but this is because you know what it looks like. The reading program treats them entirely different. Dale |
|
10-07-2010, 07:54 PM | #15 | |
Well trained by Cats
Posts: 30,188
Karma: 57532382
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
<a href="chapter1.html#start" ... <a href="chapter1#onethird" ... <a href="chapter1#twothirds" ... see http://www.w3.org/TR/1999/REC-html40...ks.html#h-12.2 Note the use of the hash mark to take you to section 12.2 |
|
Tags |
ce characters, epub, font embedding |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre2opds thumbnails not displaying | jphphotography | Calibre | 5 | 10-06-2010 12:39 AM |
Displaying the number of the next page. | cmm | Kobo Reader | 4 | 09-09-2010 10:54 PM |
Images Not Displaying | dvd8n | OpenInkpot | 2 | 04-13-2010 05:54 PM |
why displaying in arabic? | thibaulthalpern | Calibre | 4 | 03-07-2009 11:16 AM |
Displaying images on Kindle? | beagley@alma.edu | Amazon Kindle | 2 | 12-28-2008 06:06 PM |