Re: [sword-devel] osis2mod very happily generates modules with no text visible

2011-12-31 Thread David Haslam
Matěj Cepl wrote, "- is an element for “text quoted by Czech apostrophe”, and I am not sure whether in all cases it means a quotation of the Old Testament text in the New Testament (as in this case). " - All the instances of ... are in the New Testament, so this seems very likely. Conv

Re: [sword-devel] osis2mod very happily generates modules with no text visible

2011-12-30 Thread David Haslam
Matěj Cepl wrote, " stands for em-dash;" and the original code snippet he cited from Mark.1.1 includes, "61,13;" yet upon examining Matěj's OSIS file, this snippet appears as "61,13;" rather than "61,1—3;" It would seem that his XSLT script has not converted any of the to an em-dash; Certainly

Re: [sword-devel] osis2mod very happily generates modules with no text visible

2011-12-30 Thread David Haslam
Matěj Cepl wrote, ⌈ and ⌉ are more complicated. They are originally and and they limit the text for which the appropriate translator note is used. - I think ⌜top corners⌝ are visually less obtrusive for this purpose than ⌈ceilings⌉, so I have included such a replacement in my derived copy

Re: [sword-devel] osis2mod very happily generates modules with no text visible

2011-12-30 Thread David Haslam
Yes - threaded views in email clients (or Nabble) help to contextualize such one liners! It would be helpful to module developers to know where to obtain the conf files necessary for localization of book names, etc. The fledgeling wiki page does not yet cover this topic. http://crosswire.org/

Re: [sword-devel] osis2mod very happily generates modules with no text visible

2011-12-30 Thread Peter von Kaehne
On 29/12/11 09:05, David Haslam wrote: > Thanks for the detailed explanations. I guess this was a comment to Matej's last email rather than a facetious one to my one-liner? :-) But FWIW - I would suggest that cs-utf8.conf is looked through regarding any missed out abbreviations or abbreviations

Re: [sword-devel] osis2mod very happily generates modules with no text visible

2011-12-29 Thread David Haslam
There are many locations in the source text where spaces were omitted. I've been able to tackle most of these by searching for various patterns. The following questions remain: Is it correct for the left and right ceiling characters to be found within words? Or should the left ceiling always be

Re: [sword-devel] osis2mod very happily generates modules with no text visible

2011-12-29 Thread David Haslam
Thanks for the detailed explanations. David -- View this message in context: http://sword-dev.350566.n4.nabble.com/osis2mod-very-happily-generates-modules-with-no-text-visible-tp4232587p4242256.html Sent from the SWORD Dev mailing list archive at Nabble.com. __

Re: [sword-devel] osis2mod very happily generates modules with no text visible

2011-12-28 Thread Peter von Kaehne
On 28/12/11 23:10, David Haslam wrote: > Thanks Peter, > > Do we have a list of Czech bookname abbreviations for use in the locale for > running xreffix.pl ? Yes. cs-utf8.conf Peter ___ sword-devel mailing list: sword-devel@crosswire.org http://www.c

Re: [sword-devel] osis2mod very happily generates modules with no text visible

2011-12-28 Thread Matěj Cepl
On 28.12.2011 20:40, David Haslam wrote: I suspect that the following codepoints may need converting from a legacy font. 002045 ⁅ LEFT SQUARE BRACKET WITH QUILL 1,648 002046 ⁆ RIGHT SQUARE BRACKET WITH QUILL 1,648 002308 ⌈ LEFT CEILING6,663 002309 ⌉ RIGHT

Re: [sword-devel] osis2mod very happily generates modules with no text visible

2011-12-28 Thread David Haslam
Thanks Peter, Do we have a list of Czech bookname abbreviations for use in the locale for running xreffix.pl ? David -- View this message in context: http://sword-dev.350566.n4.nabble.com/osis2mod-very-happily-generates-modules-with-no-text-visible-tp4232587p4241284.html Sent from the SWORD De

Re: [sword-devel] osis2mod very happily generates modules with no text visible

2011-12-28 Thread Peter von Kaehne
On 28/12/11 19:40, David Haslam wrote: > > NB. Not yet pursued Peter's suggestion to code the other cross references > that are still plain text. If you "frame" them with a tag, xreffix.pl can create proper OSIS refs. Peter ___ sword-devel mailing l

Re: [sword-devel] osis2mod very happily generates modules with no text visible

2011-12-28 Thread David Haslam
Everyone, I now have a working CzeCSP module! A further question for Matěj I suspect that the following codepoints may need converting from a legacy font. 002045 ⁅ LEFT SQUARE BRACKET WITH QUILL 1,648 002046 ⁆ RIGHT SQUARE BRACKET WITH QUILL 1,648 002308 ⌈ LEFT

Re: [sword-devel] osis2mod very happily generates modules with no text visible

2011-12-28 Thread David Haslam
Fixed the nesting bug in Revelation, only four locations needed tweaking. Beyond the OSIS, there are some differences in character counts for these three left/right pairs. 28 ( LEFT PARENTHESIS8,278 29 ) RIGHT PARENTHESIS 8,323 Diff

Re: [sword-devel] osis2mod very happily generates modules with no text visible

2011-12-28 Thread David Haslam
Everyone, I have spent a good part of today using TextPipe to fix the "pretty" OSIS XML file, and have made substantial progress. Here's a bulleted list of fixes already done... * A second bookGroup division for the NT * Book divisions (66) * Chapter elements (1089) * Section titles (2084) * V

Re: [sword-devel] osis2mod very happily generates modules with no text visible

2011-12-28 Thread David Haslam
Matěj, I am not a Linux user. I keep putting off the day when I have to use Linux. David -- View this message in context: http://sword-dev.350566.n4.nabble.com/osis2mod-very-happily-generates-modules-with-no-text-visible-tp4232587p4239363.html Sent from the SWORD Dev mailing list archive at Na

Re: [sword-devel] osis2mod very happily generates modules with no text visible

2011-12-27 Thread Chris Little
On Dec 27, 2011, at 8:32 AM, DM Smith wrote: > > Chapter tags: >Can be one of (in order of recommendation): > ... >... >... >... >Osis2mod uses the chapter tags to help determine what titles before verse > 1 are chapter titles. >Osis2mod does not re

Re: [sword-devel] osis2mod very happily generates modules with no text visible

2011-12-27 Thread Jonathan Marsden
On Wed, Dec 28, 2011, at 12:42 AM, Peter von Kaehne wrote: > On Wed, 2011-12-28 at 00:10 +0100, Matěj Cepl wrote: >> On 27.12.2011 21:58, David Haslam wrote: >>> Has anyone else made a "pretty-print" version of Matěj's OSIS file? >>> It certainly helps to "see the wood from the trees". >> tidy -i

Re: [sword-devel] osis2mod very happily generates modules with no text visible

2011-12-27 Thread Peter von Kaehne
On Wed, 2011-12-28 at 00:10 +0100, Matěj Cepl wrote: > On 27.12.2011 21:58, David Haslam wrote: > > Has anyone else made a "pretty-print" version of Matěj's OSIS file? > > It certainly helps to "see the wood from the trees". > > tidy -i -xml -utf8 -m bible.xml > > doesn't work for you? David doe

Re: [sword-devel] osis2mod very happily generates modules with no text visible

2011-12-27 Thread DM Smith
On the Mac it downloaded as bible.xml using chrome. I renamed that to bible.zip and double clicked that to get bible, to which I added the .xml extension. On the Mac it is the OS that handles the "unpacking." This happens all the time on the Mac and I am used to it. It probably is tied w the m

Re: [sword-devel] osis2mod very happily generates modules with no text visible

2011-12-27 Thread Matěj Cepl
On 27.12.2011 21:58, David Haslam wrote: Has anyone else made a "pretty-print" version of Matěj's OSIS file? It certainly helps to "see the wood from the trees". tidy -i -xml -utf8 -m bible.xml doesn't work for you? Matěj ___ sword-devel mailing li

Re: [sword-devel] osis2mod very happily generates modules with no text visible

2011-12-27 Thread David Haslam
I suppose that strictly speaking a SWORD module can be made without having bookGroup or x-testament division[s]. Otherwise the append option -a in osis2mod could not be used to build a successful module. i.e. If you append each book (apart from the first) from a separate OSIS file (as I have on ot

Re: [sword-devel] osis2mod very happily generates modules with no text visible

2011-12-27 Thread David Haslam
DM wrote, Sub-identifiers: SWORD engine cannot handle ! in the osisID, so osis2mod strips them off of the osisIDs for verses. I did not see any for verses, but only for notes. You are quite correct. When I stripped out all the note elements (using TextPipe) there were no sub-iden

Re: [sword-devel] osis2mod very happily generates modules with no text visible

2011-12-27 Thread David Haslam
I downloaded it with Firefox 3.6.25, though I could just as easily have used Chrome or IE. I doubt that the browser makes any changes to what is within a binary file such as .gz I regularly download all sorts of things, and this has never happened before. I used 7-Zip to extract things locally. I

Re: [sword-devel] osis2mod very happily generates modules with no text visible

2011-12-27 Thread DM Smith
Replying to the entire thread: Debugging: The -d flag is very helpful to see what osis2mod is doing. You can use the -d flag multiple times as in -d 1 -d 4 or add them together as in -d 5 or both -d 5 -d 8 To get full debugging -d 1023 SIGSEGV I thin

Re: [sword-devel] osis2mod very happily generates modules with no text visible

2011-12-27 Thread Matej Cepl
On 27.12.2011 01:48, Peter von Kaehne wrote: BTW the text contains an enormous number of references which are not marked up. Once you got the above corrected please attend to this too. It would make the module a lot better. Yes, amount of notes and references is one of the reasons I really want

Re: [sword-devel] osis2mod very happily generates modules with no text visible

2011-12-26 Thread Peter von Kaehne
Ok Problems with the OSIS file so far: 1) Book divs are not there - see wiki 2) If you milestone chapters and verses you need to still "open" and "close" them - by having a milestone with a sID and a milestone with a eID. You have only the start milestones. I am sure there is more, but try this f

Re: [sword-devel] osis2mod very happily generates modules with no text visible

2011-12-26 Thread Peter von Kaehne
On 27/12/11 00:33, DM Smith wrote: > Im busy w av11n stuff for jsword Peter von Kaehne likes that. A lot. ___ sword-devel mailing list: sword-devel@crosswire.org http://www.crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change y

Re: [sword-devel] osis2mod very happily generates modules with no text visible

2011-12-26 Thread DM Smith
I hope to get a look at it tomorrow. Im busy w av11n stuff for jsword and entertaining my new grandson. Cent from my fone so theer mite be tipos. ;) On Dec 26, 2011, at 6:01 PM, Peter von Kaehne wrote: > mod2imp shows that all content is put into verse 0 of each chapter. > Switching on headli

Re: [sword-devel] osis2mod very happily generates modules with no text visible

2011-12-26 Thread Peter von Kaehne
mod2imp shows that all content is put into verse 0 of each chapter. Switching on headlines in xiphos makes a lot of text appear. Peter On 26/12/11 21:57, Peter von Kaehne wrote: > On 26/12/11 21:39, Peter von Kaehne wrote: >> The indeces (ot.vss, nt.vss) are essentially all 0. The osis file, wh

Re: [sword-devel] osis2mod very happily generates modules with no text visible

2011-12-26 Thread Peter von Kaehne
On 26/12/11 21:39, Peter von Kaehne wrote: > The indeces (ot.vss, nt.vss) are essentially all 0. The osis file, while > validating contains not the correct info to create a module. The terminal output of osis2mod is meant to show what osis2mod is doing. It does nothing. The file is somehow not co

Re: [sword-devel] osis2mod very happily generates modules with no text visible

2011-12-26 Thread Peter von Kaehne
The indeces (ot.vss, nt.vss) are essentially all 0. The osis file, while validating contains not the correct info to create a module. Peter ___ sword-devel mailing list: sword-devel@crosswire.org http://www.crosswire.org/mailman/listinfo/sword-devel Ins

Re: [sword-devel] osis2mod very happily generates modules with no text visible

2011-12-26 Thread Peter von Kaehne
On 26/12/11 19:55, Matěj Cepl wrote: > On 26.12.2011 08:18, David Haslam wrote: >> The rather than /> >> >> Also there are no tags. > > Meaning, couldn't be a milestone? Chapters are usually milestoned. Nothing wrong with that. Peter ___ sword-deve

Re: [sword-devel] osis2mod very happily generates modules with no text visible

2011-12-26 Thread Matěj Cepl
On 26.12.2011 08:18, David Haslam wrote: The rather than /> Also there are no tags. Meaning, couldn't be a milestone? How does it align with this? (from http://crosswire.org/wiki/OSIS_Bibles#OSIS_Milestones): # It is allowable to use milestone elements for verses alone, or for # both ve

Re: [sword-devel] osis2mod very happily generates modules with no text visible

2011-12-26 Thread Matěj Cepl
On 25.12.2011 22:57, David Haslam wrote: The file bible.xml within http://mcepl.fedorapeople.org/tmp/bible.xml.gz seems to be not a text file but a binary! In fact, it needs to be renamed as bible.xml.tar and decompressed yet again to get the real bible.xml mitmanek:~ $ curl -L -O http://mcepl

Re: [sword-devel] osis2mod very happily generates modules with no text visible

2011-12-26 Thread David Haslam
What was the reason for not generating eID milestones for verses? These should be present as per the example shown in the wiki page. David -- View this message in context: http://sword-dev.350566.n4.nabble.com/osis2mod-very-happily-generates-modules-with-no-text-visible-tp4232587p4234233.html S

Re: [sword-devel] osis2mod very happily generates modules with no text visible

2011-12-25 Thread David Haslam
It was easier for me to spot these issues in the body structure after I had used the *XML Tools* plugin for *Notepad++* to first linearize the XML and then 'pretty print' the XML. David -- View this message in context: http://sword-dev.350566.n4.nabble.com/osis2mod-very-happily-generates-modules

Re: [sword-devel] osis2mod very happily generates modules with no text visible

2011-12-25 Thread David Haslam
Though the OSIS validates, there is only one top level element! osis2mod expects each book to be a , and each testament to be also a The rather than /> Also there are no tags. See http://crosswire.org/wiki/OSIS_Bibles#Body David -- View this message in context: http://sword-dev.350566.n4

Re: [sword-devel] osis2mod very happily generates modules with no text visible

2011-12-25 Thread David Haslam
The cause is much simpler! Your path for module creation is in ztext, yet your .conf file is for a rawtext module. Such a combination will always result in a module that appears to be empty of content. btw. I've made the same mistake myself on rare occasions. David -- View this message in cont

Re: [sword-devel] osis2mod very happily generates modules with no text visible

2011-12-25 Thread David Haslam
If you make a temporary OSIS XML file with all the note elements removed, does that convert to a module with readable text? If all the sub-identifiers happen to lie within the study notes, then that might be a profitable course of investigation. David -- View this message in context: http://swo

Re: [sword-devel] osis2mod very happily generates modules with no text visible

2011-12-25 Thread David Haslam
Your OSIS XML file makes extensive use of sub-identifiers. This is the first time I've seen these in any OSIS file. I have not seen these discussed in any previous threads in the mailing list. This might turn out to be the real cause of why osis2mod doesn't produce a useful module. The relevant s

Re: [sword-devel] osis2mod very happily generates modules with no text visible

2011-12-25 Thread David Haslam
The file bible.xml within http://mcepl.fedorapeople.org/tmp/bible.xml.gz seems to be not a text file but a binary! In fact, it needs to be renamed as bible.xml.tar and decompressed yet again to get the real bible.xml If you double compress something using tar then gzip, it's best to indicate tha

Re: [sword-devel] osis2mod very happily generates modules with no text visible

2011-12-25 Thread David Haslam
As a useful tip, it's generally a good idea to first to make a rawtext module with osis2mod. This avoids some known bugs in making a ztext module directly using mod2osis. You can easily use mod2zmod to compress it afterwards. David -- View this message in context: http://sword-dev.350566.n4.

Re: [sword-devel] osis2mod very happily generates modules with no text visible

2011-12-25 Thread David Haslam
DMSmith is working towards making JSword capable to support av11n. Only when that's in place can the front-ends based on JSword begin to take advantage thereof. David -- View this message in context: http://sword-dev.350566.n4.nabble.com/osis2mod-very-happily-generates-modules-with-no-text-visib

[sword-devel] osis2mod very happily generates modules with no text visible

2011-12-24 Thread Matěj Cepl
Hi, trying to create an official version of the Czech Study Translation (what used to be CzeKMS, but it is now severely outdated and incomplete). I have original source in their custom XML scheme and I have created XSLT stylesheet (http://mcepl.fedorapeople.org/tmp/CEP2OSIS.xsl) which generat