0 votes

I’m using Paratext 7.6.54.139

We have recently inserted figures into our translation. These have the \fig tag. Then, when we use the Interlinearizer to approve back translations, the entire text inside the \fig \fig* marker is put into our back translation, even though that text does not appear in the Interlinearizer.

I would prefer that the figure text be excluded from our back translation. I can see why some would like to have the caption included in the back translation, but unfortunately all of the figure text is included, including the copyright information. This makes our back translation very messy, and is not at all useful for us.

Is there some way to exclude the figure text from our back translation?

Paratext by (1.2k points)

1 Answer

0 votes

I don’t know of a way to exclude the \fig…\fig* from being included when
you do the export. However you could run the following Find and Replace

Find What:
regex:(?-s)\fig .*\fig*

Replace With:
leave blank

This finds the \fig…\fig* and deletes them from the text. The (?-s) says
that the period does Not include end of line.

anon848905
Americas Area Language Technology Coordinator
[Email Removed]
[Phone Removed]Office at JAARS)
[Phone Removed]Cell)
Skype name: anon848905

by (8.4k points)
reshown

A bit late on this, but looking at it, I wonder if you would want to modify that regex to (?-s)\\fig .*?\\fig\*
in case there is more than one figure in a chapter

I don’t believe the “(?-s)” is necessary. Merely the addition of the "?"
after the “." to cause it to stop when the first "\fig” is encountered
will do.

D anon467281

Global Publishing Services
Scripture Typesetting trainer & Regular Expression "specialist"
Dallas, TX

Related questions

Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
Very truly I tell you, whoever accepts anyone I send accepts me; and whoever accepts me accepts the one who sent me.
John 13:20
2,626 questions
5,364 answers
5,041 comments
1,420 users