Re: [sword-devel] Key linking question for IMP format

2007-12-20 Thread ZJ Li
Sorry. I should have checked the code closely. Yes, it is the the solution I stated below. So the question is how to pull the data back without duplicated data. I guess there should be many ways to do that. ZJ Li wrote: > > Hi, > > Can anyone explain the concept of key linking? > > For exa

[sword-devel] Key linking question for IMP format

2007-12-20 Thread ZJ Li
Hi, Can anyone explain the concept of key linking? For example: gen 1:1-7 will result with seven verses point to one. like gen 1:6 will get gen 1:1. How did sword engine implement this? in the index file, how to reflect the verse 2-6 are linked to verse 1? The solution I can think of is : write

[sword-devel] Unicode python strings and SWIG interface

2007-12-20 Thread Jon Brisbin
I've finally got a user interface clobbed together in InterfaceBuilder. I've got a static SWMgr that I'm initializing by calling augmentModules on every ".swd" directory in my application support directory. The error I'm getting seems to indicate that it doesn't like that I'm using Unicode

Re: [sword-devel] Python bindings cause python crash

2007-12-20 Thread Jon Brisbin
This is probably why I get a crash when I exit my python shell after testing the Sword module from the command line. Now I'm trying to figure out how to best use modules. I think, for the time being, I'll use the same methodology that MacSword uses, which is to place the ".swd" modules insi

Re: [sword-devel] Tagging verses and verse lists

2007-12-20 Thread DM Smith
On Dec 20, 2007, at 7:09 AM, Eeli Kaikkonen wrote: > Maybe we also need more courage to throw in some thoughts and > respond to > them. We could for example start a wiki page or a few where we could > gather specific topics where the application developers could > co-operate. I think this is a

Re: [sword-devel] Tagging verses and verse lists

2007-12-20 Thread Eeli Kaikkonen
On Thu, 20 Dec 2007, Jonathan Morgan wrote: > Even if we define a "must", we can do nothing to force the front end > to follow it. We can probably come to a consensus over what seems > reasonable to require (and add it to the Wiki or documentation if so > desired), but it is then up to application

Re: [sword-devel] Tagging verses and verse lists

2007-12-20 Thread Jonathan Morgan
On Dec 20, 2007 1:55 AM, Eeli Kaikkonen <[EMAIL PROTECTED]> wrote: > On Thu, 20 Dec 2007, Jonathan Morgan wrote: > > A good point that hadn't occurred to me (I'm still very much an ASCII > > man). For Sword, UTF-8 might end up best, but technically it is one > > of the worst formats possible. Its