Re: [sword-devel] Headings and Intros

2012-02-29 Thread Troy A. Griffitts
Stephan, There is a fundamental peace if info that might clear this up: modules maintain their own keys unless you set them with a persistent key. So your code would probably work with one addition: VerseKey vk = VerseKey(key); vk.Headings(true); vk.setChapter(0); vk.setVerse(0);

Re: [sword-devel] Headings and Intros

2012-02-29 Thread Stephan Tetzel
Troy, thank you for help. Intros are working now. Stephan Am 29.02.2012 12:34, schrieb Troy A. Griffitts: Stephan, There is a fundamental peace if info that might clear this up: modules maintain their own keys unless you set them with a persistent key. So your code would probably work with

[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() \n;