<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Thank you for all your help with this. <br>
<br>
I have been using ednotes for some time because it handles footnotes
in the proper manner for critically edited texts. As can be seen in
the attached file, the text appears as it should in a critical
edition: there are no footnote marks in the text, line numbers are
not repeated in the notes, line ranges are given, the formatting of
the notes is automatic (that is, division between the lemma and the
note, etc), and so on. There are also a number of nice features,
such as the ability to overlap notes, nest notes, etc, all of which
are necessary for a text with a complicated manuscript basis. <br>
<br>
Until the bidi footnote features can handle these basics, bidi will
not be able to be used in place of packages such as ednotes or
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
ledmac.<br>
<br>
For how long have bidi and ednotes been incompatible? François
Charette
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
, who maintains arabxetex and works on polyglossia, wrote an example
file showing how to use arabxetex + bidi with ednotes to produce
critical editions, so I assumed there would be some effort to keep
the packages compatible. <br>
<br>
<br>
<br>
On 11/09/22 18:01, VAFA KHALIGHI wrote:
<blockquote
cite="mid:CAB6rp_aRiNBbUhoiPRrSWgmoRQPP7LQh4nA+iA-ZcM7mo53ETg@mail.gmail.com"
type="cite">
<meta http-equiv="Context-Type" content="text/html; charset=UTF-8">
<div>By the way, I do not know why you are using ednotes.sty. If
it is because of footnote support, bidi package also allows you
to do paragraph footnotes. For more details, see bidi manual.
ednotes is not supported by bidi and its use together with bidi
should be avoided.<br>
<br>
<div>On Thu, Sep 22, 2011 at 5:16 PM, VAFA KHALIGHI <span><<a
moz-do-not-send="true" href="mailto:vafaklg@gmail.com">vafaklg@gmail.com</a>></span>
wrote:<br>
<blockquote>
<div>I could not be bothered looking through lineno.sty to
see what setups they have so this is another quick/dirty
fix. The problem is that in the definition of \MakeLineNo,
they use \sbox, \sbox itself uses \set@color. bidi changes
the definition of \set@color when color/xcolor package is
loaded such that in the definition of \sbox at the
beginning of \hbox, you get \beginR, and at the end of
\hbox, you get \endR, that is, it makes \hbox and
consequently \sbox RTL in RTL mode. lineno setup for right
linenumbers expect that \hbox or \sbox to be an LTR one.
Well, it can be RTL but you need to reverse the process
(putting \hskips, etc) I did not have time to look through
the whole lineno.sty so instead I used \setbox instead
\sbox so it fixes the problem. Replace the previously
given code by this one:<br>
<br>
<p>\makeatletter</p>
<p>\@ifpackageloaded{color}{%</p>
<p>\def\MakeLineNo{%</p>
<p> \@LN@maybe@normalLineNumber % v4.31 </p>
<p> \boxmaxdepth\maxdimen\setbox\z@\vbox{\unvbox\@cclv}%</p>
<p> \@tempdima\dp\z@ \unvbox\z@</p>
<p> \setbox\@tempboxa=\hbox to \z@{\makeLineNumber}%</p>
<p> \stepLineNumber</p>
<p> \ht\@tempboxa\z@ \@LN@depthbox </p>
<p> \@LN@do@vadjusts </p>
<p> \count@\lastpenalty </p>
<p> \ifnum\outputpenalty=-\linenopenaltypar </p>
<p> \ifnum\count@=\z@ \else </p>
<p> \xdef\@LN@parpgbrk{% </p>
<p> \penalty\the\count@</p>
<p> \global\let\noexpand\@LN@parpgbrk</p>
<p> \noexpand\@LN@screenoff@pen}% v4.4 </p>
<p> \fi</p>
<p> \else</p>
<p> \@tempcnta\outputpenalty</p>
<p> \advance\@tempcnta -\linenopenalty</p>
<p> \penalty \ifnum\count@<\@tempcnta \@tempcnta \else
\count@ \fi </p>
<p> \fi</p>
<p> }}{}</p>
<p>\makeatother</p>
<br>
</div>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">
--------------------------------------------------
Subscriptions, Archive, and List information, etc.:
<a class="moz-txt-link-freetext" href="http://tug.org/mailman/listinfo/xetex">http://tug.org/mailman/listinfo/xetex</a>
</pre>
</blockquote>
<br>
</body>
</html>