+1 vote

Is it possible to embed a closing USFM code within another?

For example, it would be helpful to embed \tl … \tl* within \sc … \sc* in the text below. As it is now, Paratext doesn’t like not having a closing \sc*

\q1 \sc ‘Iserelefu inalilufwa oone lufwa prelu inengoi lamemoi \tl yare\tl* \sc ameelu kuliamee-wo kuliamee-wo lememoi,

\q2 \sc tetoo \tl bulmakaule\tl*, \tl sifesifele\tl* \sc puketemoke, ifi tupualamolu amee, eetegeni amee ménane pe leoolamwamolufe? Eie, mwa.

Thanks,

SIL+LSS+PNG

Paratext by (411 points)
reshown

3 Answers

0 votes
Best answer

Yes this is possible. It is called “nesting”. The full details are found in the excellent Paratext Help menu. Just go to the Paratext Help menu and search on “nest”.

Blessings,

Shegnada SIL+LSS+PNG

Language Technology and Publishing Coordinator, SIL Nigeria

Text Processing Specialist – Complex Script, GPS, SIL Intl

Skype: Shegnada.SIL+LSS+PNG.

[Email Removed]

+1 972 974 8146

by (1.3k points)
reshown

Would anyone but me like to have Paratext automatically add the “+” when the user types a character format code within another? At present, Paratext will only add the “+” if we use the format dropdown box. It’s extra effort to add the “+” manually.

0 votes

Yes, it is called nesting.

by (706 points)
reshown
+1 vote

When you nest character styles you add a + after the \ so your example becomes:
\q1 \sc ‘Iserelefu inalilufwa oone lufwa prelu inengoi lamemoi \+tl yare\+tl* ameelu kuliamee-wo kuliamee-wo lememoi,\sc*

Note that the \sc should be closed with \sc*

by (8.0k points)

Related questions

Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
For we were all baptized by one Spirit so as to form one body—whether Jews or Gentiles, slave or free—and we were all given the one Spirit to drink.
1 Corinthians 12:13
2,479 questions
5,175 answers
4,875 comments
1,284 users