0 голосов
350 просмотров

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 от (245 очков)
снова показан | 350 просмотров

2 Ответов

0 голосов
Лучший ответ

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

Старое сообщение — показано на исходном языке
от (9,9тыс. очков)

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 голосов

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.

Старое сообщение — показано на исходном языке
от (245 очков)

Похожие вопросы

0 голосов
1 ответ 252 просмотров
Is there a good way to extract Section Headings to help create Book Outlines? I tried copy/paste from the Section Headings ... required once we have a list. Thank you, SIL+LSS+PNG
SIL LSS PNG 411 задал вопрос апр 30, 2019
0 голосов
3 ответов 363 просмотров
В USFM метка \c ## стоит перед \s xxxx, но PTXprint выводит номер главы крупнее и на одной строке с первым абзацем после заголовка ... Style на 1.0 (с 1.5), но это не помогло.
listentwice 1,2тыс. задал вопрос мар 17, 2022
0 голосов
2 ответов 264 просмотров
Если я работаю в модуле Библии в проекте с названием AAA, я могу легко сослаться на Мт 1:1, введя: \ref MAT ... не могу заставить похожие попытки работать с \ref в модулях Библии.
mnjames 1,9тыс. задал вопрос авг 9, 2021
0 голосов
1 ответ 258 просмотров
Is there a way to type comments into Bible Modules? Similar to starting a line with % in TeX or \* *\ in ... and text in the vernacular actually show up in the Output view.
mnjames 1,9тыс. задал вопрос сен 12, 2016
0 голосов
2 ответов 402 просмотров
Я выбираю несколько отрывков, указывая диапазон стихов, и хотел бы, чтобы заголовок раздела и диапазон стихов перед этими стихами также включались. Как это сделать? Спасибо
MnKN 134 задал вопрос дек 8, 2023
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
3,046 вопросов
6,006 ответов
5,671 комментариев
2,027 пользователей