@readium/guided-navigation 1.3.0 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -6
- package/dist/a11y.js +1 -1
- package/dist/converter.js +1 -1
- package/dist/elementHandlers.js +1 -1
- package/dist/emptyPairs.js +1 -1
- package/dist/index.js +1 -1
- package/dist/object.js +1 -1
- package/dist/textrefFragment.js +1 -1
- package/fixtures/README.md +4 -4
- package/fixtures/ROLES_COVERAGE.md +3 -3
- package/fixtures/abbreviation-acronym-html-native/gnd.json +3 -5
- package/fixtures/abbreviation-before-formatting/gnd.json +3 -5
- package/fixtures/abbreviation-before-image/gnd.json +10 -14
- package/fixtures/abbreviation-html-native/gnd.json +3 -5
- package/fixtures/abbreviation-language/gnd.json +3 -5
- package/fixtures/abbreviation-line-break/gnd.json +3 -5
- package/fixtures/abbreviation-nested/gnd.json +3 -5
- package/fixtures/abbreviation-nested-emphasis/gnd.json +3 -5
- package/fixtures/abbreviation-nested-term/gnd.json +4 -8
- package/fixtures/abbreviation-nested-term-punctuation/gnd.json +4 -8
- package/fixtures/abbreviation-no-title/gnd.json +1 -3
- package/fixtures/abbreviation-period-mid-sentence/gnd.json +3 -5
- package/fixtures/abbreviation-period-sentence-end/gnd.json +3 -5
- package/fixtures/abbreviation-spanning-terms/gnd.json +3 -9
- package/fixtures/abbreviation-with-image/gnd.json +10 -14
- package/fixtures/abbreviation-with-svg-and-math/gnd.json +15 -21
- package/fixtures/abstract-epub-type/gnd.json +3 -7
- package/fixtures/abstract-role-aria/gnd.json +1 -3
- package/fixtures/accessible-name-labelledby-aria-hidden/gnd.json +2 -7
- package/fixtures/accessible-name-labelledby-hidden-attribute/gnd.json +2 -7
- package/fixtures/acknowledgments-epub-type/gnd.json +3 -7
- package/fixtures/acknowledgments-role-aria/gnd.json +1 -3
- package/fixtures/afterword-epub-type/gnd.json +3 -7
- package/fixtures/afterword-role-aria/gnd.json +1 -3
- package/fixtures/appendix-epub-type/gnd.json +3 -8
- package/fixtures/appendix-role-aria/gnd.json +1 -3
- package/fixtures/article-html-native/gnd.json +1 -3
- package/fixtures/article-role-aria/gnd.json +2 -4
- package/fixtures/aside-epub-type/gnd.json +3 -7
- package/fixtures/aside-html-native/gnd.json +1 -3
- package/fixtures/audio-html-native/gnd.json +3 -5
- package/fixtures/audio-no-description/gnd.json +2 -4
- package/fixtures/backlink-epub-type/gnd.json +3 -8
- package/fixtures/backlink-role-aria/gnd.json +2 -5
- package/fixtures/bibliography-epub-type/gnd.json +7 -18
- package/fixtures/bibliography-role-aria/gnd.json +4 -12
- package/fixtures/biblioref-epub-type/gnd.json +3 -8
- package/fixtures/biblioref-role-aria/gnd.json +2 -5
- package/fixtures/biblioref-target-descendant-ids/gnd.json +31 -49
- package/fixtures/biblioref-target-in-bibliography-role-aria/gnd.json +16 -29
- package/fixtures/biblioref-target-mixed-content/gnd.json +27 -36
- package/fixtures/blockquote-html-native/gnd.json +1 -3
- package/fixtures/blockquote-role-aria/gnd.json +2 -4
- package/fixtures/body-html-native/gnd.json +1 -3
- package/fixtures/chapter-epub-type/gnd.json +4 -11
- package/fixtures/chapter-role-aria/gnd.json +2 -7
- package/fixtures/colophon-epub-type/gnd.json +3 -7
- package/fixtures/colophon-role-aria/gnd.json +1 -3
- package/fixtures/complementary-role-aria/gnd.json +1 -3
- package/fixtures/conclusion-epub-type/gnd.json +3 -7
- package/fixtures/conclusion-role-aria/gnd.json +1 -3
- package/fixtures/cover-epub-type/gnd.json +5 -12
- package/fixtures/cover-role-aria/gnd.json +3 -6
- package/fixtures/credit-epub-type/gnd.json +4 -10
- package/fixtures/credit-role-aria/gnd.json +1 -3
- package/fixtures/credits-epub-type/gnd.json +9 -23
- package/fixtures/credits-role-aria/gnd.json +4 -14
- package/fixtures/dedication-epub-type/gnd.json +3 -7
- package/fixtures/dedication-role-aria/gnd.json +1 -3
- package/fixtures/definition-epub-type/gnd.json +4 -10
- package/fixtures/definition-html-native/gnd.json +1 -3
- package/fixtures/definition-role-aria/gnd.json +1 -3
- package/fixtures/description-roleless-lone-child/gnd.json +5 -9
- package/fixtures/description-roleless-wrapper/gnd.json +8 -12
- package/fixtures/details-html-native/gnd.json +1 -3
- package/fixtures/details-summary-html-native/gnd.json +2 -6
- package/fixtures/endnotes-epub-type/gnd.json +9 -26
- package/fixtures/endnotes-role-aria/gnd.json +4 -14
- package/fixtures/epigraph-epub-type/gnd.json +3 -7
- package/fixtures/epigraph-role-aria/gnd.json +1 -3
- package/fixtures/epilogue-epub-type/gnd.json +3 -7
- package/fixtures/epilogue-role-aria/gnd.json +1 -3
- package/fixtures/errata-epub-type/gnd.json +3 -7
- package/fixtures/errata-role-aria/gnd.json +1 -3
- package/fixtures/example-epub-type/gnd.json +5 -14
- package/fixtures/example-role-aria/gnd.json +1 -3
- package/fixtures/figure-aria-label-caption/gnd.json +19 -0
- package/fixtures/figure-aria-label-caption/input.html +1 -0
- package/fixtures/figure-aria-label-caption/meta.json +12 -0
- package/fixtures/figure-basic-html-native/gnd.json +4 -8
- package/fixtures/figure-basic-role-aria/gnd.json +4 -8
- package/fixtures/figure-caption-block-content/gnd.json +33 -0
- package/fixtures/figure-caption-block-content/input.html +7 -0
- package/fixtures/figure-caption-block-content/meta.json +14 -0
- package/fixtures/figure-caption-element-html-native/gnd.json +14 -8
- package/fixtures/figure-caption-element-html-native/meta.json +1 -1
- package/fixtures/figure-caption-element-role-aria/gnd.json +14 -8
- package/fixtures/figure-caption-element-role-aria/meta.json +1 -1
- package/fixtures/figure-caption-html-native/gnd.json +3 -5
- package/fixtures/figure-caption-role-aria/gnd.json +3 -5
- package/fixtures/figure-credit-nested-in-aria-labelledby-caption/gnd.json +13 -21
- package/fixtures/figure-credit-nested-in-caption/gnd.json +13 -21
- package/fixtures/figure-credit-nested-in-caption/meta.json +1 -1
- package/fixtures/figure-credit-role-aria/gnd.json +12 -18
- package/fixtures/figure-credit-role-aria/meta.json +1 -1
- package/fixtures/figure-describedby/gnd.json +4 -8
- package/fixtures/figure-epub-type/gnd.json +5 -11
- package/fixtures/figure-no-description/gnd.json +3 -7
- package/fixtures/footnote-epub-type/gnd.json +5 -14
- package/fixtures/footnote-role-aria/gnd.json +17 -31
- package/fixtures/foreword-epub-type/gnd.json +3 -7
- package/fixtures/foreword-role-aria/gnd.json +1 -3
- package/fixtures/glossary-epub-type/gnd.json +10 -22
- package/fixtures/glossary-role-aria/gnd.json +5 -15
- package/fixtures/glossref-epub-type/gnd.json +3 -8
- package/fixtures/glossref-role-aria/gnd.json +2 -5
- package/fixtures/glossref-role-aria-mid-sentence/gnd.json +5 -13
- package/fixtures/glossref-sole-content/gnd.json +11 -26
- package/fixtures/glossref-target-in-glossary-role-aria/gnd.json +17 -32
- package/fixtures/glossref-target-percent-encoded/gnd.json +17 -32
- package/fixtures/glossref-target-percent-encoded/meta.json +1 -1
- package/fixtures/header-html-native/gnd.json +1 -3
- package/fixtures/heading-html-native/gnd.json +6 -18
- package/fixtures/heading-role-aria/gnd.json +6 -18
- package/fixtures/heading-role-presentation/gnd.json +6 -12
- package/fixtures/hidden-aria-hidden-html-native/gnd.json +2 -6
- package/fixtures/hidden-attribute-html-native/gnd.json +2 -6
- package/fixtures/image-alt-html-native/gnd.json +3 -5
- package/fixtures/image-decorative-empty-alt/gnd.json +2 -6
- package/fixtures/image-decorative-role-presentation/gnd.json +2 -6
- package/fixtures/image-decorative-whitespace-alt/gnd.json +4 -8
- package/fixtures/image-no-description/gnd.json +2 -4
- package/fixtures/image-role-aria/gnd.json +3 -5
- package/fixtures/index-epub-type/gnd.json +11 -32
- package/fixtures/index-role-aria/gnd.json +10 -28
- package/fixtures/introduction-epub-type/gnd.json +3 -7
- package/fixtures/introduction-role-aria/gnd.json +1 -3
- package/fixtures/landmarks-epub-type/gnd.json +15 -43
- package/fixtures/language-alt-inherited/gnd.json +8 -12
- package/fixtures/language-alt-own-lang/gnd.json +8 -12
- package/fixtures/language-block/gnd.json +5 -11
- package/fixtures/language-block-empty-lang/gnd.json +1 -3
- package/fixtures/language-describedby-shared/gnd.json +19 -27
- package/fixtures/language-document/gnd.json +3 -7
- package/fixtures/language-empty-lang-stops-inheritance/gnd.json +6 -10
- package/fixtures/language-figcaption/gnd.json +13 -16
- package/fixtures/language-figcaption/meta.json +1 -1
- package/fixtures/language-figcaption-credit/gnd.json +17 -25
- package/fixtures/language-figcaption-credit/meta.json +1 -1
- package/fixtures/language-figcaption-switches/gnd.json +13 -15
- package/fixtures/language-figcaption-switches/meta.json +1 -1
- package/fixtures/language-figcaption-switches-throughout/gnd.json +13 -16
- package/fixtures/language-figcaption-switches-throughout/meta.json +1 -1
- package/fixtures/language-inline-case-insensitive/gnd.json +3 -5
- package/fixtures/language-inline-case-insensitive-ssml/gnd.json +3 -5
- package/fixtures/language-inline-empty-lang/gnd.json +3 -5
- package/fixtures/language-inline-empty-lang-formatted/gnd.json +1 -3
- package/fixtures/language-inline-empty-lang-only/gnd.json +1 -3
- package/fixtures/language-inline-empty-lang-undeclared/gnd.json +3 -5
- package/fixtures/language-inline-lang-attribute/gnd.json +3 -5
- package/fixtures/language-inline-nested/gnd.json +3 -5
- package/fixtures/language-inline-repeated/gnd.json +3 -5
- package/fixtures/language-inline-two-languages/gnd.json +3 -5
- package/fixtures/language-labelledby-target/gnd.json +8 -12
- package/fixtures/language-labelledby-target-aria-label/gnd.json +12 -16
- package/fixtures/language-labelledby-target-switches/gnd.json +6 -10
- package/fixtures/language-labelledby-targets-case/gnd.json +11 -17
- package/fixtures/language-labelledby-targets-differ/gnd.json +9 -15
- package/fixtures/language-link-switches/gnd.json +10 -13
- package/fixtures/language-pagebreak-label/gnd.json +10 -14
- package/fixtures/language-undeclared-description/gnd.json +4 -8
- package/fixtures/language-xml-lang-empty-html-inherits/gnd.json +8 -12
- package/fixtures/language-xml-lang-empty-html-lang-applies/gnd.json +8 -12
- package/fixtures/language-xml-lang-empty-xhtml/gnd.json +6 -10
- package/fixtures/language-xml-lang-over-lang/gnd.json +8 -12
- package/fixtures/link-containing-image/gnd.json +12 -17
- package/fixtures/link-containing-pagebreak/gnd.json +12 -17
- package/fixtures/link-content-conversion/gnd.json +14 -20
- package/fixtures/link-content-identity/gnd.json +7 -8
- package/fixtures/link-content-words/gnd.json +9 -14
- package/fixtures/list-aria-posinset-setsize/gnd.json +3 -7
- package/fixtures/list-epub-type/gnd.json +6 -14
- package/fixtures/list-html-native/gnd.json +4 -12
- package/fixtures/list-item-posinset-override/gnd.json +7 -15
- package/fixtures/list-item-value-override/gnd.json +7 -15
- package/fixtures/list-ordered-html-native/gnd.json +7 -15
- package/fixtures/list-ordered-reversed/gnd.json +7 -15
- package/fixtures/list-ordered-start/gnd.json +7 -15
- package/fixtures/list-role-aria/gnd.json +4 -12
- package/fixtures/listitem-role-presentation/gnd.json +5 -11
- package/fixtures/loa-epub-type/gnd.json +11 -32
- package/fixtures/loi-epub-type/gnd.json +11 -32
- package/fixtures/lot-epub-type/gnd.json +11 -32
- package/fixtures/lov-epub-type/gnd.json +11 -32
- package/fixtures/main-html-native/gnd.json +1 -3
- package/fixtures/main-role-aria/gnd.json +1 -3
- package/fixtures/manifest.json +51 -11
- package/fixtures/math-html-native/gnd.json +5 -7
- package/fixtures/math-inline/gnd.json +10 -14
- package/fixtures/math-no-description/gnd.json +3 -5
- package/fixtures/math-role-aria/gnd.json +5 -7
- package/fixtures/navigation-html-native/gnd.json +1 -3
- package/fixtures/navigation-role-aria/gnd.json +1 -3
- package/fixtures/nested-blockquote/gnd.json +3 -9
- package/fixtures/nested-section/gnd.json +3 -9
- package/fixtures/noteref-after-closing-straight-quote/gnd.json +13 -20
- package/fixtures/noteref-after-closing-straight-quote-split/gnd.json +12 -17
- package/fixtures/noteref-enclosed-across-formatting/gnd.json +13 -20
- package/fixtures/noteref-enclosed-adjacent-pairs/gnd.json +38 -62
- package/fixtures/noteref-enclosed-adjacent-text/gnd.json +16 -23
- package/fixtures/noteref-enclosed-before-formatting/gnd.json +16 -23
- package/fixtures/noteref-enclosed-guillemets-french/gnd.json +42 -63
- package/fixtures/noteref-enclosed-quotes-chinese/gnd.json +15 -25
- package/fixtures/noteref-enclosed-quotes-german/gnd.json +49 -75
- package/fixtures/noteref-enclosed-quotes-swedish/gnd.json +28 -42
- package/fixtures/noteref-enclosed-straight-quotes/gnd.json +13 -20
- package/fixtures/noteref-in-lone-block/gnd.json +12 -17
- package/fixtures/noteref-role-aria/gnd.json +1 -3
- package/fixtures/noteref-target-in-endnotes-epub-type/gnd.json +10 -29
- package/fixtures/noteref-target-in-endnotes-role-aria/gnd.json +9 -26
- package/fixtures/noteref-target-malformed-escape/gnd.json +13 -20
- package/fixtures/noteref-target-percent-encoded/gnd.json +13 -20
- package/fixtures/notice-epub-type/gnd.json +3 -7
- package/fixtures/notice-role-aria/gnd.json +1 -3
- package/fixtures/pagebreak-epub-type/gnd.json +6 -14
- package/fixtures/pagebreak-role-aria/gnd.json +5 -11
- package/fixtures/pagelist-epub-type/gnd.json +15 -43
- package/fixtures/pagelist-role-aria/gnd.json +14 -40
- package/fixtures/paragraph-basic/gnd.json +1 -3
- package/fixtures/part-epub-type/gnd.json +4 -11
- package/fixtures/part-role-aria/gnd.json +2 -7
- package/fixtures/preface-epub-type/gnd.json +3 -7
- package/fixtures/preface-role-aria/gnd.json +1 -3
- package/fixtures/preformatted-html-native/gnd.json +1 -3
- package/fixtures/presentation-role-aria/gnd.json +1 -3
- package/fixtures/prologue-epub-type/gnd.json +3 -7
- package/fixtures/prologue-role-aria/gnd.json +1 -3
- package/fixtures/pullquote-epub-type/gnd.json +3 -8
- package/fixtures/pullquote-role-aria/gnd.json +1 -3
- package/fixtures/qna-epub-type/gnd.json +3 -8
- package/fixtures/qna-role-aria/gnd.json +1 -3
- package/fixtures/redundant-role-body-chapter/gnd.json +3 -10
- package/fixtures/redundant-role-nested-chapter/gnd.json +4 -13
- package/fixtures/region-role-aria/gnd.json +1 -3
- package/fixtures/section-html-native/gnd.json +1 -3
- package/fixtures/separator-html-native/gnd.json +3 -9
- package/fixtures/separator-role-aria/gnd.json +3 -9
- package/fixtures/separator-with-glyphs/gnd.json +3 -9
- package/fixtures/subtitle-epub-type/gnd.json +3 -7
- package/fixtures/subtitle-role-aria/gnd.json +1 -3
- package/fixtures/summary-html-native/gnd.json +1 -3
- package/fixtures/table-aria-label-caption/gnd.json +27 -0
- package/fixtures/table-aria-label-caption/input.html +1 -0
- package/fixtures/table-aria-label-caption/meta.json +13 -0
- package/fixtures/table-caption/gnd.json +22 -42
- package/fixtures/table-caption/meta.json +1 -1
- package/fixtures/table-caption-aria-labelledby/gnd.json +28 -0
- package/fixtures/table-caption-aria-labelledby/input.html +1 -0
- package/fixtures/table-caption-aria-labelledby/meta.json +13 -0
- package/fixtures/table-caption-element-html-native/gnd.json +13 -22
- package/fixtures/table-caption-element-html-native/meta.json +1 -1
- package/fixtures/table-caption-role-aria/gnd.json +10 -15
- package/fixtures/table-cell-abbreviation/gnd.json +8 -16
- package/fixtures/table-cell-link/gnd.json +8 -19
- package/fixtures/table-cell-noteref/gnd.json +15 -25
- package/fixtures/table-colspan-html-native/gnd.json +9 -21
- package/fixtures/table-colspan-role-aria/gnd.json +9 -21
- package/fixtures/table-epub-type/gnd.json +7 -17
- package/fixtures/table-html-native/gnd.json +10 -30
- package/fixtures/table-in-role-none-wrapper/gnd.json +6 -18
- package/fixtures/table-nested-html-native/gnd.json +7 -19
- package/fixtures/table-nested-in-presentation-table/gnd.json +8 -24
- package/fixtures/table-nested-role-aria/gnd.json +7 -19
- package/fixtures/table-no-headers/gnd.json +11 -25
- package/fixtures/table-role-aria/gnd.json +10 -30
- package/fixtures/table-role-presentation-explicit-cell/gnd.json +4 -12
- package/fixtures/table-role-presentation-html-native/gnd.json +7 -17
- package/fixtures/table-role-presentation-role-aria/gnd.json +7 -17
- package/fixtures/table-rowgroup-role-aria/gnd.json +4 -10
- package/fixtures/table-rowspan-html-native/gnd.json +9 -21
- package/fixtures/table-rowspan-role-aria/gnd.json +9 -21
- package/fixtures/table-sectioning/gnd.json +10 -24
- package/fixtures/table-th-no-scope/gnd.json +11 -25
- package/fixtures/term-epub-type/gnd.json +4 -10
- package/fixtures/term-html-native/gnd.json +1 -3
- package/fixtures/term-role-aria/gnd.json +1 -3
- package/fixtures/term-span-in-dt/gnd.json +3 -9
- package/fixtures/tip-epub-type/gnd.json +3 -8
- package/fixtures/tip-role-aria/gnd.json +1 -3
- package/fixtures/toc-epub-type/gnd.json +15 -43
- package/fixtures/toc-role-aria/gnd.json +14 -40
- package/fixtures/video-html-native/gnd.json +3 -5
- package/fixtures/video-no-description/gnd.json +2 -4
- package/package.json +6 -2
- package/src/a11y.ts +3 -12
- package/src/converter.ts +10 -45
- package/src/elementHandlers.ts +3 -12
- package/src/emptyPairs.ts +35 -15
- package/src/index.ts +2 -1
- package/src/object.ts +4 -10
- package/src/textrefFragment.ts +7 -16
- package/types/src/a11y.d.ts +0 -2
- package/types/src/converter.d.ts +0 -2
- package/types/src/emptyPairs.d.ts +3 -0
- package/types/src/index.d.ts +2 -1
- package/types/src/textrefFragment.d.ts +0 -4
|
@@ -1,108 +1,84 @@
|
|
|
1
1
|
{
|
|
2
2
|
"children": [
|
|
3
3
|
{
|
|
4
|
+
"role": ["paragraph"],
|
|
5
|
+
"text": {
|
|
6
|
+
"language": "en",
|
|
7
|
+
"plain": "Text, after.",
|
|
8
|
+
"ssml": "Text (<readium:noteref id=\"n\" />) (<readium:noteref id=\"m\" />), after."
|
|
9
|
+
},
|
|
4
10
|
"children": [
|
|
5
11
|
{
|
|
12
|
+
"role": ["noteref"],
|
|
6
13
|
"id": "n",
|
|
14
|
+
"text": {
|
|
15
|
+
"plain": "1"
|
|
16
|
+
},
|
|
7
17
|
"children": [
|
|
8
18
|
{
|
|
9
|
-
"role": [
|
|
10
|
-
"aside",
|
|
11
|
-
"footnote"
|
|
12
|
-
],
|
|
19
|
+
"role": ["aside", "footnote"],
|
|
13
20
|
"text": {
|
|
14
21
|
"plain": "Note."
|
|
15
22
|
}
|
|
16
23
|
}
|
|
17
|
-
]
|
|
18
|
-
"role": [
|
|
19
|
-
"noteref"
|
|
20
|
-
],
|
|
21
|
-
"text": {
|
|
22
|
-
"plain": "1"
|
|
23
|
-
}
|
|
24
|
+
]
|
|
24
25
|
},
|
|
25
26
|
{
|
|
27
|
+
"role": ["noteref"],
|
|
26
28
|
"id": "m",
|
|
29
|
+
"text": {
|
|
30
|
+
"plain": "2"
|
|
31
|
+
},
|
|
27
32
|
"children": [
|
|
28
33
|
{
|
|
29
|
-
"role": [
|
|
30
|
-
"aside",
|
|
31
|
-
"footnote"
|
|
32
|
-
],
|
|
34
|
+
"role": ["aside", "footnote"],
|
|
33
35
|
"text": {
|
|
34
36
|
"plain": "Note."
|
|
35
37
|
}
|
|
36
38
|
}
|
|
37
|
-
]
|
|
38
|
-
"role": [
|
|
39
|
-
"noteref"
|
|
40
|
-
],
|
|
41
|
-
"text": {
|
|
42
|
-
"plain": "2"
|
|
43
|
-
}
|
|
39
|
+
]
|
|
44
40
|
}
|
|
45
|
-
]
|
|
46
|
-
"role": [
|
|
47
|
-
"paragraph"
|
|
48
|
-
],
|
|
49
|
-
"text": {
|
|
50
|
-
"plain": "Text, after.",
|
|
51
|
-
"ssml": "Text (<readium:noteref id=\"n\" />) (<readium:noteref id=\"m\" />), after.",
|
|
52
|
-
"language": "en"
|
|
53
|
-
}
|
|
41
|
+
]
|
|
54
42
|
},
|
|
55
43
|
{
|
|
44
|
+
"role": ["paragraph"],
|
|
45
|
+
"text": {
|
|
46
|
+
"language": "en",
|
|
47
|
+
"plain": "Text more.",
|
|
48
|
+
"ssml": "Text (<readium:noteref id=\"o\" />) (<readium:noteref id=\"p\" />) more."
|
|
49
|
+
},
|
|
56
50
|
"children": [
|
|
57
51
|
{
|
|
52
|
+
"role": ["noteref"],
|
|
58
53
|
"id": "o",
|
|
54
|
+
"text": {
|
|
55
|
+
"plain": "3"
|
|
56
|
+
},
|
|
59
57
|
"children": [
|
|
60
58
|
{
|
|
61
|
-
"role": [
|
|
62
|
-
"aside",
|
|
63
|
-
"footnote"
|
|
64
|
-
],
|
|
59
|
+
"role": ["aside", "footnote"],
|
|
65
60
|
"text": {
|
|
66
61
|
"plain": "Note."
|
|
67
62
|
}
|
|
68
63
|
}
|
|
69
|
-
]
|
|
70
|
-
"role": [
|
|
71
|
-
"noteref"
|
|
72
|
-
],
|
|
73
|
-
"text": {
|
|
74
|
-
"plain": "3"
|
|
75
|
-
}
|
|
64
|
+
]
|
|
76
65
|
},
|
|
77
66
|
{
|
|
67
|
+
"role": ["noteref"],
|
|
78
68
|
"id": "p",
|
|
69
|
+
"text": {
|
|
70
|
+
"plain": "4"
|
|
71
|
+
},
|
|
79
72
|
"children": [
|
|
80
73
|
{
|
|
81
|
-
"role": [
|
|
82
|
-
"aside",
|
|
83
|
-
"footnote"
|
|
84
|
-
],
|
|
74
|
+
"role": ["aside", "footnote"],
|
|
85
75
|
"text": {
|
|
86
76
|
"plain": "Note."
|
|
87
77
|
}
|
|
88
78
|
}
|
|
89
|
-
]
|
|
90
|
-
"role": [
|
|
91
|
-
"noteref"
|
|
92
|
-
],
|
|
93
|
-
"text": {
|
|
94
|
-
"plain": "4"
|
|
95
|
-
}
|
|
79
|
+
]
|
|
96
80
|
}
|
|
97
|
-
]
|
|
98
|
-
"role": [
|
|
99
|
-
"paragraph"
|
|
100
|
-
],
|
|
101
|
-
"text": {
|
|
102
|
-
"plain": "Text more.",
|
|
103
|
-
"ssml": "Text (<readium:noteref id=\"o\" />) (<readium:noteref id=\"p\" />) more.",
|
|
104
|
-
"language": "en"
|
|
105
|
-
}
|
|
81
|
+
]
|
|
106
82
|
}
|
|
107
83
|
]
|
|
108
84
|
}
|
|
@@ -1,34 +1,27 @@
|
|
|
1
1
|
{
|
|
2
|
+
"role": ["paragraph"],
|
|
3
|
+
"text": {
|
|
4
|
+
"language": "ja",
|
|
5
|
+
"plain": "前後",
|
|
6
|
+
"ssml": "前(<readium:noteref id=\"n\" />)後"
|
|
7
|
+
},
|
|
2
8
|
"children": [
|
|
3
9
|
{
|
|
10
|
+
"role": ["noteref"],
|
|
4
11
|
"id": "n",
|
|
12
|
+
"text": {
|
|
13
|
+
"language": "ja",
|
|
14
|
+
"plain": "1"
|
|
15
|
+
},
|
|
5
16
|
"children": [
|
|
6
17
|
{
|
|
7
|
-
"role": [
|
|
8
|
-
"aside",
|
|
9
|
-
"footnote"
|
|
10
|
-
],
|
|
18
|
+
"role": ["aside", "footnote"],
|
|
11
19
|
"text": {
|
|
12
|
-
"
|
|
13
|
-
"
|
|
20
|
+
"language": "ja",
|
|
21
|
+
"plain": "注"
|
|
14
22
|
}
|
|
15
23
|
}
|
|
16
|
-
]
|
|
17
|
-
"role": [
|
|
18
|
-
"noteref"
|
|
19
|
-
],
|
|
20
|
-
"text": {
|
|
21
|
-
"plain": "1",
|
|
22
|
-
"language": "ja"
|
|
23
|
-
}
|
|
24
|
+
]
|
|
24
25
|
}
|
|
25
|
-
]
|
|
26
|
-
"role": [
|
|
27
|
-
"paragraph"
|
|
28
|
-
],
|
|
29
|
-
"text": {
|
|
30
|
-
"plain": "前後",
|
|
31
|
-
"ssml": "前(<readium:noteref id=\"n\" />)後",
|
|
32
|
-
"language": "ja"
|
|
33
|
-
}
|
|
26
|
+
]
|
|
34
27
|
}
|
|
@@ -1,34 +1,27 @@
|
|
|
1
1
|
{
|
|
2
|
+
"role": ["paragraph"],
|
|
3
|
+
"text": {
|
|
4
|
+
"language": "ja",
|
|
5
|
+
"plain": "前後",
|
|
6
|
+
"ssml": "前(<readium:noteref id=\"n\" />)<emphasis>後</emphasis>"
|
|
7
|
+
},
|
|
2
8
|
"children": [
|
|
3
9
|
{
|
|
10
|
+
"role": ["noteref"],
|
|
4
11
|
"id": "n",
|
|
12
|
+
"text": {
|
|
13
|
+
"language": "ja",
|
|
14
|
+
"plain": "1"
|
|
15
|
+
},
|
|
5
16
|
"children": [
|
|
6
17
|
{
|
|
7
|
-
"role": [
|
|
8
|
-
"aside",
|
|
9
|
-
"footnote"
|
|
10
|
-
],
|
|
18
|
+
"role": ["aside", "footnote"],
|
|
11
19
|
"text": {
|
|
12
|
-
"
|
|
13
|
-
"
|
|
20
|
+
"language": "ja",
|
|
21
|
+
"plain": "注"
|
|
14
22
|
}
|
|
15
23
|
}
|
|
16
|
-
]
|
|
17
|
-
"role": [
|
|
18
|
-
"noteref"
|
|
19
|
-
],
|
|
20
|
-
"text": {
|
|
21
|
-
"plain": "1",
|
|
22
|
-
"language": "ja"
|
|
23
|
-
}
|
|
24
|
+
]
|
|
24
25
|
}
|
|
25
|
-
]
|
|
26
|
-
"role": [
|
|
27
|
-
"paragraph"
|
|
28
|
-
],
|
|
29
|
-
"text": {
|
|
30
|
-
"plain": "前後",
|
|
31
|
-
"ssml": "前(<readium:noteref id=\"n\" />)<emphasis>後</emphasis>",
|
|
32
|
-
"language": "ja"
|
|
33
|
-
}
|
|
26
|
+
]
|
|
34
27
|
}
|
|
@@ -1,103 +1,82 @@
|
|
|
1
1
|
{
|
|
2
2
|
"children": [
|
|
3
3
|
{
|
|
4
|
+
"role": ["paragraph"],
|
|
5
|
+
"text": {
|
|
6
|
+
"language": "fr",
|
|
7
|
+
"plain": "Le mot ici.",
|
|
8
|
+
"ssml": "Le mot « <readium:noteref id=\"n\" /> » ici."
|
|
9
|
+
},
|
|
4
10
|
"children": [
|
|
5
11
|
{
|
|
12
|
+
"role": ["noteref"],
|
|
6
13
|
"id": "n",
|
|
14
|
+
"text": {
|
|
15
|
+
"language": "fr",
|
|
16
|
+
"plain": "1"
|
|
17
|
+
},
|
|
7
18
|
"children": [
|
|
8
19
|
{
|
|
9
|
-
"role": [
|
|
10
|
-
"aside",
|
|
11
|
-
"footnote"
|
|
12
|
-
],
|
|
20
|
+
"role": ["aside", "footnote"],
|
|
13
21
|
"text": {
|
|
14
22
|
"plain": "Note."
|
|
15
23
|
}
|
|
16
24
|
}
|
|
17
|
-
]
|
|
18
|
-
"role": [
|
|
19
|
-
"noteref"
|
|
20
|
-
],
|
|
21
|
-
"text": {
|
|
22
|
-
"plain": "1",
|
|
23
|
-
"language": "fr"
|
|
24
|
-
}
|
|
25
|
+
]
|
|
25
26
|
}
|
|
26
|
-
]
|
|
27
|
-
"role": [
|
|
28
|
-
"paragraph"
|
|
29
|
-
],
|
|
30
|
-
"text": {
|
|
31
|
-
"plain": "Le mot ici.",
|
|
32
|
-
"ssml": "Le mot « <readium:noteref id=\"n\" /> » ici.",
|
|
33
|
-
"language": "fr"
|
|
34
|
-
}
|
|
27
|
+
]
|
|
35
28
|
},
|
|
36
29
|
{
|
|
30
|
+
"role": ["paragraph"],
|
|
31
|
+
"text": {
|
|
32
|
+
"language": "fr",
|
|
33
|
+
"plain": "Il dit « bonjour » « suite ».",
|
|
34
|
+
"ssml": "Il dit « bonjour » <readium:noteref id=\"m\" /> « suite »."
|
|
35
|
+
},
|
|
37
36
|
"children": [
|
|
38
37
|
{
|
|
38
|
+
"role": ["noteref"],
|
|
39
39
|
"id": "m",
|
|
40
|
+
"text": {
|
|
41
|
+
"language": "fr",
|
|
42
|
+
"plain": "2"
|
|
43
|
+
},
|
|
40
44
|
"children": [
|
|
41
45
|
{
|
|
42
|
-
"role": [
|
|
43
|
-
"aside",
|
|
44
|
-
"footnote"
|
|
45
|
-
],
|
|
46
|
+
"role": ["aside", "footnote"],
|
|
46
47
|
"text": {
|
|
47
48
|
"plain": "Note."
|
|
48
49
|
}
|
|
49
50
|
}
|
|
50
|
-
]
|
|
51
|
-
"role": [
|
|
52
|
-
"noteref"
|
|
53
|
-
],
|
|
54
|
-
"text": {
|
|
55
|
-
"plain": "2",
|
|
56
|
-
"language": "fr"
|
|
57
|
-
}
|
|
51
|
+
]
|
|
58
52
|
}
|
|
59
|
-
]
|
|
60
|
-
"role": [
|
|
61
|
-
"paragraph"
|
|
62
|
-
],
|
|
63
|
-
"text": {
|
|
64
|
-
"plain": "Il dit « bonjour » « suite ».",
|
|
65
|
-
"ssml": "Il dit « bonjour » <readium:noteref id=\"m\" /> « suite ».",
|
|
66
|
-
"language": "fr"
|
|
67
|
-
}
|
|
53
|
+
]
|
|
68
54
|
},
|
|
69
55
|
{
|
|
56
|
+
"role": ["paragraph"],
|
|
57
|
+
"text": {
|
|
58
|
+
"language": "fr",
|
|
59
|
+
"plain": "Il dit « bonjour » et part.",
|
|
60
|
+
"ssml": "Il dit « bonjour <readium:noteref id=\"o\" /> » et part."
|
|
61
|
+
},
|
|
70
62
|
"children": [
|
|
71
63
|
{
|
|
64
|
+
"role": ["noteref"],
|
|
72
65
|
"id": "o",
|
|
66
|
+
"text": {
|
|
67
|
+
"language": "fr",
|
|
68
|
+
"plain": "3"
|
|
69
|
+
},
|
|
73
70
|
"children": [
|
|
74
71
|
{
|
|
75
|
-
"role": [
|
|
76
|
-
"aside",
|
|
77
|
-
"footnote"
|
|
78
|
-
],
|
|
72
|
+
"role": ["aside", "footnote"],
|
|
79
73
|
"text": {
|
|
80
74
|
"plain": "Note."
|
|
81
75
|
}
|
|
82
76
|
}
|
|
83
|
-
]
|
|
84
|
-
"role": [
|
|
85
|
-
"noteref"
|
|
86
|
-
],
|
|
87
|
-
"text": {
|
|
88
|
-
"plain": "3",
|
|
89
|
-
"language": "fr"
|
|
90
|
-
}
|
|
77
|
+
]
|
|
91
78
|
}
|
|
92
|
-
]
|
|
93
|
-
"role": [
|
|
94
|
-
"paragraph"
|
|
95
|
-
],
|
|
96
|
-
"text": {
|
|
97
|
-
"plain": "Il dit « bonjour » et part.",
|
|
98
|
-
"ssml": "Il dit « bonjour <readium:noteref id=\"o\" /> » et part.",
|
|
99
|
-
"language": "fr"
|
|
100
|
-
}
|
|
79
|
+
]
|
|
101
80
|
}
|
|
102
81
|
]
|
|
103
82
|
}
|
|
@@ -1,44 +1,34 @@
|
|
|
1
1
|
{
|
|
2
2
|
"children": [
|
|
3
3
|
{
|
|
4
|
+
"role": ["paragraph"],
|
|
5
|
+
"text": {
|
|
6
|
+
"language": "zh",
|
|
7
|
+
"plain": "前后",
|
|
8
|
+
"ssml": "前“<readium:noteref id=\"n\" />”后"
|
|
9
|
+
},
|
|
4
10
|
"children": [
|
|
5
11
|
{
|
|
12
|
+
"role": ["noteref"],
|
|
6
13
|
"id": "n",
|
|
14
|
+
"text": {
|
|
15
|
+
"language": "zh",
|
|
16
|
+
"plain": "1"
|
|
17
|
+
},
|
|
7
18
|
"children": [
|
|
8
19
|
{
|
|
9
|
-
"role": [
|
|
10
|
-
"aside",
|
|
11
|
-
"footnote"
|
|
12
|
-
],
|
|
20
|
+
"role": ["aside", "footnote"],
|
|
13
21
|
"text": {
|
|
14
22
|
"plain": "Note."
|
|
15
23
|
}
|
|
16
24
|
}
|
|
17
|
-
]
|
|
18
|
-
"role": [
|
|
19
|
-
"noteref"
|
|
20
|
-
],
|
|
21
|
-
"text": {
|
|
22
|
-
"plain": "1",
|
|
23
|
-
"language": "zh"
|
|
24
|
-
}
|
|
25
|
+
]
|
|
25
26
|
}
|
|
26
|
-
]
|
|
27
|
-
"role": [
|
|
28
|
-
"paragraph"
|
|
29
|
-
],
|
|
30
|
-
"text": {
|
|
31
|
-
"plain": "前后",
|
|
32
|
-
"ssml": "前“<readium:noteref id=\"n\" />”后",
|
|
33
|
-
"language": "zh"
|
|
34
|
-
}
|
|
27
|
+
]
|
|
35
28
|
},
|
|
36
29
|
{
|
|
30
|
+
"role": ["aside", "footnote"],
|
|
37
31
|
"id": "m",
|
|
38
|
-
"role": [
|
|
39
|
-
"aside",
|
|
40
|
-
"footnote"
|
|
41
|
-
],
|
|
42
32
|
"text": {
|
|
43
33
|
"plain": "Note."
|
|
44
34
|
}
|
|
@@ -1,124 +1,98 @@
|
|
|
1
1
|
{
|
|
2
2
|
"children": [
|
|
3
3
|
{
|
|
4
|
+
"role": ["paragraph"],
|
|
5
|
+
"text": {
|
|
6
|
+
"language": "de",
|
|
7
|
+
"plain": "Das Wort hier, dort.",
|
|
8
|
+
"ssml": "Das Wort „<readium:noteref id=\"n\" />“ hier, »<readium:noteref id=\"m\" />« dort."
|
|
9
|
+
},
|
|
4
10
|
"children": [
|
|
5
11
|
{
|
|
12
|
+
"role": ["noteref"],
|
|
6
13
|
"id": "n",
|
|
14
|
+
"text": {
|
|
15
|
+
"language": "de",
|
|
16
|
+
"plain": "1"
|
|
17
|
+
},
|
|
7
18
|
"children": [
|
|
8
19
|
{
|
|
9
|
-
"role": [
|
|
10
|
-
"aside",
|
|
11
|
-
"footnote"
|
|
12
|
-
],
|
|
20
|
+
"role": ["aside", "footnote"],
|
|
13
21
|
"text": {
|
|
14
22
|
"plain": "Note."
|
|
15
23
|
}
|
|
16
24
|
}
|
|
17
|
-
]
|
|
18
|
-
"role": [
|
|
19
|
-
"noteref"
|
|
20
|
-
],
|
|
21
|
-
"text": {
|
|
22
|
-
"plain": "1",
|
|
23
|
-
"language": "de"
|
|
24
|
-
}
|
|
25
|
+
]
|
|
25
26
|
},
|
|
26
27
|
{
|
|
28
|
+
"role": ["noteref"],
|
|
27
29
|
"id": "m",
|
|
30
|
+
"text": {
|
|
31
|
+
"language": "de",
|
|
32
|
+
"plain": "2"
|
|
33
|
+
},
|
|
28
34
|
"children": [
|
|
29
35
|
{
|
|
30
|
-
"role": [
|
|
31
|
-
"aside",
|
|
32
|
-
"footnote"
|
|
33
|
-
],
|
|
36
|
+
"role": ["aside", "footnote"],
|
|
34
37
|
"text": {
|
|
35
38
|
"plain": "Note."
|
|
36
39
|
}
|
|
37
40
|
}
|
|
38
|
-
]
|
|
39
|
-
"role": [
|
|
40
|
-
"noteref"
|
|
41
|
-
],
|
|
42
|
-
"text": {
|
|
43
|
-
"plain": "2",
|
|
44
|
-
"language": "de"
|
|
45
|
-
}
|
|
41
|
+
]
|
|
46
42
|
}
|
|
47
|
-
]
|
|
48
|
-
"role": [
|
|
49
|
-
"paragraph"
|
|
50
|
-
],
|
|
51
|
-
"text": {
|
|
52
|
-
"plain": "Das Wort hier, dort.",
|
|
53
|
-
"ssml": "Das Wort „<readium:noteref id=\"n\" />“ hier, »<readium:noteref id=\"m\" />« dort.",
|
|
54
|
-
"language": "de"
|
|
55
|
-
}
|
|
43
|
+
]
|
|
56
44
|
},
|
|
57
45
|
{
|
|
46
|
+
"role": ["paragraph"],
|
|
47
|
+
"text": {
|
|
48
|
+
"language": "de",
|
|
49
|
+
"plain": "Er sagt «Hallo» «Welt».",
|
|
50
|
+
"ssml": "Er sagt «Hallo»<readium:noteref id=\"o\" /> «Welt»."
|
|
51
|
+
},
|
|
58
52
|
"children": [
|
|
59
53
|
{
|
|
54
|
+
"role": ["noteref"],
|
|
60
55
|
"id": "o",
|
|
56
|
+
"text": {
|
|
57
|
+
"language": "de",
|
|
58
|
+
"plain": "3"
|
|
59
|
+
},
|
|
61
60
|
"children": [
|
|
62
61
|
{
|
|
63
|
-
"role": [
|
|
64
|
-
"aside",
|
|
65
|
-
"footnote"
|
|
66
|
-
],
|
|
62
|
+
"role": ["aside", "footnote"],
|
|
67
63
|
"text": {
|
|
68
64
|
"plain": "Note."
|
|
69
65
|
}
|
|
70
66
|
}
|
|
71
|
-
]
|
|
72
|
-
"role": [
|
|
73
|
-
"noteref"
|
|
74
|
-
],
|
|
75
|
-
"text": {
|
|
76
|
-
"plain": "3",
|
|
77
|
-
"language": "de"
|
|
78
|
-
}
|
|
67
|
+
]
|
|
79
68
|
}
|
|
80
|
-
]
|
|
81
|
-
"role": [
|
|
82
|
-
"paragraph"
|
|
83
|
-
],
|
|
84
|
-
"text": {
|
|
85
|
-
"plain": "Er sagt «Hallo» «Welt».",
|
|
86
|
-
"ssml": "Er sagt «Hallo»<readium:noteref id=\"o\" /> «Welt».",
|
|
87
|
-
"language": "de"
|
|
88
|
-
}
|
|
69
|
+
]
|
|
89
70
|
},
|
|
90
71
|
{
|
|
72
|
+
"role": ["paragraph"],
|
|
73
|
+
"text": {
|
|
74
|
+
"language": "de",
|
|
75
|
+
"plain": "Er sagt »Hallo« »Welt«.",
|
|
76
|
+
"ssml": "Er sagt »Hallo«<readium:noteref id=\"p\" /> »Welt«."
|
|
77
|
+
},
|
|
91
78
|
"children": [
|
|
92
79
|
{
|
|
80
|
+
"role": ["noteref"],
|
|
93
81
|
"id": "p",
|
|
82
|
+
"text": {
|
|
83
|
+
"language": "de",
|
|
84
|
+
"plain": "4"
|
|
85
|
+
},
|
|
94
86
|
"children": [
|
|
95
87
|
{
|
|
96
|
-
"role": [
|
|
97
|
-
"aside",
|
|
98
|
-
"footnote"
|
|
99
|
-
],
|
|
88
|
+
"role": ["aside", "footnote"],
|
|
100
89
|
"text": {
|
|
101
90
|
"plain": "Note."
|
|
102
91
|
}
|
|
103
92
|
}
|
|
104
|
-
]
|
|
105
|
-
"role": [
|
|
106
|
-
"noteref"
|
|
107
|
-
],
|
|
108
|
-
"text": {
|
|
109
|
-
"plain": "4",
|
|
110
|
-
"language": "de"
|
|
111
|
-
}
|
|
93
|
+
]
|
|
112
94
|
}
|
|
113
|
-
]
|
|
114
|
-
"role": [
|
|
115
|
-
"paragraph"
|
|
116
|
-
],
|
|
117
|
-
"text": {
|
|
118
|
-
"plain": "Er sagt »Hallo« »Welt«.",
|
|
119
|
-
"ssml": "Er sagt »Hallo«<readium:noteref id=\"p\" /> »Welt«.",
|
|
120
|
-
"language": "de"
|
|
121
|
-
}
|
|
95
|
+
]
|
|
122
96
|
}
|
|
123
97
|
]
|
|
124
98
|
}
|