Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 10-18-2012, 11:50 AM   #31
ElMiko
Addict
ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.
 
ElMiko's Avatar
 
Posts: 320
Karma: 56788
Join Date: Jun 2011
Device: Kindle
Quote:
Originally Posted by cybmole View Post
ADE / sony ignore empty lines i.e. those with just <br />
well that's pretty spectacularly annoying.... thanks for that. Anyone have an answer on why &nbsp; DID work?
ElMiko is offline   Reply With Quote
Old 10-18-2012, 12:07 PM   #32
susan_cassidy
Wizard
susan_cassidy ought to be getting tired of karma fortunes by now.susan_cassidy ought to be getting tired of karma fortunes by now.susan_cassidy ought to be getting tired of karma fortunes by now.susan_cassidy ought to be getting tired of karma fortunes by now.susan_cassidy ought to be getting tired of karma fortunes by now.susan_cassidy ought to be getting tired of karma fortunes by now.susan_cassidy ought to be getting tired of karma fortunes by now.susan_cassidy ought to be getting tired of karma fortunes by now.susan_cassidy ought to be getting tired of karma fortunes by now.susan_cassidy ought to be getting tired of karma fortunes by now.susan_cassidy ought to be getting tired of karma fortunes by now.
 
Posts: 2,251
Karma: 3720310
Join Date: Jan 2009
Location: USA
Device: Kindle, iPad (not used much for reading)
Because &nbsp; is not an empty line? It contains a non-breaking space.
susan_cassidy is offline   Reply With Quote
Advert
Old 10-18-2012, 12:47 PM   #33
ElMiko
Addict
ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.
 
ElMiko's Avatar
 
Posts: 320
Karma: 56788
Join Date: Jun 2011
Device: Kindle
Quote:
Originally Posted by susan_cassidy View Post
Because &nbsp; is not an empty line? It contains a non-breaking space.
yes, I understand that. I'm not talking anymore about why &nbsp; 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?
ElMiko is offline   Reply With Quote
Old 10-18-2012, 12:48 PM   #34
mmat1
Berti
mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.
 
mmat1's Avatar
 
Posts: 1,196
Karma: 4985964
Join Date: Jan 2012
Location: Zischebattem
Device: Acer Lumiread
Quote:
Originally Posted by ElMiko View Post
The instructions say it need "div clear both". without it, it creates a drop cap effect around the left and right margins of the first paragraph.

.....

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..

Quote:
Originally Posted by ElMiko View Post
(not sure what the smiley-face graphics mean....)
Rockstar (drummer)
mmat1 is offline   Reply With Quote
Old 10-18-2012, 02:21 PM   #35
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
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.
cybmole is offline   Reply With Quote
Advert
Old 10-18-2012, 02:57 PM   #36
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
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
theducks is offline   Reply With Quote
Old 10-18-2012, 03:50 PM   #37
ElMiko
Addict
ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.
 
ElMiko's Avatar
 
Posts: 320
Karma: 56788
Join Date: Jun 2011
Device: Kindle
Quote:
Originally Posted by theducks View Post
Most Readers (devices)?
The Kindle , I-whatever

I don't think ADE is the big Kahua any more
Yeah, this is why it took me so long to realize anything was amiss; everything's been looking peachy keen on my Kindle! Between the small caps issue, this empty line rendering issue, and their product pricing schemes, I've come to the categorical conclusion that the folks at adobe are fascists, whose sole joy in in life is causing me aggravation.

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.
ElMiko is offline   Reply With Quote
Old 10-18-2012, 05:21 PM   #38
Man Eating Duck
Addict
Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.
 
Posts: 254
Karma: 69786
Join Date: May 2006
Location: Oslo, Norway
Device: Kobo Aura, Sony PRS-650
Quote:
Originally Posted by ElMiko View Post
[...] in ADE (which, as I've been told, is the same result rendered on Sony readers).
@ElMiko: This used to be more or less the case, but with ADE 2.0 you can get different results. I had a negative the other day; turns out that ADE 2.0 tries to display ligatures whether the font contains them or not, and Indesign will subset out ligatures whether they are specified in the style or not. Stylistic ligatures like ff, fi,ffi and so on just get stripped out in ADE 2.0, while they display fine on the non-ligature-aware Sony readers.

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...
Man Eating Duck is offline   Reply With Quote
Old 10-18-2012, 07:53 PM   #39
ElMiko
Addict
ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.
 
ElMiko's Avatar
 
Posts: 320
Karma: 56788
Join Date: Jun 2011
Device: Kindle
Quote:
Originally Posted by Man Eating Duck View Post
@ElMiko: This used to be more or less the case, but with ADE 2.0 you can get different results. I had a negative the other day; turns out that ADE 2.0 tries to display ligatures whether the font contains them or not, and Indesign will subset out ligatures whether they are specified in the style or not. Stylistic ligatures like ff, fi,ffi and so on just get stripped out in ADE 2.0, while they display fine on the non-ligature-aware Sony readers.

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...
AH HA! an educational opportunity for me! I've been meaning to ask but never had the right opening, and you've haplessly walked into my trap, so you're obliged to give me an answer!! Here it is: What the heck are ligatures??
ElMiko is offline   Reply With Quote
Old 10-18-2012, 08:22 PM   #40
Man Eating Duck
Addict
Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.
 
Posts: 254
Karma: 69786
Join Date: May 2006
Location: Oslo, Norway
Device: Kobo Aura, Sony PRS-650
Quote:
Originally Posted by ElMiko View Post
... so you're obliged to give me an answer!! Here it is: What the heck are ligatures??
OK. The most common meaning is that of a stylistic ligature. This is a font effect where some character combinations like "fi", "ffi" and so on are replaced with a single glyph that's more 'æsthetically pleasing' (personally I'm not a fan). This of course requires that your font actually contains that glyph. Some examples can be seen here:



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.
Man Eating Duck is offline   Reply With Quote
Old 10-18-2012, 09:22 PM   #41
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
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:
Originally Posted by Man Eating Duck View Post
OK. The most common meaning is that of a stylistic ligature. This is a font effect where some character combinations like "fi", "ffi" and so on are replaced with a single glyph that's more 'æsthetically pleasing' (personally I'm not a fan). This of course requires that your font actually contains that glyph. Some examples can be seen here:



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.
You must be really old
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 ?)
theducks is offline   Reply With Quote
Old 10-18-2012, 11:06 PM   #42
ElMiko
Addict
ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.
 
ElMiko's Avatar
 
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?
ElMiko is offline   Reply With Quote
Old 10-19-2012, 04:27 AM   #43
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,515
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by mmat1 View Post
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..
It may be useful to try this test to check whether empty elements are rendered by a particular reader. For the record, the Orizon (using Adobe) renders empty elements.

Quote:
Originally Posted by Man Eating Duck View Post
I had a negative the other day; turns out that ADE 2.0 tries to display ligatures whether the font contains them or not, and Indesign will subset out ligatures whether they are specified in the style or not. Stylistic ligatures like ff, fi,ffi and so on just get stripped out in ADE 2.0, while they display fine on the non-ligature-aware Sony readers.
I don't understand this... do you mean you are entering the "ff" ligatures explictly (using the Unicode code points for them)? That's strongly not recommended, you should write "ff" as two separate letters, and let the renderer/font use the ligature if possible and available.

Quote:
Originally Posted by ElMiko View Post
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"?
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).
Jellby is offline   Reply With Quote
Old 10-19-2012, 07:53 AM   #44
Man Eating Duck
Addict
Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.
 
Posts: 254
Karma: 69786
Join Date: May 2006
Location: Oslo, Norway
Device: Kobo Aura, Sony PRS-650
Quote:
Originally Posted by ElMiko View Post
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"?
@ElMiko:As Jellby said, only the typographic ligatures are likely to cause issues.

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.
Attached Thumbnails
Click image for larger version

Name:	ligatures_ade20.png
Views:	180
Size:	26.4 KB
ID:	94451   Click image for larger version

Name:	ligatures_ade20_working.png
Views:	182
Size:	28.0 KB
ID:	94452  

Last edited by Man Eating Duck; 10-19-2012 at 09:18 AM.
Man Eating Duck is offline   Reply With Quote
Old 10-19-2012, 12:56 PM   #45
ElMiko
Addict
ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.
 
ElMiko's Avatar
 
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.
ElMiko is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

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


All times are GMT -4. The time now is 07:33 PM.


MobileRead.com is a privately owned, operated and funded community.