0 votes

I am creating a Bible Module that uses section headings. However, in several places the first verse in a section is not a part of the planned verses. For instance, in Gen. 6, the module starts in v.5 but the section heading is before verse 1. I cannot figure out how to include the section heading without verse 1 there. Is there a way to do this automatically, or will I need to add section headings like this manually?

Paratext by (231 points)
reshown

2 Answers

0 votes
Best answer

You would need to add this text manually if it is not included as part of the verses you are referencing.

by (8.4k points)

You can use the replace code \rep to remove the verse text from verse 1 so you are left with just the heading text. You need to use \refnp to not bring in the paragraph marker, so you will need to provide the heading marker \s1 for the heading text:

\inc s
\s1
\refnp GEN 6:1
\rep When human beings began to increase in number on the earth and daughters were born to them,=>
\ref GEN 6:5-6

Notice the \rep statement ends with =>, which means replace with nothing, or delete. This will give you:

\s1 Wickedness in the World
\p \v 5 The \nd Lord\nd* saw how great the wickedness of the human race had become on the earth, and that every inclination of the thoughts of the human heart was only evil all the time. \v 6 The \nd Lord\nd* regretted that he had made human beings on the earth, and his heart was deeply troubled.

0 votes

Thanks for the replies, guys. I was checking to see if there was a way that I was missing. I think I’ll probably just add the \s lines manually like anon848905 mentioned. That seems simpler and is less to change if there are changes in the text and section headings. Plus, the exact wording of section headings - not being Scripture themselves - is less important.

by (231 points)

Related questions

0 votes
1 answer
0 votes
2 answers
Paratext Aug 9, 2021 asked by mnjames (1.8k points)
0 votes
1 answer
Paratext Sep 12, 2016 asked by mnjames (1.8k points)
0 votes
2 answers
0 votes
2 answers
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
Live in harmony with one another. Do not be proud, but be willing to associate with people of low position. Do not be conceited.
Romans 12:16
2,628 questions
5,369 answers
5,045 comments
1,420 users