I'm not sure that this is really a bug.
HTML doesn't really have footnotes, so what I did was create a
representation of a footnote (hence all the <span>'s and classes, etc).
When converted to LaTeX (which is really why I added footnotes to
begin with), you would get a separate copy of each instance of the footnote.
This is entirely different than end notes, which MMD doesn't technically
support (by default - you can do whatever you want with XSLT).
I'll have to think about the proper behavior here - MMD doesn't do error
checking to be sure you *didn't* use the same footnote label more than
once, so it allows it. But you'll notice both instances have the same
id, so the the reverse links from the footnote back to the text don't
work properly....
F-
On 8/5/09 12:52 AM, Dan Dascalescu wrote:
> I wanted to use the same named reference to support multiple
> statements in one document, and found that the footnote was repeated
> for each reference, and the number of the footnote anchor increased.
> Test case at http://bit.ly/multiple_references_same_footnote_bug:
> Text[^foo]
> More text[^foo]
> Other text
> [^foo]: footnote
> HTH,
> Dan Dascalescu
> --~--~---------~--~----~------------~-------~--~----~
> You received this message because you are subscribed to the Google Groups "MultiMarkdown Discussion List" group.
> To post to this group, send email to multimarkdown@googlegroups.com
> To unsubscribe from this group, send email to multimarkdown+unsubscribe@googlegroups.com
> For more options, visit this group at http://groups.google.com/group/multimarkdown?hl=en
> -~----------~----~----~----~------~----~------~--~---
--
Fletcher T. Penney
fletcher.pen...@gmail.com
I moved into an all-electric house. I forgot and left the porch light
on all day. When I got home the front door wouldn't open.
- Steven Wright