Re: [sword-devel] regenerating an editable Personal commentary

2016-02-04 Thread DM Smith
No. A personal commentary module has nt, nt.vss, ot, ot.vss files. These should only contain (0,0) for every entry. The other two files should be 0 length files. There should be a file name incfile. And for each “verse” that has comments there should be a file whose name is a number. The numeric

Re: [sword-devel] regenerating an editable Personal commentary

2016-02-04 Thread David Haslam
This is a long shot, but are any of the v11n* modules in CrossWire Expermental adaptable to become "almost empty" personal commentary modules? They were originally made just for testing av11ns. IMHO, these "empty" modules don't quite live up to their purpose, as they currently do not display any

Re: [sword-devel] regenerating an editable Personal commentary

2016-02-04 Thread DM Smith
Looking a bit further. src/comments/rawfiles/rawfiles.cpp needs to be modified to support alternate versifications. Change from (probably need to change corresponding header file too): char RawFiles::createModule(const char *path) { char *incfile = new char [ strlen (path) + 16 ];

Re: [sword-devel] regenerating an editable Personal commentary

2016-02-04 Thread DM Smith
I’ve been thinking for a while now that there shouldn’t be a personal commentary module in any repository. Rather, I think there should be a mechanism for the user to create one or more from scratch according to their preference. The personal module is supposed to be “Plaintext” and not marked

Re: [sword-devel] regenerating an editable Personal commentary

2016-02-04 Thread Karl Kleinpaste
On 02/04/2016 12:33 PM, DM Smith wrote: > Take a look at sword/utilities/addcomment.cpp. Thanx. I had never noticed. It doesn't build. I have to ask for it individually ("make addcomment") in sword/utilities, and that in turn makes me add -I/usr/include/sword manually, and then it gets into furth

Re: [sword-devel] regenerating an editable Personal commentary

2016-02-04 Thread DM Smith
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 wrote: > > I also don’t know

Re: [sword-devel] regenerating an editable Personal commentary

2016-02-04 Thread DM Smith
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

Re: [sword-devel] regenerating an editable Personal commentary

2016-02-04 Thread Peter von Kaehne
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 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. L

Re: [sword-devel] regenerating an editable Personal commentary

2016-02-04 Thread Karl Kleinpaste
On 02/04/2016 11:52 AM, Greg Hellings wrote: > Can you just pass an empty file to mod2imp, tell it the versification > you want, and create the appropriate conf file? I assume you meant imp2vs, since mod2imp is the wrong direction. No, I've tried that. "imp2vs /dev/null -o . -v KJVA" All it crea

Re: [sword-devel] regenerating an editable Personal commentary

2016-02-04 Thread Greg Hellings
Can you just pass an empty file to mod2imp, tell it the versification you want, and create the appropriate conf file? --Greg On Thu, Feb 4, 2016 at 10:45 AM, Karl Kleinpaste wrote: > On 02/03/2016 01:37 PM, Karl Kleinpaste wrote: > > Can someone offer the necessary steps > > OK, so a day goes by

Re: [sword-devel] regenerating an editable Personal commentary

2016-02-04 Thread Karl Kleinpaste
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@crosswire.org http://ww

[sword-devel] regenerating an editable Personal commentary

2016-02-03 Thread Karl Kleinpaste
I have a user for whom I'd like to generate a new Personal using KJVA v11n. Can someone offer the necessary steps to do that using existing Sword utilities? It doesn't seem to me that the normal xyz2mod kinds of utilities are the weapons required. ___ swo