LinuxDoc footnotes seems to be badly broken.  I haven't been able to
make enough sense of the code to fix it.

If I have a paragraph with a footnote in the middle it gets stored as
paragrah (style LATEX_PARAGRAPH), the footnote and then paragraph
(style LATEX_PARAGRAPH) again.  This is described in the code for
IsDummy.  The code right now processes the first paragraph.  Incorrectly
prints a close of paragraph marker and then processes the footnote.
The processing of the footnote advances par to the next paragraph which
"IsDummy" causing an error.  Even if I change the code so that it doesn't
check IsDummy the continuation of the same paragraph will cause another
<p> to be written incorrectly.

I just don't understand the current code.  Why can't the footnote be
a paragraph with depth+1?

A small side point  Buffer::sgml{Open,Close}Tag each define the same
constant (although you haven't declared it as constant) which starts
space[0] = " ";  Shouldn't it start space[0]="", space[1]=" " and so
on?  Looks kind of unprofessional having a bunch of silly unnecessary
spaces around.

Is there are way to get lyx to print some sort of debug dump of the
paragraph chain?

Reuben

Reply via email to