10-18-2012, 11:50 AM | #31 |
Addict
Posts: 320
Karma: 56788
Join Date: Jun 2011
Device: Kindle
|
|
10-18-2012, 12:07 PM | #32 |
Wizard
Posts: 2,251
Karma: 3720310
Join Date: Jan 2009
Location: USA
Device: Kindle, iPad (not used much for reading)
|
Because is not an empty line? It contains a non-breaking space.
|
Advert | |
|
10-18-2012, 12:47 PM | #33 |
Addict
Posts: 320
Karma: 56788
Join Date: Jun 2011
Device: Kindle
|
yes, I understand that. I'm not talking anymore about why worked while <br> did not. I'm wondering why the "div clear both" didn't work. is it again, simply a matter of ADE completely ignoring lines that are empty, even if they're styled?
|
10-18-2012, 12:48 PM | #34 | |
Berti
Posts: 1,196
Karma: 4985964
Join Date: Jan 2012
Location: Zischebattem
Device: Acer Lumiread
|
Quote:
I've seen others found the solution. Empty element are ignored by most ereaders, i.e. <p></p> will not insert an empty line. This might be a difference to html-transisitional.. Rockstar (drummer) |
|
10-18-2012, 02:21 PM | #35 |
Wizard
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
IMHO it would be less annoying if sigil & calibre viewer behaved like ADE / various e-reader firmwares & ignored empty elements - as it ain't ever gonna happen the other way around.
sigil/calibre book views may be academically correct but I'd rather they mimicked the behavior of most e-readers or at least had a preference setting to do so. |
Advert | |
|
10-18-2012, 02:57 PM | #36 |
Well trained by Cats
Posts: 29,778
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Most Readers (devices)?
The Kindle , I-whatever I don't think ADE is the big Kahua any more |
10-18-2012, 03:50 PM | #37 | |
Addict
Posts: 320
Karma: 56788
Join Date: Jun 2011
Device: Kindle
|
Quote:
More seriously, I'm still not clear on why the original code was failing. why wasn't the bottom margin on the heading3 style working? Also, while the new code fixes the problem of the overlaping text, it's really not a precise solution, since it's adding 1 more line height to the bottom margin. It's easy enough to reduce the heading3 margin in the css stylesheet to compensate, but in principle the new div isn't doing what i wanted (which is simply to function as a clearing element for the preceding floats). EDIT: for the record, I really fundamentally disagree with the view that people should be coding in workarounds to to accommodate the rendering flaws of ADE. That's like saying that Webster's should add "peice" to the dictionary to accommodate all the people don't know the "i before e" rule. If epub is going to be html based, then it should accept standardized html code, not require users to unstandardized their coding. It's annoying that it took me so long to figure this out, but that's not Sigil's fault or Calibre's fault... it's ADE's fault. Just like being confused by the word "piece" when you've always spelled it "peice" isn't Webster's fault for not including an "alternate spelling", it's your fault for not knowing how to spell. Last edited by ElMiko; 10-18-2012 at 04:01 PM. |
|
10-18-2012, 05:21 PM | #38 | |
Addict
Posts: 254
Karma: 69786
Join Date: May 2006
Location: Oslo, Norway
Device: Kobo Aura, Sony PRS-650
|
Quote:
On a side note it's a wonder that Adobe is still afloat, what with the divisions working actively against each other, and that the feature designers obviously never actually use the software... |
|
10-18-2012, 07:53 PM | #39 | |
Addict
Posts: 320
Karma: 56788
Join Date: Jun 2011
Device: Kindle
|
Quote:
|
|
10-18-2012, 08:22 PM | #40 | |
Addict
Posts: 254
Karma: 69786
Join Date: May 2006
Location: Oslo, Norway
Device: Kobo Aura, Sony PRS-650
|
Quote:
Another meaning is linguistic 'letters' that are composed of two other letters, the Norwegian 'æ' was originally a ligature of 'a' and 'e'. It is now a distinct letter, however. Œdipus and Cæsar, for instance, can legitimately be spelled with ligatures if you are extremely pretentious. Did you see what I did above? When people speak of ligatures they are very likely referring to the typographic ones displayed in the image, and those relate to fonts and typography. I'm sure others can elaborate. Edit: I might add that typographic ligatures originated in the old-school days of typography before computers, when all letters where actually metal types where each character had a fixed width regardless of the neighbouring characters. This made some character combinations stand out, as they had too much space between them, and typographers rectified this by creating distinct types for these character combinations. Last edited by Man Eating Duck; 10-18-2012 at 08:38 PM. |
|
10-18-2012, 09:22 PM | #41 | |
Well trained by Cats
Posts: 29,778
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:
All the metal type I set in High School was variable (OK about 4 distinct) widths. Ligatures as shown above, tuck adjacent characters in under the previous. (saving space ?) |
|
10-18-2012, 11:06 PM | #42 |
Addict
Posts: 320
Karma: 56788
Join Date: Jun 2011
Device: Kindle
|
@ManEatingDuck—I feel edified. Thank you! Now that you explain it, the term "ligature" makes perfect sense, and feel a little silly for not having figured it out myself... but only a little. So from what you've seen, is ADE also stripping out letter ligatures or just stylistic ones. And when you say they are "stripped out" does that mean that "æsthetically" will render in ADE 2.0 as "aesthetically" or will it render as "sthetically"? I recently created a book that had a lot of Nordic names and dialogue, and consequently used the letter ligatures frequently. Am I going to need to go back and mess around with that?
|
10-19-2012, 04:27 AM | #43 | ||
frumious Bandersnatch
Posts: 7,515
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Quote:
Quote:
There shouldn't be any problem with those letters (originally ligatures, but now full-blown letters); æ, œ, ß, &... should be typed explicitly (what I said above referred to stylistic ligatures only). |
||
10-19-2012, 07:53 AM | #44 | |
Addict
Posts: 254
Karma: 69786
Join Date: May 2006
Location: Oslo, Norway
Device: Kobo Aura, Sony PRS-650
|
Quote:
Here are a couple of screenshots displaying the problem, my workaround is to replace the Indesign-embedded fonts with healthy ones and disable obfuscations, I've actually made a tiny cmd script to do that. The working version with a healthy font is on the right, you can also see that ligatures are rendered correctly in that one. Last edited by Man Eating Duck; 10-19-2012 at 09:18 AM. |
|
10-19-2012, 12:56 PM | #45 |
Addict
Posts: 320
Karma: 56788
Join Date: Jun 2011
Device: Kindle
|
@Jellby—wow... that is fantastically useful. Thanks.
And thanks to both you and MED for your clarifications on ligatures. |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
epub code snippets (html / css) | zelda_pinwheel | ePub | 196 | 10-09-2016 04:21 AM |
Importing css in html files | shotsky | Conversion | 6 | 07-14-2012 05:34 PM |
HTML/CSS for (German) s p a c e d o u t emphasis | frabjous | Workshop | 21 | 05-16-2011 04:52 PM |
Small html/css bug | twaits | Calibre | 5 | 01-12-2010 10:26 AM |
HTML and CSS for Dummies | weedfreak | Sigil | 17 | 01-07-2010 09:34 PM |