<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>
<div>
<div>Greetings—</div>
<div><br>
</div>
<div>I had been using XeLaTeX to typeset a Hebrew textbook I’m working on; but once I started introducing media9 buttons into RTL text, I ran into difficulty. The solution posed was a kind of hack described here: <a href="http://tex.stackexchange.com/questions/188434/media-button-in-rtl">http://tex.stackexchange.com/questions/188434/media-button-in-rtl</a>,
 I.e. To run LuaLaTex but trick polyglossia into thinking it was using XeTeX’s bidi when in fact it was luabidi. So I’ve been using luaTeX the last few months with success, but of course I was waiting for this to bite me….</div>
<div><br>
</div>
<div>…which lately it has. I understand that ordinarily I should offer an MWE highlighting the problem, but in this case that is likely to be difficult, so let me try to describe the problem.</div>
<div><br>
</div>
<div>Briefly, I haver found lately that \texthebrew{} commands were swallowing the following space, which I patched by adding a \ after the command; but more recently I’ve noticed (maybe it was happening before and I just didn’t see it) that after a \texthebrew{}
 we don’t get back to LTR mode properly, so that the remainder of a paragraph can end up right justified.</div>
<div><br>
</div>
<div>I suppose this is because of some updates to polyglossia or bidi, or alternatively lack thereof to luabidi. I wonder whether anyone can suggest approaches I can investigate to get back on the road? (possibly rolling back updates to polyglossia or bidi,
 but I don’t know how to do that….)</div>
<div><br>
</div>
<div>With thanks,</div>
<div><br>
</div>
<div>K</div>
<div>
<div><br>
</div>
<div>Karljürgen G. Feuerherm, PhD | 2-139 Department of History | Wilfrid Laurier University | 75 University Avenue West | Waterloo, Ontario N2L 3C5</div>
<div><br>
</div>
</div>
</div>
</div>
</body>
</html>