Copy link to clipboard
Copied
Hi
My document has footnotes. Format is :
1. This is Footnote number one
2. Footnote number two. Some footnotes are in multiple lines
3. This is another footnote.
I want something like this only at the footnotes. Not in the references.
1. This is Footnote number one. 1
2. Footnote number two. Some footnotes are in multiple lines. 2
3. This is another footnote. 3
I want the same number at the end also. Is it possible through GREP or a script ?
Thanks.
The issue is resolved. Thanks
Copy link to clipboard
Copied
Ok I have managed to write my first script.Below is the script:
For some reason it is not working. There is not error of any sort. Its just not executing the change grep I guess. Any help will be very much appreciated. Thanks
convert();
function convert()
{
app.findGrepPreferences = null;
app.findGrepPreferences.findWhat = "(~F)(~>.+)"
var fn = app.activeDocument.findGrep();
for (var i=1; i<= fn; i++){
app.changeGrepPreferences.changeTo="$0" + i;
app.activeDocument.changeGrep();}
}
Below
Copy link to clipboard
Copied
The issue is resolved. Thanks