[sword-devel] imp2vs linking problems

Dave Hall sword-devel@crosswire.org
Fri, 13 Dec 2002 10:01:03 -0600


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C2A2C0.D68BEC70
Content-Type: text/plain;
	charset="iso-8859-1"

imp2vs has verse linking problems. 
 
1) It does not understand single-chapter-book refs like "Jude 20-25":
>From file: Jude 20-25
adding entry: Revelation of John 19:1
linking entry: Revelation of John 19:2 to Revelation of John 19:1
linking entry: Revelation of John 19:3 to Revelation of John 19:1
linking entry: Revelation of John 19:4 to Revelation of John 19:1
 [...]
T hen when it gets to the end of Revelation it goes into an infinite loop:
linking entry: Revelation of John 22:21 to Revelation of John 19:1
linking entry: Revelation of John 22:21 to Revelation of John 19:1
linking entry: Revelation of John 22:21 to Revelation of John 19:1
linking entry: Revelation of John 22:21 to Revelation of John 19:1
linking entry: Revelation of John 22:21 to Revelation of John 19:1
linking entry: Revelation of John 22:21 to Revelation of John 19:1
[...]  

 
2) For whatever reason when it links to the last chapter of a book it then
continues to link the text to the next book refs for Next-Book 0:0 and
Next-Book 1:0 which I, as well as others (MHC), use for additional info:
 
from file: Jude 1:20-25
adding entry: Jude 1:20
linking entry: Jude 1:21 to Jude 1:20
linking entry: Jude 1:22 to Jude 1:20
linking entry: Jude 1:23 to Jude 1:20
linking entry: Jude 1:24 to Jude 1:20
linking entry: Jude 1:25 to Jude 1:20
linking entry: Revelation of John 0:0 to Jude 1:20
linking entry: Revelation of John 1:0 to Jude 1:20
 
But parsekey seems to handle it OK:
parsekey "Jude 1:20-25"
Jude 1:20 - Jude 1:25
 
 
Another example:
from file: MARK 16:19-20; LUKE 24:50-53
adding entry: Mark 16:19
linking entry: Mark 16:20 to Mark 16:19
linking entry: Luke 0:0 to Mark 16:19
linking entry: Luke 1:0 to Mark 16:19
linking entry: Luke 24:50 to Mark 16:19
linking entry: Luke 24:51 to Mark 16:19
linking entry: Luke 24:52 to Mark 16:19
linking entry: Luke 24:53 to Mark 16:19
linking entry: John 0:0 to Mark 16:19
linking entry: John 1:0 to Mark 16:19
 
parsekey "MARK 16:19-20"
Mark 16:19 - Mark 16:20
 
 
This next one is particularly bad because I had previously linked text to
1John 1:0:
from file: 1John 1:0
adding entry: I John 1:0
 
But it gets overridden here as the last link done  (and in when viewed in
Sword)  so that the Intro material that was in 1 Jn 0:0 and 1:0 is
lost/unviewable - you see the commentary text for  2 Peter 3:14-18:

from file: 2Peter 3:14-18
adding entry: II Peter 3:14
linking entry: II Peter 3:15 to II Peter 3:14
linking entry: II Peter 3:16 to II Peter 3:14
linking entry: II Peter 3:17 to II Peter 3:14
linking entry: II Peter 3:18 to II Peter 3:14
linking entry: I John 0:0 to II Peter 3:14
linking entry: I John 1:0 to II Peter 3:14
 
 


- Dave Hall 
     dhall@clearcommerce.com <mailto:dhall@clearcommerce.com>  
    (512)626-5452 

 

------_=_NextPart_001_01C2A2C0.D68BEC70
Content-Type: text/html;
	charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<META content="MSHTML 5.50.4030.2400" name=GENERATOR></HEAD>
<BODY style="COLOR: #0000ff; FONT-FAMILY: Arial"><FONT 
size=2>imp2vs&nbsp;has&nbsp;verse&nbsp;linking&nbsp;problems.<SPAN 
class=947045815-13122002></SPAN></FONT>
<DIV><FONT face=Tahoma><FONT size=2><SPAN class=947045815-13122002><FONT 
face=Arial></FONT></SPAN></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=Tahoma><FONT size=2><SPAN class=947045815-13122002><FONT 
face=Arial>1) It does not understand single-chapter-book refs like "Jude 
20-25":</FONT></SPAN></FONT></FONT></DIV>
<DIV><FONT face=Tahoma><FONT size=2><SPAN class=947045815-13122002><FONT 
face=Arial>F</FONT></SPAN>rom file: Jude 20-25<BR>adding entry: Revelation of 
John 19:1<BR>linking entry: Revelation of John 19:2 to Revelation of John 
19:1<BR>linking entry: Revelation of John 19:3 to Revelation of John 
19:1<BR>linking entry: Revelation of John 19:4 to Revelation of John 
19:1<BR><SPAN class=947045815-13122002><FONT 
face=Arial>&nbsp;[...]</FONT></SPAN></FONT></FONT></DIV>
<DIV><FONT face=Tahoma><SPAN class=947045815-13122002></SPAN><FONT size=2><FONT 
face=Arial>T<SPAN class=947045815-13122002>&nbsp;hen when it gets to the end of 
Revelation it goes into an infinite loop:</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT face=Tahoma><FONT size=2><FONT face=Arial><SPAN 
class=947045815-13122002>linking entry: Revelation of John 22:21 to Revelation 
of John 19:1<BR>linking entry: Revelation of John 22:21 to Revelation of John 
19:1<BR>linking entry: Revelation of John 22:21 to Revelation of John 
19:1<BR>linking entry: Revelation of John 22:21 to Revelation of John 
19:1<BR>linking entry: Revelation of John 22:21 to Revelation of John 
19:1<BR>linking entry: Revelation of John 22:21 to Revelation of John 
19:1</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT face=Tahoma><FONT size=2><FONT face=Arial><SPAN 
class=947045815-13122002>[...]&nbsp;</SPAN><SPAN 
class=947045815-13122002>&nbsp;</SPAN></FONT><BR></DIV></FONT></FONT>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><SPAN class=947045815-13122002><FONT size=2>2) For whatever reason when it 
links to the last chapter of a book it then continues to link the text to the 
next book refs for Next-Book 0:0 and Next-Book 1:0 which I, as well as others 
(MHC), use for additional info:</FONT></SPAN></DIV>
<DIV><SPAN class=294365000-13122002></SPAN><SPAN class=294365000-13122002><FONT 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><FONT size=2>from file: Jude 1:20-25<BR>adding entry: Jude 1:20<BR>linking 
entry: Jude 1:21 to Jude 1:20<BR>linking entry: Jude 1:22 to Jude 
1:20<BR>linking entry: Jude 1:23 to Jude 1:20<BR>linking entry: Jude 1:24 to 
Jude 1:20<BR>linking entry: Jude 1:25 to Jude 1:20<BR>linking entry: Revelation 
of John 0:0 to Jude 1:20<BR>linking entry: Revelation of John 1:0 to Jude 
1:20</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><SPAN class=947045815-13122002><FONT size=2>But parsekey seems to handle it 
OK:</FONT></SPAN></DIV>
<DIV><FONT size=2>parsekey "Jude 1:20-25"<BR>Jude 1:20 - Jude 1:25</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><SPAN class=947045815-13122002><FONT size=2>Another 
example:</FONT></SPAN></DIV>
<DIV><FONT size=2>from file: MARK 16:19-20; LUKE 24:50-53<BR>adding entry: Mark 
16:19<BR>linking entry: Mark 16:20 to Mark 16:19<BR>linking entry: Luke 0:0 to 
Mark 16:19<BR>linking entry: Luke 1:0 to Mark 16:19<BR>linking entry: Luke 24:50 
to Mark 16:19<BR>linking entry: Luke 24:51 to Mark 16:19<BR>linking entry: Luke 
24:52 to Mark 16:19<BR>linking entry: Luke 24:53 to Mark 16:19<BR>linking entry: 
John 0:0 to Mark 16:19<BR>linking entry: John 1:0 to Mark 16:19</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>parsekey "MARK 16:19-20"<BR>Mark 16:19 - Mark 
16:20</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><SPAN class=087195600-13122002><FONT size=2>This next one is particularly 
bad because I had previously linked text to 1John 1:0:<BR></FONT></SPAN><SPAN 
class=087195600-13122002><FONT size=2>from file: 1John 1:0<BR>adding entry: I 
John 1:0</FONT></SPAN></DIV>
<DIV><SPAN class=087195600-13122002><FONT size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=087195600-13122002><FONT size=2>But it gets overridden 
here<SPAN class=947045815-13122002>&nbsp;as the last link done&nbsp;</SPAN> (and 
in when viewed in Sword)<SPAN class=947045815-13122002>&nbsp; so that the Intro 
material that was in 1 Jn 0:0 and&nbsp;1:0 is lost/unviewable - you see the 
commentary text for&nbsp;&nbsp;2 Peter 3:14-18:</SPAN></FONT></SPAN><SPAN 
class=087195600-13122002><FONT size=2><SPAN 
class=947045815-13122002><BR></DIV></SPAN></FONT></SPAN>
<DIV><FONT size=2>from file: 2Peter 3:14-18<BR>adding entry: II Peter 
3:14<BR>linking entry: II Peter 3:15 to II Peter 3:14<BR>linking entry: II Peter 
3:16 to II Peter 3:14<BR>linking entry: II Peter 3:17 to II Peter 
3:14<BR>linking entry: II Peter 3:18 to II Peter 3:14<BR>linking entry: I John 
0:0 to II Peter 3:14<BR>linking entry: I John 1:0 to II Peter 3:14</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV><BR>
<P><FONT color=#000080 size=2>-<B> Dave Hall</B></FONT><B></B>&nbsp;<BR><FONT 
color=#000080 size=2>&nbsp;&nbsp;&nbsp;&nbsp;</FONT><FONT face="Times New Roman" 
color=#000080><A 
href="mailto:dhall@clearcommerce.com">dhall@clearcommerce.com</A></FONT>&nbsp;<BR><FONT 
face=Arial color=#000080 size=2>&nbsp;&nbsp;&nbsp; (512)626-5452</FONT> </P>
<DIV>&nbsp;</DIV></BODY></HTML>

------_=_NextPart_001_01C2A2C0.D68BEC70--