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

USFM test documents #119

Open
grahame opened this issue Apr 19, 2021 · 1 comment
Open

USFM test documents #119

grahame opened this issue Apr 19, 2021 · 1 comment

Comments

@grahame
Copy link

grahame commented Apr 19, 2021

I'm working on an implementation of USFM for Python. My implementation reads in the Paratext stylesheets so hopefully it will be easy to update it as USFM is developed and new markers are added.

I've found a few areas of ambiguity, mostly in trying to understand how paragraph markers interact with character environments – does a new paragraph marker implicitly close all character environments?

Beyond that specific case, I'm wondering if there are any test documents which exercise implementations? I'm thinking things such as the interaction of the different marker types, nested character markers, the interaction of character markers and footnotes, and whitespace handling.

Thanks for any help.

@mhosken
Copy link

mhosken commented Oct 25, 2021

BTW ptxprint has a python USFM parser driven by stylesheets, in case you are interested. Thanks to Tim Eves for writing it.

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

2 participants