|
| No member browsing this thread |
|
Thread Status: Active Total posts in this thread: 6 |
|
| Author |
|
|
Regular Joined: Jan 7, 2005 Post Count: 23 Status: Offline |
Hi there! Firs of all thank You for releasing osis2mod for windows. Ok, now back to the problem. I have the following osis file:
As You notice the paragraph marks are placed outside verses. From the OSIS point of view it should work fine, but it does not. There are three problems (possibly connected): 1) Looking at the resulting module at 'ot' file I can see that verses 2,3 and six are duplicated! 2) There are no closing paragraph tags (</p>) 3) finally, Sword for windows displays rubbish - some rtf formatting tags I do not understand... I'm I doing something wrong here? Please help! ---------------------------------------- [Edit 3 times, last edit by Osk at Feb 21, 2005 4:55:18 PM] |
||
|
|
Developer Joined: Sep 17, 2003 Post Count: 209 Status: Offline |
First things first (before I even get around to trying to compile the file myself): 1) Please do not post cult material in the forums. 2) Please do not post copyrighted material in the forums. (Even excerpted.) At first glance, I've got a couple comments on the OSIS style: 1) <div type="bookGroup"> is not necessary. It shouldn't cause a problem, but it isn't necessary. 2) <div type="chapter"> is not valid within a Bible. You must use <chapter>. <div type="chapter"> is for other genre of literature. |
||
|
|
Regular Poland Joined: Feb 2, 2004 Post Count: 38 Status: Offline |
The only idea that comes to my mind is that maybe you should look at the .conf file settings for the module? HTH Piotr |
||
|
|
Developer Joined: Sep 17, 2003 Post Count: 209 Status: Offline |
Okay, answering your 3 points: 1) Correct. This is not a problem. Multiple verses don't get displayed, but in order to change a verse, it must be added again, in its entirely. You'll notice that the three verses that are duplicated (2, 3, & 6) are the three with closing paragraph markers (</p>)--that's because they are SUPPOSED to be adding those closing paragraph markers to the ends of each verse. 2) Someone changed the code. It used to add these, as shown by the fact that it is still re-adding the verses, as if there were new content to add. We'll have to take a look at the code and the various pieces of code that interact with </p>s for rendering and decide what changes to make. 3) This is due to point #2. |
||
|
|
Regular Joined: Jan 7, 2005 Post Count: 23 Status: Offline |
Hi! I'm sorry for my 'misbehaviour' in the last post. I won't do that again and I will prepare 'neutral' examples next time. And just to add something from my investigation into the problem. The closing tags are preserved ok if these are used INSIDE the verses: <verse sID="Gen.1.1" osisID="Gen.1.1"/> OSIS documentation does not state whether it should be this way or another so i still consider this an bug in osis2mod - now with walkaround available thou. Greetings, Chris |
||
|
|
Developer Joined: Sep 17, 2003 Post Count: 209 Status: Offline |
Tags that occur inside of a verse are handled by a different section of code. The fact that closing </p> and such are excluded by osis2mod IS a bug. You shouldn't use a workaround, rather wait for us to fix osis2mod. Most of the Sword team are on vacation in the UK right now, but I will see if I can come up with a decent solution to the problem that doesn't require their input. |
||
|
|
|
|
Current timezone is GMT May 21, 2013 11:35:37 PM |