<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 24 April 2015 at 18:35, Karljurgen Feuerherm <span dir="ltr"><<a href="mailto:kfeuerherm@wlu.ca" target="_blank">kfeuerherm@wlu.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div style="word-wrap:break-word;color:rgb(0,0,0);font-size:14px;font-family:Calibri,sans-serif">
<div>I tried all kinds of variations (including \texthebrew{} in the button labels), but not this!</div>
<div><br>
</div>
<div>I guess the \textenglish{} wrappers keep things tidy, somehow?</div>
<div><br>
</div>
<div>Thanks so much.</div>
<div><br>
</div>
<div>K</div></div></blockquote><div><br></div><div>Yes the problem is that the underlying \beginL \beginR direction primitives re-order the \specials<br></div><div> as well the text direction so the specials to end the pdf form object ends up before the<br> ones starting  them and things go wrong. So \textenglish used as a convenient way to get back<br></div><div>to Left-to-right so the \special's are not re-ordered and then you need to nest \texthebrew<br></div><div>again for the text.<br><br></div><div>Khaled had an experimental build for a while last year attempting to fix this<br>(I guess it would have fixed this case) but unfortunately it broke other things<br></div><div>and it's been reverted so this workaround is needed.<br><br></div><div>David<br><br></div></div></div></div>