0 votes

Given this line (from "Revised Common Lectionary [English]" at https://lingtran.net/Example-Modules):

\p \bd Old Testament:\bd \it $(JER 33:14-16)\it* (\it JER 33:14-16\it*)

where do I add a space so that the output is:

Old Testament: Jeremiah 33:14-16

instead of:

Old Testament:Jeremiah 33:14-16

that is, insert a space between the colon and the book name?

Thanks for any help!

Paratext by (620 points)

2 Answers

+2 votes
Best answer

Put it as part of the bold text (where I put the underscrore "_"): \p \bd Old Testament:_\bd*\it $(JER 33:14-16)\it* (\it JER 33:14-16\it*)

by (850 points)
selected by
Thanks lichti, that worked. I did notice, however, that you added * after the closing \bd. It seems to 'work' without it, that is, PTXprint outputs "Old Testament:" in bold, but my hunch is * should be there. The file I downloaded from lingtran doesn't have it... Also, when you added the * you didn't leave a space between it and \it. Should there be one?
According to the USFM documentation (see link below), \bd has to be closed with \bd*. Having two consecutive \bd_ (with space after) in your file without closing \bd* is not standard USFM. Maybe it has a special meaning here, maybe it is just an error.

Relevant USFM documentation:
https://ubsicap.github.io/usfm/characters/index.html#bd-bd
0 votes
Just to add to what lichti wrote - the space after a marker simply ends the marker (unless it has an * which ends it). If you need a true space it must go before the marker. In this example, the space between \bd and \it is the end of \bd. There for the space must go before the \bd.
by (8.6k points)
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
Just as a body, though one, has many parts, but all its many parts form one body, so it is with Christ.
1 Corinthians 12:12
2,726 questions
5,531 answers
5,144 comments
1,571 users