[sword-devel] regenerating an editable Personal commentary

DM Smith dmsmith at crosswire.org
Thu Feb 4 10:33:29 MST 2016


Take a look at sword/utilities/addcomment.cpp. It creates a rawfiles module. BTW, it doesn’t handle av11n.

The RawFiles::createModule(path) does some minor setup and then calls RawVerse::createModule(path).

Hope this helps.

> On Feb 4, 2016, at 12:25 PM, DM Smith <dmsmith at crosswire.org> wrote:
> 
> I also don’t know how it was originally created. We’ve got the support in JSword for creating one. I’m looking at SWORD soon.
> 
> I know this isn’t what your asking but here is some info.
> It appears the the idx files are fairly typical for an empty raw file for a bible. It has one file per testament and each entry is an offset into the dat file and the length in the dat file. They are all initialized to 0.
> 
> Each dat file can start as a 0 length file. I’m not sure that they even have to exist before the first entry is saved.
> 
> The dat file entries are the names of the files holding the verse entry.
> 
> Hope to have a better answer for you.
> 
> — DM
> 
>> On Feb 4, 2016, at 12:06 PM, Peter von Kaehne <refdoc at gmx.net <mailto:refdoc at gmx.net>> wrote:
>> 
>> No clue Karl. I spent considerable time last night exploring utilities i never had looked at. No joy. 
>> 
>> On 4 February 2016 16:45:16 GMT+00:00, Karl Kleinpaste <karl at kleinpaste.org <mailto:karl at kleinpaste.org>> wrote:
>> On 02/03/2016 01:37 PM, Karl Kleinpaste wrote:
>>> Can someone offer the necessary steps
>> OK, so a day goes by with no reaction. Let me ask another way:
>> 
>> How was the existing Personal created?
>> 
>> 
>> sword-devel mailing list: sword-devel at crosswire.org <mailto:sword-devel at crosswire.org>
>> http://www.crosswire.org/mailman/listinfo/sword-devel <http://www.crosswire.org/mailman/listinfo/sword-devel>
>> Instructions to unsubscribe/change your settings at above page
>> 
>> -- 
>> Sent from my Android device with K-9 Mail. Please excuse my brevity.
>> _______________________________________________
>> sword-devel mailing list: sword-devel at crosswire.org <mailto:sword-devel at crosswire.org>
>> http://www.crosswire.org/mailman/listinfo/sword-devel <http://www.crosswire.org/mailman/listinfo/sword-devel>
>> Instructions to unsubscribe/change your settings at above page
> 
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20160204/6b57b2bd/attachment.html>


More information about the sword-devel mailing list