-
Notifications
You must be signed in to change notification settings - Fork 16
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
Check if input is USFM itself before attempting to parse #189
Comments
Here's what I use:
Where the ID line is (theoretically) parsed into variables
So, specifically to USFM conformance: If exactly "(USFM)" is found before the first dash on the ID line, then the work should conform to the USFM standard listed with the \usfm tag, or USFM 2.5 if no \usfm tag is found. This affects linking, tables and images.
|
Thank you @cmahte for sharing this! I could not, however, find any official documentation to support this syntax specification. Is this something Paratext (or some such software) does? If so, could you point to the documentation? |
How usfm_grammar 3.x would behave if we gave it a random text file?
Can we do some checks like, if no \id found in the first 3 content lines of the file, then bail?
The text was updated successfully, but these errors were encountered: