View Single Post
Old 05-02-2015, 10:43 AM   #6
Bilingual
Member
Bilingual began at the beginning.
 
Posts: 12
Karma: 10
Join Date: May 2013
Device: none
Quote:
Originally Posted by Notjohn View Post
I would simply spell the word as color, having never met a Brit who wasn't aware of American spelling and usage, whereas even in the era of Harry Potter few Americans will tolerate British usage. (The Rowling books are translated for the US market.) I even sense that American usage in punctuation is infiltrating the British book world (double quotes, punctuation inside the close-quote).
Well, it's a bit more complicated than that. The color/colour example was just ment to be that: an example. What I really need is to have entirely different words pointed to the same place within a huge text.

Another project, I'm trying to get ahead with is a latin text. Her, I'd like to have some stress-markers in the text, but have them basically invisible for the purpose of text searching.

Example: the latin word sapie'ntior is marked here with an "apostrophe" after the vowel, that should be stressed, e.g. sapiENtior. Nevertheless, I'd like the word to be looked up searching for just sapientior.

I have been pondering over how to achieve this, and my best guess so far has been a span of a sort styled as "stressed" which may trigger a font substitution, where the vowels would have said stress-apostrophes as a part of the vowel itself:

Code:
sapi<span style="stressed">e</span>ntior
should then be searcheable as sapientior, but be shown in the text as sapie'ntior.

Anyone know how to put alternative fonts within an EPUB? Would probably have to replace the reader's default font as well, so the alternative font would not look too far apart.
Bilingual is offline   Reply With Quote