Thank you very much for the quick and helpful response. I will take a look. I am very much an amateur and don’t know Javascript. Was hoping it might be simple. But obviously not. Thanks again.
Alan
There is possibly a problem with automatic footnote numbering: it’s not unusual for multiple places in a document to reference the same footnote now and then.
I realised this when trying to make accessible working-everywhere footnotes. I still also had to use Javascript to get the keyboarding right: someone reading may want to jump to a footnote, and then jump back to where they were, with the focus.
You could use CSS counters to number the footnote links and then as long as you have the same number of actual footnotes as you do links (which should always be the case) then css counters could count and display them too.
You would still need javascript to automatically add the href and the ids into place but as far as the numbering goes then css could do this.
I put up a rough demo here (modern browsers only - and probably not very accessible).
Of course that would not work if as as Stomme_poes said above:
In the case of the above then I guess you would need to do it manually.
Thank you very much for this demo. It looks very good. I am hoping to try and set footnotes up in a month or so (I mentioned I am an amateur). Is it OK if I get back to you then for more advice?