![]() |
#1 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 718
Karma: 1085610
Join Date: Mar 2009
Location: Bristol, England
Device: PRS-T1, 1825PT, Galaxy Tab, One X, TF700T, Aura HD, Nexus 7
|
Emphasis or Italic for Language
I've got lots of books that have characters speaking words from another language.
Frequently these words are displayed in italised text (which I believe is correct). What I'm wondering is: should they be marked in italic or emphasis tags in the markup? |
![]() |
![]() |
![]() |
#2 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,543
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Ideally, you'd use none, but something like this:
Code:
<p>He said <span xml:lang="fr">au revoir</span>.</p> Code:
span:lang(fr) { font-style: italic; } |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 718
Karma: 1085610
Join Date: Mar 2009
Location: Bristol, England
Device: PRS-T1, 1825PT, Galaxy Tab, One X, TF700T, Aura HD, Nexus 7
|
That's fine for an actual language, but what happens if it is a fictional language used in the book. I don't see this technique working for it.
Example: Tolkien's Middle-Earth books ("Lord of the Rings", "The Hobbit", "The Silmarillion", etc) uses several fictional languages. What would be the best way of displaying them? If I use no tags, then how do I convey to the reader that the language has changed? |
![]() |
![]() |
![]() |
#4 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,187
Karma: 25133758
Join Date: Nov 2008
Location: SF Bay Area, California, USA
Device: Pocketbook Touch HD3 (Past: Kobo Mini, PEZ, PRS-505, Clié)
|
Same method; you just use the name of the fictional language. Lang="quenya" or lang="klingon" or whatever. Or xml:lang="other", and set "other" to show as italic. Read-aloud software won't be able to give it any special treatment, but it'll know it's a language, and it'll show up as italic on the screen.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
HTML/CSS for (German) s p a c e d o u t emphasis | frabjous | Workshop | 21 | 05-16-2011 04:52 PM |
Lit -> Mobi Linebreak after italic | asilentstranger | Calibre | 4 | 01-04-2011 01:31 AM |
Calibre loses all forms of Emphasis | spa | Calibre | 8 | 11-01-2010 06:06 AM |
Italic fonts dropping in epubs. | Lester. | ePub | 9 | 08-31-2010 02:59 PM |
Emphasis Line and Emphasis Dot | mcortez | Sony Reader | 6 | 01-19-2008 07:19 PM |