[sword-devel] new module help

Szabó Kristóf Imre kris-sword at mobilposta.hu
Mon Sep 6 07:35:30 MST 2004


Dear List,

I try to create a new sword module wich contains 'The Hungarian Bible 
Society new translation Bible' (you can guess: it is a new Hungaian 
Bible module).

I prepared the text in GBF format, I created a config file, but I cannot 
import the module. Shall I convert the GBF formatted text into an 
intermediate format? I cannot find out from the Module Making guide.

Thanks in advance,
Christophe

==============================
the conf file:
[HunUj]
DataPath=./modules/texts/ztext/hunuj/bible.gbf
SourceType=GBF
ModDrv=zText
BlockType=BOOK
CompressType=ZIP
Lang=hu
SwordVersionDate=2004-08-31
Version=1.1
Encoding=UTF-8
History_1.1=draft release
Description=Hungarian - Magyar Bibliatársulat újfordítású Bibliája
About=Test
TextSource=http://www.kereszteny.hu
LCSH=Bible. Hungarian.
DistributionLicense=Public Domain; Free distribution
==============================
/usr/share/sword contains:
./mods.d:
total 16
-rw-r--r--  1 root users  11 Jan 14  2004 globals.conf
-rw-r--r--  1 root users 775 Aug  5 05:07 hunkar.conf
-rw-r--r--  1 kris users 400 Aug 31 15:31 hunuj.conf

./modules:
total 4
drwxrwxr-x  4 root users 4096 Aug 31 15:09 texts/

./modules/texts:
total 8
drwxr-xr-x  2 kris users 4096 Aug 31 15:30 rawtext/
drwxrwxr-x  4 root users 4096 Aug 31 15:30 ztext/

./modules/texts/rawtext:
total 0

./modules/texts/ztext:
total 8
drwxr-xr-x  2 root users 4096 Aug 31 14:09 hunkar/
drwxr-xr-x  2 kris users 4096 Aug 31 15:32 hunuj/

./modules/texts/ztext/hunkar:
total 1816
-rw-r--r--  1 root users     324 Aug  5 05:07 nt.bzs
-rw-r--r--  1 root users   82460 Aug  5 05:07 nt.bzv
-rw-r--r--  1 root users  387084 Aug  5 05:07 nt.bzz
-rw-r--r--  1 root users     468 Aug  5 05:07 ot.bzs
-rw-r--r--  1 root users  241150 Aug  5 05:07 ot.bzv
-rw-r--r--  1 root users 1116080 Aug  5 05:07 ot.bzz

./modules/texts/ztext/hunuj:
total 4664
-rw-r--r--  1 kris users 4425486 Aug 31 13:53 hunuj.gbf
==============================
mod2zmod output:
[root at hoya hunuj]# mod2zmod HunUj . 4 2
Skipping [[ Module Heading ]] no entry in inModule.
Skipping [[ Testament 1 Heading ]] no entry in inModule.
Skipping [Genesis 0:0] no entry in inModule.
Skipping [Genesis 1:0] no entry in inModule.
Skipping [Genesis 1:1] no entry in inModule.
Skipping [Genesis 1:2] no entry in inModule.
Skipping [Genesis 1:3] no entry in inModule.
...






More information about the sword-devel mailing list