[osis-users] Question about Commentary Osis
Chris Little
chrislit at crosswire.org
Fri Jan 11 05:44:01 MST 2013
Hi Pola,
On 1/5/2013 10:27 AM, Pola Edward wrote:
> Hi,
> Thanks for the reply,
> Actually I'm totally lost, After 2 days of reading and many trials, I
> can't get it right
> this is my main structure
>
> <div annotateRef="Matt.1.1" annotateType="commentary"
> type="section">
> <title canonical="true">This is a title, and supposed to be
> bold and underlined</title>
> <p>
> <lb />
> <hi type="bold">blah</hi> blah blah <lb/> //Comment : I
> want to put an empty line but any number of <lb /> elements render only
> as one
> <hi type="underline">blah</hi> blah blah <lb />
> </p>
> </div>
>
> All what i Need is to make titles (Bold and underlined) and want to
> separate paragraphs with empty lines
Titles in the above case should not be marked as canonical="true", since
this is for titles that are part of canonical biblical text.
Styling can be assigned with the <hi> element, using the attributes
identified here (as you have used in other cases
above):http://www.crosswire.org/osis/schemas/osisCore.2.1.1.xsd.html#h763275348
So if you want a bold and underlined title text, you could do:
<title><hi type="bold"><hi type="underline">This is a
title...</hi></hi></title>
To add an extra line between paragraphs, use markup such as:
<p>some paragraph text</p>
<lb/>
<p>some paragraph text for a second paragraph</p>
<lb/>
...
I'm not sure what would prevent a renderer from placing extra linebreaks
between paragraphs with the above markup, but if you have troubles,
please report which app rendering incorrectly.
--Chris
More information about the osis-users
mailing list