Re: [sword-devel] How to highlight SWORD module search results?

2020-04-24 Thread David Haslam
First we need a list of which SWORD front-ends (if any) actually highlight the 
search string words when they return the results.

Some front-ends merely return the list of verses (with text) but without 
highlighting anything in the verse text.

Is this a row that needs to be added to the Search features table in the wiki 
page “Choosing a SWORD program” ?

Best regards,

David

Sent from ProtonMail Mobile

On Fri, Apr 24, 2020 at 07:43, Tobias Klein  wrote:

> Hi,
>
> Any feedback on this? I would appreciate it!
>
> Best regards,
> Tobias
>
>> Am 04.04.2020 um 19:15 schrieb Tobias Klein :
>>
>> Hi everyone,
>>
>> What’s the typical technical approach for highlighting SWORD module search 
>> results? Does the engine have built-in support for this? Are there any good 
>> examples available?
>>
>> I imagine this to be best solved by the SWORD engine by simply returning 
>> corresponding markup that contains the highlighted sections based on the 
>> search term.
>>
>> Best regards,
>> Tobias___
>> sword-devel mailing list: sword-devel@crosswire.org
>> http://www.crosswire.org/mailman/listinfo/sword-devel
>> Instructions to unsubscribe/change your settings at above page___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Re: [sword-devel] How to highlight SWORD module search results?

2020-04-24 Thread David Haslam
The feature table in the aforementioned 
[page](https://wiki.crosswire.org/Choosing_a_SWORD_program#Search_and_Dictionary)
 already has a row labelled Result highlighting

NB. Some cells in this table are yet to be populated

Aside: Few of our front-end apps have an Advanced search feature yet.
Often lacking is the option to choose between case-[in]sensitive search.

Best regards,

David

Sent with [ProtonMail](https://protonmail.com) Secure Email.

‐‐‐ Original Message ‐‐‐
On Friday, April 24, 2020 7:51 AM, David Haslam  wrote:

> First we need a list of which SWORD front-ends (if any) actually highlight 
> the search string words when they return the results.
>
> Some front-ends merely return the list of verses (with text) but without 
> highlighting anything in the verse text.
>
> Is this a row that needs to be added to the Search features table in the wiki 
> page “Choosing a SWORD program” ?
>
> Best regards,
>
> David
>
> Sent from ProtonMail Mobile
>
> On Fri, Apr 24, 2020 at 07:43, Tobias Klein  wrote:
>
>> Hi,
>>
>> Any feedback on this? I would appreciate it!
>>
>> Best regards,
>> Tobias
>>
>>> Am 04.04.2020 um 19:15 schrieb Tobias Klein :
>>>
>>> Hi everyone,
>>>
>>> What’s the typical technical approach for highlighting SWORD module search 
>>> results? Does the engine have built-in support for this? Are there any good 
>>> examples available?
>>>
>>> I imagine this to be best solved by the SWORD engine by simply returning 
>>> corresponding markup that contains the highlighted sections based on the 
>>> search term.
>>>
>>> Best regards,
>>> Tobias
>>> ___
>>> sword-devel mailing list: sword-devel@crosswire.org
>>> http://www.crosswire.org/mailman/listinfo/sword-devel
>>> Instructions to unsubscribe/change your settings at above page___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Re: [sword-devel] How to highlight SWORD module search results?

2020-04-24 Thread Karl Kleinpaste
On 4/4/20 1:15 PM, Tobias Klein wrote:
> Does the engine have built-in support for this? Are there any good
> examples available?

The engine doesn't do it.

Xiphos' implementation can be found in mark_search_words() in
xiphos/src/main/previewer.cc. It's rather crude as a post-delivery hack
in terms of chasing down references and wrapping them in , but the
effect is quite good.
___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

[sword-devel] Xulsword

2020-04-24 Thread David Haslam
How many of you have tried using xulsword ?

https://github.com/JohnAustinDev/xulsword

Y’all know of this SWORD front-end, don’t ya?

Download the “Holy Bible” program from

https://ibtrussia.org/en/pc

Available for Windows, Linux & Mac.

See also https://ibtrussia.org/en/media

Please pray for the users in Central Asia and beyond.

David

Sent from ProtonMail Mobile___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Re: [sword-devel] How to highlight SWORD module search results?

2020-04-24 Thread Tobias Klein

> Am 24.04.2020 um 15:11 schrieb Karl Kleinpaste :
> 
> On 4/4/20 1:15 PM, Tobias Klein wrote:
>> Does the engine have built-in support for this? Are there any good examples 
>> available?
> 
> The engine doesn't do it.
> 
> Xiphos' implementation can be found in mark_search_words() in 
> xiphos/src/main/previewer.cc. It's rather crude as a post-delivery hack in 
> terms of chasing down references and wrapping them in , but the effect 
> is quite good.

Ok. Thanks for the hint, Karl! I’ll have a look at the Xiphos implementation.

@Troy:
Wouldn’t this be something that’s needed by all frontends? In this case it may 
be useful as part of the engine.

Best regards,
Tobias___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Re: [sword-devel] How to highlight SWORD module search results?

2020-04-24 Thread Tobias Klein


> Am 24.04.2020 um 08:51 schrieb David Haslam :
> 
> First we need a list of which SWORD front-ends (if any) actually highlight 
> the search string words when they return the results.
> 
> Some front-ends merely return the list of verses (with text) but without 
> highlighting anything in the verse text.
> 
> Is this a row that needs to be added to the Search features table in the wiki 
> page “Choosing a SWORD program” ?

On that wiki page there is already a row „Result highlighting“ and this is 
documented for some frontends.
In Ezra Project it’s currently only working for the in-place search within the 
currently opened text (via CTRL + f).

Tobias 
___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

[sword-devel] Searching for words with punctuation marks?

2020-04-24 Thread David Haslam
Does SWORD support searching for words that contain punctuation marks?

e.g. The typographical apostrophe used for possessives in the KJV, etc. (as in 
Noah’s)
e.g. The en dash used as a word joiner in the KJV (as in Beth–el)

Currently, in (e.g.) PocketSword, I have to do an exact phrase search for "Noah 
s" or "Beth el".
i.e. Where the punctuation mark is replaced by a space.

For less technical users, this may be counter-intuitive.

Has anything related to this question been documented?


Best regards,

David

Sent with ProtonMail Secure Email.



___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

[sword-devel] High Efficiency Image File format (HEIF)

2020-04-24 Thread David Haslam
Any plans for SWORD to support HEIF ?

See https://en.wikipedia.org/wiki/High_Efficiency_Image_File_Format


Best regards,

David

Sent with ProtonMail Secure Email.



___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page


Re: [sword-devel] High Efficiency Image File format (HEIF)

2020-04-24 Thread Karl Kleinpaste
On 4/24/20 2:48 PM, David Haslam wrote:
> Any plans for SWORD to support HEIF ?

Sword proper does not really "support" any particular image formats. The
engine delivers text on demand to the applications, some of which
incidentally contains references to extra-corporeal image content. The
engine itself isn't really aware that images are part of the deal, other
than that some of the filters happen to scribble the right target
markup, which is agnostic to what format is referenced anyway.
___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Re: [sword-devel] High Efficiency Image File format (HEIF)

2020-04-24 Thread Tom Sullivan

Y'all:

HEIF is patent encumbered.I don't know what all the implications are.

Tom Sullivan
i...@beforgiven.info
FAX: 815-301-2835
-
.

On 4/24/20 4:01 PM, Karl Kleinpaste wrote:

On 4/24/20 2:48 PM, David Haslam wrote:

Any plans for SWORD to support HEIF ?


Sword proper does not really "support" any particular image formats. The 
engine delivers text on demand to the applications, some of which 
incidentally contains references to extra-corporeal image content. The 
engine itself isn't really aware that images are part of the deal, other 
than that some of the filters happen to scribble the right target 
markup, which is agnostic to what format is referenced anyway.


__
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
__

___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page



___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page


Re: [sword-devel] High Efficiency Image File format (HEIF)

2020-04-24 Thread Greg Hellings
On Sat, Apr 25, 2020 at 12:59 AM David Haslam  wrote:

> The wiki refers to “Image modules’.
>
> What are these?
>
> Are they different to what Karl describes?
>

No, they're exactly what Karl describes. His point is just that the images
are simply binary blobs to the engine that come along during the download.
The module content as processed by the engine then references those binary
blobs in whatever way is appropriate (e.g. a ThML module will use  tags, OSIS will use its equivalent, etc). The engine doesn't
care what the binary blob is, that's the job of one of the front ends, and
will typically be farmed out to whatever display utility that front end
uses (e.g. to webkit, chromium, etc).

So, Sword itself doesn't need to do anything to support any individual
format. That's something for the front ends to figure out. And, until
someone tries to use a format, no one is likely to put in effort to support
one that doesn't come for free, already, with their toolkit of choice.

--Greg

>
> David
>
> Sent from ProtonMail Mobile
>
>
> On Fri, Apr 24, 2020 at 21:01, Karl Kleinpaste 
> wrote:
>
> On 4/24/20 2:48 PM, David Haslam wrote:
>
> Any plans for SWORD to support HEIF ?
>
>
> Sword proper does not really "support" any particular image formats. The
> engine delivers text on demand to the applications, some of which
> incidentally contains references to extra-corporeal image content. The
> engine itself isn't really aware that images are part of the deal, other
> than that some of the filters happen to scribble the right target markup,
> which is agnostic to what format is referenced anyway.
>
>
>
> ___
> sword-devel mailing list: sword-devel@crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Re: [sword-devel] High Efficiency Image File format (HEIF)

2020-04-24 Thread David Haslam
The wiki refers to “Image modules’.

What are these?

Are they different to what Karl describes?

David

Sent from ProtonMail Mobile

On Fri, Apr 24, 2020 at 21:01, Karl Kleinpaste  wrote:

> On 4/24/20 2:48 PM, David Haslam wrote:
>
>> Any plans for SWORD to support HEIF ?
>
> Sword proper does not really "support" any particular image formats. The 
> engine delivers text on demand to the applications, some of which 
> incidentally contains references to extra-corporeal image content. The engine 
> itself isn't really aware that images are part of the deal, other than that 
> some of the filters happen to scribble the right target markup, which is 
> agnostic to what format is referenced anyway.___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page