Open jcuenod opened 2 weeks ago
You may be able to resolve some of the errors by using a different value for the --stylesheet-field-update
option, which changes how a project's custom USFM stylesheet is handled for the "OccursUnder" and "TextProperties" fields. The possible values are "merge" (default), "ignore", and "replace". I know we've had to use "ignore" for NIV84 in the past.
We really need to switch the USFM parsing over to Machine. This is clearly becoming a higher and higher priority. @isaac091, how would you feel about taking on that task?
Sure, I would be happy to.
@isaac091, thanks I'll give --stylesheet-field-update
a try. Look forward to seeing these things resolved :)
Fyi, this was really useful to know. Thanks!
I'm repeatedly hitting these with various sources. It seems to be some sort of USFM issue (based on the SyntaxError in the middle).
Here's one translating the book of Psalms using the NIV11 as a source:
Here's another translating just PSA23 using BENCLBS as a source: