Quote:
Originally Posted by sebito
ok, but that's not the problem, the problem is the creation of links back of 181,000 footnotes. I need an automatic way to do it.

|
First of all: Footnote and Text-Anchor should have the same number. Your code should read:
Code:
In the beginning of everything, God created <a id="a65"> </a> <a href="notes.html#n65"> hyperlinktext</a>
and then note:
<p><a id="n65"></a>Genesis 1.1</p>
In your example, the number of the note is 21105 and the number of the text to jump back is 65. How should a programm guess, that the backreference of 21105 is 65 ???
If the references were build as shown in my example, it would be just a question of a simple regex to build the backlink, but in this case i'm nearly out of ideas .....