0 votes

Is there a way to prevent \d lines from printing in a Module? They appear to be messing up the spacing of the heading to the preceding text, as you can see in the attached image (compare to the heading below without a \d line).

PTXprint by (615 points)

1 Answer

0 votes

There are a few things you can do.

  • If you want to keep the \d line you can increase the space before by a little to get a suitable gridded gap above the heading, or set it precisely and go off grid. Or you can reduce the space above the \d or below the heading to reduce the space between the heading and the \d line
  • Modules are flattened before passing through changes.txt so you can remove the \d using changes.txt with something like:
        '\\d [^\\]+' > ''
by (378 points)
Thanks mhosken. It would be tidier if the \d lines were gone. I tried adding the regex you suggested to the changes.txt file in the module's configuration folder in [project name]/shared/ptxprint, but that didn't change anything. Is there somewhere else it should go?

Related questions

0 votes
1 answer
0 votes
1 answer
PTXprint Mar 22, 2024 asked by mnjames (1.8k points)
0 votes
2 answers
0 votes
3 answers
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
They all joined together constantly in prayer, along with the women and Mary the mother of Jesus, and with his brothers.
Acts 1:14
2,664 questions
5,423 answers
5,083 comments
1,485 users