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 (620 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 (380 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
1 answer
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
Dear friends, since God so loved us, we also ought to love one another.
1 John 4:11
2,726 questions
5,531 answers
5,144 comments
1,571 users