0 votes
193 vues

Hi Folks,
When I check the following, PTXprint is creating following error (below screenshots):
PT Project has following markers with text:

In PTXprint check option:

image

PTXprint [2.3.30] - Error!
Failed to create: SKR_skr-5x7-2Col_MAT_ptxp.pdf
! .
\gettop@param #1->\edef \p@ramcheck
{#1}\ifx \p@ramcheck \empty \else \trace…
\getp@ram …ramfalse \fi \else \gettop@param {#1}
\fi \global \let \p@@r@m =…
\endlastp@rstyle …aceafter}{\m@rker }{\styst@k }
\global \let \spaceafterp@…
@p@rstyle #1->\endlastp@rstyle {#1}
\ifn@npublishable \else \mcpushunderms {…
@@p@rstyle …e }\else \let \n@xt @p@rstyle \fi
\fi \fi \x@ \n@xt \x@ {\ne…
\t@mp ->متّی\mt1
متّی

l.7 \mt2 د
ی راہِیں اِنجِیل

This might be related to a USFM marker error (using an unsupported marker).
Try running ‘Basic Checks’ in Paratext to validate markers.

PTXprint Version 2.3.30

PTXprint par (140 points)
réaffiché | 193 vues

4 Réponses

0 votes

Sadly, that snippet from the log (the bit with all the \ifx...\fi and so on in it) is too short to be very useful. (I think the python code just counts a certain number of lines, which in this case isn’t enough.) Nor can I recreate the bug with a test project here. Could you go to the ‘Help’ tab, create an archive, and submit it to [Email Removed] please?

par (1,1k points)
0 votes

Thanks, I have sent an email with the archive.

par (140 points)
0 votes

OK, I’ve had a look at the archive. The error comes into the class of “Something very odd is happening”
The error was because TeX was trying to turn the text متّی\mt1 متّی into part of the running header line (\h).
\h is a special line which, because of how it is used in PTXprint, must occur on a line on its own, with no other USFM markers following it. The final USFM has a line:

\h متّی\mt1 متّی
Which is the cause.

Your input SFM file does not seem to contain this line, but it’s there’s one by the time the file gets to TeX. So I guessed that it is the changes file, and sure enough, turning off the changes file fixes the problem.

Digging deeper, I find this line, in changes.txt

"(\\toc3 (.+?)\s+)" > "\1\\h \2"

That line puts \h on the same line with whatever follows it.
The following is a version which will not cause crashes:

"(\\toc3 (.+?)\s+)" > "\1\\h \2\n"

The \n at the end, adding a new line.

par (1,1k points)
0 votes

Thanks David. It is working now.

par (140 points)

Questions connexes

0 votes
1 réponse 245 vues
Is there a good way to extract Section Headings to help create Book Outlines? I tried copy/paste from the Section Headings ... required once we have a list. Thank you, SIL+LSS+PNG
SIL LSS PNG 411 posée avr. 30, 2019
0 votes
1 réponse 20 vues
J'utilise PTXprint 3.0.11, mais je ne l'ai pas utilisé depuis un certain temps, il y a donc de ... en utilisant la configuration que j'avais utilisée précédemment. Merci !
MnKN 134 posée févr. 21
0 votes
2 réponses 31 vues
Dans le volet Images, lorsque je clique sur la case à cocher à côté de Inclure les images (Illustrations), je reçois ... Projects\\Tangkhul_Petia\\..\\Tavua' PTXprint Version 3.0.8
petia_downey 111 posée janv. 26
0 votes
1 réponse 23 vues
Je reçois le message d'erreur suivant lorsque je sélectionne un projet sur le panneau Basic. J'ai deux projets distincts ... Projects\\Tangkhul\\..\\Tavua' PTXprint Version 3.0.8
petia_downey 111 posée janv. 26
0 votes
1 réponse 17 vues
I'm running Ubuntu 25.04, and I installed ptxprint like this: sudo apt install python3-ptxprint I experience ... this version of Python does not have the _posix_flavour attribute.
bit 495 posée oct. 8, 2025
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
For just as each of us has one body with many members, and these members do not all have the same function, so in Christ we, though many, form one body, and each member belongs to all the others.
Romans 12:4-5
3,044 questions
6,003 réponses
5,671 commentaires
2,026 utilisateurs