Opened 20 years ago
Closed 14 years ago
#12 closed enhancement (fixed)
FootNoteMacro reference id's are not unique
Reported by: | Alec Thomas | Owned by: | Ryan J Ollos |
---|---|---|---|
Priority: | normal | Component: | FootNoteMacro |
Severity: | minor | Keywords: | xhtml conformance |
Cc: | Trac Release: | 0.8 |
Description
If multiple foot-note references link to the same foot-note, multiple instances of the same id
will occur in the HTML.
Attachments (0)
Change History (8)
comment:1 Changed 20 years ago by
comment:2 Changed 20 years ago by
Anyway, even without referencing, the FootNoteMacro is a great idea and I1 have already whished to have it for some time.
Wouldn't it be great, if one would not have to include the explicit call to [[FootNote]] on every page that contains footnotes? This would require some additional TracHacking, but would increase usability.
comment:3 follow-up: 6 Changed 20 years ago by
To clarify, the id I was speaking of is the HTML id:
<a id="FootNoteRef1.1" href="#FootNote1.1">...</a>
Also, the FootNoteMacro does not handle multiple foot-notes with the same content. It simply creates another foot-note.
comment:4 Changed 20 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
[36] coalesces identical references into a single foot-note. Won't worry about the duplicate HTML id's.
comment:6 follow-up: 8 Changed 14 years ago by
Resolution: | wontfix |
---|---|
Status: | closed → reopened |
Trac Release: | → 0.8 |
Type: | defect → enhancement |
Replying to athomas:
To clarify, the id I was speaking of is the HTML id:
<a id="FootNoteRef1.1" href="#FootNote1.1">...</a>
Why don't you make it an idref instead? This may occur multiple times in a document. AFAIK the element id is a unique id in the document and should not occur multiple times.
comment:7 Changed 14 years ago by
Owner: | changed from Alec Thomas to Ryan J Ollos |
---|---|
Status: | reopened → new |
comment:8 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Replying to anonymous:
Why don't you make it an idref instead? This may occur multiple times in a document. AFAIK the element id is a unique id in the document and should not occur multiple times.
Can you provide a patch? If so, please reopen the ticket.
I1 do not completely2 understand the issue here.
But this doesn't matter, since I1 will simply try it out here. But even after multiple tries, I1 cannot find the problem. What happens, if I1 declare the same footnote multiple times (without referencing)? What are footnote references like1 and2 good for anyway? The referencing seems to be problematic, because one has to manually count the footnotes on the page. What happens, if an additional footnote is inserted into the page? Are the existing footnotes renumbered? I don't think so.