0
204 次瀏覽

命令列說明指出

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

在 GitHub 程式碼中,我也找到說明指出

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

這兩者都暗示我只需輸入書卷縮寫。但如果我這樣做
python ptxprint -b JAS 1PE -P
我會得到
res=0
而如果這樣做
python ptxprint -b JAS 1PE 2PE -P
我會得到
ptxprint: error: unrecognized arguments: 2PE

  1. 正確的語法是什麼?
  2. res=0 代表什麼?(我在嘗試於新的 Linux 機器上安裝 ptxprint 時也見過這個訊息。)
機器翻譯自 English
PTXprint (1.9k 點) 提出 | 204 次瀏覽

1 個回答

0

我猜,如果您想處理多卷書,需要將書卷清單放在引號中:

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

res=0 表示程式成功完成且沒有錯誤(任何非 0 的數字,例如 res=1 或 res=2,都表示發生失敗)。

機器翻譯自 English
(3.2k 點) 提出
已重新顯示

謝謝。加上引號後就成功了。

機器翻譯自 English

相關問題

0
5 個回答 332 次瀏覽
我試著為專案中的每一本經卷產生獨立的 PDF 我的想法是使用命令列工具,例如這樣: "C:\Program Files\PTXprint\ptxprint.exe" -b ROM -c SingleSpaceDraft -P XYZ (我很樂意為每個檔案分別執 ... 的選擇包含在設定檔中,但我不確定 是否可以使用單一設定檔來像這樣為單本經卷產生 PDF?
Jim_Smith 131 提出 已提問 4月 10, 2023
0
2 個回答 322 次瀏覽
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 提出 已提問 11月 11, 2019
0
1 個回答 232 次瀏覽
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 提出 已提問 12月 21, 2018
0
2 個回答 227 次瀏覽
我協助營運 ScriptureEarth.org 我們夢想著能建立一個選項,讓使用者可以要求生成 PDF,並自行選擇頁面大小 字體與行距,或許還能選擇字體 雙欄或單欄排版 我們的伺服器是基於 Linux 的 看起來,如果我們能將 ... 希望能夠讓使用者選擇他們需要的參數,而不是發布十幾種不同的格式 這聽起來合理嗎? --Loren Hawthorne
LorenHawthorne 173 提出 已提問 8月 5, 2024
0
3 個回答 376 次瀏覽
我正在準備將《路加福音》和《使徒行傳》印製成小冊子,但我找不到如何在《使徒行傳》開始之前插入一個中間標題頁。
Jamie 102 提出 已提問 8月 6, 2024
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
Accept the one whose faith is weak, without quarreling over disputable matters.
Romans 14:1
3,048 個問題
6,007 個回答
5,672 則評論
2,028 位使用者