Skip to content
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

Orefs doesn't convert the ref without the name of the book only if multiple verses #104

Open
LAfricain opened this issue Apr 11, 2020 · 3 comments

Comments

@LAfricain
Copy link

Hello,
This is like an update of the situation with orefs.py. I now it's deprecate, but it's an amazing tool, it would be really pity to give up, because we have nothing else...
Orefs, is almost perfect!
If I respect all the "rules", names without period, SEPM for different reference of a same book different from SEPP. It works very well. Only for the this type of ref:

<reference osisRef="Gen.41.54">Kej 41:54, 42:1-5<!-- orefs - unprocessed reference --> </reference>

Yo can see 42:1-5 is not processed. But if I have 42:1 it will be good processed. During the process orefs.py see this reference as a Gen 42:1-5 saying it was not processed!!!
I use an old version of orefs.py because the new is not working.
Solving this problem would improve a lot orefs.py.

@adyeths
Copy link
Owner

adyeths commented Apr 13, 2020

Orefs doesn't work properly the way it's currently written. That's why I stopped updating it. In many cases, the osisRefs that it generates are invalid, even though the XML validation says they're okay. One of these days, eventually, I will get around to trying to rewrite it. I have to figure out how to split the references apart without badly mangling things so that proper OSIS references can be created first. It's not an easy task for me.

@DavidHaslam
Copy link

@adyeths

Is it still too difficult a programming task?

@adyeths
Copy link
Owner

adyeths commented Jun 16, 2023

I'ts not something I will likely be able to accomplish.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants