11-06-2011, 05:09 PM | #46 | |
Enthusiast
Posts: 28
Karma: 596
Join Date: Dec 2008
Device: none
|
Quote:
Re. the class name in p tags, is there any particular reason for this given that most of the time you're not going to see the HTML anyway, and if you have more than one paragraph style in use (rather likely) then there will have to be class names? I can't imagine many files where there's only one paragraph style in use. Julian |
|
11-07-2011, 12:50 AM | #47 | |
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:
Dale |
|
Advert | |
|
11-07-2011, 08:56 AM | #48 | |
Zealot
Posts: 100
Karma: 2092
Join Date: Sep 2011
Location: UK
Device: Kobo Sage, iPad
|
I'm still struggling with embedding fonts - at the moment I'm concentrating on the basic characters, not refinements like small caps.
I followed the instructions in the help file, and the fonts are included in my resources folder, but it seems to be pretty hit and miss whether they show up in the document or not. Typically, they'll show if I view the file in calibre, Jutoh or Sigil, but not Sony Reader, Adobe Reader or on my Sony PRS-T1. Some fonts, but not all seem to show OK on Bluefire or iBooks on my iPhone. The health check in Jutoh doesn't show any problem, but when I open the file in Sigil, the validation has error messages like: Quote:
I suspect there's something in the css that isn't exactly right, and that some of the readers are more forgiving than others. I think too, that I haven't yet seen a font work on a device where it wasn't already installed - for instance, I experimented with Zapfino, because you don't need to look very hard to see if it's worked or not. That worked on my iPhone readers, but Zapfino is an iOS system font. Linotype Didot didn't work on the phone apps. I might be able to wade through the css and sort it out, but if I end up having to do that manually, there isn't much point in using a nice front end like Jutoh. I'm using a Mac, if that makes any difference. |
|
11-07-2011, 09:48 AM | #49 | |
Booklegger
Posts: 1,801
Karma: 7999816
Join Date: Jun 2009
Location: Toronto, Ontario, Canada
Device: BeBook(1 & 2010), PEZ, PRS-505, Kobo BT, PRS-T1, Playbook, Kobo Touch
|
Quote:
Perhaps you can show us your css file (if it is not too big) and then we can eyeball it in lieu of a validator. |
|
11-07-2011, 10:31 AM | #50 |
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
|
|
Advert | |
|
11-07-2011, 10:44 AM | #51 |
Zealot
Posts: 100
Karma: 2092
Join Date: Sep 2011
Location: UK
Device: Kobo Sage, iPad
|
Thank you. I'm just creating a test document rather than playing all the time with a file that has a full length novel in it. I'll run the css through the validator and see what comes out.
I've noticed that the font names that appear in the css file are the file name rather than the font nam. The drop down font selector has the right name, but not the window showing the embedded font properties, which shows "DidotLTPro-Roman" instead of "Didot LH RomanSC." I don't know if that's causing a problem, but I'll check it out if the other stuff doesn't fix it. |
11-07-2011, 11:17 AM | #52 |
Zealot
Posts: 100
Karma: 2092
Join Date: Sep 2011
Location: UK
Device: Kobo Sage, iPad
|
Well, that produced a nice collection of errors:
Spoiler:
It doesn't help that Jutoh produces a very long css file, full of styles I'm not using, which makes it harder to spot what's going on with the ones I am using. Given the amount of clean up that's needed to make it work, it looks as if creating the css myself in the first place would be just as easy, which is a shame, because I really liked the idea of not having to delve into all that stuff! The first couple of errors are because the font was PS not ttf or off, so I just need to find an alternative. I haven't worked out yet how to fix the css1, css2, css3 comments but I'm sure I'll get there. I'm puzzled by the "Property src doesn't exist : url(../Fonts/DidotLTPro-Roman.otf)" &c because as far as I can see, the path and the filename match what's there . It's like finding myself back in 1985 trying to do word processing before they invented WYSISYG. As long as I don't have to go back to DOS! Last edited by Insalata; 11-07-2011 at 11:53 AM. Reason: Adding info. |
11-07-2011, 03:21 PM | #53 |
Zealot
Posts: 100
Karma: 2092
Join Date: Sep 2011
Location: UK
Device: Kobo Sage, iPad
|
I've removed the incompatible font, and realised that the reason the checker thought my font files weren't where they were supposed to be is that I stuck just the .css file online to get a link to submit for checking - so that's not a real problem.
So the errors that are left are all: "Property font-family doesn't exist in CSS level 2.1 but exists in [css1, css2, css3]" It now seems that the Didot fonts are displaying properly in Adobe and Sony Readers, but not the AppleGothic one, which I was only using for one character that I liked as a section separator. Thanks for your help. The problem seemed to be with the font naming - picking up the info from FontBook and editing the css sheet in Sigil fixed it. I'm not sure if that's because the fonts I picked were awkward, or if it's a general problem. Last edited by Insalata; 11-09-2011 at 04:19 AM. |
11-14-2011, 02:26 PM | #54 | |
Wizard
Posts: 4,332
Karma: 4000000
Join Date: Oct 2008
Location: Paris
Device: Cybooks; Sony PRS-T1
|
Nice
Quote:
|
|
12-20-2011, 05:37 PM | #55 |
Member
Posts: 13
Karma: 10
Join Date: Jul 2010
Device: Kindle Touch
|
TOC Problems
Hello,
I am having some problems with table of contents. When I go to a chapter by selecting from the table of contents, chapter name has no style. But if I navigate to that page by just going through the pages, style shows properly. What am I doing wrong?? Thanks TOC ImageShack.us ImageShack.us Last edited by nounlu; 12-20-2011 at 05:44 PM. |
12-20-2011, 11:45 PM | #56 |
Booklegger
Posts: 1,801
Karma: 7999816
Join Date: Jun 2009
Location: Toronto, Ontario, Canada
Device: BeBook(1 & 2010), PEZ, PRS-505, Kobo BT, PRS-T1, Playbook, Kobo Touch
|
There are (at least) two ways to solve this. One is to make each chapter a new file, and use the file-name as the link URL. The other is to make sure your anchor comes before the header tag. Liz Castro's HTML book often uses <h2><a id = "chap03">Chapter 3</a></h2> -- which causes this problem for some html parsers, I think. Try using <a id="chap03" /><h2>"Chapter 3"</h2> - I'm not sure of this second way because I have always made each chapter a separate file.
|
12-21-2011, 02:41 PM | #57 |
Member
Posts: 13
Karma: 10
Join Date: Jul 2010
Device: Kindle Touch
|
Thank you for your response. I already have each chapter in a separate file. I am using jutoh so I don't think there is a way to edit html. I may have to create that book and extract the html and repack.
|
12-21-2011, 04:21 PM | #58 |
Member
Posts: 13
Karma: 10
Join Date: Jul 2010
Device: Kindle Touch
|
You were right. Anchor was between the style span and the text itself instead of being before both. I am not sure how to avoid that within jutoh. I contacted Julian about it.
|
12-22-2011, 10:39 AM | #59 |
Member
Posts: 13
Karma: 10
Join Date: Jul 2010
Device: Kindle Touch
|
I figured it out with Julian's help. I had both epub and mobi configuration checked so jutoh created the html for epub. I had to uncheck epub from setting also check optimize for mobi. It is now working properly.
|
09-13-2013, 05:34 AM | #60 |
Member
Posts: 20
Karma: 10
Join Date: Sep 2013
Device: KOBO Glo
|
How can I make a colored background behind the text?
I have a Question about Jutoh Plus:
How can I make a colored background behind the text? Like this: Thank you for your Answer! |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Atlantis Word Processor - ePub creation tool | awp | ePub | 408 | 01-07-2021 07:13 AM |
Apple Lists Calibre as Creation Tool | Fabe | Calibre | 9 | 07-05-2011 11:26 AM |
mobi creation tool for Windows 7? | bfollowell | Kindle Formats | 7 | 09-18-2010 01:48 AM |
Free MS Reader eBook Creation Tool | Bob Russell | Reading and Management | 0 | 07-14-2005 03:50 PM |