0 votes
217 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) | 217 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 410 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 260 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 102 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 316 asked Jun 26, 2025
0 votes
1 answer 340 views
Jonathan Bamford 102 asked Jul 19, 2024
0 votes
2 answers 305 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.
And I tell you that you are Peter, and on this rock I will build my church, and the gates of Hades will not overcome it.
Matthew 16:18
3,079 questions
6,045 answers
5,708 comments
2,046 users