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 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

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

2009-05-06 Thread Wei-Wei Guo
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 created the heavens and the earth. So I need to know, is it possible t