-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversion from MyBibleZone results in extraneous line breaks at beginning of verses #104
Comments
The unwanted whitespace with ToolTipTool was a bug in ToolTipTool, even resulting in newlines in the middle of tags where it toppled over its own feet and caused errors. It has nothing to do with whitespace that may be in the module before which will be reproduced. BibleMultiConverter will not magically create good quality modules from bad ones. I am not aware of any whitespace import issues in MyBibleZone either (#89 is about formatting tags). That being said, if you believe it is a bug in the converter (especially when whitespace does not appear in MyBible.Zone but does after conversion), please tell me which module you converted (or attach it here if not available from the repository) and in which verse you see the whitespace. You can also try to first convert to |
I discovered the source of the "newlines", and I do not believe them to be directly related to this tool. By looking at the SQlite file, all the affected verses have a lone
Personally, I would say the most 'proper' solution would be adding code to the ESwordV11 exporter to remove any newline / whitespace / Will close the issue and post the SQL I come up with in case wants to do similar in the future. |
Most MyBibleZone modules I've encountered so far (some years ago...) have the I guess if they were at the end of the line, ESword would also be able to cope with them just fine. In case modules like this become more common, maybe I can add a StrippedDiffable option to StripLineBreaksAtVerseStart or similar - or discard them altogether on MyBibleZone import or (try to) move them to the end of the previous verse where they belong (I believe). |
Seems to me a lot of them have On this page: https://www.ph4.org/b4_1.php?l=en&q=mybible I just tested the following, which when converted using only
...But not all of them in this format. At least the older versions of NIV don't have them, and Logos 1972, and ASV+ doesn't either. |
Here's the SQL I was using both to band-aid the problem, and to find the counts:
|
Indeed, I just had a look at the latest RSV module (both in the app and when converting) and the line breaks are all at the beginning of lines. Yet the app does not cut off the verse numbers any longer. So I'll have to update my converter to better handle this by moving the line breaks to the previous verse (in case there is no headline in between or the verse is not the first one). I will update the issue metadata accordingly :) |
This is only a minor issue, but I noticed the old ESword exporter that required extra tools had extra instructions for reducing unwanted whitespace.
Today, I converted multiple MyBibleZone formatted versions to E-Sword using the new ESwordV11 exporter.
First, I wanted to say than you very much for making this tool, it worked amazingly!
However, some of the versions do still seem to have extraneous whitespace, especially newlines at the beginning of verses.
Is that something that the new exporter is supposed to solve? Or is this a problem with the new MyBibleZone format (#78)
The text was updated successfully, but these errors were encountered: