<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">There is one more bizarre break with
USFM syntax: the vertical bars in the \fig ...\fig* marker. There
must be exactly 6 of those, separating 7 fields. Four of those
fields are marked in the specification as being mandatory, but
don't count on them being nonzero length. Until recently, Paratext
never enforced the structure and contents of those fields.<br>
<br>
If it seems that USFM is more complex than it needs to be, your
assessment agrees with mine. It is that way, however, because of
the history of the evolution of the standard, with changes made
incrementally, trying to not invalidate large numbers of existing
texts in USFM. For example, the character style terminator marker
was an afterthought. The ability to nest styles was an even later
afterthought. Both of those potentially conflicted with the pure
flat one character style allowed to be active at a time philosophy
that worked for so many simple Bibles for so long. Now, however,
there are many examples of nesting of character styles in
real-world Bibles.<br>
<br>
I hope all of this helps. Your questions, Ryan, are good ones.<br>
<br>
On 01/02/2016 03:34 PM, Kahunapule Michael Johnson wrote:<br>
</div>
<blockquote cite="mid:56887A9A.6030606@gmail.com" type="cite">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<div class="moz-cite-prefix">On 01/02/2016 12:50 PM, Ryan Hiebert
wrote:<br>
</div>
<blockquote
cite="mid:9368C3E8-07F9-4784-8CB3-52BACDD11378@ryanhiebert.com"
type="cite">
<pre wrap="">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).
</pre>
</blockquote>
<br>
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.<br>
<br>
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 <a moz-do-not-send="true"
class="moz-txt-link-freetext" href="http://Bibledit.org">http://Bibledit.org</a>.<br>
<br>
<div class="moz-signature">-- <br>
<meta http-equiv="CONTENT-TYPE" content="text/html;
charset=utf-8">
<p><font color="#000000">Aloha,<br>
<i>Kahunapule Michael Johnson</i></font></p>
<table cellpadding="7" cellspacing="0">
<tbody>
<tr>
<td style="background: rgb(255, 255, 0)"><font
color="#000000"><b>MICHAEL JOHNSON<br>
PO BOX 881143<br>
PUKALANI HI 96788-1143</b><br>
USA</font></td>
<td style="background: rgb(0, 255, 255)"><font
color="#000000"> <a moz-do-not-send="true"
href="http://eBible.org">eBible.org</a><br>
<a moz-do-not-send="true" href="http://MLJohnson.org">MLJohnson.org</a><br>
Mobile: +1 <b>808-333-6921</b><br>
Skype: kahunapule</font></td>
</tr>
</tbody>
</table>
</div>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<meta http-equiv="CONTENT-TYPE" content="text/html; charset=utf-8">
<title>signature</title>
<table border="0" cellpadding="7" cellspacing="3">
<tbody>
<tr>
</tr>
<tr>
<td><img src="cid:part4.01050409.03090205@eBible.org"></td>
<td><font size="4" color="#000000">Your partner in
electronic Bible publishing,<br>
<img src="cid:part5.08040800.02000302@eBible.org"><br>
</font></td>
</tr>
</tbody>
</table>
<table border="0" cellpadding="7" cellspacing="3">
<tbody>
<tr>
<td style="background: rgb(255, 255, 0)"><font
color="#000000"><b>MICHAEL JOHNSON<br>
PO BOX 881143<br>
PUKALANI HI 96788-1143</b><br>
USA</font></td>
<td style="background: rgb(0, 255, 255)"><font
color="#000000">
<a href="http://eBible.org">eBible.org</a><br>
<a href="http://MLJohnson.org">MLJohnson.org</a><br>
Mobile: +1 <b>808-333-6921</b><br>
Skype: kahunapule</font></td>
</tr>
</tbody>
</table>
</div>
</body>
</html>