01-20-2010, 06:07 PM | #1 |
Connoisseur
Posts: 68
Karma: 526028
Join Date: Nov 2009
Location: New York, NY
Device: iphone
|
CSS Styling not showing up in digital editions
I have a few files that have been exported to epub using Indesign CS4. I finally got the font embedding working (hurray!). I then opened the file in digital editions and could see the formatting and embedded fonts. However, once I saved the file using Sigil (even if I did no editing on it at all, just opened and saved it), much of the formatting was lost, including the embedded fonts.
However, when I view the file in Firefox using either Bookworm or the Firefox epubreader extension, I can see my imported formatting and fonts. Has this happened to anyone else? |
01-20-2010, 07:07 PM | #2 | |
Created Sigil, FlightCrew
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
Quote:
This will be fixed in 0.2.0., and is one of the major reasons for the redesign. The original file or the one saved from Sigil? |
|
Advert | |
|
01-20-2010, 07:56 PM | #3 | |
Connoisseur
Posts: 68
Karma: 526028
Join Date: Nov 2009
Location: New York, NY
Device: iphone
|
Quote:
The ones saved from Sigil work swimmingly in these other readers. |
|
01-20-2010, 08:11 PM | #4 | |
Created Sigil, FlightCrew
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
Quote:
Create an issue on the tracker and attach both the original epub and the one Sigil created after saving. |
|
01-21-2010, 06:11 PM | #5 |
Connoisseur
Posts: 68
Karma: 526028
Join Date: Nov 2009
Location: New York, NY
Device: iphone
|
I've submitted the issue. Though now I think the problem is primarily embedded-font related. And since then I've read up on some of the issues having to do with embedded fonts. This may simply be part of that larger problem.
Otherwise, this issue made me realize just how persnickety ADE is about CSS errors. A single extra bracket seems to be able to cause ADE to ignore all CSS in a document, which is what I was experiencing. And since I'm doing a fair amount of CSS style-writing by hand, it seems likely that it wasn't perfectly clean to begin with. |
Advert | |
|
01-22-2010, 11:22 AM | #6 | |
Sigil Developer
Posts: 8,160
Karma: 5450818
Join Date: Nov 2009
Device: many
|
ADE css parsing aborts at first hint of trouble
Quote:
I just wanted to confirm what you are said above. I have tested my Sony PRS-600 (ADE) and found that the ADE software is in no way robust to even the smallest error in css. As you said, even an extra { or typo will cause the whole thing to abort and it basically then ignores the css. Does anyone know of a standalone css validator that can detect errors / typos in a css file? Thanks, KevinH |
|
01-22-2010, 01:30 PM | #8 |
Sigil Developer
Posts: 8,160
Karma: 5450818
Join Date: Nov 2009
Device: many
|
css validator
Hi Valloric,
Thanks! That is the ticket. I nosed around that site and found a standalone jar archive (css-validator.jar) so that I can do these things locally (when I do not have access to the web). Wonderful. Thank you. KevinH |
01-27-2010, 02:04 AM | #9 |
Boo-Frickety-Hoo-Erizer
Posts: 251
Karma: 686
Join Date: Oct 2007
Device: Kobo Glo HD!
|
Unfortunately(?), ADE is as close to a "standard" target as can be hoped for. Most of the viewers have issues, so one-size-fits-all output doesn't quite universally work yet.
Personally, I've pretty much abandoned Indesign for building epubs. The one thing (ok, maybe 2) that it can do "easily-er" than other workflows are a) embed fonts via a check box, and b) allow one to work in Word first. But: you'd still have to have all your styles declared in Word first. And, you'd have to re-impose word quickstyles on a per-file basis (which, when you change your mind about something, is so close to starting over that you just might as well). Indesign typography tricks don't transfer, and opening the epub in other softwares tends to break the epub (because of the font encryption), and re-hacking the output file afterwards almost always breaks something in ways that I don't enjoy. I'm finding a more satisfactory workflow to be like: Word->Dreamweaver->Calibre->Epub/Mobi/Lit/Whatever. I know, I know, it looks like more steps (as opposed to Word->Indesign->epub? yes, it is). And for sure, it doesn't give you the one-stop-shop approach of Indesign. If you're having to re-hack the file after indesign, you're already working harder than you need to. css tidy, is useful for fixing up css, if you need it. But even that won't help you change post-indesign css very well. -bjc |
01-30-2010, 11:46 AM | #10 |
Connoisseur
Posts: 68
Karma: 526028
Join Date: Nov 2009
Location: New York, NY
Device: iphone
|
thanks brewt. I guess it's just personal preference, I'm most comfortable using InDesign. And, as you point out, I'd have to spend a lot of time using styles in Word, where the Style features aren't as robust (or familiar to me). I'm really finding InDesign quite handy for setting up epubs. I like that I don't have to mess around with manifests, etc.
|
Tags |
css, epub, fonts, sigil |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
CSS not accepted by Adobe Digital Reader | Lily123 | ePub | 7 | 08-13-2010 02:31 PM |
Styling Elements in CSS - ADE and Sony | toskpro | Sony Reader | 0 | 07-19-2010 02:55 PM |
New verions of Adobe Digital Editions - Digital Editions 1.7.2 | kennyc | ePub | 0 | 02-12-2010 07:21 AM |
Waterstones showing some UK digital content | markiehill | Sony Reader | 23 | 09-04-2008 01:25 PM |
Top Publishers and Sony Support New Digital Publishing Experience (Digital Editions) | NatCh | Sony Reader | 50 | 06-22-2007 09:02 PM |