<div dir="ltr"><br><br><div class="gmail_quote">On Mon, Apr 12, 2010 at 8:10 PM, Jens Bakker <span dir="ltr">&lt;<a href="mailto:jbakker@uni-bonn.de">jbakker@uni-bonn.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Dear Vafa Khalighi,<br>
<br>
I have tried to use the package marginnote with the \marginnote{} command instead of the \marginpar{} command in some Arabic text with the margin notes in Latin script, and the margin notes are not put in the appropriate place, sometimes they are outside the margin, i. e. they do not appear at all, often they are within the main text.<br>

<br>
I have attached the source code of the text.<br>
<br></blockquote></div><br>I do not think bidi is responsible for this. bidi only changes the definitions of \@ympar and \@addmarginpar to provide \setRTLmarginpar, \setLTRmarginpar and \setdefaultmarginpar and as far as I can see marginote package does nothing to \@ympar and \@addmarginpar.<br>
<br>Your example is very hard for me to investigate. Could you please send an example in which you only use bidi and marginnote packages such that without bidi there is no problem but loading bidi causes the issues you were describing.<br clear="all">
<br>-- <br>Best wishes,<br>Vafa Khalighi<br>
</div>