04-07-2023, 03:47 PM | #1 |
Wizard
Posts: 1,571
Karma: 11380098
Join Date: Aug 2010
Location: NE Oregon
Device: Kobo Sage, Pocketbook Era, Kobo Forma, Kindle Oasis 2
|
Semantic markup question!
*IF* you are doing semantic markup, how would you treat something like:
No! No! No! Would you mark up each exclamation: Code:
<em>No!</em> <em>No!</em> <em>No!</em> Code:
<em>No! No! No!</em> Don't even ask why my fevered brain comes up with these kinds of questions, it just always does somehow, and then I wonder about what other people do. And it bugs me that maybe I'm not doing it right. Blame my parents. They were the ones who weren't happy when I made a 100 grade on a test. It was always, "Why didn't you get the extra-credit question for 110?" At least I know why I'm crazy. |
04-07-2023, 03:51 PM | #2 | |
Resident Curmudgeon
Posts: 76,398
Karma: 136466962
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
Code:
<i>No! No! No!</i> |
|
Advert | |
|
04-07-2023, 04:03 PM | #3 | |
Bibliophagist
Posts: 40,506
Karma: 156983616
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
Jon, you did notice that the OP mentioned semantic markup? |
|
04-07-2023, 04:30 PM | #4 |
Resident Curmudgeon
Posts: 76,398
Karma: 136466962
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
And as we discussed over and over, <em> and <i> are exactly the same. Nobody reading that would know the difference. Semantic markup is just a meaningless term. You use the markup that fits the situation and when you want italics not in a class, you use <i>.
Besides, there's no way at all to use <em> in a class. You use italic and not emphasized italic. And multiple tags may be needed depending on if the ! is not to be italicized. Last edited by JSWolf; 04-07-2023 at 04:34 PM. |
04-07-2023, 04:41 PM | #5 |
Grand Sorcerer
Posts: 5,526
Karma: 100606001
Join Date: Apr 2011
Device: pb360
|
|
Advert | |
|
04-07-2023, 04:42 PM | #6 |
Resident Curmudgeon
Posts: 76,398
Karma: 136466962
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
04-07-2023, 05:35 PM | #7 |
the rook, bossing Never.
Posts: 12,349
Karma: 92073397
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
If you are the author, you can decide if Emphasised or Italic is correct, otherwise it's very hard to decide.
so “<em>No! No! No!</em>” or “<i>No! No! No!</i>” But really neither is needed with an exclamation mark. Some might use caps “NO! NO! NO!” he shouted. I've seen people use bold (or strong), but really I think that's poor style, because Bold is for headings. It looks out of place in dialogue. Obviously text books can use bold or italics to differentiate a word, and might justifiably use <em> or <strong>. However doing any styling, sematic or raw, in dialogue seems clumsy. Common enough in Georgian and Regency novels and gradually died out in the Victorian era. Italic style is more often not used for emphasis, with telepathy or mindspeech etc you might use: <i>No</i>! <i>No</i>! <i>No</i>! and always omit ther dialogue quotes because the italic alone indicates it's dialogue without speech. Italics used to be used for internal dialogue (the thoughts of a character) with quotes, but most style guides now prefer you indicate with an I/he/she thought pseudo tag. No quotes or italics. <em> should ONLY be used for emphasis. I've seen entire books by the House of Random Penguins where the author is dead and they simply use <em> and <strong> where the paper print had italics and bold, and that's simply delusional. Maybe sometimes you can tell the semantic intention from reading the paper text of a dead author, but mostly you can't. Use the semantic flavoured tags if you want and think it's justified. Mostly if it's spoken dialogue the enclosing quotes should be normal body style, i.e. outside the <em> or <i> or <strong> or <b>. Really authors should decide on semantics, not purely typesetters/formatters etc, because how can they know the author's intention? Last edited by Quoth; 04-07-2023 at 05:47 PM. |
04-07-2023, 05:50 PM | #8 | |
Resident Curmudgeon
Posts: 76,398
Karma: 136466962
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
Same difference with <strong> and <b>. |
|
04-07-2023, 06:07 PM | #9 | |
the rook, bossing Never.
Posts: 12,349
Karma: 92073397
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
Quote:
Actually on one book I was editing the author had used a massive amount of bold everywhere (I removed it all except in headings / chapter titles) and a lot of italics in dialogue, thoughts and narration. I removed all of the italics except where the dragon was "talking" with the man. I left the dragon's mind-speech as italic and removed the quotes. I also emailed back a style guide and the author accepted all of that. But sometimes there is value in <em> or <strong>, so I'd not argue that it's pointless. I think non-fiction is more likely to need <em> than fiction. |
|
04-07-2023, 06:13 PM | #10 | |
Bibliophagist
Posts: 40,506
Karma: 156983616
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
OTOH, if the book is being read aloud, using <em> or <i> can give different results. Even with a human reading a paper book while they would not see the <em> or <i>, they would change their voice. You may even have noted that when reading books to children when, to use the OP's example, you would speak those words with more emphasis and/or volume while <i>USS Henry M. Jackson</i> would not get emphasis or volume. Given that a decent majority of the authors whose books I work on now expect me to use accessibility as an important criteria, I use <em> and <i> for their different purposes. To quote from Mozilla developers forum, the <em> element represents stress emphasis of its contents, while the <i> element represents text that is set off from the normal prose. Ditto for <strong> vs <b>. And yes, a decently designed assistive reader will treat the <em> and <i> differently. Get over yourself, Jon. Some people are concerned with more than how the book looks on their pet brand of ereader. |
|
04-07-2023, 06:21 PM | #11 |
A Hairy Wizard
Posts: 3,221
Karma: 19000635
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
Jon, you constantly refuse to understand the point that “emphasis” does not always mean “italics”…that is just the default. Emphasis can be anything from color to font to underline to voice stress to normal font within an italicized phrase or whatever. “Italics” is just that, a visual slanting of the letters. There can be a big difference between the two. Just because you refuse to acknowledge, or use, the difference does not mean it isn’t there.
Please stop bringing up this argument every time someone mentions <em>. Thank you. |
04-07-2023, 06:28 PM | #12 |
Resident Curmudgeon
Posts: 76,398
Karma: 136466962
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
How is there value in <em> and <strong>? How can non-fiction need <eM and <strong> instead of <i> and <b>? How is anyone going to know the difference. If I used a mix of <i> and <em>, without seeing the code, how would you know the which was used where? How would you even know if <i> or <em> was used?
|
04-07-2023, 06:30 PM | #13 | |
Resident Curmudgeon
Posts: 76,398
Karma: 136466962
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
04-07-2023, 06:37 PM | #14 |
Grand Sorcerer
Posts: 5,526
Karma: 100606001
Join Date: Apr 2011
Device: pb360
|
|
04-07-2023, 07:24 PM | #15 | |
Wizard
Posts: 1,571
Karma: 11380098
Join Date: Aug 2010
Location: NE Oregon
Device: Kobo Sage, Pocketbook Era, Kobo Forma, Kindle Oasis 2
|
Quote:
I grant that we can't know the author's intentions as Quoth pointed out, but, if, as in my example, you see a "No! No! No!" you have to assume that it's meant to be emphasized in spoken speech thanks to the exclamation point alone. Are the italics needed there? With the exclamation point in place, not in my opinion, but if the author (or possibly publisher) put them there, I'm generally going to leave them be. Sometimes it is hard to tell if something is meant to be emphasized or not in spoken speech. Italics could be used to point out a foreign language word, but it's equally possible that the author wanted vocal emphasis on that same word as well. When in doubt, I read text aloud, to see how it sounds with and without emphasis. And then do the best I can. Which is what anyone doing the reading for an audiobook or translating a text into another language is also doing. Interpreting. The reader/translator doesn't know the author's exact intent either if the author is dead. Anyway, I mainly was just curious about the markup, I prefer wrapping a group like this in a single tag, so I'll continue to do that. |
|
Tags |
semantic markup |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Semantic discussion on the phrase "Title Case" | DiapDealer | Sigil | 24 | 11-22-2017 03:48 PM |
Typo in Set Semantic ? | Bertrand | Editor | 1 | 04-06-2016 11:24 AM |
DTBook markup? | frquixote | Calibre | 10 | 03-05-2014 07:17 PM |
Markup for TTS? | jcsalomon | ePub | 4 | 06-19-2013 12:47 PM |
Semantic formating for simple poetry: any comments on my code? | sourcejedi | ePub | 12 | 04-22-2011 07:28 AM |