Working with three bits of Hebrew text in a German book. Everything is working fine thanks to the great suggestions in this thread.
BUT: I'm running into problems with one passage which ends a paragraph of otherwise German text. It should be to the right of the German text, obviously, but my Kobo (and only my Kobo - ADE, Sigil Bookview and Calibre Preview all display it correctly) puts the Hebrew text to the left of the German text that should come before it, and even switches the punctuation directly outside the Hebrew span from ltr to rtl. Obviously, the easy, dirty fix would be putting the Hebrew into a new paragraph, but it isn't in a new paragraph in the original, so I would like to avoid that. And also - we wouldn't be here if we wanted easy, dirty fixes, would we?
So, respected Witches and Wizards, any suggestions?
Here's the code, lifted from Doitsu's great Arabic test epub:
Text:
Code:
<p>... Der Herr behüte uns vor allem Bösen. <span class="hebrew"><span class="ade">ער לכמ ונרמשי ׳ה</span><span class="noade">ה׳ ישמרנו מכל רע</span></span> …«</p>
CSS:
Code:
.hebrew {font-family: "TaameyFrankCLM"; direction:rtl}
.ade {display:none;}