Re: [sword-devel] Verse ranges and linkage information

2017-05-22 Thread Peter von Kaehne
On Mon, 2017-05-22 at 07:10 -0700, Troy A. Griffitts wrote: > > There is also a method which was added, I think by Ben Morgan a > while  > back: SWModule::isLinked, though I'm not sure why it was needed and > I've  > never had a need in any frontend I've written to use it. The reason I could see

Re: [sword-devel] Verse ranges and linkage information

2017-05-22 Thread Troy A. Griffitts
If SWModule::setSkipConsecutiveLinks(true) then SWModule::increment() (and operator ++) will skip to the next verse which is not a link to the current verse. Typically usage is that a chapter will simply do a for (;;) loop through the verses in the chapter and it all just works. There is als

Re: [sword-devel] Verse ranges and linkage information

2017-05-22 Thread David Haslam
Hi Peter, Does *mod2imp* now behave the same as *diatheke* in this regard? If I recall aright, it didn't use to. Maybe something has changed? e.g. For the SWORD utilities packed with *Xiphos 4.0.5* Can someone else also perform a "sanity check" on this, please. btw. Numbers chapter 7 is usual

Re: [sword-devel] Verse ranges and linkage information

2017-05-22 Thread Manfred Bergmann
Hi. Not entirely sure I’m understanding correctly. In Eloquent I’m maintaining a map/dictionary per ’show verses’ request where basically only the reference is stored in some normalized way. So I can check on that dictionary and see whether a certain verse was already added to the output buffer