On 01/02/2016 12:50 PM, Ryan Hiebert
wrote:
The definition of a marker, the only formal definition I can find for it, is that it goes from a '\' (backslash) to the next ' ' (space). Unfortunately, this is not sufficient for two reasons. The first is that a marker may be on it's own line, and a newline immediately following, without the space required by the definition. The second is that more parsing than that must be done to identify an specific marker, as each marker has its own requirements for the text that may follow it, and some markers must be used together (specifically, those with matching ending markers). MOST USFM markers start with "\" and terminate with white space (space or newline) or "*". There are two oddball official markers that don't follow this pattern: "~" and "//". There is also the unofficial but widely used shortcut of "<" for "‘", ">" for "’", "<<" for "“", and ">>" for "”". If a marker has an end marker, it is the same as the beginning marker, but with the terminating space or newline replaced with "*". Note that the space after "\nd " is part of the marker, but the space after "\nd*" is not part of the marker but part of the text. This little bit of detail is important in avoiding adding spaces where they don't belong, such as in the Khmer language. You can try to get access to Paratext. It might work. Either way, there is another USFM editor that works almost the same: Bibledit. You can get that for free from http://Bibledit.org. --
Aloha,
|
_______________________________________________ sword-devel mailing list: sword-devel@crosswire.org http://www.crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page