Modify

Opened 19 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 19 years ago by anonymous

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.


  1. 1. Bernhard Haumacher
  2. 2. not even rudimentarily

comment:2 Changed 19 years ago by anonymous

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 Changed 19 years ago by Alec Thomas

    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 19 years ago by Alec Thomas

    Resolution: wontfix
    Status: newclosed

    [36] coalesces identical references into a single foot-note. Won't worry about the duplicate HTML id's.

    comment:5 Changed 18 years ago by Alec Thomas

    Milestone 1.0 deleted

    comment:6 in reply to:  3 ; Changed 14 years ago by anonymous

    Resolution: wontfix
    Status: closedreopened
    Trac Release: 0.8
    Type: defectenhancement

    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 Ryan J Ollos

    Owner: changed from Alec Thomas to Ryan J Ollos
    Status: reopenednew

    comment:8 in reply to:  6 Changed 14 years ago by Ryan J Ollos

    Resolution: fixed
    Status: newclosed

    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.

    Modify Ticket

    Change Properties
    Set your email in Preferences
    Action
    as closed The owner will remain Ryan J Ollos.
    The resolution will be deleted. Next status will be 'reopened'.

    Add Comment


    E-mail address and name can be saved in the Preferences.

     
    Note: See TracTickets for help on using tickets.