[sword-devel] GenBook key issues

Manfred Bergmann bergmannmd at web.de
Fri Jun 6 06:51:59 MST 2008


Am 06.06.2008 um 15:18 schrieb Karl Kleinpaste:

> Manfred Bergmann <bergmannmd at web.de> writes:
>> I'm testing a little with some GenBooks and trying to fix issues.
>> All GenBooks work pretty good in MacSword except Institues and  
>> Heretics.
> ...
>> All others fail. I noticed that all of them end with a space
>> character. The two that work do not.
>
> Not that I expect Manfred to be aware of the history, but as has been
> pointed out repeatedly for almost 18 months, Institutes, Heretics, and
> Finney all have problems with being modules that were built before  
> Sword
> key handling became aggressive about leading and trailing spaces.  New
> Sword code cannot cope with older modules with such a problem.

Sorry for not beeing aware of this.
I found a couple of mails this year but didn't go further back.

> The fix is to dump and re-import the modules, by the process of which
> Sword will aggressively eliminate the excess spaces...an effort of all
> of perhaps 90 seconds apiece.

Shouldn't the fixed modules be uploaded again.
This solution is not suitable to the end user IMO.

> Immediate fix on your own machine:
> $ cd ~/.sword/modules/genbook/rawgenbook/finney # or equivalent in  
> MacOS.
> $ mod2imp Finney > finney.imp
> $ imp2gbs finney.imp
> $ rm finney.imp
> And equivalently for Heretics and Institutes.
> Restart your UI and you're done.

That worked.



Regards,
Manfred




More information about the sword-devel mailing list