06-20-2012, 06:39 AM | #16 | |
temp. out of service
Posts: 2,792
Karma: 24285242
Join Date: May 2010
Location: Duisburg (DE)
Device: PB 623
|
Quote:
as far as alignment is concerned, check epub subforum for css-snippet examples |
|
06-20-2012, 06:46 AM | #17 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
As I also said in your other thread, if ADE does not display the italic and text align, there is probably an issue in your stylesheet. ADE is very picky and the viewer in Sigil and Calibre very forgiving.
Please post your stylesheet. |
06-20-2012, 08:32 AM | #18 | |
Color me gone
Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
|
Quote:
One of the objections to Calibre, as wonderful as it is, is that in order to achieve cross platform compatibility, it does things in complicated ways. Instead of simply using bold or italic, it creates whole new styles and series of styles. Then it throws in a number of <div class="bs2">s, for example, in order to display ordinary text. These cascading styles can make it appear that things don't work, when in fact there is an active style which already covers the paragraph in question. This could be the cause of your troubles, as the rendering engines of calibre and Sigil are not the same as in the readers or Reader Library or Kindle for PC. One other possibility is that reader software may not make any attempt to guess if your code is defective, even to the wrong case being used. Sigil and Calibre's rendering engines I think make more of an attempt to guess, and may work, even though the code is wrong. |
|
06-20-2012, 09:54 AM | #19 |
eBook Enthusiast
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
|
06-20-2012, 10:14 AM | #20 |
temp. out of service
Posts: 2,792
Karma: 24285242
Join Date: May 2010
Location: Duisburg (DE)
Device: PB 623
|
|
06-21-2012, 03:24 PM | #21 | |
Well trained by Cats
Posts: 29,803
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
ADE is not forgiving and will ignore a style or the whole stylesheet if there is an error. The w3c CSS validation service http://jigsaw.w3.org/css-validator/#validate_by_upload is useful Look for a typo or a missing or wrongly used colon or semicolon BTW you need to imbed the Italic version of a font if you want to use that face and you need to embed the Bold_Italic if you want to use that face. (you could possibly need all 4 faces ) |
|
06-22-2012, 02:55 AM | #22 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
This issue is solved. He/she posted the stylesheet in the other thread and there was a quote too much.
|
06-23-2012, 12:39 PM | #23 | |
Zealot
Posts: 101
Karma: 202774
Join Date: Apr 2012
Device: none
|
Quote:
I´d love to, but this time around I will practice being flexible and not do that, just suggest something general like Garamond / serif. |
|
06-23-2012, 12:41 PM | #24 |
Zealot
Posts: 101
Karma: 202774
Join Date: Apr 2012
Device: none
|
|
06-23-2012, 03:13 PM | #25 |
Digital Amanuensis
Posts: 727
Karma: 1446357
Join Date: Dec 2011
Location: Turin, Italy
Device: Several eReaders and tablets
|
Insert it in the <language> tag of the <metadata> section of the OPF file. The correct code for Swedish is 'sv'.
|
06-23-2012, 05:23 PM | #26 | |
Resident Curmudgeon
Posts: 73,983
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
06-24-2012, 07:36 AM | #27 | |
Grand Sorcerer
Posts: 27,549
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
Garbage code is garbage code... and no format is immune or predisposed to it. They're all equally susceptible. |
|
06-24-2012, 08:51 AM | #28 | |
Digital Amanuensis
Posts: 727
Karma: 1446357
Join Date: Dec 2011
Location: Turin, Italy
Device: Several eReaders and tablets
|
I agree, except for:
Quote:
PS: I hope this off-topic-y, "calm-down-guys" post is appreciated for its nature, i.e., for being off-topic and hilarious PS 2: thanks to the "family friendly rules" of MR, I had to remove the name of the programming language (!) previously cited in the post... Last edited by AlPe; 06-24-2012 at 09:22 AM. Reason: Added PS and PS2 |
|
06-24-2012, 09:16 AM | #29 |
Grand Sorcerer
Posts: 27,549
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Well, other than not being an eBook format (which is what I meant by "no format")... it is quite humorous.
Not that anyone was excited enough to warrant a "calm-down-guys" post. Just par for the course. |
06-24-2012, 09:17 AM | #30 | |
Zealot
Posts: 101
Karma: 202774
Join Date: Apr 2012
Device: none
|
Quote:
No need for this? <body xml:lang="SV" xmlns:xml="http://www.w3.org/XML/1998/namespace"> I see I have it in some of my chapters. (Still in the process of un-messing it all.) |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
iPad Testing .epub Files from Calibre on iPad | Fabe | Apple Devices | 46 | 06-08-2012 04:37 AM |
Best epub device for testing | BKh | Which one should I buy? | 5 | 11-21-2011 12:19 PM |
Testing ePub publications with an Android emulator for OSX | Giordano Galli | Android Developer's Corner | 0 | 09-08-2011 02:49 PM |
Testing margins in ePUB. | Jellby | Workshop | 8 | 01-03-2010 11:57 AM |
Book Designer iLiad module is ready for testing | vvv | iRex | 16 | 09-21-2006 12:57 PM |