Footnotes

Translating legal, scientific or technical texts, one often wants to insert a comment, explanation etc. as a footnote. CafeTran doesn't provide a feature to insert footnotes in your translation. Luckily, when you are translating Word documents, you can use a 2 step procedure to insert footnotes in your target text:

  • In CafeTran: Insert your comments etc. between ‘<’ and ‘>’.

(When your translation is finished, export as usual.)

  • In Microsoft Word: Run the following macro to convert all comments between ‘<’ and ‘>’ to footnotes:

Sub MakeFootNotes()
Dim RngSel As Range, RngFnd As Range, StrNote As String
Application.ScreenUpdating = False
With Selection
Set RngSel = .Range
With .Find
.ClearFormatting
.MatchWildcards = True
.Wrap = wdFindContinue
.Forward = True
.Text = "\<[!\>\<]{1,}\>"
Do While .Execute = True
Set RngFnd = ActiveDocument.Range(Start:=Selection.Start, End:=Selection.End)
StrNote = Mid(RngFnd.Text, 2, Len(RngFnd.Text) - 2)
ActiveDocument.Footnotes.Add RngFnd, , StrNote
RngFnd.Text = vbNullString
Loop
End With
End With
RngSel.Select
Set RngFnd = Nothing: Set RngSel = Nothing
Application.ScreenUpdating = True
End Sub

© Paul Edstein [MS MVP - Word]

PLEASE NOTE: Due to unknown reasons this macro does not work in Word:mac :(.

Installing a macro in Word

In CafeTran you add a comment between ‘<’ and ‘>’.

1.png

In Word it looks like this:

2.png

And after you have executed the macro, the document looks like this:

3.png4.png
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License