Re: [sword-devel] What is the command to retrieve text by args like "Genesis 1:1"

2009-05-08 Thread Jonathan Morgan
On Sat, May 9, 2009 at 2:17 AM, Wei-Wei Guo wrote: > Luke Plant 写道: > > Hi Luke, > >> I'm presuming you want to write in Python. You need to build the Sword >> Python SWIG bindings (from the sword source tarball), and I have some Python >> code here which should provide a basis for what you need.

Re: [sword-devel] What is the command to retrieve text by args like "Genesis 1:1"

2009-05-08 Thread Wei-Wei Guo
Luke Plant 写道: Hi Luke, I'm presuming you want to write in Python. You need to build the Sword Python SWIG bindings (from the sword source tarball), and I have some Python code here which should provide a basis for what you need. http://hg.lukeplant.me.uk/python/luke/file/b146cdf1a8c9/lukep

Re: [sword-devel] What is the command to retrieve text by args like "Genesis 1:1"

2009-05-07 Thread Luke Plant
On Monday 27 April 2009 14:56:24 Wei-Wei Guo wrote: > Dear all, > > I want to write a Sword extension for Sphinx. The extension can > help on Bible study by this way: > > If I type :bible:`Genesis 1:1` in text, after compiling, the > following line will be inserted > > In the beginning God crea

Re: [sword-devel] What is the command to retrieve text by args like "Genesis 1:1"

2009-05-07 Thread Wei-Wei Guo
Troy A. Griffitts 写道: Hi Troy, My apologies for the delayed response. We again had a backlog of admin tasks and your email and subscription was stuck in the queue. Never mind. I would suggest reviewing: sword/examples/cmdline/lookup.cpp Hope this gets you started. Let me know if you h

Re: [sword-devel] What is the command to retrieve text by args like "Genesis 1:1"

2009-05-06 Thread Troy A. Griffitts
Dear Wei-Wei, My apologies for the delayed response. We again had a backlog of admin tasks and your email and subscription was stuck in the queue. I would suggest reviewing: sword/examples/cmdline/lookup.cpp Hope this gets you started. Let me know if you have any questions. -Troy