I need to separate inline footnotes with an em-dash.
Thomas wrote about it here (point 2).
The (partial) solution I've found is:
The problem is that the m-dash is attached to the last footnote too. There's a workaround, but it's ugly. It's something like this:
But it compels me to manually find the last footnote and add that attribute to it.
So the problem becomes: how can I detect which is the last footnote in a page?
Thomas wrote about it here (point 2).
The (partial) solution I've found is:
footnote:after {
content: " — ";
}
The problem is that the m-dash is attached to the last footnote too. There's a workaround, but it's ugly. It's something like this:
footnote[dash-after="no"]:after {
content: "";
}
But it compels me to manually find the last footnote and add that attribute to it.
So the problem becomes: how can I detect which is the last footnote in a page?