0
51 次瀏覽
我需要將 USX 檔案轉換為 USFM。我看到 Paratext 有一個選項可以進行反向操作,但找不到將 USX 轉換為 USFM 的選項。我需要這樣做,是因為 Proskomma(用於 Scripture App Builder 建置 PWA)拒絕了 12 本聖經書卷,理由是它們不符合標準格式。我希望將它們轉換為 USFM 後,Proskomma 處理起來會更容易。
機器翻譯自 English
Paratext (109 點) 提出 | 51 次瀏覽

2 個回答

+2
最佳回答

Paratext 可以使用 Project > Manage books > Import book(s) 將 USX 檔案匯入現有的專案。這會將 USX 轉換為 USFM 並儲存在專案中。

機器翻譯自 English
[Expert]
(16.7k 點) 提出

已選取 提出
太棒了!我原本沒意識到轉換是在背景中進行的。現在我有了漂亮的 USFM 檔案。非常感謝!
機器翻譯自 English
0

I think usfmtc will do that for you. (https://github.com/usfm-bible/usfmtc, or pip install usfmtc)

I just tested it with a script like the below, and it seems to work. I'm guessing that it will be better than Proskomma, but it's still going to assume your USX file is exactly what the USFM standarizations committee considers "correct" USX.

import usfmtc

input_file = "input.usx"   # Change to your USX file path
output_file = "output.sfm" # Change to your desired SFM output path

doc = usfmtc.readFile(input_file)
doc.canonicalise()
doc.saveAs(output_file, outformat="usfm")

(1.9k 點) 提出

相關問題

+1
6 個回答 823 次瀏覽
有人知道一個將 USFM 格式轉換為 USX(或其他任何 xml 變體)的命令列工具嗎? 我想寫一個腳本,從不同的專案中抓取幾個不同的 .sfm 檔案並批量轉換它們 使用內建的 Tools->Advanced->Export Project ... usfm2usfx.exe 工具,但無法使其工作,但如果人們說那是最佳選擇,我可以嘗試弄清楚哪裡出了問題
mnjames 1.9k 提出 已提問 8月 30, 2018
0
4 個回答 620 次瀏覽
We have a historical NT (from 1542) with extensive comments in footnotes to help modern readres to handle it. Is ... in USFM files, too? Any help would be appreciated, anon982572
Seppo Sipilä 250 提出 已提問 6月 7, 2016
0
6 個回答 509 次瀏覽
我想向我們的委員會展示所有包含希伯來文「chesed」(慈愛)一詞的經節,以幫助他們思考:(1) 該詞在每個上下文中的用法,以及 (2) 該詞在不同上下文中的整體用法 我可以輕鬆地在源語言搜尋工具中搜尋「chesed」,並獲得一個很好的清單 ... ,以我們的專案語言(而非希伯來文)輸出經文 是否有簡單的方法來建立源語言參考清單,然後將其轉換為專案參考清單?
viverechristus 296 提出 已提問 9月 23, 2021
0
1 個回答 429 次瀏覽
我想將專案匯出為 HTML,以便與他人分享草稿 我不想匯出為 PDF,因為 PDF 在智慧型手機和其他小螢幕裝置上操作起來相當不便 我可以透過開啟 Paratext,點擊專案選單按鈕,然後選擇「進階」(Advanced),再選擇「將專案 ... 而,USFM 標記是可見的,例如 \v 1 和 \s 等標記 我該如何隱藏匯出 HTML 中的 USFM 標記?
bit 495 提出 已提問 4月 14, 2022
0
2 個回答 368 次瀏覽
Hello, I am writing as a representative of a small task team assigned to review proposals for what becomes a ... necessary information with you. Thank you. jmkla [Email Removed]
[Expert]
jmkla
290 提出
已提問 10月 2, 2015
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
And over all these virtues put on love, which binds them all together in perfect unity.
Colossians 3:14
3,047 個問題
6,007 個回答
5,672 則評論
2,027 位使用者