[sword-devel] USFM conformance in usfm2osis.py

Chris Little chrislit at crosswire.org
Thu Aug 2 17:59:55 MST 2012


On 08/02/2012 11:54 AM, Kahunapule Michael Johnson wrote:
> On 08/01/2012 09:17 PM, Chris Little wrote:
>> End tags like \fqa* make little difference. Without the relaxed processing, the only difference my script makes is to not delete these end tags.
>
> Simply deleting \fqa* might not have the intended effect. For example,
> \f + xxxx could also be translated \fqa yyyy \fqa*or \fqa zzzz\fqa*.\f*
> does not mean the same thing as
> \f + xxxx could also be translated \fqa yyyy or \fqa zzzz.\f*
> but does mean the same thing as
> \f + xxxx could also be translated \fqa yyyy \ft or \fqa zzzz\ft .\f*

I delete end tags like \fqa* as a final step in my footnote processor,
before which, all note-internal tags that begin \f- are treated
identically and will cause the closure of the previous tag. So your
first and third cases get treated identically, just as when a \fqa* 
precedes \ft in the third case.

--Chris




More information about the sword-devel mailing list