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 (611 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 (358 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.7k 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.
Make every effort to keep the unity of the Spirit through the bond of peace.
Ephesians 4:3
2,588 questions
5,328 answers
5,026 comments
1,400 users