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 (611 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 (754 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.1k points)
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
And let us consider how we may spur one another on toward love and good deeds, not giving up meeting together, as some are in the habit of doing, but encouraging one another—and all the more as you see the Day approaching.
Hebrews 10:24-25
2,560 questions
5,287 answers
4,998 comments
1,372 users