Comment

Philipp

Cool, thank you! I was looking for something exactly like this a couple of weeks ago!

Your counting for the footnote anchors is inconsistent by the way, as you count both inline and indexed anchors in the first loop. Here's a quick fix, albeit I am sure there is a better one:
http://dpaste.com/16572/

Cheers,
Philipp

Replies

Peter Bengtsson

Thanks man! Incorporate now.