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

2011-12-31 Thread David Haslam
Matěj Cepl wrote, - czap 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 q marker=' ... /q are in the New Testament, so this seems

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-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.

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 bkzavorka/ and ekzavorka/ 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

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

2011-12-30 Thread David Haslam
Matěj Cepl wrote, pomlcka/ stands for em-dash; and the original code snippet he cited from Mark.1.1 includes, 61,1pomlcka/3; 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 pomlcka/ to an

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-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-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

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) *

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

2011-12-28 Thread David Haslam
Fixed the p q ... 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

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 ⌈

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 reference tag, xreffix.pl can create proper OSIS refs. Peter ___ sword-devel

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 ⌉

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

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

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

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.

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

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

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 list:

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

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 does not use

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 -xml -utf8 -m

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 dmsm...@crosswire.org wrote: Chapter tags: Can be one of (in order of recommendation): chapter osisID=Gen.1 sID=Gen.1/ ... chapter eID=Gen.1/ div type=chapter sID=Gen.1/...div eID=Gen.1/ chapter osisID=Gen.1.../chapter

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

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

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: Thechapter ... tags should end with rather than / Also there are no/chapter tags. Meaning, chapter/ 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

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: Thechapter ... tags should end with rather than / Also there are no/chapter tags. Meaning, chapter/ couldn't be a milestone? Chapters are usually milestoned. Nothing wrong with that. Peter

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

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

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,

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 ref...@gmx.net wrote: mod2imp shows that all content is put into verse 0 of each chapter.

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

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:

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:

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

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

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:

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

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 div element! osis2mod expects each book to be a div, and each testament to be also a div The chapter ... tags should end with rather than / Also there are no /chapter tags. See http://crosswire.org/wiki/OSIS_Bibles#Body David -- View

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: