Parsing ambiguity: bracketed content followed by footnote?
Omikhleia opened this issue · 4 comments
It's common in critical annotations to have bracketed words for emendation. "This [is] it", so far so good...
But how should the following parse?
These word[sic][^aaa]
[^aaa]: The plural is clearly missing from the manuscript
Current:
doc
para
str text="These word"
link reference="^aaa" <--- Oops, link, not footnote?
str text="sic"
footnotes
["aaa"] =
footnote label="aaa"
para
str text="The plural is clearly missing from the manuscript"
For comparison:
These word[^aaa]
[^aaa]: The plural is clearly missing from the manuscript
=
doc
para
str text="These word"
footnote_reference text="aaa" <--- Footnote here
footnotes
["aaa"] =
footnote label="aaa"
para
str text="The plural is clearly missing from the manuscript"`
Is this an intended ambiguity in Djot?
The backslash is your friend \[sic\][^aaa]
although one or the other backslash may be enough.
The backslash is your friend [sic][^aaa] although one or the other backslash may be enough.
Yep, backslashing works, but was the ambiguity intended, or can't it be solved?
Let me be more precise, in the definitions, [^aaa]: ...
and [aaa]: ...
belong to different spaces:
[^aaa]: ...
[aaa]: ...
=
doc
references
["aaa"] =
reference label="aaa" destination="..."
footnotes
["aaa"] =
footnote label="aaa"
para
smart_punctuation type="ellipses" text="..."
So the above looks as a discrepancy/ambiguity that was not intended. (edited)
(Unrelated and out of topic: @bpj would your name ring a bell for either a conlanger, a tolkien-fan, or both? If so, the world is small^^)
Aha, yes I think [^note]:
and [ref]:
are separate namespaces or at least they should be.