0
601 次浏览

I am working on a translation of the Old Testament to northern Sami language. I have used Libre Office during the preparation of the text. I want to swap to Paratext software.

Is it an easy way to import text from text files to paratext?

较早的帖子 - 以原始语言显示
Paratext (111 分) 发布 | 601 次浏览

5 个回答

0
最佳答案

Sure.
You will have to test it out and see how it works for you.
Here is a link to download it, you are welcome to tweak etc., and these are as is, i.e. I can’t guarantee that they will do what you want, so I would definitely not use them on your only copy of files, etc. Also, I don’t think they will work with Word on Mac.


As far as how to import these into Word, what I find easiest is to open a blank Word document, and use the key combination Alt-F11 to open up Visual Basic.
Then, I like to make sure I am in the normal template. When you open Visual Basic, it defaults to the current project/document, so using the Project Explorer window at the top left (if not visible, click View > Project Explorer), I will click on the line that says Normal. Then, click File > Import file, and import the ParatextMacros.bas file you downloaded.
I have several varieties of macros, two basic ones that use no styles, and presuppose that verses, headings, etc. will be marked in a specific way. These are basically only useful on single chapter files, and would likely need edited for what you want.
In a case where you have used extra characters etc. along with the chapter or verse numbers, the ParaStyle macro is useful. For example, if you wrote out chapter along with each chapter number, it can identify and remove the extra info. Or if your verse has extra markings, i.e. something like 1)., you can show that. For that you will also need to know what your font sizes etc. are.
The Parastyle macro also will offer to search for styles.
The styles macro only searches for styles, and lets you search for the style you want to, and asks for the desired marker.
There is also a Footnotes macro, which will find footnotes and embed them at the correct place in the text, with the footnote marking. However, it won’t mark the footnote reference info. (that can be done using Regex Pal in Paratext, I can give you my regex strings on that if you need it). The footnotes macro is already embedded in the Parastyle and Style macros.
Since Paratext is picky about order of headings and chapter markers, and often word files will have the order switched, I often will use a regex enabled text editor like Edit Pad Lite to swap the order of the headings and chapter markers. I can also give you the regex strings I use for that if you need them. RegexPal only works within chapter boundaries, so that step had to be done outside of Paratext.
Like I said, no guarantees these will work well for you, but I have used them multiple times over the last 10 years, and have been tweaking things on them with each new translation I import. I have found that by using a combination of these with a regex capable text editor, I can often import an entire New Testament in a couple of hours, depending on different factors. If the translator has included a lot of numbers in the text, and hasn’t used styles, it gets much more complicated.
Feel free to try these out, and let me know what you find. I am always trying to tweak them to cover a broader range of translation styles.
BEH
较早的帖子 - 以原始语言显示
(418 分) 发布
0

Yes there are a few converters that can do it as long as you have been consistent in the text. I have one that I use but it only works in Word. It does not do the Section heading or title information but will put in the rest markers (Not sure about the footnotes). I am sure some to the other Users have better converters if not I might be able to modify mine to work for you.

较早的帖子 - 以原始语言显示
(238 分) 发布
0

I also have some Macros for Word, that are able to do most of the work. If styles were used, it is able to mark almost everything, including footnotes, but there is always some cleanup after importing. I have been able to import a complete New Testament that was well formatted within 2 hours, but it all depends on the text that is being imported.
It does require a decent understanding of Paratext markers, as the user needs to specify what marker to use in a dialogue box.

较早的帖子 - 以原始语言显示
(418 分) 发布

That sounds way better then the version I have could I get a copy of yours?

较早的帖子 - 以原始语言显示
0

LibreOffice Writer is able to save a document in Microsoft Word format. Perhaps you would want to try taking one OT book, creating a Word document from it, trying the Word macros on it, then seeing if the result can be imported into Paratext.

较早的帖子 - 以原始语言显示
(296 分) 发布
0

Thank you for your help.

It is possible I can use some part of the code.

My text of the Old Testament consist the old testament text and lot of comments to the text.

The comments should not be part of the final text. They are used during the translation.

I think the easiest solution for me is to convert the Libre Office/Word file to a plain text file, and then develop a converter for the text file.

In Paratext is the bible text and comments divided into two different files, and therefore I think it will be difficult to use a word macro.

(sorry for my bad English)

较早的帖子 - 以原始语言显示
(111 分) 发布

相关问题

0
1 个回答 14 次浏览
在导入某卷书的全新版本时,同时保留旧版本的最佳做法是什么?很久以前,路得书是用一种方言起草的,而后来选定的整体翻译方言并非此种。现在,标准方言的新译本已经准备就绪,我想将其导入项目。但我希望能在项目中某处保留旧版本。我是否应该直接将旧版本的文本剪切并粘贴到一个 XX 书中,以便将标准的 RUT 用于新版本?还是有更好的方法?
Ruth Mathys 153 发布 提问于 十月 7, 2025
Paratext
+1
3 个回答 435 次浏览
Exporting the Wordlist to HTML is a nice feature, except that for many users including me, working with HTML is ... that are currently marked as spelled correctly in PT? anon101508
anon101508 117 发布 提问于 三月 11, 2019
0
3 个回答 326 次浏览
A user has Paratext running in a virtual Windows machine on his Mac. He says he cannot select text in Paratext ... problem? He has set VirtualBox to permit sharing the clipboard.
[Expert]
sewhite
3.3k 发布
提问于 六月 28, 2018
0
3 个回答 305 次浏览
I have a user who is trying to export from Paratext 8.0 to a FLEx text. If he does a copy/paste in Standard ... 444 | Papua New Guinea [Email Removed].pgmailto:[Email Removed].pg
SIL LSS PNG 411 发布 提问于 十一月 15, 2017
0
4 个回答 812 次浏览
我们团队着手修订一部已出版的新约译本 起初我们很乐观,希望不会花太长时间,也不需要做太多改动 但现在我们发现,超过 90% 的经文都被修改了 我们在 Paratext 外部完成了所有修订工作 原因有很多,这里就不赘述了 然而,现在临近 ... 你会给我什么建议?我目前倾向于选项 2,只是手动完成添加标题和交叉引用的工作 无论如何,标题都需要手动修订
bit 495 发布 提问于 十二月 2, 2020
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
Give proper recognition to those widows who are really in need.
1 Timothy 5:3
3,045 个问题
6,005 个回答
5,671 条评论
2,026 位用户