[sword-devel] Nesting the OSIS title element
DM Smith
dmsmith at crosswire.org
Tue Feb 9 13:37:04 MST 2016
In the KJV there are titles like:
The First Book of S A M U E L,
OTHERWISE CALLED,
The First Book of K I N G S.
I’ve exaggerated the font sizes.
The level 1 title is “The First Book of SAMUEL,”.
Subordinate to that, level 2, is “The First Book of KINGS.”.
Connecting these is a level 3 title, “OTHERWISE CALLED,”.
But these are really a single title and should be treated as a unit.
So, OSIS has the notion of nesting with types like “sub” and “continued”.
This could be marked up as (please pretend the pretty quotes are straight ones and ignore the spacing):
<title type=“main” level=“1” placement=“centerHead">
The First Book of SAMUEL,
<title type=“continued” level=“3”>
OTHERWISE CALLED,
</title>
<title type=“sub” level=“2”>
The First Book of KINGS.
</title>
</title>
Hopefully, the nested titles would take on the justification of the parent and not be justified independently.
In Him,
DM
> On Feb 9, 2016, at 3:16 PM, Peter von Kaehne <refdoc at gmx.net> wrote:
>
> The questions coming to mind are, why would anyone do that? And, have you tried it out? What did you observe? Do you think it is a feature of OSIS or a bug in the schema?
>
> Sent from my phone. Apologies for brevity and typos.On 9 Feb 2016 18:24, David Haslam <dfhmch at googlemail.com> wrote:
>>
>> The OSIS User Manual (and schema) permits the title element to be used within
>> a title element.
>>
>> It's conceivable that no module ever did this until today.
>>
>> Might this cause any unforeseen issue for SWORD or JSword?
>>
>>
>> Best regards,
>>
>> David
>>
>>
>>
>>
>>
>> --
>> View this message in context: http://sword-dev.350566.n4.nabble.com/Nesting-the-OSIS-title-element-tp4656058.html
>> Sent from the SWORD Dev mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> sword-devel mailing list: sword-devel at 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 at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20160209/d44d9449/attachment.html>
More information about the sword-devel
mailing list