Re: [sword-devel] Osis Psalms canonical titles

2019-04-01 Thread David Haslam
In USFM, when the canonical descriptive Psalm title occupies part of a verse, 
the poetry tag \q begins the ordinary verse text.

The current state of osis2mod is that a nesting warning will be generated when 
the verse sID milestone is within a title element but the corresponding verse 
eID milestone is not.

NB. In some Psalms, the title occupies a bit more than two verses. Psalm 18 is 
an example.

Have the SWORD developers ever given enough detailed consideration for these 
unusual situations?

Best regards,

David

Sent from ProtonMail Mobile

On Mon, Apr 1, 2019 at 10:10, Cyrille  wrote:

> Il 31/03/2019 23:49, Cyrille ha scritto:
>
>> DM seams to be right. If I move the title tag after the verse tag BT shows 
>> the text, even if it is a break. And I have no more warning during building 
>> module.
>
> Now what to do? If I put the title tag after the verse, I have a break in 
> Xiphos and the first verse is displayed as a title. But BT can display it 
> also. If I use the title before, BT can't display it.
> I think that putting the title tag after the verse is the most relevant 
> solution because sometimes the verse 1 is longer than the title part, or the 
> canonical title is on two verses. And if osis2mod give me a warning this 
> means problably that the first way is the best, no?
>
>> Il 31/03/2019 17:57, Cyrille ha scritto:
>>
>>> Il 31/03/2019 17:28, Michael H ha scritto:
>>>
 Have you tried scrolling up in Bibletime?  Bibletime sets the display to 
 start at verse 1 in each chapter.  If there is a Chapter title, intro, 
 verse zero or section title information, it is in the stream, but 'above' 
 the top of the display.
>>>
>>> Yes it is not this. I thought I found the error, but it not that. If I use 
>>> the file  only with the psalms I can read it, and I have no error message 
>>> when building it with osis2mod. But If I use all the bible the problem 
>>> remains. And I have this errors:
>>> WARNING(NESTING): verse Ps.15.1 is not well formed:(4,3)
>>> WARNING(NESTING): verse Ps.17.1 is not well formed:(4,3)
>>> WARNING(NESTING): verse Ps.18.2 is not well formed:(4,3)
>>> WARNING(NESTING): verse Ps.23.1 is not well formed:(4,3)
>>> (...)
>>> WARNING(NESTING): verse Ps.145.1 is not well formed:(4,3)
>>>
 On Sun, Mar 31, 2019 at 8:42 AM Cyrille  wrote:

> Ok I found the solution... The problem was due to a custom css. Using an 
> other one gave me to display well the bible in BT.
>
> Il 31/03/2019 15:26, Cyrille ha scritto:
>
>> Il 31/03/2019 14:42, DM Smith ha scritto:
>>
>>> In the Bible, some translations the Psalm titles stand before verse 1. 
>>> This is how the KJV does it. Other translations have it as verse 1.
>>>
>>> osis2mod tries to identify whether a title that stands before verse 1 
>>> should be a chapter title (i.e. verse 0) or should be a verse title 
>>> (i.e. verse 1). And it marks up titles in a fashion that SWORD engine 
>>> expects. Dumping the module using mod2imp, will show how well or badly 
>>> this was done.
>>>
>>> I think the problem here is the order of elements. So rather than 
>>> … use >> sID/>….
>>
>> I tried this way, and BT can display it, but there is a line break just 
>> after the verse number for Xiphos and for BT.
>>
>>> The attribute canonical=“true” is supposed to tell the SWORD engine to 
>>> always show the title. I think there are still problems with that. So, 
>>> try turning Headers on, when you don’t see them.
>>
>> All the other titles are displayed.
>>
>>> In Him,
>>> DM
>>>
 On Mar 31, 2019, at 5:13 AM, Cyrille  wrote:

 Hello,
 I'm working on a text with canonical Psalms titles. When I convert it 
 from usfm to osis I have this result:
 
 
 Invocazione mattutina del giusto perseguitato
 
 
 >>> osisID="Ps.3.1" n="1"/>Salmo di Davide quando fuggiva il figlio 
 Assalonne.
 
   >>> n="2"/>Signore, quanti sono i miei oppressori!
   Molti contro di me insorgono. >>> eID="Ps.3.2"/>

 Is it correct? Because Bibletime [doesn't display 
 it](https://github.com/bibletime/bibletime/issues/178).
 ___
 sword-devel mailing list: sword-devel@crosswire.org
 http://www.crosswire.org/mailman/listinfo/sword-devel
 Instructions to unsubscribe/change your settings at above page
>>>
>>> ___
>>> sword-devel mailing list:
>>> sword-devel@crosswire.org
>>>
>>> http://www.crosswire.org/mailman/listinfo/sword-devel
>>> Instructions to unsubscribe/change your settings at above page
>
> ___
> 

Re: [sword-devel] Osis Psalms canonical titles

2019-04-01 Thread Cyrille


Il 31/03/2019 23:49, Cyrille ha scritto:
> DM seams to be right. If I move the title tag after the verse tag BT
> shows the text, even if it is a break. And I have no more warning
> during building module.

Now what to do? If I put the title tag after the verse, I have a break
in Xiphos and the first verse is displayed as a title. But BT can
display it also. If I use the title before, BT can't display it.
I think that putting the title tag after the verse is the most relevant
solution because sometimes the verse 1 is longer than the title part, or
the canonical title is on two verses. And if osis2mod give me a warning
this means problably that the first way is the best, no?

>
> Il 31/03/2019 17:57, Cyrille ha scritto:
>>
>>
>> Il 31/03/2019 17:28, Michael H ha scritto:
>>> Have you tried scrolling up in Bibletime?  Bibletime sets the
>>> display to start at verse 1 in each chapter.  If there is a Chapter
>>> title, intro, verse zero or section title information, it is in the
>>> stream, but 'above' the top of the display.
>> Yes it is not this. I thought I found the error, but it not that. If
>> I use the file  only with the psalms I can read it, and I have no
>> error message when building it with osis2mod. But If I use all the
>> bible the problem remains. And I have this errors:
>> WARNING(NESTING): verse Ps.15.1 is not well formed:(4,3)
>> WARNING(NESTING): verse Ps.17.1 is not well formed:(4,3)
>> WARNING(NESTING): verse Ps.18.2 is not well formed:(4,3)
>> WARNING(NESTING): verse Ps.23.1 is not well formed:(4,3)
>> (...)
>> WARNING(NESTING): verse Ps.145.1 is not well formed:(4,3)
>>
>>>
>>> On Sun, Mar 31, 2019 at 8:42 AM Cyrille >> > wrote:
>>>
>>> Ok I found the solution... The problem was due to a custom css.
>>> Using an other one gave me to display well the bible in BT.
>>>
>>> Il 31/03/2019 15:26, Cyrille ha scritto:


 Il 31/03/2019 14:42, DM Smith ha scritto:
> In the Bible, some translations the Psalm titles stand before
> verse 1. This is how the KJV does it. Other translations have
> it as verse 1.
>
> osis2mod tries to identify whether a title that stands before
> verse 1 should be a chapter title (i.e. verse 0) or should be
> a verse title (i.e. verse 1). And it marks up titles in a
> fashion that SWORD engine expects. Dumping the module using
> mod2imp, will show how well or badly this was done.
>
> I think the problem here is the order of elements. So rather
> than … use  sID/>….
>
 I tried this way, and BT can display it, but there is a line
 break just after the verse number for Xiphos and for BT.
> The attribute canonical=“true” is supposed to tell the SWORD
> engine to always show the title. I think there are still
> problems with that. So, try turning Headers on, when you don’t
> see them.
 All the other titles are displayed.
> In Him,
> DM
>
>> On Mar 31, 2019, at 5:13 AM, Cyrille > > wrote:
>>
>> Hello,
>> I'm working on a text with canonical Psalms titles. When I
>> convert it from usfm to osis I have this result:
>> 
>>     
>>     Invocazione mattutina del giusto
>> perseguitato
>>     
>>     
>>     > sID="Ps.3.1" osisID="Ps.3.1" n="1"/>Salmo di Davide quando
>> fuggiva il figlio Assalonne.
>>     
>>   > n="2"/>Signore, quanti sono i miei oppressori!
>>   Molti contro di me insorgono. > eID="Ps.3.2"/>
>>
>> Is it correct? Because Bibletime doesn't display it
>> .
>>
>> ___
>> sword-devel mailing list: sword-devel@crosswire.org
>> 
>> http://www.crosswire.org/mailman/listinfo/sword-devel
>> Instructions to unsubscribe/change your settings at above page
>
>
> ___
> sword-devel mailing list: sword-devel@crosswire.org 
> 
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page

>>>
>>> ___
>>> sword-devel mailing list: sword-devel@crosswire.org
>>> 
>>> http://www.crosswire.org/mailman/listinfo/sword-devel
>>> Instructions to unsubscribe/change your settings at above page
>>>
>>>
>>> ___
>>> sword-devel mailing list: sword-devel@crosswire.org
>>> http://www.crosswire.org/mailman/listinfo/sword-devel
>>> 

Re: [sword-devel] Osis Psalms canonical titles

2019-03-31 Thread Cyrille
DM seams to be right. If I move the title tag after the verse tag BT
shows the text, even it is a break. And I have no more warning during
building module.

Il 31/03/2019 17:57, Cyrille ha scritto:
>
>
> Il 31/03/2019 17:28, Michael H ha scritto:
>> Have you tried scrolling up in Bibletime?  Bibletime sets the display
>> to start at verse 1 in each chapter.  If there is a Chapter title,
>> intro, verse zero or section title information, it is in the stream,
>> but 'above' the top of the display.
> Yes it is not this. I thought I found the error, but it not that. If I
> use the file  only with the psalms I can read it, and I have no error
> message when building it with osis2mod. But If I use all the bible the
> problem remains. And I have this errors:
> WARNING(NESTING): verse Ps.15.1 is not well formed:(4,3)
> WARNING(NESTING): verse Ps.17.1 is not well formed:(4,3)
> WARNING(NESTING): verse Ps.18.2 is not well formed:(4,3)
> WARNING(NESTING): verse Ps.23.1 is not well formed:(4,3)
> (...)
> WARNING(NESTING): verse Ps.145.1 is not well formed:(4,3)
>
>>
>> On Sun, Mar 31, 2019 at 8:42 AM Cyrille > > wrote:
>>
>> Ok I found the solution... The problem was due to a custom css.
>> Using an other one gave me to display well the bible in BT.
>>
>> Il 31/03/2019 15:26, Cyrille ha scritto:
>>>
>>>
>>> Il 31/03/2019 14:42, DM Smith ha scritto:
 In the Bible, some translations the Psalm titles stand before
 verse 1. This is how the KJV does it. Other translations have
 it as verse 1.

 osis2mod tries to identify whether a title that stands before
 verse 1 should be a chapter title (i.e. verse 0) or should be a
 verse title (i.e. verse 1). And it marks up titles in a fashion
 that SWORD engine expects. Dumping the module using mod2imp,
 will show how well or badly this was done.

 I think the problem here is the order of elements. So rather
 than … use >>> sID/>….

>>> I tried this way, and BT can display it, but there is a line
>>> break just after the verse number for Xiphos and for BT.
 The attribute canonical=“true” is supposed to tell the SWORD
 engine to always show the title. I think there are still
 problems with that. So, try turning Headers on, when you don’t
 see them.
>>> All the other titles are displayed.
 In Him,
 DM

> On Mar 31, 2019, at 5:13 AM, Cyrille  > wrote:
>
> Hello,
> I'm working on a text with canonical Psalms titles. When I
> convert it from usfm to osis I have this result:
> 
>     
>     Invocazione mattutina del giusto
> perseguitato
>     
>     
>      sID="Ps.3.1" osisID="Ps.3.1" n="1"/>Salmo di Davide quando
> fuggiva il figlio Assalonne.
>     
>    n="2"/>Signore, quanti sono i miei oppressori!
>   Molti contro di me insorgono.  eID="Ps.3.2"/>
>
> Is it correct? Because Bibletime doesn't display it
> .
>
> ___
> sword-devel mailing list: sword-devel@crosswire.org
> 
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page


 ___
 sword-devel mailing list: sword-devel@crosswire.org 
 
 http://www.crosswire.org/mailman/listinfo/sword-devel
 Instructions to unsubscribe/change your settings at above page
>>>
>>
>> ___
>> sword-devel mailing list: sword-devel@crosswire.org
>> 
>> http://www.crosswire.org/mailman/listinfo/sword-devel
>> Instructions to unsubscribe/change your settings at above page
>>
>>
>> ___
>> sword-devel mailing list: sword-devel@crosswire.org
>> http://www.crosswire.org/mailman/listinfo/sword-devel
>> Instructions to unsubscribe/change your settings at above page
>

___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Re: [sword-devel] Osis Psalms canonical titles

2019-03-31 Thread Cyrille


Il 31/03/2019 17:28, Michael H ha scritto:
> Have you tried scrolling up in Bibletime?  Bibletime sets the display
> to start at verse 1 in each chapter.  If there is a Chapter title,
> intro, verse zero or section title information, it is in the stream,
> but 'above' the top of the display.
Yes it is not this. I thought I found the error, but it not that. If I
use the file  only with the psalms I can read it, and I have no error
message when building it with osis2mod. But If I use all the bible the
problem remains. And I have this errors:
WARNING(NESTING): verse Ps.15.1 is not well formed:(4,3)
WARNING(NESTING): verse Ps.17.1 is not well formed:(4,3)
WARNING(NESTING): verse Ps.18.2 is not well formed:(4,3)
WARNING(NESTING): verse Ps.23.1 is not well formed:(4,3)
(...)
WARNING(NESTING): verse Ps.145.1 is not well formed:(4,3)

>
> On Sun, Mar 31, 2019 at 8:42 AM Cyrille  > wrote:
>
> Ok I found the solution... The problem was due to a custom css.
> Using an other one gave me to display well the bible in BT.
>
> Il 31/03/2019 15:26, Cyrille ha scritto:
>>
>>
>> Il 31/03/2019 14:42, DM Smith ha scritto:
>>> In the Bible, some translations the Psalm titles stand before
>>> verse 1. This is how the KJV does it. Other translations have it
>>> as verse 1.
>>>
>>> osis2mod tries to identify whether a title that stands before
>>> verse 1 should be a chapter title (i.e. verse 0) or should be a
>>> verse title (i.e. verse 1). And it marks up titles in a fashion
>>> that SWORD engine expects. Dumping the module using mod2imp,
>>> will show how well or badly this was done.
>>>
>>> I think the problem here is the order of elements. So rather
>>> than … use >> sID/>….
>>>
>> I tried this way, and BT can display it, but there is a line
>> break just after the verse number for Xiphos and for BT.
>>> The attribute canonical=“true” is supposed to tell the SWORD
>>> engine to always show the title. I think there are still
>>> problems with that. So, try turning Headers on, when you don’t
>>> see them.
>> All the other titles are displayed.
>>> In Him,
>>> DM
>>>
 On Mar 31, 2019, at 5:13 AM, Cyrille >>> > wrote:

 Hello,
 I'm working on a text with canonical Psalms titles. When I
 convert it from usfm to osis I have this result:
 
     
     Invocazione mattutina del giusto
 perseguitato
     
     
     >>> sID="Ps.3.1" osisID="Ps.3.1" n="1"/>Salmo di Davide quando
 fuggiva il figlio Assalonne.
     
   >>> n="2"/>Signore, quanti sono i miei oppressori!
   Molti contro di me insorgono. >>> eID="Ps.3.2"/>

 Is it correct? Because Bibletime doesn't display it
 .

 ___
 sword-devel mailing list: sword-devel@crosswire.org
 
 http://www.crosswire.org/mailman/listinfo/sword-devel
 Instructions to unsubscribe/change your settings at above page
>>>
>>>
>>> ___
>>> sword-devel mailing list: sword-devel@crosswire.org 
>>> 
>>> http://www.crosswire.org/mailman/listinfo/sword-devel
>>> Instructions to unsubscribe/change your settings at above page
>>
>
> ___
> sword-devel mailing list: sword-devel@crosswire.org
> 
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
>
>
> ___
> sword-devel mailing list: sword-devel@crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page

___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Re: [sword-devel] Osis Psalms canonical titles

2019-03-31 Thread Michael H
Have you tried scrolling up in Bibletime?  Bibletime sets the display to
start at verse 1 in each chapter.  If there is a Chapter title, intro,
verse zero or section title information, it is in the stream, but 'above'
the top of the display.

On Sun, Mar 31, 2019 at 8:42 AM Cyrille  wrote:

> Ok I found the solution... The problem was due to a custom css. Using an
> other one gave me to display well the bible in BT.
>
> Il 31/03/2019 15:26, Cyrille ha scritto:
>
>
>
> Il 31/03/2019 14:42, DM Smith ha scritto:
>
> In the Bible, some translations the Psalm titles stand before verse 1.
> This is how the KJV does it. Other translations have it as verse 1.
>
> osis2mod tries to identify whether a title that stands before verse 1
> should be a chapter title (i.e. verse 0) or should be a verse title (i.e.
> verse 1). And it marks up titles in a fashion that SWORD engine expects.
> Dumping the module using mod2imp, will show how well or badly this was done.
>
> I think the problem here is the order of elements. So rather than
> … use  sID/>….
>
> I tried this way, and BT can display it, but there is a line break just
> after the verse number for Xiphos and for BT.
>
> The attribute canonical=“true” is supposed to tell the SWORD engine to
> always show the title. I think there are still problems with that. So, try
> turning Headers on, when you don’t see them.
>
> All the other titles are displayed.
>
> In Him,
> DM
>
> On Mar 31, 2019, at 5:13 AM, Cyrille  wrote:
>
> Hello,
> I'm working on a text with canonical Psalms titles. When I convert it from
> usfm to osis I have this result:
> 
> 
> Invocazione mattutina del giusto perseguitato
> 
> 
>  osisID="Ps.3.1" n="1"/>Salmo di Davide quando fuggiva il figlio
> Assalonne.
> 
>   Signore,
> quanti sono i miei oppressori!
>   Molti contro di me insorgono.  eID="Ps.3.2"/>
>
> Is it correct? Because Bibletime doesn't display it
> .
>
> ___
> sword-devel mailing list: sword-devel@crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
>
>
>
> ___
> sword-devel mailing list: 
> sword-devel@crosswire.orghttp://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
>
>
>
> ___
> sword-devel mailing list: sword-devel@crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Re: [sword-devel] Osis Psalms canonical titles

2019-03-31 Thread Cyrille
Ok I found the solution... The problem was due to a custom css. Using an
other one gave me to display well the bible in BT.

Il 31/03/2019 15:26, Cyrille ha scritto:
>
>
> Il 31/03/2019 14:42, DM Smith ha scritto:
>> In the Bible, some translations the Psalm titles stand before verse
>> 1. This is how the KJV does it. Other translations have it as verse 1.
>>
>> osis2mod tries to identify whether a title that stands before verse 1
>> should be a chapter title (i.e. verse 0) or should be a verse title
>> (i.e. verse 1). And it marks up titles in a fashion that SWORD engine
>> expects. Dumping the module using mod2imp, will show how well or
>> badly this was done.
>>
>> I think the problem here is the order of elements. So rather than
>> … use > sID/>….
>>
> I tried this way, and BT can display it, but there is a line break
> just after the verse number for Xiphos and for BT.
>> The attribute canonical=“true” is supposed to tell the SWORD engine
>> to always show the title. I think there are still problems with that.
>> So, try turning Headers on, when you don’t see them.
> All the other titles are displayed.
>> In Him,
>> DM
>>
>>> On Mar 31, 2019, at 5:13 AM, Cyrille >> > wrote:
>>>
>>> Hello,
>>> I'm working on a text with canonical Psalms titles. When I convert
>>> it from usfm to osis I have this result:
>>> 
>>>     
>>>     Invocazione mattutina del giusto perseguitato
>>>     
>>>     
>>>     >> osisID="Ps.3.1" n="1"/>Salmo di Davide quando fuggiva il figlio
>>> Assalonne.
>>>     
>>>   >> n="2"/>Signore, quanti sono i miei oppressori!
>>>   Molti contro di me insorgono. >> eID="Ps.3.2"/>
>>>
>>> Is it correct? Because Bibletime doesn't display it
>>> .
>>>
>>> ___
>>> sword-devel mailing list: sword-devel@crosswire.org
>>> 
>>> http://www.crosswire.org/mailman/listinfo/sword-devel
>>> Instructions to unsubscribe/change your settings at above page
>>
>>
>> ___
>> sword-devel mailing list: sword-devel@crosswire.org
>> http://www.crosswire.org/mailman/listinfo/sword-devel
>> Instructions to unsubscribe/change your settings at above page
>

___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Re: [sword-devel] Osis Psalms canonical titles

2019-03-31 Thread Cyrille


Il 31/03/2019 14:57, David Haslam ha scritto:
> There may be an underlying issue. 
>
> \d \v 1 Psalm title ...
> \q verse text ...
>
> is valid USFM and is even advised by UBS for some translations.
I respect this way to do. The usfm is valid. I will test with the DM
advice. That means maybe u2o.py should be modified.
>
> After converting to OSIS, this construction becomes problematic for
> SWORD. 
>
> David
>
> Sent from ProtonMail Mobile
>
>
> On Sun, Mar 31, 2019 at 13:42, DM Smith  > wrote:
>> In the Bible, some translations the Psalm titles stand before verse
>> 1. This is how the KJV does it. Other translations have it as verse 1.
>>
>> osis2mod tries to identify whether a title that stands before verse 1
>> should be a chapter title (i.e. verse 0) or should be a verse title
>> (i.e. verse 1). And it marks up titles in a fashion that SWORD engine
>> expects. Dumping the module using mod2imp, will show how well or
>> badly this was done.
>>
>> I think the problem here is the order of elements. So rather than
>> … use > sID/>….
>>
>> The attribute canonical=“true” is supposed to tell the SWORD engine
>> to always show the title. I think there are still problems with that.
>> So, try turning Headers on, when you don’t see them.
>>
>> In Him,
>> DM
>>
>>> On Mar 31, 2019, at 5:13 AM, Cyrille >> > wrote:
>>>
>>> Hello,
>>> I'm working on a text with canonical Psalms titles. When I convert
>>> it from usfm to osis I have this result:
>>> 
>>>     
>>>     Invocazione mattutina del giusto perseguitato
>>>     
>>>     
>>>     >> osisID="Ps.3.1" n="1"/>Salmo di Davide quando fuggiva il figlio
>>> Assalonne.
>>>     
>>>   >> n="2"/>Signore, quanti sono i miei oppressori!
>>>   Molti contro di me insorgono. >> eID="Ps.3.2"/>
>>>
>>> Is it correct? Because Bibletime doesn't display it
>>> .
>>>
>>> ___
>>> sword-devel mailing list: sword-devel@crosswire.org
>>> 
>>> http://www.crosswire.org/mailman/listinfo/sword-devel
>>> Instructions to unsubscribe/change your settings at above page
>>
>
>
>
> ___
> sword-devel mailing list: sword-devel@crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page

___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Re: [sword-devel] Osis Psalms canonical titles

2019-03-31 Thread David Haslam
There may be an underlying issue.

\d \v 1 Psalm title ...
\q verse text ...

is valid USFM and is even advised by UBS for some translations.

After converting to OSIS, this construction becomes problematic for SWORD.

David

Sent from ProtonMail Mobile

On Sun, Mar 31, 2019 at 13:42, DM Smith  wrote:

> In the Bible, some translations the Psalm titles stand before verse 1. This 
> is how the KJV does it. Other translations have it as verse 1.
>
> osis2mod tries to identify whether a title that stands before verse 1 should 
> be a chapter title (i.e. verse 0) or should be a verse title (i.e. verse 1). 
> And it marks up titles in a fashion that SWORD engine expects. Dumping the 
> module using mod2imp, will show how well or badly this was done.
>
> I think the problem here is the order of elements. So rather than 
> … use  sID/>….
>
> The attribute canonical=“true” is supposed to tell the SWORD engine to always 
> show the title. I think there are still problems with that. So, try turning 
> Headers on, when you don’t see them.
>
> In Him,
> DM
>
>> On Mar 31, 2019, at 5:13 AM, Cyrille  wrote:
>>
>> Hello,
>> I'm working on a text with canonical Psalms titles. When I convert it from 
>> usfm to osis I have this result:
>> 
>> 
>> Invocazione mattutina del giusto perseguitato
>> 
>> 
>> > osisID="Ps.3.1" n="1"/>Salmo di Davide quando fuggiva il figlio 
>> Assalonne.
>> 
>>   Signore, 
>> quanti sono i miei oppressori!
>>   Molti contro di me insorgono. > eID="Ps.3.2"/>
>>
>> Is it correct? Because Bibletime [doesn't display 
>> it](https://github.com/bibletime/bibletime/issues/178).
>>
>> ___
>> sword-devel mailing list: sword-devel@crosswire.org
>> http://www.crosswire.org/mailman/listinfo/sword-devel
>> Instructions to unsubscribe/change your settings at above page___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Re: [sword-devel] Osis Psalms canonical titles

2019-03-31 Thread DM Smith
In the Bible, some translations the Psalm titles stand before verse 1. This is 
how the KJV does it. Other translations have it as verse 1.

osis2mod tries to identify whether a title that stands before verse 1 should be 
a chapter title (i.e. verse 0) or should be a verse title (i.e. verse 1). And 
it marks up titles in a fashion that SWORD engine expects. Dumping the module 
using mod2imp, will show how well or badly this was done.

I think the problem here is the order of elements. So rather than … use ….

The attribute canonical=“true” is supposed to tell the SWORD engine to always 
show the title. I think there are still problems with that. So, try turning 
Headers on, when you don’t see them.

In Him,
DM

> On Mar 31, 2019, at 5:13 AM, Cyrille  wrote:
> 
> Hello,
> I'm working on a text with canonical Psalms titles. When I convert it from 
> usfm to osis I have this result:
> 
> 
> Invocazione mattutina del giusto perseguitato
> 
> 
>  osisID="Ps.3.1" n="1"/>Salmo di Davide quando fuggiva il figlio 
> Assalonne.
> 
>   Signore, 
> quanti sono i miei oppressori!
>   Molti contro di me insorgono. 
> 
> Is it correct? Because Bibletime doesn't display it 
> .
> 
> ___
> sword-devel mailing list: sword-devel@crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page

___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

[sword-devel] Osis Psalms canonical titles

2019-03-31 Thread Cyrille
Hello,
I'm working on a text with canonical Psalms titles. When I convert it
from usfm to osis I have this result:

    
    Invocazione mattutina del giusto perseguitato
    
    
    Salmo di Davide quando fuggiva il figlio
Assalonne.
    
  Signore, quanti sono i miei oppressori!
  Molti contro di me insorgono. 

Is it correct? Because Bibletime doesn't display it
.

___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page