View Single Post
Old 05-02-2015, 10:56 AM   #7
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,550
Karma: 19500001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Embedding fonts is a standard technique, you can find plenty of information around. But note that the <span> may break both searching and hyphenation, depending on the engine.

You could abuse fonts in a similar way, but map, for instance, "é" to your "e + apostrophe", assuming you don't have other "é"s in your Latin words, and then use <span class="whatever">sapiéntor</span> (or simply use accents to mark the stress, as is already done in a number of languages). Then you'd need the reader to support diacritic-insensitive searches, maybe some do already.
Jellby is offline   Reply With Quote