Re: [sword-devel] Genbooks

2019-06-20 Thread jhphx
My take on this is that the TomTom FAT32 use is not necessarily 
relevant. It depends. If you build CHM technology into the engine then 
that would probably be relevant, but if you use Windows to display CHM 
then it is probably not relevant. The Sword Project for Windows used CHM 
for its help files. That is exactly what CHM was made for.


CHM is pretty simple. At its heart it uses HTML files and linked images 
and such. The compiler takes a set of HTML files, linked files, and adds 
indexing and search functionality. It is also possible to decompile CHM 
and get the HTML and other files that were compiled into it. Of course 
you want to be sure anything from that if you use it is PD, open source, 
or otherwise legitimate to use. Note that decompiling could possibly be 
considered reverse engineering so you need to consider terms of use and 
the laws of whatever jurisdiction you are in. Those issues though are 
not with Microsoft but with the party that compiled the CHM. In my opinion.


Jerry

On 6/20/2019 3:31 PM, Michael H wrote:

https://en.wikipedia.org/wiki/Microsoft_Compiled_HTML_Help

CHM is not exactly opensource.  Microsoft successfully sued TomTom for 
using FAT32 formatting in it's GPS systems without paying any 
royalties to Microsoft.  That's the old (Gates, Balmer) Microsoft, but 
still it's a proprietary technology by a company with a history of 
using litigation on technologies just to shut people down.


I don't see Crosswire as being a target by microsoft, but sometimes 
people with intent to harm license technology just to make it 
something to rattle... I'd feel a lot more comfortable using a 
known-opensource technology.


It would make production easy if it was supported.

On Thu, Jun 20, 2019 at 11:41 AM ref...@crosswire.org 
 > wrote:


A while back I wrote about Bibleworks and its legacy. As part of
my further research I found that Bibleworks uses instead of a
GenBook format for user supplied books of that category the CHM
format.

How ubiquitous is CHM on our platforms? If all platforms can use
it , we could probably tap into a huge GenBook like module library
- specifically for textual research - for very little extra effort.

Peter



Petee

Sent from my Huawei 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


___
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] Genbooks

2019-06-20 Thread Peter von Kaehne
On Thu, 2019-06-20 at 12:02 -0700, Troy A. Griffitts wrote:
>
> Anyway, sounds reasonable.  Do we have one BibleWorks module in this
> format we could post someplace we can play with and see what we can
> get
> working?

Here is a whole host of them:

http://bibleworks.oldinthenew.org/?page_id=151

They are basically zipped files, containg a conf file which is way more
primitive that ours and a chm file.

Some are text. but some are also huge image bundles from scanned books,
organised with the help of CHM.

Basically it seems to me that Bibleworks was not enforcing a very high
encoding standard and made it easy to create modules with the result
that there was an awful lot out there for it.

Peter


___
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] Genbooks

2019-06-20 Thread Michael H
https://en.wikipedia.org/wiki/Microsoft_Compiled_HTML_Help

CHM is not exactly opensource.  Microsoft successfully sued TomTom for
using FAT32 formatting in it's GPS systems without paying any royalties to
Microsoft.  That's the old (Gates, Balmer) Microsoft, but still it's a
proprietary technology by a company with a history of using litigation on
technologies just to shut people down.

I don't see Crosswire as being a target by microsoft, but sometimes people
with intent to harm license technology just to make it something to
rattle... I'd feel a lot more comfortable using a known-opensource
technology.

It would make production easy if it was supported.

On Thu, Jun 20, 2019 at 11:41 AM ref...@crosswire.org 
wrote:

> A while back I wrote about Bibleworks and its legacy. As part of my
> further research I found that Bibleworks uses instead of a GenBook format
> for user supplied books of that category the CHM format.
>
> How ubiquitous is CHM on our platforms? If all platforms can use it , we
> could probably tap into a huge GenBook like module library - specifically
> for textual research - for very little extra effort.
>
> Peter
>
>
>
> Petee
>
> Sent from my Huawei 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
>
___
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] Genbooks

2019-06-20 Thread ref...@gmx.net
I will post something tonightSent from my mobile. Please forgive shortness, typos and weird autocorrects. Original Message Subject: Re: [sword-devel] GenbooksFrom: "Troy A. Griffitts" To: sword-devel@crosswire.orgCC: Thanks Dominique,It seems like the format is fairly straightforward.  We could probablyadd a CHMGenBook impl along with our RawGenBook impl and let these beused the same as any other GenBook within SWORD.  Then we need to pick aMarkup configuration for these.  The markup format could currently useThML.  I realize there likely will not be ThML-specific content in thesemodules at first if they are pulled from an install of BibleWorks, butThML would give us filters that expect HTML, at least.Anyway, sounds reasonable.  Do we have one BibleWorks module in thisformat we could post someplace we can play with and see what we can getworking?TroyOn 6/20/19 11:45 AM, Dominique Corbex wrote:> On Thu, 20 Jun 2019 17:40:31 +0100> "ref...@crosswire.org"  wrote:>>> CHM format> Unofficial MS Help specification:> https://www.nongnu.org/chmspec/latest/>> chmlib is a small library designed for accessing Microsoft Html Help files (.chm)> https://github.com/jedwing/CHMLib>>___sword-devel mailing list: sword-devel@crosswire.orghttp://www.crosswire.org/mailman/listinfo/sword-develInstructions 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] Genbooks

2019-06-20 Thread Troy A. Griffitts
Thanks Dominique,

It seems like the format is fairly straightforward.  We could probably
add a CHMGenBook impl along with our RawGenBook impl and let these be
used the same as any other GenBook within SWORD.  Then we need to pick a
Markup configuration for these.  The markup format could currently use
ThML.  I realize there likely will not be ThML-specific content in these
modules at first if they are pulled from an install of BibleWorks, but
ThML would give us filters that expect HTML, at least.

Anyway, sounds reasonable.  Do we have one BibleWorks module in this
format we could post someplace we can play with and see what we can get
working?

Troy


On 6/20/19 11:45 AM, Dominique Corbex wrote:
> On Thu, 20 Jun 2019 17:40:31 +0100
> "ref...@crosswire.org"  wrote:
>
>> CHM format
> Unofficial MS Help specification:
> https://www.nongnu.org/chmspec/latest/
>
> chmlib is a small library designed for accessing Microsoft Html Help files 
> (.chm)
> https://github.com/jedwing/CHMLib
>
>

___
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] Genbooks

2019-06-20 Thread Dominique Corbex
On Thu, 20 Jun 2019 17:40:31 +0100
"ref...@crosswire.org"  wrote:

> CHM format

Unofficial MS Help specification:
https://www.nongnu.org/chmspec/latest/

chmlib is a small library designed for accessing Microsoft Html Help files 
(.chm)
https://github.com/jedwing/CHMLib


-- 
domcox 

___
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] python3 , StrongsGreek and unicodeDecodeError

2019-06-20 Thread Matěj Cepl
On 2019-06-16, 19:02 GMT, pierre amadio wrote:
> Playing with the python3 Sword module I hit a problem that 
> I did not have with python2 when dealing with Strongs 
> definition such as G1140 (daimonion). It looks like the 'æ' 
> character is causing problem.
>
> This example works with python2, but generate an error when 
> ran wiht python3:
>
> ##
> import Sword
> library = Sword.SWMgr()
> target=library.getModule("StrongsGreek")
> vk=Sword.SWKey("1140")
> target.setKey(vk)
> strongEntry=target.renderText().getRawData()
> ###
>
>   File "/usr/local/sword/python3/lib64/python3.4/site-packages/Sword.py",
> line 128, in getRawData
> def getRawData(self): return _Sword.SWBuf_getRawData(self)
> UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe6 in position
> 73: invalid continuation byte
>
> Anyone knows how to be able to catch the content of this entry in a
> python variable ?

This is usually problem with C API providing C-style strings 
(bytes in Pythonesque) and Python expects Python strings (str in 
Pythonesque). Also, what encoding C library uses? Is it really 
UTF-8? If not (and it is for example Windows-friendly UTF-16) 
str.decode('utf-16') conversion must be done to get proper 
Python str object.

Best,

Matěj
-- 
https://matej.ceplovi.cz/blog/, Jabber: mc...@ceplovi.cz
GPG Finger: 3C76 A027 CA45 AD70 98B5  BC1D 7920 5802 880B C9D8
 
He loves nature in spite of what it did to him.
  -- Forrest Tucker


___
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] iOS Testing - Bishop

2019-06-20 Thread Troy A. Griffitts
Dear team,

After 3 more tries, I finally have an iOS build using phonegap cloud
build registered and approved for testing by Apple.  Here is the
TestFlight URL.  Any feedback would be appreciated.  Generally, we are
interested if it works. :)  One issue we've had on iOS in the past is
that momentum scrolling wasn't sending scroll events during scrolling,
but only after scrolling completely finished.  This was making it
difficult to select a verse by scrolling the main Bible text view, or to
select a word by scrolling the right half of the screen in the Language
Assist view, as the highlighting only happened after scrolling
completely stopped moving.  It would be great to hear if this has been
improved in this latest build.  Other developers have complained about
this and have a few different work arounds, but they also say it is
fixed in later versions of iOS, so I am not sure we need to do anything
now.  I would also like to know what versions of iOS we can install on,
so please report if you are using an earlier or later version of iOS
which hasn't yet been reported-- no need if someone has already
mentioned your version.  I might be able to build things for older iOS
phones by changing a few build settings, but I would like to hear if
this is necessary.

Thank you for any time you spend testing and reporting your experience.

Troy


https://testflight.apple.com/join/5IpRivsN



___
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] Genbooks

2019-06-20 Thread ref...@gmx.net
Open-source?Sent from my mobile. Please forgive shortness, typos and weird autocorrects. Original Message Subject: Re: [sword-devel] GenbooksFrom: David Haslam To: SWORD Developers' Collaboration Forum CC:For iOS, the CHM Reader app called CHM Plus Pro is quite useful. DavidSent from ProtonMail Mobile On Thu, Jun 20, 2019 at 17:40, ref...@crosswire.org  wrote:  A while back I wrote about Bibleworks and its legacy. As part of my further research I found that Bibleworks uses instead of a GenBook format for user supplied books of that category the CHM format.How ubiquitous is CHM on our platforms? If all platforms can use it , we could probably tap into a huge GenBook like module library - specifically for textual research - for very little extra effort.PeterPeteeSent from my Huawei Mobile___sword-devel mailing list: sword-devel@crosswire.orghttp://www.crosswire.org/mailman/listinfo/sword-develInstructions 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] Genbooks

2019-06-20 Thread David Haslam
For iOS, the CHM Reader app called CHM Plus Pro is quite useful.

David

Sent from ProtonMail Mobile

On Thu, Jun 20, 2019 at 17:40, ref...@crosswire.org  
wrote:

> A while back I wrote about Bibleworks and its legacy. As part of my further 
> research I found that Bibleworks uses instead of a GenBook format for user 
> supplied books of that category the CHM format.
>
> How ubiquitous is CHM on our platforms? If all platforms can use it , we 
> could probably tap into a huge GenBook like module library - specifically for 
> textual research - for very little extra effort.
>
> Peter
>
> Petee
>
> Sent from my Huawei 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___
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] Genbooks

2019-06-20 Thread ref...@crosswire.org
A while back I wrote about Bibleworks and its legacy. As part of my further 
research I found that Bibleworks uses instead of a GenBook format for user 
supplied books of that category the CHM format. 

How ubiquitous is CHM on our platforms? If all platforms can use it , we could 
probably tap into a huge GenBook like module library - specifically for textual 
research - for very little extra effort. 

Peter



Petee

Sent from my Huawei 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] Copyright question about sharing anki deck created from Sword modules

2019-06-20 Thread Peter Von Kaehne
Dear Pierre,

Many thanks for asking.

> Von: "pierre amadio" 

> I am not sure what can and what cannot be done as far as licensing is 
> concerned.
>
> * Licences of the involved Sword modules I am interested in:
>
> byz.conf:DistributionLicense=Creative Commons: by-nc-sa

Check the Creative Commons website for the exact terms of this license.
https://creativecommons.org/licenses/by-nc-sa/2.0/
It does seem to me you can do what you want to do here as long as you stick to 
the full set of terms. But please check yourself and do not take my opinion for 
gospel.

> morphgnt.conf:DistributionLicense=Copyrighted; Permission to
> distribute granted to CrossWire

You can not use this text from us but will need to go back to the publisher and 
copyright owner and ask for yourself. Ask for the text and for the permissions. 
Please do not ask for use of the CrossWire module but for their text and their 
permission

> oshb.conf:DistributionLicense=Public Domain

Seems fine to me

> strongsrealgreek.conf:DistributionLicense=Public Domain

Seems fine to me

> strongsrealhebrew.conf:DistributionLicense=Public Domain

Seems fine to me

> I am not a lawyer, and do not really understand if "derivative works"
> (is that the correct term for an Anki deck based on a Sword module ?)
> redistribution should follow the same rules as the full module, but in
> doubt, i am assuming it is (if you know i am wrong, please let me
> know).

Anything which takes something and makes it something else is derivative. It 
seems that this is what you are doing.

Peter

___
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] Copyright question about sharing anki deck created from Sword modules

2019-06-20 Thread pierre amadio
Hello.

I wrote a python script that generate anki (https://apps.ankiweb.net/)
flashcard deck based on Sword modules that includes Strongs number.

https://github.com/pierre-amadio/SwordSandBox/blob/master/python/ankistuff/create-anki-deck.py

For a given book, it generate cards where the question field is a set
of all the variant forms of a Strongs's word, and a sample list of
sentences where the word occurs.
The answer field is the Strongs's entry (from the Xiphos strongsreal* modules).

If possible, I would like to share a set of decks in ankweb as well as
on some form of web hosting somewhere (if you have room on a server
and are willing to host those decks, le me know).

I am not sure what can and what cannot be done as far as licensing is concerned.

* Licences of the involved Sword modules I am interested in:

byz.conf:DistributionLicense=Creative Commons: by-nc-sa
morphgnt.conf:DistributionLicense=Copyrighted; Permission to
distribute granted to CrossWire
oshb.conf:DistributionLicense=Public Domain
strongsrealgreek.conf:DistributionLicense=Public Domain
strongsrealhebrew.conf:DistributionLicense=Public Domain

* Licence of decks posted in the ankiweb repository:
https://ankiweb.net/account/terms
Excerpt:
"""
When you share a deck, you will be required to assert that it is
entirely your own work, or that you have obtained a license from the
intellectual property holder to share the material here
...
...
When you download a deck that someone has shared, the deck author
grants you a permanent, non-revocable, worldwide, royalty free,
non-exclusive license to use the material in your personal studies.
This license is for personal use only, and the deck may not be
redistributed, re-uploaded, published, or used for any other purposes
without explicit permission from the copyright holder.
"""

If possible, i d like to give permission to redistribue/change/whatever.

* Licence I plan to distribute decks hosted on a simple web server:
Creative Common
CC BY-NC-SA if needed because of BYZ
or simply CC BY-SA if possible.

I am not a lawyer, and do not really understand if "derivative works"
(is that the correct term for an Anki deck based on a Sword module ?)
redistribution should follow the same rules as the full module, but in
doubt, i am assuming it is (if you know i am wrong, please let me
know).

It looks to me it would be ok to redistributes the deck on ankiweb and
under a CC licence except for the MorphGnt based deck for wich
crosswire has a right to redistribute but not me, nor ankiweb.

That s unfortunate as the only other greek new testament with strong
module i found (BYZ) does not come with accent and spritits.

Does any of you knows if the above assumptions are correct ?
Does any of you knows of a greek new testament module with strongs
words _and_ accents ?

Have a nice day !

___
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