Closed LAfricain closed 2 years ago
I see you have extra non-usfm markup in the source.
Yes but this doesn't matter for the issue. I tried without this markup and the problem is the same. In the attached file I copied 3 chapter of Revelation without the extra non-usfm markup.
I'm not sure I'm going to be able to make u2o work properly for commentaries like you're trying to do. I'm not even sure usfm was ever intended to be used for commentaries. I will have to do more thinking on this.
Hi
work properly for commentaries like you're trying to do
This file is only an example, the problem remains with a bible. It's possible to have table in introductions.
m not even sure usfm was ever intended to be used for commentaries
No idea about that but it's working perfectly! And an easy way to convert to other format, like wikis.
In order for me to fix issues in u2o I need to see the actual files that are problematic. I won't be able to tell where the problem is otherwise.
I haven't been able to find anything in the usfm documentation to indicate tables are allowed in introductions. Lists are allowed, but I see nothing for tables.
Hi, Why are speaking about tables? Tables work fine with u2o.py. The problem is actually the lists.
Hi, Why are speaking about tables? Tables work fine with u2o.py. The problem is actually the lists.
I mentioned tables because you said in a previous comment "It's possible to have table in introductions."...
With regards to this issue, as far as I can tell the lists are converted properly. So it's not an issue with lists. The placement of chapter/verse markers is problematic though. That should be reported under a separate issue and the files that are problematic for conversion need to be shared with me or I won't be able to try and fix the issue.
Hi Ryan,
I mentioned tables because you said in a previous comment "It's possible to have table in introductions."...
My mistake! I wanted to say list...
That should be reported under a separate issue and the files that are problematic for conversion need to be shared with me or I won't be able to try and fix the issue.
You can find the usfm files here: https://gitlab.com/crosswire-bible-society/scofield/-/tree/main/usfm Don't take care to the @@reference strange tags.
If we have a \li tag at the end of a verse the tag is written like this
<verse eID="Rev.22.19" /></item> </list>
it should be:</item> </list><verse eID="Rev.22.19" />
. Example with the usfm tag and the osis tags following:Gives this:
It can be even worse: