[sword-devel] diatheke plain output - line breaks missing?
DM Smith
dmsmith555 at yahoo.com
Mon Jan 22 08:29:22 MST 2007
I took a look at osisplain.cpp and it does not handle what OSIS allows.
So it is not just the handling of whitespace.
Some other problems (just a quick glance):
Does not handle <q>...</q>. It probably should output quote marks,
unless suppressed in the conf.
Does not handle <divineName>Lord</divineName>. It should uppercase
the content.
Does not handle <transChange>...</transChange>. Most systems output
this as [...]
Does not handle milestoned elements (i.e. elements with sID and
eID). Which is the root of the complaint below.
More probably can be found by comparing it with the osis html filter.
When I have time, I'll see what I can do. Feel free to help if you have
the time available.
benjie wrote:
> Hey,
>
> I'm trying to work with plaintext output, but when I try to use
> diatheke on Psalm 43 (for example), it doesn't display very well.
> Where there are line breaks & indents in BibleTime, diatheke just
> outputs words squished together. In verse 1, for example, we get
> "causeagainst" and "people,from". This is with Sword 1.5.9, and I'm
> reading the ESV module. It seems that the osisplain filter doesn't
> handle the <l eID="x4672" type="x-br"/> tag correctly, from what I've
> been looking at, unless the ESV module just has errors in it. But the
> passages are fine in BibleTime.
>
> Am I just missing something, or is this a bug that can be corrected?
>
> Thanks a lot,
> Benjie
>
> _______________________________________________
> 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
>
>
More information about the sword-devel
mailing list