On Mon, Jul 24, 2000 at 01:49:33AM +0200, Matej Cepl wrote: > Hi, Hi there. > I have downloaded lyx-1.1.5fix1 (as a SRPM) and I have found that > the thing, which I always considered to be bug is still there. > Fortunately, my old hack which fixes it still works. Attached to this e- > mail you shall find patch as well changed .spec file. Cool. Though I suspect that if your patch is accepted, it will go into a new lyx-1.1.5fix2 tar file. > What makes me angry is the situation when footnote in list is not > translated to direct \footnote construct, but to pair of \footnotemark > & \footnotetext, where the text of footnote is put behind the end of > the whole list. So, when I have five pages long description of some > legal analysis, all footnotes from this list are put five pages ahead. I > may be wrong, but I have never found in any piece of > documentation any information in the sense, that it is forbidden (or > not desirable) to put footnote in a list. Am I wrong or it is really bug? I don't know. I'm no TeX expert, so I will defer to the others in that regard. Can any of you folks take a look at this complaint and the enclosed patch? (I've taken the liberty of attaching the extracte patch, since it's small). > Would you be so kind and response please to this message even if I > am wrong and it is really feature, please (to personal address, I am > not on the list)? I would like to know, whether it will be corrected > sometime. I'm sure some of the LyX developers will respond to this note. Have a nice day, ---Kayvan -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena http://www.successlinks.com/kayvan | Reach your goals now! | Robin Gregory
diff -ru lyx-1.1.5fix1/src/paragraph.C lyx-1.1.5fix1new/src/paragraph.C --- lyx-1.1.5fix1/src/paragraph.C Tue Jun 6 12:10:26 2000 +++ lyx-1.1.5fix1new/src/paragraph.C Sun Jul 23 22:37:22 2000 @@ -3869,22 +3869,22 @@ footer_in_body = false; moving_arg = true; } else { - if (foot_count == -1) { +// if (foot_count == -1) { // we're at depth 0 so we can use: os << "\\footnote{%\n"; footer_in_body = false; - } else { - os << "\\footnotemark{}%\n"; - if (foot_count) { - // we only need this when there are - // multiple footnotes - os << "\\stepcounter{footnote}"; - } - os << "\\footnotetext{%\n"; - foot_texrow.start(this, 0); - foot_texrow.newline(); - ++foot_count; - } +// } else { +// os << "\\footnotemark{}%\n"; +// if (foot_count) { +// // we only need this when there are +// // multiple footnotes +// os << "\\stepcounter{footnote}"; +// } +// os << "\\footnotetext{%\n"; +// foot_texrow.start(this, 0); +// foot_texrow.newline(); +// ++foot_count; +// } } break; case LyXParagraph::MARGIN: