Move Markers for Translation
MoveMarkersForTranslation.fsi
Problem description
Markers that are inserted in the middle of a word or sentence can cause problems in the translation process.
Markers cannot be moved globally with FrameMaker.
Function description
The script moves existing index markers to the beginning of the paragraph, sentence or word in which the marker is located.
The markers are moved in the current document or all documents of the current book.
If no document or book is open (or all document windows are minimized), all FM documents of a selected folder can be processed (including subfolder).
When finished, the script displays the number of moved markers.
Requirements
- FrameMaker 6.0 or higher
- FrameScript/ElmScript 4.1 or higher
Notes
The script does not work with structured documents.
When moving to the beginning of the sentence, the characters ‘.!?’ with subsequent space will be taken into account for end of sentence identification. This may result in an incorrect identification of abbreviations (period followed by space) as the end of a sentence. If this presents a problem for your process, use the option of moving the markers to the beginning of the paragraph instead.
Important: When paragraphs in the documents (PDF or printout) are wrapped at the end of a page, moving the markers may result in an incorrect page number in the index (beginning of a paragraph or sentence at the end of a page; indexed word at the beginning of the new page).
If this presents a problem for your process, you may not use this script.
To move the markers automatically during creation, see Move New Marker to Sentence Begin.



Klaus Müller![[i]-frame MoveMarkersForTranslation [i]-frame MoveMarkersForTranslation](fileadmin/content/images/Leistungen/FrameScript/i-frame_en/MoveMarkersForTranslation1.png)
![[i]-frame MoveMarkersForTranslation [i]-frame MoveMarkersForTranslation](fileadmin/content/images/Leistungen/FrameScript/i-frame_en/MoveMarkersForTranslation2.png)