[sword-devel] Headings and Intros

2012-02-28 Thread Stephan Tetzel
Hi, I've tried to add book intros to BibleZ HD, but it doesn't work. It is working on my PC (sword-1.6.1 - default in ubuntu 11.10) with this little code: VerseKey vk = VerseKey(key); vk.Headings(true); vk.setChapter(0); vk.setVerse(0); module->setKey(vk); std::cout << module->RenderText() <<

[sword-devel] preverse divs

2012-02-28 Thread Troy A. Griffitts
An issue came up today that reminding me that we haven't officially finished our support for 'preverse divs'. You can search the archives, but a brief summary: Material associated with a verse, but that should be displayed before the verse marker, used to be called "preverse title" or "prevers

Re: [sword-devel] BibleTime indexing problem

2012-02-28 Thread Troy A. Griffitts
So, a little background. SWORD keys handle versification + 4 special slots: chapter intro book intro testament intro module intro These are positioned respectively using, for example starting with John 3:16 VerseKey k("John 3:16"); k.setVerse(0); // chapter intro k.setChapter(0); // book int