On Fri, Aug 29, 2008 at 11:32 AM, Jonathan Blake <blake.jon@xxxxxxxxx> wrote: > On Fri, Aug 29, 2008 at 8:50 AM, Simon Osborne <outspaced@xxxxxxxxxxxx> wrote: > >> I've implemented this and a couple of Dewi's comments. Most of the last hour >> has been spent on Books 8-16 replacing the <a ...> footnote markers with >> <footref ...> elements. That was excruciatingly boring, but at least it now >> appears to be done. > > You might want to find an editor like emacs, vim, notepad++, etc. with > a regular expression search and replace for occasions like this. Of > course that requires learning regular expressions, and as the famous > JWZ quote goes "Some people, when confronted with a problem, think 'I > know, I'll use regular expressions.' Now they have two problems.". I was just thinking that in emacs, you can use Meta-Shift-5, and simply replace "<a" with "<footref" and then by pressing 'y' or 'n', you can replace all the ones you want to. The same can simply be done with "</a>" and "</footref>". Its not as cool as a regular expression, but still far quicker... Sam ~~~~~~ Manage your subscription at http://www.freelists.org/list/projectaon