Make footnotes in embedded pages work

Use case or problem

I have a whole lot of poetry and the like where individual stanza will have explanatory foonotes, like so:

  1. [^36] Better a house, | though a hut it be,
    A man is master at home;
    A pair of goats | and a patched-up roof
    Are better far than begging. ^36

[^36]: The manuscript has “little” in place of “a hut” in line I, but this involves an error in the initial-rhymes, and the emendation has been generally accepted.

  1. [^37] Better a house, | though a hut it be,
    A man is master at home;
    His heart is bleeding | who needs must beg
    When food he fain would have. ^37

[^37]: Lines I and 2 are abbreviated in the manuscript, but are doubtless identical with the first two lines of [[#^56|stanza 56]].

I will sometimes embed individual stanza in other notes by using ![[Hovalmal#^37]]. Right now, those embeds will include the number of the footnote where I’ve tagged it, but it won’t be formatted as such or include a link, it’ll just be the number in plaintext, giving me a line like “37. 37 Better a house, | though a hut it be,”.

Proposed solution

Preferably, format the footnote as you would normally, and have it link to the relevant footnote on the original page.

Alternatively, include the relevant footnote on the new page by grabbing the text of any footnotes discovered within the relevant passage, and adding them either to the new page or within the embed itself.

Alternatively-alternatively, remove the link text entirely, so that I don’t end up with the line “37. 37 Better a house, | though a hut it be,”, but instead get “37. Better a house, | though a hut it be,”.

Any of these solutions would be preferable to how it currently works, but the first would be the best since it would keep the functionality of the footnote while minimising clutter.

4 Likes

Updating this to note that if you use a long-form footnote, as such ^[footnote here] then embedding the stanza does include the footnote in the embed.

I.e.

  1. “Go now, Skirnir! | and seek to gain
    Speech from my son;
    And answer to win, | for whom the wise one
    Is mightily moved.” ^[My son: both manuscripts, and many editors, have “our son,” which, of course, goes with the introduction of Skathi in the prose. As the stanza is clearly addressed to Skirnir, the change of pronouns seems justified. The same confusion occurs in stanza 2, where Skirnir in the manuscripts is made to speak of Freyr as [fp. 108]“your son” (plural). The plural pronoun in the original involves a metrical error, which is corrected by the emendation.] ^1

looks like this when embedded:

However, this makes the markup really ugly, and I can’t have footnotes of more than a single line.

1 Like