<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Circling back around to this.<div class="">There are two parts to the problem:</div><div class="">1) AV11N</div><div class="">2) Mapping to KJV</div><div class=""><br class=""></div><div class="">AV11N:</div><div class="">In JSword, we don’t yet have a form for external AV11N. There are two parts to this: Books and Verse/Chapter counts. Books have presence and ordering. Chapters have verse counts, answering "What is the highest verse number in the chapter?” JSword and SWORD differ a bit on internal representation of chapter counts, but the biggest difference is that we have one representation for the OT and one for the NT, allowing reuse of a testament’s chapter counts. The other is a slight difference where we don’t have a separate array of the counts of chapters.</div><div class=""><br class=""></div><div class="">In canon.h there is:</div><div class=""><div style="margin: 0px; font-size: 18px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #34bc26" class="">struct</span><span style="font-variant-ligatures: no-common-ligatures" class=""> sbook ntbooks[] = {</span></div><div style="margin: 0px; font-size: 18px; line-height: normal; font-family: Menlo; color: rgb(195, 55, 32); background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">&nbsp; {</span><span style="font-variant-ligatures: no-common-ligatures" class="">"Matthew"</span><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">, </span><span style="font-variant-ligatures: no-common-ligatures" class="">"Matt"</span><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">, </span><span style="font-variant-ligatures: no-common-ligatures" class="">"Matt"</span><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">, </span><span style="font-variant-ligatures: no-common-ligatures" class="">28</span><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">},</span></div></div><div class="">JSword doesn’t have the chapter count, 28, present in its book order array.</div><div class=""><br class=""></div><div class="">The canon.h vm[] array is:</div><div class=""><div style="margin: 0px; font-size: 18px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #34bc26" class="">int</span><span style="font-variant-ligatures: no-common-ligatures" class=""> vm[] = {</span></div><div style="margin: 0px; font-size: 18px; line-height: normal; font-family: Menlo; color: rgb(82, 48, 225); background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">&nbsp; </span><span style="font-variant-ligatures: no-common-ligatures" class="">// Genesis</span></div><div style="margin: 0px; font-size: 18px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">&nbsp; </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">31</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">25</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">24</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">26</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">32</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">22</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">24</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">22</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">29</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">32</span><span style="font-variant-ligatures: no-common-ligatures" class="">,</span></div><div style="margin: 0px; font-size: 18px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">&nbsp; </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">32</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">20</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">18</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">24</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">21</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">16</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">27</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">33</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">38</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">18</span><span style="font-variant-ligatures: no-common-ligatures" class="">,</span></div><div style="margin: 0px; font-size: 18px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">&nbsp; </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">34</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">24</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">20</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">67</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">34</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">35</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">46</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">22</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">35</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">43</span><span style="font-variant-ligatures: no-common-ligatures" class="">,</span></div><div style="margin: 0px; font-size: 18px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">&nbsp; </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">55</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">32</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">20</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">31</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">29</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">43</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">36</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">30</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">23</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">23</span><span style="font-variant-ligatures: no-common-ligatures" class="">,</span></div><div style="margin: 0px; font-size: 18px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">&nbsp; </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">57</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">38</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">34</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">34</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">28</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">34</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">31</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">22</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">33</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">26</span><span style="font-variant-ligatures: no-common-ligatures" class="">,</span></div><div style="margin: 0px; font-size: 18px; line-height: normal; font-family: Menlo; color: rgb(82, 48, 225); background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">&nbsp; </span><span style="font-variant-ligatures: no-common-ligatures" class="">// Exodus</span></div><div style="margin: 0px; font-size: 18px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">&nbsp; </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">22</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">25</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">22</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">31</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">23</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">30</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">25</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">32</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">35</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">29</span><span style="font-variant-ligatures: no-common-ligatures" class="">,</span></div><div style="margin: 0px; font-size: 18px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">&nbsp; </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">10</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">51</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">22</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">31</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">27</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">36</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">16</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">27</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">25</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">26</span><span style="font-variant-ligatures: no-common-ligatures" class="">,</span></div><div style="margin: 0px; font-size: 18px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">&nbsp; </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">36</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">31</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">33</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">18</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">40</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">37</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">21</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">43</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">46</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">38</span><span style="font-variant-ligatures: no-common-ligatures" class="">,</span></div><div style="margin: 0px; font-size: 18px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">&nbsp; </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">18</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">35</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">23</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">35</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">35</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">38</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">29</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">31</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">43</span><span style="font-variant-ligatures: no-common-ligatures" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">38</span><span style="font-variant-ligatures: no-common-ligatures" class="">,</span></div></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">The difference for JSword is that we use a doubly nested array:</span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><div style="margin: 0px; font-size: 18px; line-height: normal; font-family: Menlo; color: rgb(82, 48, 225); background-color: rgb(255, 255, 255);" class=""><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Monaco; color: rgb(78, 144, 114);" class=""><span style="color: #000000" class="">&nbsp; &nbsp;&nbsp;</span>/* protected */<span style="color: #000000" class=""> </span><span style="color: #931a68" class="">static</span><span style="color: #000000" class=""> </span><span style="color: #931a68" class="">final</span><span style="color: #000000" class=""> </span><span style="color: #931a68" class="">int</span><span style="color: #000000" class="">[][] </span><span style="color: #0326cc" class="">LAST_VERSE_OT</span><span style="color: #000000" class=""> =</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Monaco;" class="">&nbsp; &nbsp; {</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Monaco; color: rgb(78, 144, 114);" class=""><span style="color: #000000" class="">&nbsp; &nbsp; &nbsp; &nbsp; </span>// Genesis</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Monaco;" class="">&nbsp; &nbsp; &nbsp; &nbsp; {</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Monaco;" class="">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 31,&nbsp; 25,&nbsp; 24,&nbsp; 26,&nbsp; 32,&nbsp; 22,&nbsp; 24,&nbsp; 22,&nbsp; 29,&nbsp; 32,</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Monaco;" class="">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 32,&nbsp; 20,&nbsp; 18,&nbsp; 24,&nbsp; 21,&nbsp; 16,&nbsp; 27,&nbsp; 33,&nbsp; 38,&nbsp; 18,</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Monaco;" class="">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 34,&nbsp; 24,&nbsp; 20,&nbsp; 67,&nbsp; 34,&nbsp; 35,&nbsp; 46,&nbsp; 22,&nbsp; 35,&nbsp; 43,</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Monaco;" class="">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 55,&nbsp; 32,&nbsp; 20,&nbsp; 31,&nbsp; 29,&nbsp; 43,&nbsp; 36,&nbsp; 30,&nbsp; 23,&nbsp; 23,</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Monaco;" class="">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 57,&nbsp; 38,&nbsp; 34,&nbsp; 34,&nbsp; 28,&nbsp; 34,&nbsp; 31,&nbsp; 22,&nbsp; 33,&nbsp; 26,</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Monaco;" class="">&nbsp; &nbsp; &nbsp; &nbsp; },</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Monaco; color: rgb(78, 144, 114);" class=""><span style="color: #000000" class="">&nbsp; &nbsp; &nbsp; &nbsp; </span>// Exodus</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Monaco;" class="">&nbsp; &nbsp; &nbsp; &nbsp; {</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Monaco;" class="">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 22,&nbsp; 25,&nbsp; 22,&nbsp; 31,&nbsp; 23,&nbsp; 30,&nbsp; 25,&nbsp; 32,&nbsp; 35,&nbsp; 29,</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Monaco;" class="">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 10,&nbsp; 51,&nbsp; 22,&nbsp; 31,&nbsp; 27,&nbsp; 36,&nbsp; 16,&nbsp; 27,&nbsp; 25,&nbsp; 26,</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Monaco;" class="">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 36,&nbsp; 31,&nbsp; 33,&nbsp; 18,&nbsp; 40,&nbsp; 37,&nbsp; 21,&nbsp; 43,&nbsp; 46,&nbsp; 38,</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Monaco;" class="">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 18,&nbsp; 35,&nbsp; 23,&nbsp; 35,&nbsp; 35,&nbsp; 38,&nbsp; 29,&nbsp; 31,&nbsp; 43,&nbsp; 38,</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Monaco;" class="">&nbsp; &nbsp; &nbsp; &nbsp; },</div></div></span></div><div class=""><br class=""></div><div class="">We’ve maintained the comments as the same and the number of elements on a line the same, allowing us to diff the corresponding canon.h for verification.</div><div class=""><br class=""></div><div class="">The practical difference is that we use sizeof to get the chapter count rather than a lookup in a 2D book array.</div><div class=""><br class=""></div><div class="">Looking at&nbsp;Костя’s file his representation, while easy to generate from a module’s original OSIS xml is too verbose. It has one XML element per verse. We only need chapters/book and verses/chapter. The above representations are sufficiently compact. The python script that is used to generate the canon file can be adapted to create any format we choose.</div><div class=""><br class=""></div><div class="">The format we choose should be:</div><div class="">easy to read</div><div class="">easy to parse and convert into the internal format needed</div><div class="">compact</div><div class=""><br class=""></div><div class=""><div class="">The book names being standardized to OSIS is sufficient.</div><div class="">The array of chapters having 10 per line make it easy for people to read.</div><div class="">I’ve also spaced it so commas line up even for chapters with over 99 verses.</div></div><div class=""><br class=""></div><div class="">I’d suggest JSON over XML as it can represent arrays in a more compact form.</div><div class=""><div><blockquote type="cite" class=""></blockquote></div></div><div class="">E.g. (off the top of my head, can be otherwise)</div><div class=""><font face="Courier" class="">KJV = [</font></div><div class=""><font face="Courier" class="">[</font></div><div class=""><font face="Courier" class="">&nbsp; [&nbsp;</font><span style="font-family: Courier;" class="">"</span><font face="Courier" class="">Gen</font><span style="font-family: Courier;" class="">"</span><font face="Courier" class="">,&nbsp;</font></div><div class=""><font face="Courier" class="">&nbsp; &nbsp; [</font></div><div class=""><font face="Courier" class="">&nbsp; &nbsp; &nbsp;&nbsp;31,&nbsp;&nbsp;25,&nbsp;&nbsp;24,&nbsp;&nbsp;26,&nbsp;&nbsp;32,&nbsp;&nbsp;22,&nbsp;&nbsp;24,&nbsp;&nbsp;22,&nbsp;&nbsp;29,&nbsp;&nbsp;32,<br class="">&nbsp; &nbsp; &nbsp; 32,&nbsp;&nbsp;20,&nbsp;&nbsp;18,&nbsp;&nbsp;24,&nbsp;&nbsp;21,&nbsp;&nbsp;16,&nbsp;&nbsp;27,&nbsp;&nbsp;33,&nbsp;&nbsp;38,&nbsp;&nbsp;18,<br class="">&nbsp; &nbsp; &nbsp; 34,&nbsp;&nbsp;24,&nbsp;&nbsp;20,&nbsp;&nbsp;67,&nbsp;&nbsp;34,&nbsp;&nbsp;35,&nbsp;&nbsp;46,&nbsp;&nbsp;22,&nbsp;&nbsp;35,&nbsp;&nbsp;43,<br class="">&nbsp; &nbsp; &nbsp; 55,&nbsp;&nbsp;32,&nbsp;&nbsp;20,&nbsp;&nbsp;31,&nbsp;&nbsp;29,&nbsp;&nbsp;43,&nbsp;&nbsp;36,&nbsp;&nbsp;30,&nbsp;&nbsp;23,&nbsp;&nbsp;23,<br class="">&nbsp; &nbsp; &nbsp;&nbsp;57,&nbsp;&nbsp;38,&nbsp;&nbsp;34,&nbsp;&nbsp;34,&nbsp;&nbsp;28,&nbsp;&nbsp;34,&nbsp;&nbsp;31,&nbsp;&nbsp;22,&nbsp;&nbsp;33,&nbsp;&nbsp;26<br class=""></font></div><div class=""><font face="Courier" class="">&nbsp; &nbsp; ]</font></div><div class=""><span style="font-family: Courier;" class="">&nbsp; ],</span></div><div class=""><span style="font-family: Courier;" class="">&nbsp; [&nbsp;</span><span style="font-family: Courier;" class="">"</span><span style="font-family: Courier;" class="">Exod",</span></div><div class=""><span style="font-family: Courier;" class="">&nbsp; &nbsp; [</span></div><font face="Courier" class="">&nbsp; &nbsp; &nbsp;&nbsp;22,&nbsp;&nbsp;25,&nbsp;&nbsp;22,&nbsp;&nbsp;31,&nbsp;&nbsp;23,&nbsp;&nbsp;30,&nbsp;&nbsp;25,&nbsp;&nbsp;32,&nbsp;&nbsp;35,&nbsp;&nbsp;29,<br class="">&nbsp; &nbsp; &nbsp; 10,&nbsp;&nbsp;51,&nbsp;&nbsp;22,&nbsp;&nbsp;31,&nbsp;&nbsp;27,&nbsp;&nbsp;36,&nbsp;&nbsp;16,&nbsp;&nbsp;27,&nbsp;&nbsp;25,&nbsp;&nbsp;26,<br class="">&nbsp; &nbsp; &nbsp; 36,&nbsp;&nbsp;31,&nbsp;&nbsp;33,&nbsp;&nbsp;18,&nbsp;&nbsp;40,&nbsp;&nbsp;37,&nbsp;&nbsp;21,&nbsp;&nbsp;43,&nbsp;&nbsp;46,&nbsp;&nbsp;38,<br class="">&nbsp; &nbsp; &nbsp; 18,&nbsp;&nbsp;35,&nbsp;&nbsp;23,&nbsp;&nbsp;35,&nbsp;&nbsp;35,&nbsp;&nbsp;38,&nbsp;&nbsp;29,&nbsp;&nbsp;31,&nbsp;&nbsp;43,&nbsp;&nbsp;38<br class=""></font><div class=""><span style="font-family: Courier;" class="">&nbsp; &nbsp; ]</span></div><div class=""><span style="font-family: Courier;" class="">&nbsp; ],</span></div><div class=""><span style="font-family: Courier;" class="">... rest of OT ...</span></div><div class=""><span style="font-family: Courier;" class="">],</span></div><div class=""><font face="Courier" class="">[</font></div><div class=""><font face="Courier" class="">... NT spec ...</font></div><div class=""><font face="Courier" class="">]</font></div><div class=""><font face="Courier" class="">]</font></div><div class=""><br class=""></div><div class="">Of course we could come up with a proprietary format. E.g.</div><div class=""><font face="Courier" class="">KJV 29 27</font></div><div class=""><font face="Courier" class="">Gen 50</font></div><div class=""><div class=""><font face="Courier" class="">&nbsp; 31 &nbsp;25 &nbsp;24 &nbsp;26 &nbsp;32 &nbsp;22 &nbsp;24 &nbsp;22 &nbsp;29 &nbsp;32<br class="">&nbsp; 32 &nbsp;20 &nbsp;18 &nbsp;24 &nbsp;21 &nbsp;16 &nbsp;27 &nbsp;33 &nbsp;38 &nbsp;18<br class="">&nbsp; 34 &nbsp;24 &nbsp;20 &nbsp;67 &nbsp;34 &nbsp;35 &nbsp;46 &nbsp;22 &nbsp;35 &nbsp;43<br class="">&nbsp; 55 &nbsp;32 &nbsp;20 &nbsp;31 &nbsp;29 &nbsp;43 &nbsp;36 &nbsp;30 &nbsp;23 &nbsp;23<br class="">&nbsp; 57 &nbsp;38 &nbsp;34 &nbsp;34 &nbsp;28 &nbsp;34 &nbsp;31 &nbsp;22 &nbsp;33 &nbsp;26<br class=""></font></div></div><div class=""><font face="Courier" class="">Exod 40</font></div><div class=""><font face="Courier" class="">&nbsp; 22 &nbsp;25 &nbsp;22 &nbsp;31 &nbsp;23 &nbsp;30 &nbsp;25 &nbsp;32 &nbsp;35 &nbsp;29<br class="">&nbsp; 10 &nbsp;51 &nbsp;22 &nbsp;31 &nbsp;27 &nbsp;36 &nbsp;16 &nbsp;27 &nbsp;25 &nbsp;26<br class="">&nbsp; 36 &nbsp;31 &nbsp;33 &nbsp;18 &nbsp;40 &nbsp;37 &nbsp;21 &nbsp;43 &nbsp;46 &nbsp;38<br class="">&nbsp; 18 &nbsp;35 &nbsp;23 &nbsp;35 &nbsp;35 &nbsp;38 &nbsp;29 &nbsp;31 &nbsp;43 &nbsp;38<br class=""></font></div><div class=""><font face="Courier" class=""><br class=""></font></div><div class="">I favor a standard format over proprietary. For JSword, if standard, we'd use a 3rd-party parser. But writing a parser is fairly trivial.</div><div class=""><font face="Courier" class=""><br class=""></font></div><div class=""><font face="Courier" class="">Response on standardizing mapping file next.</font></div><div class=""><font face="Courier" class=""><br class=""></font></div><div class=""><font face="Courier" class="">In Him,</font></div><div class=""><font face="Courier" class="">DM</font></div><div class=""><font face="Courier" class=""><br class=""></font></div><div class=""><div><blockquote type="cite" class=""><div class="">On Oct 2, 2016, at 6:13 AM, Troy A. Griffitts &lt;<a href="mailto:scribe@crosswire.org" class="">scribe@crosswire.org</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Thanks for bringing this up Dominique. Костя, what do we need to move forward into this next release?<br class=""><br class="">I also, with you, would like to have one common format shared with JSword to store our mappings. &nbsp;Do you have any comments about their format? &nbsp;Is it something we should simply adopt and write a generator utility to our .h mappings? Does JSword's format include anything we don't support? or vice versa?<br class=""><br class="">Troy<br class=""><br class=""><br class=""><br class="">On 10/02/2016 09:08 AM, Dominique Corbex wrote:<br class=""><blockquote type="cite" class="">On Sun, 24 Jul 2016 01:45:00 +0300<br class="">Костя Маслюк &lt;<a href="mailto:kostyamaslyuk@gmail.com" class="">kostyamaslyuk@gmail.com</a>&gt; wrote:<br class=""><br class=""><blockquote type="cite" class="">It is still important to place all we have for av11n schemes and mappings<br class="">in one place.<br class=""></blockquote>I agree..<br class=""><br class=""><blockquote type="cite" class=""><blockquote type="cite" class="">At <a href="http://crosswire.org/~kalemas/work/v11nmapping" class="">http://crosswire.org/~kalemas/work/v11nmapping</a> there are examples<br class=""></blockquote></blockquote>I'd like to submit sword mappings to these French versification schemes<br class="">before the next release of Sword.<br class=""><br class="">So, I just need to write 3 Bible xml files with all the &lt;OsisIDs&gt;<br class="">related to these schemes and the mappings &lt;refMap&gt; at the end, and run:<br class="">$ python refMap2cpp.py Bible.&lt;versification&gt;.xml<br class=""><br class="">and then add the resulting code to the associated .h file.<br class=""><br class="">Am I right?<br class=""><br class="">In Christ<br class=""></blockquote><br class=""><br class="">_______________________________________________<br class="">sword-devel mailing list: <a href="mailto:sword-devel@crosswire.org" class="">sword-devel@crosswire.org</a><br class=""><a href="http://www.crosswire.org/mailman/listinfo/sword-devel" class="">http://www.crosswire.org/mailman/listinfo/sword-devel</a><br class="">Instructions to unsubscribe/change your settings at above page</div></div></blockquote></div><br class=""></div></body></html>