0 votes

What’s the syntax to print a range of verses from a chapter? The pop-up help covers a contiguous range, but not discontiguous ones.

I have tried:
EXO 15:1b-13,17-18,20-21
EXO 15:1b-13;17-18;20-21
EXO 15:1b-13 EXO 15:17-18 EXO 15:20-21
but I get three instances of EXO 15:1b-13,17-18,20-21 in the PTXprint output, no matter what I do…

PTXprint by (615 points)

2 Answers

0 votes

This seems to be a bug/regression that you have uncovered for us. We will look into it as soon as we are able and release a new version.
And I also wonder whether we actually have the ability to handle verse segments such as 1b…

by (2.6k points)

I haven’t tried this with the newish “range of verses” option, but specifying verse segments in a Bible Module worked back in March IFF:

  • the segments are specified correctly in the project text (\v 1a, \v 1b, etc), and
  • the \ref ranges in the module spec match exactly with the segmented \v markers in the text

I’m attaching a sample that we printed with ptxprint. Where a \v segment was specified in the module but missing in the text, we either got the entire verse repeated for each specified module ref including that verse#, or the entire ref was omitted. I know I’ve seen both behaviors but I don’t remember what the difference was: I think it went one way when I printed the XXA Book on the ptxprint Basic tab, and the other way when I specified to print the Module.


I just checked:
When I specify either Multiple Books range: “LUK 22:1-15a MRK 1”, or “LUK 22:15b-30 MRK 1”, the partial verse is included correctly.

Check to make sure your verse segments are marked in the text. I discovered the hard way that ptxprint can’t split up verses intelligently on its own!

The downside of this is, of course, that these verse segments will display in any publication; unless they can be filtered out by one of the ptxprint control files, perhaps? We put them into the Passion narrative in LUK so we could print the Lectionary, and I’m not going to remove them until I have to, but I don’t think we want them in a final NT publication.

This has now been fixed and will be available in the next released version (2.2.17 onward).

I just got an update to 2.2.18. I confirmed that it now handles, e.g.:
EXO 15:1-13,17-18,20-21
Thanks for the update!

I'm running 2.4.13 (which should work better than earlier versions right?) and I want the chapter number to appear regardless of which verse in the chapter I start with. I tried e.g. 1SA 25:0,4-38. But the output still contains vv. 1-3 which I don't want. And funnily, the chapter number appears before v 4. That's what I want actually but I don't want vv. 1-3. So why does PTXP insist on printing them?
0 votes

I’m not so worried about ‘a’ and ‘b’ segments of verses (other than that’s what the Revised Common Lectionary has…), but more segments of chapters, e.g.: EXO 15:1-13,17-18-20-21.

@Kim_Blewett I hadn’t wanted to create a Bible Module just for getting a printout of the passages to enable checking. If it came to that, I think I would just use a PDF editor to ‘cross out’ the repeated instances that PTXprint produces to avoid confusing the translators. Thanks for flagging that as an option, though!

One thing I hadn’t tried that I just now did, is:
EXO 15:1b-13 17-18 20-21
[i.e., space to separate segments, rather than punctuation]
It works, but still produces three instances of EXO 15:1-21 (passim).

by (615 points)
reshown

Well, my theory was that the “b”, if not present in the text, might cause multiple copies to be output. But I just now tried specifying a verse segment that was missing from my text and it was OK. So I’m guessing it’s the three separate segments from the same chapter—that this multi-book function can’t handle it, perhaps?

I recommend that you use a module spec for this. You can just keep a temporary module loaded in one of your extra books; modify it when you need to print a mixed selection like this, then change the references next time.

On the other hand, if the verses you skipped here in EXO 15 are still blank you might just have it print the whole chapter, ticking “Hide empty verses” on the Body tab.

Related questions

0 votes
2 answers
0 votes
3 answers
0 votes
5 answers
0 votes
1 answer
PTXprint Mar 22 asked by mnjames (1.8k points)
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,626 questions
5,364 answers
5,041 comments
1,420 users