Thank you both. Both explanations make complete and utter sense.  I see now the logic, but at the risk of furthering my appearance as a fool, may I ask .. <br><br>... notwithstanding the fact there is no direct need, if the OSIS abbreviations are already mostly the same, and are not standard (public facing) abbreviations and are mere tokens for osisID and osisRefs, why not marry the two up for the sake of consistency (which, I recognize is the hobgoblin of little minds, one of which, I possess).<br>
<br>Currently these tokens already match in nearly every instance except for the seven I listed (hmm, curious, seven, providence perhaps?):<br><br>&#39;Ex&#39; vs &#39;Exod&#39;<br>&#39;Pss&#39; vs &#39;Ps&#39;<br>&#39;Eze&#39; vs &#39;Ezek&#39;<br>
&#39;Ob&#39; vs &#39;Obad&#39;<br>&#39;Mt&#39; vs &#39;Matt&#39;<br>&#39;Mk&#39; vs &#39;Mark&#39;<br>&#39;Lk&#39; vs &#39;Luke&#39;<br><br>I can see now why and how they aren&#39;t actually related, but still, consistency is rarely a detriment even if but arbitrary.  I suppose given all of the other things Sword developers are under pressure to accomplish, this really is at the bottom of the list of things to worry about.<br>
<br>~A<br><br><br>On Wednesday, August 1, 2012, DM Smith  wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Regarding the difference between the OSIS book abbreviations and abbr.conf:<br>
OSIS has a fixed abbreviation for each book.<br>
<br>
The SWORD Engine in parsing a reference tries to take arbitrary input and understand it. So the abbreviations there are for that purpose. They are also used as the &quot;best&quot; for displaying to an end user.<br>
<br>
In Him,<br>
        DM<br>
<br>
On Aug 1, 2012, at 10:15 AM, Andrew Thule &lt;<a>thulester@gmail.com</a>&gt; wrote:<br>
<br>
&gt; On Tue, Jul 31, 2012 at 2:51 AM, Peter von Kaehne &lt;<a>refdoc@gmx.net</a>&gt; wrote:<br>
&gt;&gt; You did not tell what the ultimate purpose for your conversion is, but assuming you want to create OSIS references, you might want to investigate using the sword API for doing the job. That is one of the things it is excellent at.<br>


&gt;<br>
&gt; The purpose of the script was support my effort to make conversion of<br>
&gt; non-standard text formats into OSIS less manual - hopefully completely<br>
&gt; automated.<br>
&gt;<br>
&gt;<br>
&gt;&gt; I created a a while ago a Perl script which translates following<br>
&gt;&gt;<br>
&gt;&gt; &lt;reference&gt;A_long_and_complicated_series_of_references_in_any_supported_language&lt;reference&gt;<br>
&gt;&gt;<br>
&gt;&gt; into<br>
&gt;&gt;<br>
&gt;&gt; &lt;note type=&quot;crossReference&quot;..&gt;&lt;reference osisRef=...&gt;....<br>
&gt;&gt;<br>
&gt;&gt; Where the &quot;long and complicated series...&quot; is broken up, translated into OSIS refs and put together into a crossreference note, with the original text as free text.<br>
&gt;&gt; The heavy lifting is done by Sword and relies on the sword Perl bindings<br>
&gt;&gt;<br>
&gt;&gt; It is in sword-tools/modules/crossreferences/<a href="http://xreffix.pl" target="_blank">xreffix.pl</a><br>
&gt;<br>
&gt; I&#39;m having trouble getting the Perl binding working, but am otherwise<br>
&gt; keen to give <a href="http://xreffix.pl" target="_blank">xreffix.pl</a> a try.<br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt; Unfortunately the PHP bindings are in a poor state AFAIK, but maybe you can reactivate them and use them for your purposes<br>
&gt;<br>
&gt; PHP is not essential when sed and awk are instead unleashed.<br>
&gt;<br>
&gt; That said, I have an additional question about converting to OSIS<br>
&gt; standard book names.  I notice from my exercise of creating the above<br>
&gt; scripts that abbr.conf doesn&#39;t actually contain the correct<br>
&gt; abbreviations (from OSIS2MOD&#39;s perspective).<br>
&gt;<br>
&gt; For example abbr.conf recommends:<br>
&gt; Exodus=Ex<br>
&gt; Psalms=Pss<br>
&gt; Ezekiel=Eze<br>
&gt; Obadiah=Ob<br>
&gt; Matthew=Mt<br>
&gt; Mark=Mk<br>
&gt; Luke=Lk<br>
&gt;<br>
&gt; Yet osis2mod produced errors, complaining about Ex, Pss, Eze, Ob, Mt,<br>
&gt; Mk, and Lk.  These errors went away when I instead used:<br>
&gt; Exodus=Exod<br>
&gt; Psalms=Ps<br>
&gt; Ezekiel=Ezek<br>
&gt; Obadiah=Obad<br>
&gt; Matthew=Matt<br>
&gt; Mark=Mark<br>
&gt; Luke=Luke<br>
&gt;<br>
&gt; Have I failed to grasp the purpose of abbr.conf, or is this a hiccup<br>
&gt; between abbr.conf and osis2mod?<br>
&gt;<br>
&gt; ~A<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; sword-devel mailing list: <a>sword-devel@crosswire.org</a><br>
&gt; <a href="http://www.crosswire.org/mailman/listinfo/sword-devel" target="_blank">http://www.crosswire.org/mailman/listinfo/sword-devel</a><br>
&gt; Instructions to unsubscribe/change your settings at above page<br>
<br>
<br>
_______________________________________________<br>
sword-devel mailing list: <a>sword-devel@crosswire.org</a><br>
<a href="http://www.crosswire.org/mailman/listinfo/sword-devel" target="_blank">http://www.crosswire.org/mailman/listinfo/sword-devel</a><br>
Instructions to unsubscribe/change your settings at above page<br>
</blockquote>