8000 Verse marker order scrambled leading into poetry · Issue #21 · chrislit/usfm2osis · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Verse marker order scrambled leading into poetry #21
Open
@alerque

Description

@alerque

I'm converting USFM that looks something like this:

\v 26 Sonra Tanrı, “Kendi görünümümüzde, Kendi benzeyişimize göre adam yapalım. Ve denizin balıklarına ve göklerin kuşlarına ve çiftlik hayvanlarına ve tüm yeryüzüne ve yeryüzünde sürünen her sürünen şeye hakim olsunlar.” dedi.
\b
\q1
\v 27 Böylece Tanrı adamı Kendi görünümünde yarattı,

To the best of my knowledge (and reading the USFM spec) this is the correct tagging structure. (To my mind there should be a \p instead of a \b here but the spec and other works out there seem to disagree with me.)

The way I read the spec this should come out something like this:

<verse osisID="Gen.1.26" sID="Gen.1.26"/>Sonra Tanrı, “Kendi görünümümüzde, Kendi benzeyişimize göre adam yapalım. Ve denizin balıklarına ve göklerin kuşlarına ve çiftlik hayvanlarına ve tüm yeryüzüne ve yeryüzünde sürünen her sürünen şeye hakim olsunlar.” dedi.<verse eID="Gen.1.26"/>
<lb/>
<lg>
  <l level="1">
    <verse osisID="Gen.1.27" sID="Gen.1.27"/>Böylece Tanrı adamı Kendi görünümünde yarattı,
  </l>

Instead I'm getting this:

<verse osisID="Gen.1.26" sID="Gen.1.26"/>Sonra Tanrı, “Kendi görünümümüzde, Kendi benzeyişimize göre adam yapalım. Ve denizin balıklarına ve göklerin kuşlarına ve çiftlik hayvanlarına ve tüm yeryüzüne ve yeryüzünde sürünen her sürünen şeye hakim olsunlar.” dedi.<verse eID="Gen.1.26"/>
<verse osisID="Gen.1.27" sID="Gen.1.27"/>
<lb/>
<lg>
  <l level="1">
    Böylece Tanrı adamı Kendi görünümünde yarattı,
  </l>

Note the marker for verse 27 is coming before the line break tag and also outside of the line group tag. This makes it very difficult to typeset and I suspect is incorrect behavior.

selection_265

Is there a way to get the correct tag order out? Or am I doing something else wrong here?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0