Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 03-29-2016, 03:03 PM   #31
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 7,644
Karma: 5433388
Join Date: Nov 2009
Device: many
The semantic meaning in that case is coming from the user's choice of class name. I might choose to call it "foreignword" someone else might call it "latinterm" or someone else might call it "foreignterm". Not everyone will decide to use the exact same class name to indicate the same semantic meaning. That makes interpreting it by screen readers and TTS unreliable. If instead a controlled vocabulary is attached to an attribute specifically chosen to convey semantic meaning, then screen reading and TTS software would understand immediately what you mean by your italic tag regardless of what class name you chose.
KevinH
KevinH is offline   Reply With Quote
Old 03-29-2016, 03:05 PM   #32
bookman156
Addict
bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.
 
Posts: 368
Karma: 1000000
Join Date: Mar 2016
Device: none
But it would be a good idea to have a dedicated tag to indicate that a word was being italicised solely because it was a foreign word and not because it needed emphasising in any way.
bookman156 is offline   Reply With Quote
Advert
Old 03-29-2016, 03:06 PM   #33
bookman156
Addict
bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.
 
Posts: 368
Karma: 1000000
Join Date: Mar 2016
Device: none
Quote:
Originally Posted by KevinH View Post
The semantic meaning in that case is coming from the user's choice of class name. I might choose to call it "foreignword" someone else might call it "latinterm" or someone else might call it "foreignterm". Not everyone will decide to use the exact same class name to indicate the same semantic meaning. That makes interpreting it by screen readers and TTS unreliable.
KevinH
Yes, but it doesn't matter what you call it, because you are defining it in your own stylesheet. The universal agreement is ceded to CSS alone.

You can tell the screen-reader or TSS what to do with a particular class in the CSS.

Last edited by bookman156; 03-29-2016 at 03:08 PM.
bookman156 is offline   Reply With Quote
Old 03-29-2016, 03:08 PM   #34
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
Sometimes all you want to do is reproduce the appearance of a printed book, and not worry about what the intent of the author was in using bold or italic. I can see no harm in using <b> and <i> tags in such a situation.
HarryT is offline   Reply With Quote
Old 03-29-2016, 03:12 PM   #35
bookman156
Addict
bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.
 
Posts: 368
Karma: 1000000
Join Date: Mar 2016
Device: none
The author of a book published before ebook technology had no intent beyond italic and bold. But then they may not have had an intent that their work should appear in anything other than the print medium. I am finding this out for myself, but it was my fault for not quibbling over the parts of the contract dealing with media type.
bookman156 is offline   Reply With Quote
Advert
Old 03-29-2016, 03:16 PM   #36
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 7,644
Karma: 5433388
Join Date: Nov 2009
Device: many
That would be the role of the attribute, not the tag. Otherwise you need lots of tags just to handle semantic meaning. One defined set of possible values for attributes attached to generic tags would make the most sense (and is how they have decided to go in the future).

That way standardized software can read anyone xhtml page and know immediately what the author meant, what structure the document has, and why specific styles (that they may in fact be unable to see) are bing used.

The next release of Sigil will make it possible to easily add even more semantic information using the epub:type attributes (even in BV) so that more of the structure of the document can be recognized automatically and universally by everyone. Right now you choose a term in your own language when you add semantics but in reality there is a controlled vocabulary of terms used in the guide and in landmarks and actually in many other places in epub3. So more semantic attribute marking will be coming for epub3. The reason is to allow readers more information about both the structure of the document and the reason certain tags are being used.

KevinH
KevinH is offline   Reply With Quote
Old 03-29-2016, 03:27 PM   #37
bookman156
Addict
bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.
 
Posts: 368
Karma: 1000000
Join Date: Mar 2016
Device: none
Quote:
Originally Posted by KevinH View Post
That would be the role of the attribute, not the tag. Otherwise you need lots of tags just to handle semantic meaning.
We do have a lot of tags to handle semantic meaning, but not everyone uses them, preferring plain old <i>, because they're seeking only to reproduce the look of a printed book, which I suppose is fine, even if ignoring blind people whose ebook might be in Braille if there was the technology. I don't know how Braille does italic, do they slant the dots? But whether it is a tag or an attribute, the end meaning will be the same. Are attributes saving any work over a dedicated tag? One still has to think about semantic content and tag it appropriately.
bookman156 is offline   Reply With Quote
Old 03-29-2016, 03:52 PM   #38
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 7,644
Karma: 5433388
Join Date: Nov 2009
Device: many
The same attribute to add a specific semantic meaning can be used on multiple tags and always be interpreted correctly vs a large proliferation of variations of tags that no one knows the difference between. It is simple combinatorics.
Kevin
KevinH is offline   Reply With Quote
Old 03-29-2016, 04:18 PM   #39
bookman156
Addict
bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.
 
Posts: 368
Karma: 1000000
Join Date: Mar 2016
Device: none
I am becoming more Luddite the more I think about it. Perhaps the error was learning to read.
bookman156 is offline   Reply With Quote
Old 03-29-2016, 04:36 PM   #40
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,800
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
KISS
Don't introduce things that aren't needed
<b>, <i> say use the current font and paragraph attributes, Just those faces. That is it. no CSS or style needed

(I use bold to convey keywords when giving usage guidance here at MR and underline for strong warning Gotcha's

OTOH if you are trying to convey 'voice', then <em> or <strong> might be better

<em>, <strong> tend to inherit their qualities from the render engine designers and need additional style controls (if you care)
theducks is offline   Reply With Quote
Old 03-29-2016, 05:26 PM   #41
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,568
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by bookman156 View Post
I am becoming more Luddite the more I think about it. Perhaps the error was learning to read.


Quote:
Originally Posted by jackie_w View Post
...In fact, much as I like TTS, I'm a bit disappointed with the lack of any major leaps forward since I first started using it on a PC in 2006 and a smartphone in 2012.
@jackie_w - it hasn't changed much since I used DecTalk boxes on some sugar mill SCADA systems in the mid 1980's. I believe Steven Hawking still uses a DecTalk box.

BR
BetterRed is online now   Reply With Quote
Old 03-30-2016, 01:52 AM   #42
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
Quote:
Originally Posted by bookman156 View Post
Of course, people will inevitably fall back into the lazy use of the <em> tag, thinking of it as a better italic tag, and so using <em> to get italic for book titles when they should be using <cite>. No-one's perfect. But head-in-the-sandness never helps.
And that is not right either. A title is not the same as a citation, so the use of <cite> would also not be correct and not better than <i>. Here you will use the wrong semantics.
The current standard only knows a limited set of semantic tags. I do agree that it is better to split semantics/structure from layout. However, <i> and <b> can mean so much more than <em> or <strong>. So much, that actually the 'emphasis' or 'strong' would not be suitable at all. To fully replace that by semantics, you would need a whole lot more. So, you would need to resort to stylesheet classes to give the semantic value to the actual text.
Toxaris is offline   Reply With Quote
Old 03-30-2016, 03:02 AM   #43
bookman156
Addict
bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.
 
Posts: 368
Karma: 1000000
Join Date: Mar 2016
Device: none
Quote:
Originally Posted by Toxaris View Post
And that is not right either. A title is not the same as a citation, so the use of <cite> would also not be correct and not better than <i>.
I know a title isn't a citation, but nonetheless this is one of the things <cite> is used for, check the specification:

https://www.w3.org/TR/html5/text-lev...e-cite-element

Last edited by bookman156; 03-30-2016 at 03:13 AM.
bookman156 is offline   Reply With Quote
Old 03-30-2016, 06:37 AM   #44
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
Quote:
Originally Posted by bookman156 View Post
I know a title isn't a citation, but nonetheless this is one of the things <cite> is used for, check the specification:

https://www.w3.org/TR/html5/text-lev...e-cite-element
In that case the title is part of the citation/reference. It is not the title of the book/document itself.

To me it seems they are trying to make HTML more semantic, but they do it only partially and not consistent. Anyway, I don't want to be depending on a renderer to decide who things must look as this is not defined in the standard. If they would specify the standard rendering of a semantic tag, it could be easily used and overruled. It is almost impossible to prevent every possible layout that a renderer could apply to a tag as their standard.
Toxaris is offline   Reply With Quote
Old 03-30-2016, 12:01 PM   #45
st_albert
Guru
st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'
 
Posts: 696
Karma: 150000
Join Date: Feb 2010
Device: none
Quote:
Originally Posted by bookman156 View Post
Any idea why a big publisher might use spans for italic? I am trying not to think of them as incompetent, despite the fact that my proofreading errors sheet runs to 22 pages so far without even considering the coding.
Seems no one has answered this question, at least directly, so I'll give you my reasons.

In some cases, I create epubs via export from InDesign CS4, which implements character styles with spans. It loves spans so much it even wraps all paragraphs in a "generic span" that has a null definition in the stylesheet, just in case you want to define them later (I suppose). IIRC, later versions of ID will let the user define the HTML used to implement a given style.

In other cases, I create the epub from a (Word .doc, .rtf, etc.) -> LibreOffice .odt via a "Writer2latex" javascript tool. In this case I can define the CSS that corresponds to each LibreOffice paragraph or character style, and I do so in such a way as to make it consistent with the ID4 CSS, just to make my life easier.

In either case, the epubs so obtained require considerable tweaking in Sigil, and I like my saved clips and S/R's to be applicable to epubs from either source, to the extent possible.

If this constitutes incompetence, so be it

Albert
st_albert is offline   Reply With Quote
Reply

Tags
semantic, semantic markup


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using italic and bold instead of emphasis and strong hardbound ePub 12 05-24-2014 07:20 AM
iPad "Upgraded" to iBooks 3.2 – Bold fonts are extra-bold, italics are now bold-italic MHC Apple Devices 4 03-03-2014 01:50 PM
The bold and italic buttons on the bar Artha Sigil 15 12-04-2011 04:52 PM
italic, bold etc to normal cybmole Sigil 11 03-04-2011 10:37 AM
PRS-500 Tags for Bold, Italic, Center, Etc. in LRF? EatingPie Sony Reader Dev Corner 9 04-07-2007 01:06 AM


All times are GMT -4. The time now is 02:40 AM.


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