View Single Post
Old 11-10-2013, 04:33 AM   #139
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
Quote:
Originally Posted by Doitsu View Post
Yeah, you gave those same exact sites in that topic I linked to! I still have them open in my Firefox tabs from all those months ago!

Quote:
Originally Posted by Doitsu View Post
BTW, Sigil's RegEx engine supports searching for characters by Unicode script name; therefore it's relatively easy to search for all Greek characters and wrap them in <span> tags.

Find: ([\p{Greek}| ]{2,})
Replace: <span class="greek">\1</span>

Because of the very simple design of the RegEx, it'll also match spaces immediately before and after Greek text and double spaces, but it's still much faster than manually marking up Greek text.
Great, I will also have to toss this into my Sigil Regex list. I haven't run into a book with lots of greek characters in months (thank the FSM! Those were a complete pain to OCR)... but when I did, I was using the Sigil - Report - Characters in HTML Files to spot all the greek characters.
Tex2002ans is offline   Reply With Quote