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 (366 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 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.
Very truly I tell you, whoever accepts anyone I send accepts me; and whoever accepts me accepts the one who sent me.
John 13:20
2,626 questions
5,364 answers
5,041 comments
1,420 users