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
3 answers
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
And let us consider how we may spur one another on toward love and good deeds, not giving up meeting together, as some are in the habit of doing, but encouraging one another—and all the more as you see the Day approaching.
Hebrews 10:24-25
2,688 questions
5,457 answers
5,118 comments
1,523 users