[sword-devel] What is a mid-verse title?

DM Smith dmsmith at crosswire.org
Mon Jun 10 14:01:14 MST 2013

On Jun 10, 2013, at 4:53 PM, David Haslam <dfhmch at googlemail.com> wrote:

> DM wrote, "There may or may not be spacing before or after the title. It is
> entirely unnecessary. "
> Objection: A title as inline text wouldn't look right in a front-end.
> so did you mean "additional spacing" ?

There is a difference between an OSIS xml file and its rendering.

WRT rendering: A title is a block element, not an inline element. A block element always starts "on the next line" and stuff after a block element always starts "on the next line." Some block elements, such as titles, are rendered with additional vertical space before and after.

WRT source xml, vertical spacing (new lines) around a block element are meaningless.

Note, that if the element is removed (i.e. a filter hides titles) something reasonable needs to happen to prevent the before and after from fusing words.

In Him,

More information about the sword-devel mailing list