This is the order of call of event with proskomma and the blockResult.items for the function renderContent()
\id XXD - World English Bible
\h Bible reading plan
\toc1 Bible reading plan
\mt1 Daily Bible reading plan
\c 1
\cp January
\s January
\b
\tr \tc1 date \tc2 Scripture
\tr \tc1 1 \tc2 \xt Genesis 1–2; Matthew 1:1–2:12; Psalm 1; Proverbs 1:1-6\xt*
\c 2
\cp February
\s February
\b
this is the usfm used for the example.
for reference this is what blockResult.items looks like just afeter the end of the xt :
[Object: null prototype] {
type: 'scope',
subType: 'end',
payload: 'span/xt'
}
[Object: null prototype] {
type: 'scope',
subType: 'end',
payload: 'pubChapter/January'
}
[Object: null prototype] {
type: 'scope',
subType: 'end',
payload: 'chapter/1'
}
This is the order of call of event with proskomma and the blockResult.items for the function renderContent()
\id XXD - World English Bible \h Bible reading plan \toc1 Bible reading plan \mt1 Daily Bible reading plan \c 1 \cp January \s January \b \tr \tc1 date \tc2 Scripture \tr \tc1 1 \tc2 \xt Genesis 1–2; Matthew 1:1–2:12; Psalm 1; Proverbs 1:1-6\xt* \c 2 \cp February \s February \b
this is the usfm used for the example.
for reference this is what blockResult.items looks like just afeter the end of the xt : [Object: null prototype] { type: 'scope', subType: 'end', payload: 'span/xt' } [Object: null prototype] { type: 'scope', subType: 'end', payload: 'pubChapter/January' } [Object: null prototype] { type: 'scope', subType: 'end', payload: 'chapter/1' }
[Object: null prototype] { type: 'scope', subType: 'end', payload: 'table' } [Object: null prototype] { type: 'token', subType: 'wordLike', payload: 'February' } [Object: null prototype] { type: 'scope', subType: 'start', payload: 'chapter/2' }
[Object: null prototype] { type: 'scope', subType: 'start', payload: 'pubChapter/February' } [Object: null prototype] { type: 'scope', subType: 'end', payload: 'cell/body/left/1' } ici [Object: null prototype] { type: 'scope', subType: 'end', payload: 'pubChapter/February' } [Object: null prototype] { type: 'scope', subType: 'end', payload: 'chapter/2' }