0 votes
176 views

The command line help says

-b BOOKS, --books BOOKS
                        Reference list to print (as in Choose Books)

in the github code, I also found documentation that says

-b BOOKS, --books BOOKS
                        Space separated bookid list to set

both of those would suggest that I just write the book abbreviations. But if I do this
python ptxprint -b JAS 1PE -P
I get
res=0
and if I do this
python ptxprint -b JAS 1PE 2PE -P
I get
ptxprint: error: unrecognized arguments: 2PE

  1. What is the correct syntax?
  2. What does res=0 mean? (I’ve seen that while trying to install ptxprint on a new Linux machine also.)
PTXprint by (1.9k points) | 176 views

1 Answer

0 votes

My best guess is that if you want to do multiple books, you’ll need to put the list of books in quotes:

python ptxprint -b "JAS 1PE 2PE" -P

res=0 means that the program completed successfully without any errors (any number other than 0, like res=1, or res=2 indicates that something failed).

by (3.2k points)
reshown

Thank you. The quotes did the trick.

Related questions

0 votes
5 answers 282 views
I'm trying to produce individual PDFs of each book in the project. My thought was to use the command line ... single configuration to generate a PDF for single books like this?
Jim_Smith 131 asked Apr 10, 2023
0 votes
2 answers 284 views
A team I support has been publishing selected Psalms and other chapters to their Scripture app as the chapters are approved ... might be useful to other teams in other regions too.
anon469793 155 asked Nov 11, 2019
0 votes
1 answer 198 views
I know there are a lot of features everyone would like. I am not asking for a new one (just yet) but wondering if ... was reading it on a machine with the Paratext project on it.)
Kent Spielmann 1.8k asked Dec 21, 2018
0 votes
2 answers 196 views
I help operate ScriptureEarth.org. We are dreaming about the possibility of setting up an option for people to request ... . Does this sound at all reasonable? --Loren Hawthorne
LorenHawthorne 173 asked Aug 5, 2024
0 votes
3 answers 330 views
I'm getting Luke and Acts ready to be printed as a booklet, and I can't figure out how to put an intermediate title page before the beginning of Acts.
Jamie 102 asked Aug 6, 2024
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,037 questions
5,994 answers
5,661 comments
2,022 users