0 votes
154 views

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 (167 points) | 154 views

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 (3.2k points)

Related questions

0 votes
0 answers 143 views
How to articles for complex layouts For some of the more complex outputs, it isn't immediately obvious how to achieve the ... please get in touch so that they can also be added.
Mark P 3.2k asked Jul 22, 2022
0 votes
2 answers 390 views
We received this question from a user: I am looking for usfm documentation that will explain all the syntax and markers. ... any info on that anywhere. thnx Any insights? Thanks,
[Moderator]
james_post
2.1k
asked Jan 13, 2023
0 votes
2 answers 264 views
The latest version of USFM documentation that I see for Spanish is version 2.2. Does anybody know of a ... not seeing localized versions of the USFM website. Thanks, james_post
[Moderator]
james_post
2.1k
asked Mar 24, 2022
0 votes
2 answers 258 views
Not sure this is the right place to ask, but several downloads and attempts to open with two different archive ... jpg Where else can I download the documentation from? anon589069
anon589069 132 asked May 21, 2021
0 votes
1 answer 400 views
Documentation for USFM 3 is available online (https://ubsicap.github.io/usfm/). However, the search functionality ... also available as a (searchabla) PDF? Paulus+Kieviet
Paulus Kieviet 517 asked Nov 25, 2019
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
3,037 questions
5,994 answers
5,661 comments
2,022 users