0 votes

Is there any documentation for how to use PTXprint? In particular, what can be put in the advanced option text processing and stylesheet files?

PTXprint by (166 points)

1 Answer

0 votes

There is very sparse documentation about these features. They are included in PTXprint to enable advanced/legacy users to continue using their own .tex code and custom stylesheets. They can also be used to setup tracing information in the log files to assist with troubleshooting. Given that there is now a full-blown Style editor interface in PTXprint, it is rare that anyone would need to use the .sty file options.

My personal favourite is to use the “Apply Changes Specified” to make global changes. The rules in these files are essentially “Fiind something” > “Replace with something else”, but there are some powerful extensions too:

Turn Glossary book entries into indented list of items rather than normal paragraphs
at GLO "\\p \\k " > "\ili \k "

Just for the gospel of Mark, insert a page break BEFORE the title of the Introductory Outline
at MRK "(\\iot बगा बतल मंता)" > "\pb\r\n\1"

Note that you can use regular expressions too.

Hide the unwanted numbers with (10,000) markup:
'\([\d–,-]+\) ' > ''

There is also this possibility:
in “within a specific environment”: “find-this” > “replace-with-that”
in "(?sm)\\qt-s\\*.+?\\qt-e\\*": "(?sm)(\\s .+?\r?\n(\\r .+?\r?\n\\p)?)" > "\\qt-e\\*\r\n\1\r\n\\qt-s\\*"

by (2.8k points)

Related questions

0 votes
0 answers
0 votes
2 answers
0 votes
2 answers
0 votes
2 answers
0 votes
1 answer
Paratext Nov 25, 2019 asked by Paulus Kieviet (505 points)
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
There is neither Jew nor Gentile, neither slave nor free, nor is there male and female, for you are all one in Christ Jesus.
Galatians 3:28
2,726 questions
5,531 answers
5,144 comments
1,571 users