![]() |
#226 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 368
Karma: 1000000
Join Date: Mar 2016
Device: none
|
If the only remaining use for the <i> tag is the names of ships, then we may as well change our style for naming ships to roman.
|
![]() |
![]() |
![]() |
#227 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,522
Karma: 19000001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
You should use <span class="ship">, <span xml:lang="fr">, etc.
|
![]() |
![]() |
![]() |
#228 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 368
Karma: 1000000
Join Date: Mar 2016
Device: none
|
Quote:
|
|
![]() |
![]() |
![]() |
#229 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 368
Karma: 1000000
Join Date: Mar 2016
Device: none
|
Quote:
|
|
![]() |
![]() |
![]() |
#230 | ||
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,468
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
In that time period, a barrister had, presumably, trained in debate at the very least. In no universe would he mistakenly use "begs the question" to mean asks the question. It's unique to debating--and legal arguments (!!!)--and thus, essential to his core being. (I say his confidently, given the time period.) At this point (she said, exasperated), I guess I should be grateful that they're not saying "beggars the question." (BLERGH! Talk about mooshing and bastardizing...) Quote:
Hitch |
||
![]() |
![]() |
![]() |
#231 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,522
Karma: 19000001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
I don't recall right now if you can style xml:lang="fr" directly or you'd need a class (if you want it italic or whatever). As for the language tag itself, it helps (or could help, if properly implemented) in text-to-speech, hyphenation, dictionary lookups...
|
![]() |
![]() |
![]() |
#232 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 368
Karma: 1000000
Join Date: Mar 2016
Device: none
|
Quote:
|
|
![]() |
![]() |
![]() |
#233 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 368
Karma: 1000000
Join Date: Mar 2016
Device: none
|
Quote:
|
|
![]() |
![]() |
![]() |
#234 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 368
Karma: 1000000
Join Date: Mar 2016
Device: none
|
Quote:
|
|
![]() |
![]() |
![]() |
#235 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 368
Karma: 1000000
Join Date: Mar 2016
Device: none
|
Another favourite is the difference between 'the past ten years' and 'the last ten years'. This was pointed out to me by the managing editor of another newspaper when I got it wrong, who drew a timeline of ten years on a scrap of paper and then a doodle of a nuclear explosion. 'That's the last ten years,' she said.
|
![]() |
![]() |
![]() |
#236 | ||||
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,468
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
Quote:
Quote:
Quote:
Hitch |
||||
![]() |
![]() |
![]() |
#237 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
Current, real-life use-cases?
I've written about each of these things extensively. Most recently, see 2021: "Add xml:lang to ePub". There are always new tools/updates happening. Things have gotten MUCH better on each of these fronts, even within the past few years. (For example, because of my consistent nudging since 2016, Multi-Language Spellchecking is now a thing in both Sigil/Calibre.) If you marked your HTML languages properly, boom, you automatically benefit from each of these enhancements as they come along. ![]() Last edited by Tex2002ans; 07-20-2022 at 08:37 PM. |
|
![]() |
![]() |
![]() |
#238 | ||
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 368
Karma: 1000000
Join Date: Mar 2016
Device: none
|
Cheers Tex2002ans, that's really interesting. I particularly like the idea of getting a French dictionary for French words, that's pretty cool.
I've never actually thought about tagging foreign phrases in English text before. I do a lot of stuff with traditional Chinese, I may well build that in, it's interesting. This page just has: Quote:
Quote:
And just to confirm, you'd need to add a span class to get say French into italic? Or can you directly style the language declaration? Last edited by bookman156; 07-20-2022 at 07:33 PM. |
||
![]() |
![]() |
![]() |
#239 | ||||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
![]() Quote:
I described the reasons why in 2021: "Search and Replace" (Post #11).
Most programs recognize both types, but there may be tools out there that only support 1 of the 2. Quote:
Finding "foreign words" in alternate alphabets (like Greek/Chinese/Japanese) is much easier because you can use Spellcheck Lists + Reports—after you sort all words alphabetically, the Chinese words pop right out! See my amazing mini-tutorial in: and my topic where I described all the ins/outs: Finding all the French in an English book is pretty painstaking, because they both use the Latin alphabet... but tagging all Chinese? Easy peasy. (Or should I say "easier peasier"?) Quote:
Code:
<i class="french" lang="fr" xml:lang="fr"> Code:
i.french { font-color: red; } Code:
i:lang(fr) { font-color: red; } (For more info, see MDN article on ":lang()".) * * * Anyway, this thread should really stick to discussion on Italics/Emphasis. If you want more info on HTML lang, read all those previous linked topics (and then create a separate, new thread, so it'll be infinitely easier to find in the future). Last edited by Tex2002ans; 07-20-2022 at 08:44 PM. |
||||
![]() |
![]() |
![]() |
#240 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 368
Karma: 1000000
Join Date: Mar 2016
Device: none
|
Fantastic, that's useful.
By the way, if you set Chinese with English in books with InDesign here's a fantastic technique that's good to know about. It automatically finds the Chinese and puts it in your desired Chinese font using GREP (I prefer 'Noto Sans CJK TC' for traditional Chinese): https://www.scammell.co.uk/2012/04/2...dobe-indesign/ |
![]() |
![]() |
![]() |
Tags |
semantic markup |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Span Span Span Sigil cleaning up indesign | blackest | Sigil | 31 | 12-06-2017 10:16 AM |
Span Span Span Span | MULTIVAC | ePub | 7 | 12-06-2014 08:58 AM |
Nested Span? | Turtle91 | ePub | 4 | 05-20-2013 02:47 PM |
span in span: is this problematic? | tbuyus | ePub | 8 | 03-31-2013 08:01 AM |
Remove <br /> together with span, and only span | Razzia | Recipes | 3 | 05-30-2011 06:55 PM |