diff options
author | Chris Little <chrislit@crosswire.org> | 2009-03-14 11:28:07 +0000 |
---|---|---|
committer | Chris Little <chrislit@crosswire.org> | 2009-03-14 11:28:07 +0000 |
commit | c676c58279cbd4d7e1f54e0f11dbd1763ff871d2 (patch) | |
tree | 1e3dfdcbf3121f3f7ec433c558dcf989f3fd4c48 | |
parent | 3234f57d5a00565f4fc6cff248d3c9261b719f7e (diff) | |
download | sword-tools-c676c58279cbd4d7e1f54e0f11dbd1763ff871d2.tar.gz |
added more alternate abbreviations
fixed a major bug in the abbrevs generation logic
everything looks good now (though IMP parsing remains untested), so it's time to start analyzing v11n systems to determine which are actually important and should be integrated into Sword
git-svn-id: https://www.crosswire.org/svn/sword-tools/trunk@174 07627401-56e2-0310-80f4-f8cd0041bdcd
-rw-r--r-- | versification/canon.nta.xml | 3 | ||||
-rw-r--r-- | versification/canon.otp.xml | 3 | ||||
-rw-r--r-- | versification/v11nsys.pl | 2 |
3 files changed, 7 insertions, 1 deletions
diff --git a/versification/canon.nta.xml b/versification/canon.nta.xml index 35fc952..38fc516 100644 --- a/versification/canon.nta.xml +++ b/versification/canon.nta.xml @@ -392,6 +392,7 @@ </book> <book> <id>NarJosAr</id> + <abbr>J22</abbr> <name>Narrative of Joseph of Arimathea</name> </book> <book> @@ -440,6 +441,7 @@ </book> <book> <id>ActsPetAndrew</id> + <abbr>J44</abbr> <name>Acts of Peter and Andrew</name> </book> <book> @@ -448,6 +450,7 @@ </book> <book> <id>ActsAndrewMatthias</id> + <abbr>J43</abbr> <name>Acts of Andrew and Matthias</name> </book> <book> diff --git a/versification/canon.otp.xml b/versification/canon.otp.xml index 2836156..46377ed 100644 --- a/versification/canon.otp.xml +++ b/versification/canon.otp.xml @@ -188,6 +188,7 @@ </book> <book> <id>MartIs</id> + <abbr>MrI</abbr> <name>Martyrdom of Isaiah</name> </book> <book> @@ -251,6 +252,7 @@ </book> <book> <id>AsMos</id> + <abbr>AsM</abbr> <name>Assumption of Moses</name> </book> <book> @@ -307,6 +309,7 @@ </book> <book> <id>SibOr</id> + <abbr>Sib</abbr> <name>Sibylline Oracles</name> </book> <book> diff --git a/versification/v11nsys.pl b/versification/v11nsys.pl index 60d487c..fff2043 100644 --- a/versification/v11nsys.pl +++ b/versification/v11nsys.pl @@ -188,7 +188,7 @@ foreach $infile (@srcfiles) { if ($thisBook ne $lastBook) {
$bCount++;
$vm .= "\n\t// $idmap{$osis{lc($thisBook)}}\n\t";
- $abbrevsList .= $abbrevs{lc($thisBook)};
+ $abbrevsList .= $abbrevs{lc($osis{lc($thisBook)})};
if ($lastBook ne "") {
buildBooksArrays{};
|