0 votes

In a little over a week I will be training French-speakers on PTXPrint. I would like to show an example of using pictures, but I do very little with pictures in Scripture publications myself. Do the picture definitions need to come from the Paratext text files, or is there a way to add them separately, sort of like you can with SAB? (See https://lingtran.net/Jesus-Messiah%3A-Gospel-of-Mark-Picture-Set.) In the Pictures tool, Details tab, there is a button Add Picture…, but whenever I try to use it I get this error:

PTXprint Version 1.5.7

Traceback (most recent call last):
File “ptxprint\gtkview.py”, line 2420, in onPlAddClicked
File “ptxprint\piclist.py”, line 455, in add_row
UnboundLocalError: local variable ‘newrowcounter’ referenced before assignment

Do you have to have a PicList first? I tried Generate, but there are no pictures in my text, so it just creates an empty list.

I would like a simple example that I can show people, how you can modify the size and position, etc.

PTXprint by (1.3k points)

1 Answer

0 votes

Yes, the ideal way to work is to use Paratext’s Insert > Figure… feature to insert illustrations which end up in the text with \fig … \fig* markup. These then get picked up by PTXprint and turned into a PicList which can be fine-tuned (for size, position, etc.)

It should be possible to add illustrations using the Add button, but you’ve obviously unearthed a bug for us to fix… I wouldn’t recommend adding all your pictures using this method, but for the occasional addition, it should work (in future).

by (2.6k points)

Related questions

0 votes
1 answer
0 votes
2 answers
PTXprint Oct 28, 2022 asked by LorenHawthorne (173 points)
0 votes
3 answers
0 votes
1 answer
Paratext Nov 20, 2019 asked by anon746885 (105 points)
0 votes
7 answers
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
Just as a body, though one, has many parts, but all its many parts form one body, so it is with Christ.
1 Corinthians 12:12
2,628 questions
5,369 answers
5,045 comments
1,420 users