Re: [sword-devel] How to make commentary module

2022-01-09 Thread Marjan Šavli
With modified test.conf  it is working.

test.conf===
[TEST]

DataPath=./modules/comments/rawcom/test
Encoding=UTF-8
ModDrv=rawCom
BlockType=CHAPTER
SourceType=OSIS


and

C:\temp\sword\osis2mod.exe C:\temp\sword\sword\modules\comments\rawcom\test
C:\temp\sword\test_sword.xml -v KJV

I've got four files.

===
 Directory of c:\Temp\sword\sword\modules\comments\rawcom\test
9. 01. 2022  17:55 0 nt
09. 01. 2022  17:5549.476 nt.vss
09. 01. 2022  17:55 1.695 ot
09. 01. 2022  17:55   180.168 ot.vss
   5 File(s)231.339 bytes
   2 Dir(s)  199.962.398.720 bytes free

=

One of them is ot.

=file ot

 

Blah blah... 
Blah blah... 
Blah blah... 
Blah blah... 
Blah blah... 
Blah blah...
===

I put these files under mods.d and modules directory.
Now it is working.

Thanks.
Marjan


This isn't really a "what's wrong", but more of a way to eliminate noise,
> so you can find whats wrong:
>
> I'd try building a raw commentary first. Anything that will be listed on a
> repository will be remade by the repo maintainer anyway. It will make the
> compile faster, so each attempt takes less time... and it may show that's
> what's broken already. But once you get a rawcom that works, you can work
> on making the compressed build command == compressed module config
> separately from dealing with osis to module issues.
>
> DataPath=./modules/comments/rawcom/test
> Encoding=UTF-8
> ModDrv=rawCom
> BlockType=CHAPTER
> SourceType=OSIS
>
>
>
>
>
>> Hi!
>>
>> Trying to make commentary module.
>> XML validates.
>> Osis2mod makes module.
>> In Xiphos or Andbible or Bishop there is "TEST" module.
>> But none commentary for Gen1, ..., Gen 6. as it is in test.xml.
>>
>> Prepared also skeleton for whole Bible (Download link
>> 
>> - 7 days). But problem is the same.
>>
>> Can you give me a hint what I am doing wrong?
>>
>> Best regards,
>>
>> Marjan
>>
>>
>> test.xml==
>> 
>> http://www.bibletechnologies.net/2003/OSIS/namespace;
>>   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
>>   xsi:schemaLocation="
>> http://www.bibletechnologies.net/2003/OSIS/namespace
>> M:/SloKJVA/xml_test/osisCore.2.1.1.xsd">
>>
>>   > canonical="true">
>> 
>> 
>> TEST
>> Commentary
>> TEST_ID
>> Licenca: CC BY-NC-ND
>> 4.0
>> 
>> Commentary
>> 
>> 
>>
>> 
>>   
>> 
>>> annotateRef="Gen.1.1">Blah blah...
>>  > annotateRef="Gen.1.2">Blah blah...
>>  > annotateRef="Gen.1.3">Blah blah...
>>  > annotateRef="Gen.1.4">Blah blah...
>>  > annotateRef="Gen.1.5">Blah blah...
>>  > annotateRef="Gen.1.6">Blah blah...
>>  
>> 
>>   
>> 
>>   
>> 
>> =
>>
>>
>> =test.conf
>> [TEST]
>>
>> Description=Test
>> DataPath=./modules/comments/zcom/test
>> Encoding=UTF-8
>> ModDrv=zCom
>> BlockType=CHAPTER
>> SourceType=OSIS
>> CompressType=ZIP
>>
>> GlobalOptionFilter=UTF8GreekAccents
>> GlobalOptionFilter=OSISHeadings
>> GlobalOptionFilter=OSISScripref
>>
>> TextSource=https://test.net
>> DistributionLicense=Public Domain
>>
>> Category=Commentaries
>> OSISVersion=2.1.1
>> MinimumVersion=1.5.9
>> About=test
>> Lang=en
>> LCSH=Bible--Commentaries.
>> SwordVersionDate=2022-01-08
>> InstallSize=2000
>> Version=1.0
>> History_1.0=Just Initial Release for testing
>> 
>>
>>
>> ==Making module==
>> C:\temp\sword\osis2mod.exe C:\temp\sword\sword\modules\comments\zcom\test
>> C:\temp\sword\test_sword.xml -v KJVA -z
>> You are running osis2mod: $Rev: 3431 $
>> SUCCESS: C:\temp\sword\osis2mod.exe: has finished its work and will now
>> rest
>> =
>>
>>
>> =
>> Directory of c:\Temp\sword\sword\modules\comments\zcom\test
>> 09. 01. 2022  16:22 0 nt.bzs
>> 09. 01. 2022  16:2282.460 nt.bzv
>> 09. 01. 2022  16:22 0 nt.bzz
>> 09. 01. 2022  16:2224 ot.bzs
>> 09. 01. 2022  16:22   300.280 ot.bzv
>> 09. 01. 2022  16:22 2.398 ot.bzz
>> =
>> Directory of c:\Temp\sword\sword\mods.d
>> 09. 01. 2022  15:03   537 test.conf
>> ===
>>
>>
___
sword-devel mailing list: sword-devel@crosswire.org
http://crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Re: [sword-devel] How to make commentary module

2022-01-09 Thread Michael H
In addition, there are several raw commentaries currently published.

I'm not tracing back which repo they came from, but I see

augustin
chrysostom
dtn
spurious
tfg


in my rawcom directory. In each of these folders, the files without
extensions are plain text.  You can open them with any editor and inspect
them for variance from your own attempt at module making.  It would be wise
to copy the folder from your local Sword tree first, just to prevent file
corruption causing program crashes. The .vss file is an index. It should
not be zero length if you have content in that testament. I don't know how
to open it for inspection, but someone else may chip in to help with that.
___
sword-devel mailing list: sword-devel@crosswire.org
http://crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Re: [sword-devel] How to make commentary module

2022-01-09 Thread Michael H
This isn't really a "what's wrong", but more of a way to eliminate noise,
so you can find whats wrong:

I'd try building a raw commentary first. Anything that will be listed on a
repository will be remade by the repo maintainer anyway. It will make the
compile faster, so each attempt takes less time... and it may show that's
what's broken already. But once you get a rawcom that works, you can work
on making the compressed build command == compressed module config
separately from dealing with osis to module issues.

DataPath=./modules/comments/rawcom/test
Encoding=UTF-8
ModDrv=rawCom
BlockType=CHAPTER
SourceType=OSIS



On Sun, Jan 9, 2022 at 9:52 AM Marjan Šavli  wrote:

>
> Hi!
>
> Trying to make commentary module.
> XML validates.
> Osis2mod makes module.
> In Xiphos or Andbible or Bishop there is "TEST" module.
> But none commentary for Gen1, ..., Gen 6. as it is in test.xml.
>
> Prepared also skeleton for whole Bible (Download link
> 
> - 7 days). But problem is the same.
>
> Can you give me a hint what I am doing wrong?
>
> Best regards,
>
> Marjan
>
>
> test.xml==
> 
> http://www.bibletechnologies.net/2003/OSIS/namespace;
>   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
>   xsi:schemaLocation="
> http://www.bibletechnologies.net/2003/OSIS/namespace
> M:/SloKJVA/xml_test/osisCore.2.1.1.xsd">
>
>canonical="true">
> 
> 
> TEST
> Commentary
> TEST_ID
> Licenca: CC BY-NC-ND
> 4.0
> 
> Commentary
> 
> 
>
> 
>   
> 
> annotateRef="Gen.1.1">Blah blah...
>   annotateRef="Gen.1.2">Blah blah...
>   annotateRef="Gen.1.3">Blah blah...
>   annotateRef="Gen.1.4">Blah blah...
>   annotateRef="Gen.1.5">Blah blah...
>   annotateRef="Gen.1.6">Blah blah...
>  
> 
>   
> 
>   
> 
> =
>
>
> =test.conf
> [TEST]
>
> Description=Test
> DataPath=./modules/comments/zcom/test
> Encoding=UTF-8
> ModDrv=zCom
> BlockType=CHAPTER
> SourceType=OSIS
> CompressType=ZIP
>
> GlobalOptionFilter=UTF8GreekAccents
> GlobalOptionFilter=OSISHeadings
> GlobalOptionFilter=OSISScripref
>
> TextSource=https://test.net
> DistributionLicense=Public Domain
>
> Category=Commentaries
> OSISVersion=2.1.1
> MinimumVersion=1.5.9
> About=test
> Lang=en
> LCSH=Bible--Commentaries.
> SwordVersionDate=2022-01-08
> InstallSize=2000
> Version=1.0
> History_1.0=Just Initial Release for testing
> 
>
>
> ==Making module==
> C:\temp\sword\osis2mod.exe C:\temp\sword\sword\modules\comments\zcom\test
> C:\temp\sword\test_sword.xml -v KJVA -z
> You are running osis2mod: $Rev: 3431 $
> SUCCESS: C:\temp\sword\osis2mod.exe: has finished its work and will now
> rest
> =
>
>
> =
> Directory of c:\Temp\sword\sword\modules\comments\zcom\test
> 09. 01. 2022  16:22 0 nt.bzs
> 09. 01. 2022  16:2282.460 nt.bzv
> 09. 01. 2022  16:22 0 nt.bzz
> 09. 01. 2022  16:2224 ot.bzs
> 09. 01. 2022  16:22   300.280 ot.bzv
> 09. 01. 2022  16:22 2.398 ot.bzz
> =
> Directory of c:\Temp\sword\sword\mods.d
> 09. 01. 2022  15:03   537 test.conf
> ===
> ___
> sword-devel mailing list: sword-devel@crosswire.org
> http://crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
___
sword-devel mailing list: sword-devel@crosswire.org
http://crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

[sword-devel] How to make commentary module

2022-01-09 Thread Marjan Šavli
Hi!

Trying to make commentary module.
XML validates.
Osis2mod makes module.
In Xiphos or Andbible or Bishop there is "TEST" module.
But none commentary for Gen1, ..., Gen 6. as it is in test.xml.

Prepared also skeleton for whole Bible (Download link

- 7 days). But problem is the same.

Can you give me a hint what I am doing wrong?

Best regards,

Marjan


test.xml==

http://www.bibletechnologies.net/2003/OSIS/namespace;
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
  xsi:schemaLocation="
http://www.bibletechnologies.net/2003/OSIS/namespace
M:/SloKJVA/xml_test/osisCore.2.1.1.xsd">

  


TEST
Commentary
TEST_ID
Licenca: CC BY-NC-ND
4.0

Commentary




  

   Blah blah...
 Blah blah...
 Blah blah...
 Blah blah...
 Blah blah...
 Blah blah...
 

  

  

=


=test.conf
[TEST]

Description=Test
DataPath=./modules/comments/zcom/test
Encoding=UTF-8
ModDrv=zCom
BlockType=CHAPTER
SourceType=OSIS
CompressType=ZIP

GlobalOptionFilter=UTF8GreekAccents
GlobalOptionFilter=OSISHeadings
GlobalOptionFilter=OSISScripref

TextSource=https://test.net
DistributionLicense=Public Domain

Category=Commentaries
OSISVersion=2.1.1
MinimumVersion=1.5.9
About=test
Lang=en
LCSH=Bible--Commentaries.
SwordVersionDate=2022-01-08
InstallSize=2000
Version=1.0
History_1.0=Just Initial Release for testing



==Making module==
C:\temp\sword\osis2mod.exe C:\temp\sword\sword\modules\comments\zcom\test
C:\temp\sword\test_sword.xml -v KJVA -z
You are running osis2mod: $Rev: 3431 $
SUCCESS: C:\temp\sword\osis2mod.exe: has finished its work and will now rest
=


=
Directory of c:\Temp\sword\sword\modules\comments\zcom\test
09. 01. 2022  16:22 0 nt.bzs
09. 01. 2022  16:2282.460 nt.bzv
09. 01. 2022  16:22 0 nt.bzz
09. 01. 2022  16:2224 ot.bzs
09. 01. 2022  16:22   300.280 ot.bzv
09. 01. 2022  16:22 2.398 ot.bzz
=
Directory of c:\Temp\sword\sword\mods.d
09. 01. 2022  15:03   537 test.conf
===
___
sword-devel mailing list: sword-devel@crosswire.org
http://crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page