Thank you very much Graham Mayor!
The thing is that the double-square-bracket-notes have long been transformed into (static) footnotes and I have been editing the file a lot.
But the code will certainly be of great value next time I have to convert from Latex to Word (although currently I don't feel like doing this anytime soon).
And it will for sure help a lot of people facing similar problems.
Meanwhile Stefan Bloom provided a macro that turns the static footnotes into regular dynamic ones:
Quote:
Originally Posted by Stefan Blom
The following macro should do the job. It is best to try it on a copy of the original document first:
Code:
Sub ConvertCustomFootnotesToAutoFootnotes()
'Macro created by Stefan Blom, MVP, May 2016
Dim ftText As String
Dim r As Range
Dim ftCount As Long
Dim i As Long
ftCount = ActiveDocument.Footnotes.Count
For i = ftCount To 1 Step -1
ftText = ActiveDocument.Footnotes(i).Range.Text
Set r = ActiveDocument.Footnotes(i).Reference.Duplicate
ActiveDocument.Footnotes(i).Delete
ActiveDocument.Footnotes.Add Range:=r, Text:=ftText
Next i
End Sub
|
https://www.msofficeforums.com/word/...te-levels.html
Thank you very much for your help. I really do appreciate it.