Hello, I am relatively new to the forums and to PBBs. One of the solutions for having a PBB converted from Libronix to Logos 4 is to open it in 3, then copy text to a .DOCX file, then import into 4. I have taken the text from open domain sites of the Summa Theologica by Thomas Aquinas and put it into a .DOCX file. It works okay, but formatting is a problem. The txt file has a return at the end of each line, instead of each paragraph, so the lines don't auto change with the window size in Logos 4. Removing these will take quite a lot of time. I found a site that has many PBB in the Logos 3 format. included is the Summa. Unfortunately, when I open them in Logos 3, it is only the title page I see. each of the 5 PBB files is around 1Mb, so there is more there than a title page, so I was wondering if I am doing something wrong. if anyone can lend a hand, I would appreciate it. I didn't include any links as I am unaware which ones are allowed.
John C. Livesay:Removing these will take quite a lot of tim
Presuming you are using Word use a macro, this should do most of it
5875.macro.txt
Never Deprive Anyone of Hope.. It Might Be ALL They Have
Thanks. I am not real sure how to implement this, not real good with macros. I tried to create a new macro, copied the text given to me, and tried to test run in VB, but ended with an error about can't end with if no open with, or something like that. Thank you so much for your help, sorry to be so much trouble.
John C. Livesay:The txt file has a return at the end of each line, instead of each paragraph, so the lines don't auto change with the window size in Logos 4. Removing these will take quite a lot of time.
There's an easier way to do this than with a macro, assuming that at the end of each paragraph, there's a double return. Here's how I do it:
1. Using Find and Replace, first replace all double paragraph marks (^p^p) with some character sequence that you know will not appear anywhere in the document, e.g. $$$.
2. Next replace all single paragraph marks (^p) with a space. (See why we had to first replace the double ones with something else; so they wouldn't get picked up in this step.)
3. Finally replace all instances of your temporary string ($$$) with single paragraph mark (^p).
How to Ask for Help | Logos Wiki | My Machine Specs | My Blog
Rosie Perera:There's an easier way to do this than with a macro
If there is no poetry or indeted quotations I agree - keep it simple
However, if there is poetry/indented quotes sadly they get trashed using the simple method.
John C. Livesay: tried to test run in VB, but ended with an error about can't end with if no open with, or something like that. Thank you so much for your help, sorry to be so much trouble.
sorry will have a look tomorrow, I removed "other bits" from it, so have likely deleted a bit too much
Thank you so much Rosie, it worked like a charm, and thanks also to you Dominic for your help also. Now I am going to learn to edit all the fun stuff in the PBBs, like TOC, milestones and all the rest.