Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > Workshop

Notices

Reply
 
Thread Tools Search this Thread
Old 02-22-2017, 09:41 PM   #61
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
Quote:
Originally Posted by BetterRed View Post
That's too easy - I want Chaucer's Canterbury Tales, in the original ME dialects
... as played by 1960s Parisians.

Quote:
Originally Posted by chaot View Post
Plus - there is oblique. Depending the font it can look different to italic.
Yep, that can be changed in CSS using "font-style: oblique;":

https://www.w3schools.com/cssref/pr_font_font-style.asp

Italics are typically cursive+slanted while Oblique is typically Roman+slanted. There aren't as many Oblique fonts though, and some programs might create "fake obliques" by distorting the Roman font.

Quote:
Originally Posted by JSWolf View Post
Someone please show me a real world example where <i> & <em> and <b> & <strong> are different. I've seen lots of eBooks that use <em> & <strong> and they are used just the same as you would use <i> & <b>.

[... 2 seconds later ...]

But you do know that you can swap how <i> & <em> work via CSS. So technically there is no difference.
Are you blocking Javascript just like me? Were the counter-examples hidden behind a Javascript button? I knew I should have supported that few % that don't use it by default!

Here is a condensed list of the "real world examples" you requested:

1. Emphasized words (<em>) within Italics (<i>).
2. Book Citations (<i>)
3. Book Title (<i>) + a quotation with emphasis (<em>)
4. Math (bold/italic variables)
5. BetterRed: Foreign word/restaurant (<i>) + emphasized words (<em>)
6. Semi-Related Issue: Syntax Highlighting

Let me toss in a #7, w3 themselves:

7. https://www.w3.org/TR/html5/text-lev...the-em-element

Quote:
The em element represents stress emphasis of its contents.

The level of stress that a particular piece of content has is given by its number of ancestor em elements.

The placement of stress emphasis changes the meaning of the sentence. The element thus forms an integral part of the content. The precise way in which stress is used in this way depends on the language.

Quote:

These examples show how changing the stress emphasis changes the meaning. First, a general statement of fact, with no stress:

<p>Cats are cute animals.</p>

By emphasizing the first word, the statement implies that the kind of animal under discussion is in question (maybe someone is asserting that dogs are cute):

<p><em>Cats</em> are cute animals.</p>

Moving the stress to the verb, one highlights that the truth of the entire sentence is in question (maybe someone is saying cats are not cute):

<p>Cats <em>are</em> cute animals.</p>

By moving it to the adjective, the exact nature of the cats is reasserted (maybe someone suggested cats were mean animals):

<p>Cats are <em>cute</em> animals.</p>

Similarly, if someone asserted that cats were vegetables, someone correcting this might emphasize the last word:

<p>Cats are cute <em>animals</em>.</p>

By emphasizing the entire sentence, it becomes clear that the speaker is fighting hard to get the point across. This kind of stress emphasis also typically affects the punctuation, hence the exclamation mark here.

<p><em>Cats are cute animals!</em></p>

Anger mixed with emphasizing the cuteness could lead to markup such as:

<p><em>Cats are <em>cute</em> animals!</em></p>
The em element isn't a generic "italics" element. Sometimes, text is intended to stand out from the rest of the paragraph, as if it was in a different mood or voice. For this, the i element is more appropriate.
You don't show examples? JSWolf wins.
You show examples? JSWolf "wins".
HTML Standards themselves? JSWolf wins!
Tex2002ans is offline   Reply With Quote
Old 02-23-2017, 12:52 PM   #62
chaot
Head of lunatic asylum
chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.
 
chaot's Avatar
 
Posts: 349
Karma: 77620
Join Date: Jun 2012
Location: UTC +1
Device: Tolino Vision 3HD
Time for a joke!

a) It's getting worse, sigh!
Who is to read, learn and then take into account all this?

b) Losers are out.
chaot is offline   Reply With Quote
Advert
Old 03-06-2017, 09:44 AM   #63
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
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:
Originally Posted by Tex2002ans View Post
Here is a condensed list of the "real world examples" you requested:

1. Emphasized words (<em>) within Italics (<i>).
2. Book Citations (<i>)
3. Book Title (<i>) + a quotation with emphasis (<em>)
4. Math (bold/italic variables)
5. BetterRed: Foreign word/restaurant (<i>) + emphasized words (<em>)
6. Semi-Related Issue: Syntax Highlighting

Let me toss in a #7, w3 themselves:

7. https://www.w3.org/TR/html5/text-lev...the-em-element
With an eInk Reader, how would the following words in <em> look?

<i>This is a test of the <em>emergency broadcast system</em>.</i>

I tried this using Calibre's viewer and all I got was a line of italic text. <em> showed nothing. So without using CSS to redefine <em>, what do you get? If you have to redefine <em>, why not use <span> with a class?

Last edited by JSWolf; 03-06-2017 at 09:47 AM.
JSWolf is offline   Reply With Quote
Old 03-06-2017, 10:58 AM   #64
chaot
Head of lunatic asylum
chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.
 
chaot's Avatar
 
Posts: 349
Karma: 77620
Join Date: Jun 2012
Location: UTC +1
Device: Tolino Vision 3HD
Quote:
Originally Posted by JSWolf View Post
With an eInk Reader, how would the following words in <em> look?
Why you ask? You got plenty ereaders!

Click image for larger version

Name:	Test em.png
Views:	226
Size:	97.9 KB
ID:	155492
Test <em> vs <i> calibre File Preview

100% exactly like that they look in my ereader!
<em> can only show the same as <i>. Specify your question, please!

Code
Spoiler:
Code:
<body>

  <i>This is a test of the <em>emergency broadcast system</em>.</i>

  <p class="blanc">*</p>

  <p><i>This is a test of the</i> emergency broadcast system.</p>

  <p><i>This is a test of the</i> <em>emergency broadcast system.</em></p>

  <p><em>This is a test of the emergency broadcast system.</em></p>

  <p class="blanc">*</p>

<p><em>This is a test of the <em>emergency broadcast system.</em></em></p> <p><em>This is a test of the <em><em>emergency broadcast system.</em></em></em></p> </body>


The last two codes are a little bit off-topic. Just for showing something!
Quote:
Das HTML Element Emphasis <em> marks text that has stress emphasis. The <em> element can be nested, with each level of nesting indicating a greater degree of emphasis. Source
Indicating doesn't mean showing!

Last edited by chaot; 03-06-2017 at 11:18 AM.
chaot is offline   Reply With Quote
Old 03-06-2017, 11:23 AM   #65
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,095
Karma: 18727053
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
Quote:
Originally Posted by JSWolf View Post
With an eInk Reader, how would the following words in <em> look?

<i>This is a test of the <em>emergency broadcast system</em>.</i>

I tried this using Calibre's viewer and all I got was a line of italic text. <em> showed nothing. So without using CSS to redefine <em>, what do you get? If you have to redefine <em>, why not use <span> with a class?
ummm... I got this one:

1) you're not "redefining" <em> you are "styling" how you want the word emphasized with CSS...which is what you are supposed to do. The default style for <em> is italicized, that does not make it the ONLY way to emphasize some text.

2) <i> is specifically a font style (font-style:italic) - it changes the display but it semantically does nothing

3) <em> is shorter than <span class="yadayada"> and designed specifically for emphasizing words. So it is semantically more correct.

4) I'm willing to change my outlook (and coding) based on new standards rather than continually argue about how it used to be done. I'm willing to look at different ways of doing things instead of insist everyone use my way...

5) I do not code for e-ink devices exclusively. I code for how I want the product to look with today's technology and standards. If a publisher cares about backwards compatibility then they can add the appropriate CSS to handle the different media types...which is much easier to do if you have the proper semantic markup. It is silly to intentionally limit all of your reader's experiences to e-ink capabilities. E-ink readers are not the only devices out there...as a matter of fact their use has dropped considerably. "One of the main problems is that e-reader devices have failed to develop in any major technical form since their introduction in 2008." (stats found in the article "The E-Reader Device is Dying a Rapid Death") note: The article is referencing e-ink devices when they say "e-reader" - another section talks about ebook sales skyrocketing and attributing that to the prevalence of smart phones and tablets.

Cheers,
Turtle91 is offline   Reply With Quote
Advert
Old 03-06-2017, 01:39 PM   #66
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
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
I have never seen <em> used as anything other than an alternate for <i>. What I have seen is when text inside italics are wanted to be different be it not italic, you get another set of <i>. You don't get <em> to show non-italic. This not sayng that <em> cannot be used, it's that it's not used.
JSWolf is offline   Reply With Quote
Old 03-06-2017, 04:46 PM   #67
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
Quote:
Originally Posted by Turtle91 View Post
3) <em> is shorter than <span class="yadayada"> and designed specifically for emphasizing words. So it is semantically more correct.


Quote:
Originally Posted by JSWolf View Post
What I have seen is when text inside italics are wanted to be different be it not italic, you get another set of <i>. You don't get <em> to show non-italic.
In all the Typography + Style Guides + books I have digitized, italics/emphasis inside of italics flips between Italic/Roman. So if the entire book's <h3>s were italic:

Code:
<h3>Shakespeare's <i>Romeo & Juliet</i></h3>

CSS:

h3 {
	font-style: italic;
}

h3 i {
	font-style: normal;
}
I have seen 2 layers deep quite often, but I admit I haven't seen one ever go 3+ layers deep.

I assume the rule would be very similar to multiple sets of quotes inside of quotes (or brackets inside of parentheses)... the deeper you go, you flip between Outer/Inner/Outer/Inner.

I tried to come up with an example of 3 deep italics... and it just looked absolutely wrong having layer 1 match layer 3. So I made up something I believe works:

1st layer (Italic) = Italic
2nd layer (Emphasis) = Roman
3rd layer (Emphasis) = Bold

1st layer = Roman
2nd layer (Emphasis) = Italic
3rd layer (Emphasis) = Bold/Italic

Results in this:

Click image for larger version

Name:	SammyJackQuote.png
Views:	228
Size:	8.9 KB
ID:	155498

Spoiler:

Quote:
<p>Samuel Jackson stepped into the aisle while drawing his gun. <i>Is that some <em>mother <em>f-ing</em> snakes</em> on this <em>mother <em>f-ing</em></em> plane?</i></p>

<p>“Enough is enough! I have had it with these <em>mother <em>f-ing</em> snakes</em> on this <em>mother <em>f-ing</em></em> plane!”</p>
with this CSS:

Code:
i em {
	font-style: normal;
}

i em em, em em {
	font-weight: bold;
}
My Inspiration (Warning, foul language): https://www.youtube.com/watch?v=ubLRB7tb78Q


Quote:
Originally Posted by JSWolf View Post
I have never seen <em> used as anything other than an alternate for <i>. [...] This not sayng that <em> cannot be used, it's that it's not used.
This is absolutely absurd. I can't seriously believe you typed this out with a straight face. Many real-life examples were laid out in the previous posts of use-cases with mixed <i> and <em>.

Now, if you want to get into Typography... there are a few alternate methods of displaying emphasis that AREN'T italics (letterspacing and/or smallcaps):

https://en.wikipedia.org/wiki/Emphas...Letter_spacing

Those aren't used as often in English books today, but those methods were prominent in older books. Just because <em> defaults to italics TODAY doesn't mean it always has to.

Also, different languages may also have different rules. Just because <em> = italics in English doesn't mean all languages do.

Side Note #1: Anyway, I was reading more into the Text-to-Speech angle. JAWS is one of the leading Screen Readers:

http://www.freedomscientific.com/JAW...Headquarters01

I was taking a much closer look at their documentation:

http://www.freedomscientific.com/Tra...ds_Schemes.htm

and they mentioned a few relevant methods in Text-to-Speech that I hadn't previously thought of:
  • Assigning Sounds to HTML Elements
    • For example, assigning a certain ding sound which plays before you hit a specific tag (like <em>).
  • Create a Scheme to Speak Bold Text Using the Bold Voice Alias
    • "You can use voice aliases to have JAWS announce certain items, attributes, or states in a different voice. In this section, you will assign a voice alias to bold text."

Also, on a semi-related note, it seems like JAWS (and other Screen Readers) already have support for Multi-Language markup with HTML lang. Here is a sample video showing the test page being read:

https://www.youtube.com/watch?v=45R0pb8YwFE

The ereader TTSes definitely have some catching up to do. :P

Side Note #2: It also seems like JAWS also has support for a lot more languages (and variants of voices) than I initially thought. They call them Synthesizers:

http://www.freedomscientific.com/Downloads/synthesizers

English (US) has 5 females + 2 males.
English (UK) has 2 females and 3 males.
English (AU) has 1 female + 1 male.
English (South African) has 1.
English (Scottish) has 1.
English (Irish) has 1.
English (Indian) has 3.

Now BR could have his Canterbury Tales read by 20 different English voices! No Middle English yet though.

Last edited by Tex2002ans; 03-06-2017 at 05:01 PM.
Tex2002ans is offline   Reply With Quote
Old 03-06-2017, 05:07 PM   #68
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,572
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
For my own reading purposes I style <em> as dark red, I find it difficult to discern italicised text when its just a few words in the middle of a sentence. I don't read on E-ink devices.

But that's the easy part, finding the right <i>s and changing them to <em>s is the hard part. Sometimes I bother, often I don't. I find it easier to find them in a word processor than in an ePub editor - then all I have to do is bend the word processor's Emphasis style into an epub <em> style during conversion.

BR
BetterRed is offline   Reply With Quote
Old 03-06-2017, 06:22 PM   #69
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
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:
Originally Posted by BetterRed View Post
For my own reading purposes I style <em> as dark red, I find it difficult to discern italicised text when its just a few words in the middle of a sentence. I don't read on E-ink devices.

But that's the easy part, finding the right <i>s and changing them to <em>s is the hard part. Sometimes I bother, often I don't. I find it easier to find them in a word processor than in an ePub editor - then all I have to do is bend the word processor's Emphasis style into an epub <em> style during conversion.

BR
Why bother to change <i> (or whatever is used) to <em> when you can just edit the CSS and get your red effect?
JSWolf is offline   Reply With Quote
Old 03-06-2017, 08:36 PM   #70
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,572
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by JSWolf View Post
Why bother to change <i> (or whatever is used) to <em> when you can just edit the CSS and get your red effect?
Because I don't want all <i> tagged text to be red, only the text where the author has used italics for emphasising a word or phrase, but not where italics are used to conform to a convention mandated by the style guide he/she is using - Publisher, Strunk and White, CMS, APA, MLA etc.

BR
BetterRed is offline   Reply With Quote
Old 03-06-2017, 09:02 PM   #71
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,095
Karma: 18727053
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
Quote:
Originally Posted by JSWolf View Post
Why bother to change <i> (or whatever is used) to <em> when you can just edit the CSS and get your red effect?
Italics doesn't always mean emphasis, and emphasis doesn't always mean italics.
Turtle91 is offline   Reply With Quote
Old 03-06-2017, 10:33 PM   #72
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,572
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by Turtle91 View Post
Italics doesn't always mean emphasis, and emphasis doesn't always mean italics.
we're

BR
BetterRed is offline   Reply With Quote
Old 03-07-2017, 05:43 AM   #73
GrannyGrump
Obsessively Dedicated...
GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.
 
GrannyGrump's Avatar
 
Posts: 3,200
Karma: 34977896
Join Date: May 2011
Location: JAPAN (US expatriate)
Device: Sony PRS-T2, ADE on PC
BetterRed said:
Quote:
Because I don't want all <i> tagged text to be red, only the text where the author has used italics for emphasising a word or phrase
EXACTLY!

I want EMphasis when someone is shouting. or laughing. or sarcastic, or whatever. I might decide to style the EMphasis as BOLD.

I want *I*talics for book titles, ship names, foreign-language fragments, *TYPOGRAPHICAL "emphasis"* such as a chapter title. These should remain as italic, because that is the accepted convention (not only in style guides, but to meet people's expectations)

Why does this seem like such a difficult concept?
GrannyGrump is offline   Reply With Quote
Old 03-07-2017, 05:54 AM   #74
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
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:
Originally Posted by GrannyGrump View Post
BetterRed said:


EXACTLY!

I want EMphasis when someone is shouting. or laughing. or sarcastic, or whatever. I might decide to style the EMphasis as BOLD.

I want *I*talics for book titles, ship names, foreign-language fragments, *TYPOGRAPHICAL "emphasis"* such as a chapter title. These should remain as italic, because that is the accepted convention (not only in style guides, but to meet people's expectations)

Why does this seem like such a difficult concept?
So if you want <em> to be bold, why not use <b>?
JSWolf is offline   Reply With Quote
Old 03-07-2017, 06:12 AM   #75
GrannyGrump
Obsessively Dedicated...
GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.
 
GrannyGrump's Avatar
 
Posts: 3,200
Karma: 34977896
Join Date: May 2011
Location: JAPAN (US expatriate)
Device: Sony PRS-T2, ADE on PC
Ok, let me amend my post with some nit-noid examples.

Let's just pretend my Body Text is set to Sans-Serif. Let's further postulate, that the body font displays in BLACK.

Simultaneously, I want to use BOLD for typographical bolding, using the *sans-serif* Body Font, for Chapter Titles and subheadings. And ONLY for that text, no other. Because this is TYPOGRAPHICAL markup -- NOT semantic.

At the very same time, I want italics for book titles, ship names, foreign languages, and footnotes. And ONLY for that text, no other. Because this is TYPOGRAPHICAL markup -- NOT semantic.

So now, let's say I want my EMphasis to appear in BOLD DARK RED *SERIF* FONT. (This is for those shouted laughing sarcastic remarks)

Meanwhile, I style my STRONG to appear in DARK BLUE MONOSPACE FONT. (This is for that important information, like historical dates and names, that you want to go look up in Wikipedia)

(By the way, this kind of thing is VERY useful for proof-reading)

One point of all this is that limiting to only <i> and <b> italics and bold is too -- well, limiting. And I don't see why the use of 'em' and 'strong' should be discouraged. It's a little like being offered a new car for free, and saying, well, my old coaster bike still gets me to the store, no thanks.

Last edited by GrannyGrump; 03-07-2017 at 06:48 AM.
GrannyGrump is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
xpath to insert chapter breaks - but chapter name cut off ? Rob557 Conversion 2 03-06-2014 06:59 AM
Troubleshooting Kindle K3 (keyboard) losing chapter head spacing. timecheck00 Amazon Kindle 5 11-30-2012 08:57 PM
Pocket eDGe and Full-size eDGe: Head to Head Comparison alefor enTourage Archive 28 12-01-2010 07:44 PM
Chapter Head Text Over Image theducks ePub 10 09-03-2010 03:32 PM
Video Head to Head of Kindle and Reader Kingston Which one should I buy? 30 01-24-2008 08:03 PM


All times are GMT -4. The time now is 10:38 AM.


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