I'm working on a book and I have to format a lot of .pdf text in InDesign as part of the book. A lot of formatting problems can be fixed using GREP. However, I don't think it's possible to use GREP to input footnote references in specific places.
I work as follows: I open a .pdf file in Google docs, then I copy paste the text from Google docs to InDesign. The problem arises with a text such as the following:
In het algemeen geldt dat degene die beslist over de doeleinden en de inzet van een camera als verantwoordelijke wordt aangemerkt.4 Er kunnen meerdere verantwoordelijken zijn.5 In sommige gevallen is wettelijk bepaald wie als verantwoordelijke wordt aangemerkt.6
The original footnote references are reverted to plain text (numbers) and it is very time-consuming to delete the number, insert a footnote reference and then paste the footnote information at the bottom of the page.
If it were possible, I could just open GREP, then in the 'Find what' box I could put "\.\d" (assuming the footnote number doesn't exceed 9) and change it to a footnote reference. Is there an easy way to do this with InDesign scripting? I don't mind copy-pasting the footnote information, I think that would be very hard to automate given the random position of footnote information in the text. I would just like a way to automate inserting the footnote reference in the body text. I have no programming experience unfortunately so any help would be very much appreciated.