Re: [sword-devel] OSHB module

2024-04-23 Thread Karl Kleinpaste
On 4/23/24 10:47, Troy A. Griffitts wrote: It is dependent on whether or not a module has the StrongsPadding=true in its .conf file.  All Strongs-keyed dictionaries should have this entry. Well, now, that's an educational moment. Never heard of StrongsPadding before. Apparently neither has m

Re: [sword-devel] OSHB module

2024-04-23 Thread Troy A. Griffitts
The engine is supposed to call strongsPad where it is needed.  I did a quick search and found calls in: SWLD::hasEntry zLD::getEntry zLD::setEntry zLD::linkEntry ( cf. https://crosswire.org/svn/sword/trunk/src/modules/lexdict/zld/zld.cpp ) It is dependent on whether or not a module has th

Re: [sword-devel] RTF in conf files

2024-04-23 Thread Troy A. Griffitts
Yes, you are correct, there was no RTFPlain filter.  If you svn update, you should see it now.  I just copied the RTFHTML filter and changed it to output newlines instead of and a couple tabs for center.  I was surprised to see how few RTF tags we support in this filter, but these must be the

Re: [sword-devel] RTF in conf files

2024-04-23 Thread David "Judah's Shadow" Blue
On Tuesday, April 16, 2024 5:35:50 AM EDT Troy A. Griffitts wrote: > There is an SWFilter to help with this. > > E.g., to get HTML, try something like: > > #include > SWBuf confValue = module.getConfigValue("About"); > RTFHTML().processText(confValue); > > If you don't want HTML, I believe ther

Re: [sword-devel] OSHB module

2024-04-23 Thread David "Judah's Shadow" Blue
On Tuesday, April 16, 2024 12:21:00 AM EDT Troy A. Griffitts wrote: > https://crosswire.org/svn/sword/trunk/src/modules/lexdict/swld.cpp > > Have a look at SWLD::strongsPad > > This method is supposed to be called everywhere Strongs numbers are dealt > with. It is supposed to ease the pain of dea