[sword-devel] thml2gbs

Joachim Ansorg sword-devel@crosswire.org
Tue, 11 Feb 2003 21:18:24 +0100


There's a Perl script which converts the ThML to a format which can be 
converted directly into a module.

I think the perl script works better than imp2gbs.
The URL should be http://www.web42.com/software/sword/ccel2imp/. The tool 
imp2gbs converts the resulting text into a Sword module.

Joachim

> Chris,
>     Thanks for the info.  The docs I have pulled from ccel.org are
> available in other formats, including osis.  Is there any tool that could
> use another format that would come closer to working?  Or, would the
> modules have to be made by hand or a script?
>
> Thanks,
> Jason
> ----- Original Message -----
> From: Chris Little <chrislit@crosswire.org>
> Date: Tue, 11 Feb 2003 10:33:24 -0700 (MST)
> To: sword-devel@crosswire.org
> Subject: Re: [sword-devel] thml2gbs
>
> > thml2gbs has some bugs and is broken at the moment, I believe.
> >
> > You should not modify the .bdt files manually because it will mess up the
> > indexing in the other files.  There are some quirky things you COULD do
> > in ThML (or OSIS or any other XML format) that would really confuse
> > thml2gbs, but I don't think that is done in any texts I've seen.  So any
> > problems you're having are probably the result of either:
> >
> > 1) bugs in thml2gbs (it was really just a proof-of-concept project and
> > didn't quite get finished)
> > 2) bugs/inadequacies in Sword's or BibleCS's handling of ThML
> > 3) possibly bugs in the GenBook code, but this is least likely
> >
> > On Mon, 10 Feb 2003, Jason and Larua Brooks wrote:
> > > OK.  I went back with the same config as below and generated the files
> > > fine.  The only question I have left is this:  is it common to have to
> > > manually manipulate the *.bdt files? I ran thml2gbs on Calvin's
> > > Institutes and Harmony of the Law in 4 volumes, all in XML (thml).  I
> > > realize the Harmony presents problems because it is laid out in chart
> > > format.  However, Institutes is flat in relation.  But the thml2gbs
> > > caught all the head tags, but missed all the text underneath.  For
> > > example, there are simply Roman Numerals in the left pane.  The text
> > > pane only lists the topic sentence. I manipulated the first of the bdt
> > > file, and corrected some of the problems.  So, question is is this a
> > > problem with the source, the conversion process, or what?  Or is it the
> > > norm?
> >
> > _______________________________________________
> > sword-devel mailing list
> > sword-devel@crosswire.org
> > http://www.crosswire.org/mailman/listinfo/sword-devel

-- 
Joachim Ansorg
www.bibletime.info
www.ansorgs.de