0 votes
130 views

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.4k points) | 130 views

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

Related questions

+1 vote
2 answers 81 views
In PTXprint 3.0.18, I am trying to place two illustrations for a single book by modifying the parameters under Details for ... no avail. Is this a bug or am I missing something?
drwww 448 asked Apr 9
0 votes
2 answers 27 views
In the Pictures pane, when I click the checkbox next to Include Pictures (Illustrations), I get the following error message ... \\Tangkhul_Petia\\..\\Tavua' PTXprint Version 3.0.8
petia_downey 111 asked Jan 26
0 votes
1 answer 19 views
In my PDFs from PTXPrint 2.8.17, when I right-click on a picture, I should get a context menu giving me options ... do something different? I sent an archive to the developers. JN
john_nystrom 312 asked Jun 26, 2025
0 votes
1 answer 185 views
Jonathan Bamford 102 asked Jul 19, 2024
0 votes
2 answers 162 views
It seems that if I work on a different job, when I come back, my list of pictures with all the fine tuning disappears. I ... under the main Paratext project folder. I am on 2.2.5.
LorenHawthorne 173 asked Oct 28, 2022
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
Every day they continued to meet together in the temple courts. They broke bread in their homes and ate together with glad and sincere hearts, praising God and enjoying the favor of all the people. And the Lord added to their number daily those who were being saved.
Acts 2:46-47
3,042 questions
6,001 answers
5,666 comments
2,024 users