0 votes
124 views

I would like to print the book of Proverbs, but I'd like to suppress printing any verse that contains the word "LATER" in it.

This seems like a job for changes.txt, but I can't get it to work.

For example, I thought this might be dangerous and overzealous, but I thought it would at least work:

'\\v .*?LATER.*?\\v' > '\\v'

Does "." not capture line endings? Is there any way to do what I'm trying?

PTXprint by (1.9k points) | 124 views

1 Answer

0 votes

I think I have at least a few answers to my question:

Most of my problem was actually caused by a custom script I was running. Running the script at the end, rather than the beginning, allowed my changes.txt edits to take place. I'm not sure why, but that seems to be the answer.

Also, I think that "." doesn't capture new lines. Both [.\r\n] and [\s\S] seem to work to capture everything.

For some reason that I really don't understand, this worked:

'\\v \d+ LATER([\s\S]*?)(?=\\v)' > ''

but this didn't

'\\v \d+ LATER([\s\S]*?)\\v' > '\\v '

[Side rant: I really miss when the forum allowed Markdown.]

by (1.9k points)

Related questions

0 votes
2 answers 358 views
What's the syntax to print a range of verses from a chapter? The pop-up help covers a contiguous range, but not ... ,20-21 in the PTXprint output, no matter what I do
Paul 642 asked Jul 11, 2022
+1 vote
0 answers 25 views
When citing chapters and verses, use only a comma (,) to separate the chapter number from the verse number on header of the page. Example: Mc 1,39 (Mark chapter 1 verse 39)
Petrus Khoa 103 asked Jul 26, 2025
0 votes
1 answer 118 views
Is there a way to prevent \d lines from printing in a Module? They appear to be messing up the spacing of the heading ... image (compare to the heading below without a \d line).
Paul 642 asked Sep 10, 2024
0 votes
2 answers 171 views
I would like to print the books, in the order of the Jewish OT Tanakh - i.e. Torah, then Neviim, then Kethuvim. I' ... . Can I tell PTXprint about the canon, and if so, how?
muckles 116 asked Mar 28, 2023
0 votes
1 answer 531 views
In my understanding, it is not advised to enter project notes into the actual scripture text with SFM like \rem. ... within a few weeks and will then be considered fully resolved.
Tim 934 asked Apr 8, 2022
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
For where two or three gather in my name, there am I with them.
Matthew 18:20
3,037 questions
5,994 answers
5,661 comments
2,022 users