I experience a somewhat strange behavior with footnotes using MultiMarkdown -- in fact, footnotes stopped working all of a sudden.
Thus,
Text[^fn]
[^fn]: Footnote text
evokes the error message "Use of uninitialized value in substitution iterator at /Users/sbr/Library/Application Support/TextMate/Bundles/ Markdown.tmbundle/Support/bin/MultiMarkdown.pl line 1582, <> line 1."
MultiMarkdown at line 1582 is handling footnotes, but I cannot figure out what's wrong. As said, this worked before... And yes, I reverted to the version in the svn repository to ensure MultiMarkdown is not contaminated.
Did anyone else experience this before? Any help is greatly appreciated!
Thanks and regards - Stefan
"Use of uninitialized value in substitution iterator at /Users/sbr/ Library/Application Support/TextMate/Bundles/Markdown.tmbundle/ Support/bin/MultiMarkdown.pl line 1582, <> line 1."
This happens if the footnote is referenced but the declaration cannot be found. Footnotes with only one word[^test] or only a link[^test2] don't work.
Soryu
[^test]: like_footnotes_with_only_one_word
[^test2]: http://macromates.com
Thanks. Correct. What's the rationale for this behavior (besides that it's implemented this way)?
- Stefan
On 25 May 2006, at 23:56, Soryu wrote:
"Use of uninitialized value in substitution iterator at /Users/sbr/ Library/Application Support/TextMate/Bundles/Markdown.tmbundle/ Support/bin/MultiMarkdown.pl line 1582, <> line 1."
This happens if the footnote is referenced but the declaration cannot be found. Footnotes with only one word[^test] or only a link [^test2] don't work.
Soryu
On 26.05.2006, at 07:29, Stefan Brantschen wrote:
"Use of uninitialized value in substitution iterator at /Users/ sbr/Library/Application Support/TextMate/Bundles/ Markdown.tmbundle/Support/bin/MultiMarkdown.pl line 1582, <> line 1."
This happens if the footnote is referenced but the declaration cannot be found. Footnotes with only one word[^test] or only a link [^test2] don't work.
Thanks. Correct. What's the rationale for this behavior (besides that it's implemented this way)?
Can't really say. This is just some experience I made and in most cases easy to solve. The funny thing was, that the example you sent worked for me (it had two words in the footnote). So I hope footnotes are not entirely broken for you but you stumbled over one of those two cases. Also, we should let Fletcher Penney about this I think.
Soryu.
On 26 May 2006, at 09:00, Soryu wrote:
"Use of uninitialized value in substitution iterator at /Users/ sbr/Library/Application Support/TextMate/Bundles/ Markdown.tmbundle/Support/bin/MultiMarkdown.pl line 1582, <> line 1."
This happens if the footnote is referenced but the declaration cannot be found. Footnotes with only one word[^test] or only a link[^test2] don't work.
Thanks. Correct. What's the rationale for this behavior (besides that it's implemented this way)?
Can't really say. This is just some experience I made and in most cases easy to solve. The funny thing was, that the example you sent worked for me (it had two words in the footnote). So I hope footnotes are not entirely broken for you but you stumbled over one of those two cases.
Footnotes work if longer than one word, thanks.
Also, we should let Fletcher Penney about this I think.
I will. I have some more issues and suggestions for him.
Regards - Stefan
On May 25, 2006, at 10:29 PM, Stefan Brantschen wrote:
"Use of uninitialized value in substitution iterator at /Users/ sbr/Library/Application Support/TextMate/Bundles/ Markdown.tmbundle/Support/bin/MultiMarkdown.pl line 1582, <> line 1."
This happens if the footnote is referenced but the declaration cannot be found. Footnotes with only one word[^test] or only a link [^test2] don't work.
I have had no problems with using single word references, e.g., [^note] and then etc. However, there are two things to remember with multimarkdown footnotes.
First the footnote text [^note]: text should be in the same section that the note is , i.e., not in another chapter. Second, each [^note]: text needs to have an empty line to define it. So:
[^note]: text goes here
[^anotherone]: Another footnote.
The footnote command does not recognize 3 or more spaces after a line as a hard break.
On 26.05.2006, at 17:47, Robert M. Ullrey wrote:
On May 25, 2006, at 10:29 PM, Stefan Brantschen wrote:
"Use of uninitialized value in substitution iterator at /Users/ sbr/Library/Application Support/TextMate/Bundles/ Markdown.tmbundle/Support/bin/MultiMarkdown.pl line 1582, <> line 1."
This happens if the footnote is referenced but the declaration cannot be found. Footnotes with only one word[^test] or only a link[^test2] don't work.
I have had no problems with using single word references, e.g., [^note] and then etc. However, there are two things to remember with multimarkdown footnotes.
First the footnote text [^note]: text should be in the same section that the note is , i.e., not in another chapter. Second, each [^note]: text needs to have an empty line to define it. So:
[^note]: text goes here
[^anotherone]: Another footnote.
The footnote command does not recognize 3 or more spaces after a line as a hard break.
Hi Robert.
I did not have any problem with sections. My footnotes always come at the end of the whole document regardless of where the are referenced (works for me). The problem appears when you have a footnote with text consisting of only one word or a link. That is the text (content) of the footnote, not the label/reference. The empty line between footnotes is because I think a footnote can get rather complex, so it is defined as a paragraph.
Soryu.