@amermathsoc/texml-to-html 18.7.0 → 19.0.1

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.
Files changed (83) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/README.md +41 -2
  3. package/lib/elements/email.js +1 -1
  4. package/lib/elements/toc.js +1 -1
  5. package/lib/transformer.js +1 -0
  6. package/package.json +2 -2
  7. package/test/article-alttitle-meta-snapshot.json +1 -1
  8. package/test/book--metadata.xml +2 -2
  9. package/test/book.xml +2 -2
  10. package/test/element-email.js +1 -1
  11. package/test/snapshots/article--alttitle.html +1 -1
  12. package/test/snapshots/article.html +1 -1
  13. package/test/snapshots/texml-tests/amsbook.html +3 -10
  14. package/test/snapshots/texml-tests/amsbook.xml +2 -25
  15. package/test/snapshots/texml-tests/amsrefs.html +2 -0
  16. package/test/snapshots/texml-tests/amsrefs.xml +2 -0
  17. package/test/snapshots/texml-tests/amsthm-swap.html +81 -0
  18. package/test/snapshots/texml-tests/amsthm-swap.xml +59 -0
  19. package/test/snapshots/texml-tests/appendix-book.html +74 -0
  20. package/test/snapshots/texml-tests/appendix-book.xml +142 -0
  21. package/test/snapshots/texml-tests/article.html +2 -2
  22. package/test/snapshots/texml-tests/article.xml +10 -2
  23. package/test/snapshots/texml-tests/arxiv.html +56 -0
  24. package/test/snapshots/texml-tests/arxiv.xml +34 -0
  25. package/test/snapshots/texml-tests/{framebox.html → aufm.html} +5 -9
  26. package/test/snapshots/texml-tests/{framebox.xml → aufm.xml} +2 -8
  27. package/test/snapshots/texml-tests/autoref.html +10 -7
  28. package/test/snapshots/texml-tests/autoref.xml +14 -8
  29. package/test/snapshots/texml-tests/babel.html +3 -0
  30. package/test/snapshots/texml-tests/babel.xml +5 -0
  31. package/test/snapshots/texml-tests/book-app.html +10 -4
  32. package/test/snapshots/texml-tests/book-app.xml +18 -6
  33. package/test/snapshots/texml-tests/book.html +3 -6
  34. package/test/snapshots/texml-tests/book.xml +4 -14
  35. package/test/snapshots/texml-tests/caption.html +40 -0
  36. package/test/snapshots/texml-tests/caption.xml +18 -0
  37. package/test/snapshots/texml-tests/cite.xml +1 -1
  38. package/test/snapshots/texml-tests/cleveref.html +89 -53
  39. package/test/snapshots/texml-tests/cleveref.xml +65 -53
  40. package/test/snapshots/texml-tests/drm.xml +2 -2
  41. package/test/snapshots/texml-tests/euscript.html +40 -0
  42. package/test/snapshots/texml-tests/euscript.xml +18 -0
  43. package/test/snapshots/texml-tests/expl3.html +38 -0
  44. package/test/snapshots/texml-tests/expl3.xml +16 -0
  45. package/test/snapshots/texml-tests/extarrows.html +42 -0
  46. package/test/snapshots/texml-tests/extarrows.xml +28 -0
  47. package/test/snapshots/texml-tests/footnote.xml +2 -2
  48. package/test/snapshots/texml-tests/framedboxes.html +45 -0
  49. package/test/snapshots/texml-tests/framedboxes.xml +23 -0
  50. package/test/snapshots/texml-tests/gsm_l.html +25 -17
  51. package/test/snapshots/texml-tests/gsm_l.xml +47 -35
  52. package/test/snapshots/texml-tests/i283.html +41 -0
  53. package/test/snapshots/texml-tests/i283.xml +50 -0
  54. package/test/snapshots/texml-tests/index.html +44 -0
  55. package/test/snapshots/texml-tests/index.xml +22 -0
  56. package/test/snapshots/texml-tests/lastkern.html +39 -0
  57. package/test/snapshots/texml-tests/lastkern.xml +17 -0
  58. package/test/snapshots/texml-tests/longtable.html +3 -1
  59. package/test/snapshots/texml-tests/longtable.xml +4 -2
  60. package/test/snapshots/texml-tests/maketitle.html +27 -8
  61. package/test/snapshots/texml-tests/maketitle.xml +28 -2
  62. package/test/snapshots/texml-tests/manfnt.html +42 -0
  63. package/test/snapshots/texml-tests/manfnt.xml +20 -0
  64. package/test/snapshots/texml-tests/mathscr.html +40 -0
  65. package/test/snapshots/texml-tests/mathscr.xml +18 -0
  66. package/test/snapshots/texml-tests/metadata.html +1 -1
  67. package/test/snapshots/texml-tests/metadata.xml +2 -3
  68. package/test/snapshots/texml-tests/nameref.xml +1 -1
  69. package/test/snapshots/texml-tests/names.html +119 -0
  70. package/test/snapshots/texml-tests/names.xml +111 -0
  71. package/test/snapshots/texml-tests/natbib.html +27 -0
  72. package/test/snapshots/texml-tests/natbib.xml +46 -0
  73. package/test/snapshots/texml-tests/part.html +56 -0
  74. package/test/snapshots/texml-tests/part.xml +100 -0
  75. package/test/snapshots/texml-tests/ref.html +52 -17
  76. package/test/snapshots/texml-tests/ref.xml +28 -17
  77. package/test/snapshots/texml-tests/strcmp.html +2 -0
  78. package/test/snapshots/texml-tests/strcmp.xml +2 -0
  79. package/test/snapshots/texml-tests/subfig.html +1 -1
  80. package/test/snapshots/texml-tests/subfig.xml +3 -3
  81. package/test/snapshots/texml-tests/tableofcontents.xml +2 -2
  82. package/test/snapshots/texml-tests/xmllabel.html +44 -0
  83. package/test/snapshots/texml-tests/xmllabel.xml +24 -0
@@ -0,0 +1,142 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!DOCTYPE book PUBLIC "-//NLM//DTD BITS Book Interchange DTD v2.1 20180401//EN" "BITS-book2.dtd">
3
+ <book xmlns:xlink="http://www.w3.org/1999/xlink">
4
+ <book-meta>
5
+ <book-title-group>
6
+ <book-title>Sample book with appendix</book-title>
7
+ </book-title-group>
8
+ <contrib-group content-type="authors">
9
+ <contrib contrib-type="author">
10
+ <string-name>Jane Doe</string-name>
11
+ </contrib>
12
+ </contrib-group>
13
+ </book-meta>
14
+ <front-matter id="ltxid1">
15
+ <toc id="ltxid2">
16
+ <toc-title-group>
17
+ <title>Contents</title>
18
+ </toc-title-group>
19
+ <toc-entry specific-use="epub-opening-page">
20
+ <title>Publisher’s Notice</title>
21
+ <nav-pointer rid="ltxid3"/>
22
+ </toc-entry>
23
+ <toc-entry specific-use="chapter">
24
+ <label>Chapter 1<x>.</x></label>
25
+ <title>Chapter title</title>
26
+ <nav-pointer rid="ltxid5"/>
27
+ <toc-entry specific-use="section">
28
+ <label>1<x>.</x></label>
29
+ <title>Introduction</title>
30
+ <nav-pointer rid="ltxid6"/>
31
+ </toc-entry>
32
+ </toc-entry>
33
+ <toc-entry specific-use="chapter">
34
+ <label>Appendix A<x>.</x></label>
35
+ <title>Esoteric Secrets</title>
36
+ <nav-pointer rid="ltxid9"/>
37
+ <toc-entry specific-use="section">
38
+ <label>1<x>.</x></label>
39
+ <title>Appendix section</title>
40
+ <nav-pointer rid="ltxid10"/>
41
+ </toc-entry>
42
+ </toc-entry>
43
+ <toc-entry specific-use="chapter">
44
+ <title>Esotericer Secrets</title>
45
+ <nav-pointer rid="ltxid12"/>
46
+ <toc-entry specific-use="section">
47
+ <label>2<x>.</x></label>
48
+ <title>Another appendix section</title>
49
+ <nav-pointer rid="ltxid13"/>
50
+ </toc-entry>
51
+ </toc-entry>
52
+ <toc-entry specific-use="chapter">
53
+ <label>Appendix B<x>.</x></label>
54
+ <title>Esotericest Secrets</title>
55
+ <nav-pointer rid="ltxid14"/>
56
+ <toc-entry specific-use="section">
57
+ <title>Shout outs</title>
58
+ <nav-pointer rid="ltxid15"/>
59
+ </toc-entry>
60
+ </toc-entry>
61
+ </toc>
62
+ <notes id="ltxid3" notes-type="publishers-note" specific-use="epub-opening-page">
63
+ <title>Publisher’s Notice</title>
64
+ <p>The <ext-link xlink:href="https://www.ams.org">American Mathematical Society</ext-link> has provided this ebook to you without Digital Rights Management (DRM) software applied so that you can enjoy reading it on your personal devices. This ebook is for your personal use only and must not be made publicly available in any way. You may not copy, reproduce, or upload this ebook except to read it on your personal devices.</p>
65
+ </notes>
66
+ </front-matter>
67
+ <book-body id="ltxid4">
68
+ <book-part>
69
+ <body>
70
+ <sec disp-level="1" id="ltxid5" specific-use="chapter">
71
+ <label>Chapter 1</label>
72
+ <title>Chapter title</title>
73
+ <sec disp-level="2" id="ltxid6" specific-use="section">
74
+ <label>1<x>.</x></label>
75
+ <title>Introduction</title>
76
+ <p>Here is some text.</p>
77
+ </sec>
78
+ </sec>
79
+ </body>
80
+ </book-part>
81
+ </book-body>
82
+ <book-back id="ltxid7">
83
+ <book-app-group id="ltxid8">
84
+ <book-part-meta>
85
+ <title-group>
86
+ <title>Appendixes</title>
87
+ </title-group>
88
+ </book-part-meta>
89
+ <book-app disp-level="1" id="ltxid9" specific-use="chapter">
90
+ <book-part-meta>
91
+ <title-group>
92
+ <label>Appendix A</label>
93
+ <title>Esoteric Secrets</title>
94
+ </title-group>
95
+ </book-part-meta>
96
+ <body>
97
+ <p>Some text.</p>
98
+ <sec disp-level="2" id="ltxid10" specific-use="section">
99
+ <label>1<x>.</x></label>
100
+ <title>Appendix section</title>
101
+ <p>Some text.</p>
102
+ <sec disp-level="3" id="ltxid11" specific-use="subsection">
103
+ <label>1.1<x>.</x></label>
104
+ <title>Appendix subsection<x>.</x></title>
105
+ <p>Some text.</p>
106
+ </sec>
107
+ </sec>
108
+ </body>
109
+ </book-app>
110
+ <book-app disp-level="1" id="ltxid12" specific-use="chapter">
111
+ <book-part-meta>
112
+ <title-group>
113
+ <label>Appendix</label>
114
+ <title>Esotericer Secrets</title>
115
+ </title-group>
116
+ </book-part-meta>
117
+ <body>
118
+ <p>Some text.</p>
119
+ <sec disp-level="2" id="ltxid13" specific-use="section">
120
+ <label>2<x>.</x></label>
121
+ <title>Another appendix section</title>
122
+ <p>Some text.</p>
123
+ </sec>
124
+ </body>
125
+ </book-app>
126
+ <book-app disp-level="1" id="ltxid14" specific-use="chapter">
127
+ <book-part-meta>
128
+ <title-group>
129
+ <label>Appendix B</label>
130
+ <title>Esotericest Secrets</title>
131
+ </title-group>
132
+ </book-part-meta>
133
+ <body>
134
+ <p>Here is the real truth.</p>
135
+ </body>
136
+ </book-app>
137
+ </book-app-group>
138
+ <ack disp-level="2" id="ltxid15" specific-use="section">
139
+ <title>Shout outs</title>
140
+ </ack>
141
+ </book-back>
142
+ </book>
@@ -45,8 +45,8 @@
45
45
  },
46
46
  "keywords": []
47
47
  }</script><h1>Sample article</h1><div data-ams-doc="funding-group">
48
- <p>A</p>
49
- <p>B</p>
48
+ <p>A<ams-x>.</ams-x></p>
49
+ <p>B<ams-x>.</ams-x></p>
50
50
  </div></section>
51
51
 
52
52
  <section role="doc-introduction" id="ltxid3" data-ams-doc="section" data-ams-doc-level="1"><h2><span data-ams-doc="label">1<ams-x>.</ams-x></span> <span data-ams-doc="title">Introduction</span></h2>
@@ -8,15 +8,23 @@
8
8
  </title-group>
9
9
  <contrib-group content-type="authors">
10
10
  <contrib contrib-type="author">
11
+ <name>
12
+ <surname>Doe</surname>
13
+ <given-names>Jane</given-names>
14
+ </name>
11
15
  <string-name>Jane Doe</string-name>
12
16
  </contrib>
13
17
  <contrib contrib-type="author">
18
+ <name>
19
+ <surname>Bull</surname>
20
+ <given-names>John</given-names>
21
+ </name>
14
22
  <string-name>John Bull</string-name>
15
23
  </contrib>
16
24
  </contrib-group>
17
25
  <funding-group>
18
- <funding-statement>A</funding-statement>
19
- <funding-statement>B</funding-statement>
26
+ <funding-statement>A<x>.</x></funding-statement>
27
+ <funding-statement>B<x>.</x></funding-statement>
20
28
  </funding-group>
21
29
  </article-meta>
22
30
  </front>
@@ -0,0 +1,56 @@
1
+ <!DOCTYPE html> <html dir="ltr" lang="en"><head><meta charset="utf-8"><meta content="width=device-width, initial-scale=1" name="viewport"><title>arXiv</title></head><body><section data-ams-doc="article">
2
+ <section data-ams-doc="frontmatter"><script type="application/json">{
3
+ "title": "arXiv",
4
+ "alttitle": "arXiv",
5
+ "identifiers": {
6
+ "AMS": {},
7
+ "crossref": {},
8
+ "uri": {},
9
+ "basename": null
10
+ },
11
+ "relatedArticles": {},
12
+ "publishers": [],
13
+ "contributors": {},
14
+ "permissions": {},
15
+ "journal": {
16
+ "identifiers": {
17
+ "AMS": {},
18
+ "issn": {
19
+ "print": "",
20
+ "electronic": ""
21
+ }
22
+ }
23
+ },
24
+ "customMeta": {},
25
+ "categories": {},
26
+ "byline": "",
27
+ "volumeInfo": {},
28
+ "history": {
29
+ "rev-recd": []
30
+ },
31
+ "keywords": []
32
+ }</script><h1>arXiv</h1></section>
33
+
34
+ <section id="ltxid3" data-ams-doc="section" data-ams-doc-level="1">
35
+ <p>hello, world</p>
36
+ <p><a href="https://arxiv.org/abs/0010262">
37
+ <span data-ams-style="monospace">arXiv:0010262 [math.SG]</span>
38
+ </a></p>
39
+ <p><a href="https://arxiv.org/abs/math.SG/0010262">
40
+ <span data-ams-style="monospace">arXiv:math.SG/0010262</span>
41
+ </a></p>
42
+ <p><a href="https://arxiv.org/abs/math/0010262">
43
+ <span data-ams-style="monospace">arXiv:math/0010262</span>
44
+ </a></p>
45
+ <p><a href="https://arxiv.org/abs/SG/0010262">
46
+ <span data-ams-style="monospace">arXiv:SG/0010262</span>
47
+ </a></p>
48
+ <p><a href="https://arxiv.org/abs/sg/0010262">
49
+ <span data-ams-style="monospace">arXiv:sg/0010262</span>
50
+ </a></p>
51
+ <p><a href="https://arxiv.org/abs/0010262">
52
+ <span data-ams-style="monospace">arXiv:0010262</span>
53
+ </a></p>
54
+ </section>
55
+
56
+ </section></body></html>
@@ -0,0 +1,34 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE article PUBLIC "-//AMS TEXML//DTD MODIFIED JATS (Z39.96) Journal Archiving and Interchange DTD with MathML3 v1.3d2 20201130//EN" "texml-jats-1-3d2.dtd">
3
+ <article xmlns:xlink="http://www.w3.org/1999/xlink">
4
+ <front id="ltxid1">
5
+ <article-meta>
6
+ <title-group>
7
+ <article-title>arXiv</article-title>
8
+ </title-group>
9
+ </article-meta>
10
+ </front>
11
+ <body id="ltxid2">
12
+ <sec disp-level="1" id="ltxid3" specific-use="section">
13
+ <p>hello, world</p>
14
+ <p><ext-link xlink:href="https://arxiv.org/abs/0010262">
15
+ <monospace>arXiv:0010262 [math.SG]</monospace>
16
+ </ext-link></p>
17
+ <p><ext-link xlink:href="https://arxiv.org/abs/math.SG/0010262">
18
+ <monospace>arXiv:math.SG/0010262</monospace>
19
+ </ext-link></p>
20
+ <p><ext-link xlink:href="https://arxiv.org/abs/math/0010262">
21
+ <monospace>arXiv:math/0010262</monospace>
22
+ </ext-link></p>
23
+ <p><ext-link xlink:href="https://arxiv.org/abs/SG/0010262">
24
+ <monospace>arXiv:SG/0010262</monospace>
25
+ </ext-link></p>
26
+ <p><ext-link xlink:href="https://arxiv.org/abs/sg/0010262">
27
+ <monospace>arXiv:sg/0010262</monospace>
28
+ </ext-link></p>
29
+ <p><ext-link xlink:href="https://arxiv.org/abs/0010262">
30
+ <monospace>arXiv:0010262</monospace>
31
+ </ext-link></p>
32
+ </sec>
33
+ </body>
34
+ </article>
@@ -1,7 +1,7 @@
1
- <!DOCTYPE html> <html dir="ltr" lang="en"><head><meta charset="utf-8"><meta content="width=device-width, initial-scale=1" name="viewport"><title>framebox</title></head><body><section data-ams-doc="article">
1
+ <!DOCTYPE html> <html dir="ltr" lang="en"><head><meta charset="utf-8"><meta content="width=device-width, initial-scale=1" name="viewport"><title>aufm</title></head><body><section data-ams-doc="article">
2
2
  <section data-ams-doc="frontmatter"><script type="application/json">{
3
- "title": "framebox",
4
- "alttitle": "framebox",
3
+ "title": "aufm",
4
+ "alttitle": "aufm",
5
5
  "identifiers": {
6
6
  "AMS": {},
7
7
  "crossref": {},
@@ -29,15 +29,11 @@
29
29
  "rev-recd": []
30
30
  },
31
31
  "keywords": []
32
- }</script><h1>framebox</h1></section>
32
+ }</script><h1>aufm</h1></section>
33
33
 
34
34
  <section id="ltxid3" data-ams-doc="section" data-ams-doc-level="1">
35
35
  <p>hello, world</p>
36
- <p>
37
- <span data-ams-doc="math block"><tex-math>\begin{equation*}
38
- \fbox{$p\mid T(\ell )$.}
39
- \end{equation*}</tex-math></span>
40
- </p>
36
+ <span data-ams-doc="attribution">John Doe<br>Miskatonic University</span>
41
37
  </section>
42
38
 
43
39
  </section></body></html>
@@ -4,20 +4,14 @@
4
4
  <front id="ltxid1">
5
5
  <article-meta>
6
6
  <title-group>
7
- <article-title>framebox</article-title>
7
+ <article-title>aufm</article-title>
8
8
  </title-group>
9
9
  </article-meta>
10
10
  </front>
11
11
  <body id="ltxid2">
12
12
  <sec disp-level="1" id="ltxid3" specific-use="section">
13
13
  <p>hello, world</p>
14
- <p>
15
- <disp-formula content-type="math/tex">
16
- <tex-math>\begin{equation*}
17
- \fbox{<inline-formula content-type="math/tex"><tex-math>p\mid T(\ell )</tex-math></inline-formula>.}
18
- \end{equation*}</tex-math>
19
- </disp-formula>
20
- </p>
14
+ <attrib specific-use="aufm">John Doe<break/>Miskatonic University</attrib>
21
15
  </sec>
22
16
  </body>
23
17
  </article>
@@ -57,15 +57,18 @@
57
57
  </section>
58
58
 
59
59
  <section id="ltxid11" data-ams-doc="app-group" data-ams-doc-level="0">
60
- <section role="doc-appendix" id="ltxid12" data-ams-doc="chapter" data-ams-doc-level="0"><h1><span data-ams-doc="label">Appendix A</span> <span data-ams-doc="title">Appendix title</span></h1>
60
+ <section role="doc-appendix" id="ltxid12" data-ams-doc="chapter" data-ams-doc-level="0">
61
61
 
62
+ <h1><span data-ams-doc="label">Appendix A</span> <span data-ams-doc="title">Appendix title</span></h1>
63
+
64
+
65
+ <p>Appendix text.</p>
66
+ <section id="ltxid13" data-ams-doc="section" data-ams-doc-level="1"><h2><span data-ams-doc="label">1<ams-x>.</ams-x></span> <span data-ams-doc="title">Appendix section title</span></h2>
67
+
68
+
69
+ <p>Appendix section title.</p>
70
+ </section>
62
71
 
63
- <p>Appendix text.</p>
64
- <section id="ltxid13" data-ams-doc="section" data-ams-doc-level="1"><h2><span data-ams-doc="label">1<ams-x>.</ams-x></span> <span data-ams-doc="title">Appendix section title</span></h2>
65
-
66
-
67
- <p>Appendix section title.</p>
68
- </section>
69
72
  </section>
70
73
  </section>
71
74
 
@@ -61,14 +61,20 @@
61
61
  <book-back id="ltxid10">
62
62
  <book-app-group id="ltxid11">
63
63
  <book-app disp-level="1" id="ltxid12" specific-use="chapter">
64
- <label>Appendix A</label>
65
- <title>Appendix title</title>
66
- <p>Appendix text.</p>
67
- <book-app disp-level="2" id="ltxid13" specific-use="section">
68
- <label>1<x>.</x></label>
69
- <title>Appendix section title</title>
70
- <p>Appendix section title.</p>
71
- </book-app>
64
+ <book-part-meta>
65
+ <title-group>
66
+ <label>Appendix A</label>
67
+ <title>Appendix title</title>
68
+ </title-group>
69
+ </book-part-meta>
70
+ <body>
71
+ <p>Appendix text.</p>
72
+ <sec disp-level="2" id="ltxid13" specific-use="section">
73
+ <label>1<x>.</x></label>
74
+ <title>Appendix section title</title>
75
+ <p>Appendix section title.</p>
76
+ </sec>
77
+ </body>
72
78
  </book-app>
73
79
  </book-app-group>
74
80
  </book-back>
@@ -0,0 +1,3 @@
1
+ <!DOCTYPE html> <html dir="ltr" lang="en"><head><meta charset="utf-8"><meta content="width=device-width, initial-scale=1" name="viewport"><title>AMS Publication</title></head><body><section data-ams-doc="article">
2
+ <p>«hello, world»</p>
3
+ </section></body></html>
@@ -0,0 +1,5 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE article PUBLIC "-//AMS TEXML//DTD MODIFIED JATS (Z39.96) Journal Archiving and Interchange DTD with MathML3 v1.3d2 20201130//EN" "texml-jats-1-3d2.dtd">
3
+ <article xmlns:xlink="http://www.w3.org/1999/xlink">
4
+ <p>«hello, world»</p>
5
+ </article>
@@ -6,15 +6,21 @@
6
6
  </section>
7
7
 
8
8
  <section id="ltxid3" data-ams-doc="app-group" data-ams-doc-level="0">
9
- <section role="doc-appendix" id="ltxid4" data-ams-doc="chapter" data-ams-doc-level="0"><h1><span data-ams-doc="label">Appendix</span> <span data-ams-doc="title">An Appendix</span></h1>
9
+ <section role="doc-appendix" id="ltxid4" data-ams-doc="chapter" data-ams-doc-level="0">
10
10
 
11
+ <h1><span data-ams-doc="label">Appendix</span> <span data-ams-doc="title">An Appendix</span></h1>
12
+
13
+
14
+ <p>hello, appendix</p>
11
15
 
12
- <p>hello, appendix</p>
13
16
  </section>
14
- <section role="doc-appendix" id="ltxid5" data-ams-doc="chapter" data-ams-doc-level="0"><h1><span data-ams-doc="label">Appendix</span> <span data-ams-doc="title">Another Appendix</span></h1>
17
+ <section role="doc-appendix" id="ltxid5" data-ams-doc="chapter" data-ams-doc-level="0">
18
+
19
+ <h1><span data-ams-doc="label">Appendix</span> <span data-ams-doc="title">Another Appendix</span></h1>
20
+
15
21
 
22
+ <p>hello, other appendix</p>
16
23
 
17
- <p>hello, other appendix</p>
18
24
  </section>
19
25
  </section>
20
26
 
@@ -9,14 +9,26 @@
9
9
  <book-back id="ltxid2">
10
10
  <book-app-group id="ltxid3">
11
11
  <book-app disp-level="1" id="ltxid4" specific-use="chapter">
12
- <label>Appendix</label>
13
- <title>An Appendix</title>
14
- <p>hello, appendix</p>
12
+ <book-part-meta>
13
+ <title-group>
14
+ <label>Appendix</label>
15
+ <title>An Appendix</title>
16
+ </title-group>
17
+ </book-part-meta>
18
+ <body>
19
+ <p>hello, appendix</p>
20
+ </body>
15
21
  </book-app>
16
22
  <book-app disp-level="1" id="ltxid5" specific-use="chapter">
17
- <label>Appendix</label>
18
- <title>Another Appendix</title>
19
- <p>hello, other appendix</p>
23
+ <book-part-meta>
24
+ <title-group>
25
+ <label>Appendix</label>
26
+ <title>Another Appendix</title>
27
+ </title-group>
28
+ </book-part-meta>
29
+ <body>
30
+ <p>hello, other appendix</p>
31
+ </body>
20
32
  </book-app>
21
33
  </book-app-group>
22
34
  </book-back>
@@ -1,15 +1,12 @@
1
- <!DOCTYPE html> <html dir="ltr" lang="en"><head><meta charset="utf-8"><meta content="width=device-width, initial-scale=1" name="viewport"><title>AMS Publication</title></head><body>
2
- <section data-ams-doc="titlepage"><script type="application/json">{"book":{"identifiers":{"AMS":{},"crossref":{},"issn":{},"isbn":{},"loc":{},"basename":null},"title":""},"publishers":[],"contributors":{"authors":[{"name":"Jane Doe","bio":"","affiliations":[],"emails":[]},{"name":"John Bull","bio":"","affiliations":[],"emails":[]}]},"permissions":{},"history":{}}</script></section>
1
+ <!DOCTYPE html> <html dir="ltr" lang="en"><head><meta charset="utf-8"><meta content="width=device-width, initial-scale=1" name="viewport"><title>Sample book</title></head><body>
2
+ <section data-ams-doc="titlepage"><script type="application/json">{"book":{"identifiers":{"AMS":{},"crossref":{},"issn":{},"isbn":{},"loc":{},"basename":null},"title":"Sample book","alttitle":"Sample book"},"publishers":[],"contributors":{"authors":[{"name":"Jane Doe","bio":"","affiliations":[],"emails":[]},{"name":"John Bull","bio":"","affiliations":[],"emails":[]}]},"permissions":{},"history":{}}</script></section>
3
3
 
4
- <nav id="ltxid2" data-ams-doc-level="0" role="doc-toc"><h1><span data-ams-doc="title">Contents</span></h1><ol><li><a data-ams-ref="chapter" href="#ltxid3"><span data-ams-doc="title">Preface</span></a></li><li><a data-ams-ref="chapter" href="#ltxid5"><span data-ams-doc="label">Chapter 1<ams-x>.</ams-x></span> <span data-ams-doc="title">Main matter</span></a></li><li><a data-ams-ref="null" href="#ltxid8"><span data-ams-doc="title">Bibliography</span></a></li></ol></nav>
4
+ <nav id="ltxid2" data-ams-doc-level="0" role="doc-toc"><h1><span data-ams-doc="title">Contents</span></h1><ol><li><a data-ams-ref="chapter" href="#ltxid3"><span data-ams-doc="title">Preface</span></a></li><li><a data-ams-ref="chapter" href="#ltxid5"><span data-ams-doc="label">Chapter 1<ams-x>.</ams-x></span> <span data-ams-doc="title">Main matter</span></a></li><li><a data-ams-ref="ref-list" href="#ltxid8"><span data-ams-doc="title">Bibliography</span></a></li></ol></nav>
5
5
  <section id="ltxid3" data-ams-doc-level="0" role="doc-preface">
6
6
 
7
7
  <h1><span data-ams-doc="title">Preface</span></h1>
8
8
 
9
9
 
10
- <section data-ams-byline="Jane Doe and John Bull" data-ams-contributors="{&quot;authors&quot;:[{&quot;name&quot;:&quot;Jane Doe&quot;,&quot;bio&quot;:&quot;&quot;,&quot;affiliations&quot;:[],&quot;emails&quot;:[]},{&quot;name&quot;:&quot;John Bull&quot;,&quot;bio&quot;:&quot;&quot;,&quot;affiliations&quot;:[],&quot;emails&quot;:[]}]}" data-ams-doc="sec-meta">
11
-
12
- </section>
13
10
  <p>Here is the preface.</p>
14
11
 
15
12
  </section>
@@ -3,7 +3,7 @@
3
3
  <book xmlns:xlink="http://www.w3.org/1999/xlink">
4
4
  <book-meta>
5
5
  <book-title-group>
6
- <article-title>Sample book</article-title>
6
+ <book-title>Sample book</book-title>
7
7
  </book-title-group>
8
8
  <contrib-group content-type="authors">
9
9
  <contrib contrib-type="author">
@@ -20,9 +20,9 @@
20
20
  </book-meta>
21
21
  <front-matter id="ltxid1">
22
22
  <toc id="ltxid2">
23
- <title-group>
23
+ <toc-title-group>
24
24
  <title>Contents</title>
25
- </title-group>
25
+ </toc-title-group>
26
26
  <toc-entry specific-use="chapter">
27
27
  <title>Preface</title>
28
28
  <nav-pointer rid="ltxid3"/>
@@ -32,7 +32,7 @@
32
32
  <title>Main matter</title>
33
33
  <nav-pointer rid="ltxid5"/>
34
34
  </toc-entry>
35
- <toc-entry>
35
+ <toc-entry specific-use="ref-list">
36
36
  <title>Bibliography</title>
37
37
  <nav-pointer rid="ltxid8"/>
38
38
  </toc-entry>
@@ -44,16 +44,6 @@
44
44
  </title-group>
45
45
  </book-part-meta>
46
46
  <named-book-part-body>
47
- <sec-meta>
48
- <contrib-group content-type="authors">
49
- <contrib contrib-type="author">
50
- <string-name>Jane Doe</string-name>
51
- </contrib>
52
- <contrib contrib-type="author">
53
- <string-name>John Bull</string-name>
54
- </contrib>
55
- </contrib-group>
56
- </sec-meta>
57
47
  <p>Here is the preface.</p>
58
48
  </named-book-part-body>
59
49
  </preface>
@@ -0,0 +1,40 @@
1
+ <!DOCTYPE html> <html dir="ltr" lang="en"><head><meta charset="utf-8"><meta content="width=device-width, initial-scale=1" name="viewport"><title>caption</title></head><body><section data-ams-doc="article">
2
+ <section data-ams-doc="frontmatter"><script type="application/json">{
3
+ "title": "caption",
4
+ "alttitle": "caption",
5
+ "identifiers": {
6
+ "AMS": {},
7
+ "crossref": {},
8
+ "uri": {},
9
+ "basename": null
10
+ },
11
+ "relatedArticles": {},
12
+ "publishers": [],
13
+ "contributors": {},
14
+ "permissions": {},
15
+ "journal": {
16
+ "identifiers": {
17
+ "AMS": {},
18
+ "issn": {
19
+ "print": "",
20
+ "electronic": ""
21
+ }
22
+ }
23
+ },
24
+ "customMeta": {},
25
+ "categories": {},
26
+ "byline": "",
27
+ "volumeInfo": {},
28
+ "history": {
29
+ "rev-recd": []
30
+ },
31
+ "keywords": []
32
+ }</script><h1>caption</h1></section>
33
+
34
+ <section id="ltxid3" data-ams-doc="section" data-ams-doc-level="1">
35
+ <p>hello, world</p>
36
+ <figure data-ams-specific-use="figure" id="ltxid4" data-ams-position="anchor" data-ams-doc="fig"><figcaption><strong>Figure 1<ams-x>.</ams-x></strong><p>Here is a caption.</p></figcaption> Figure content.</figure>
37
+ <figure data-ams-specific-use="figure" id="ltxid5" data-ams-position="anchor" data-ams-doc="fig"><figcaption><strong>Figure 2<ams-x>.</ams-x></strong><p>Here is a caption.</p><p>Here is more caption.</p></figcaption> Figure content.</figure>
38
+ </section>
39
+
40
+ </section></body></html>
@@ -0,0 +1,18 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE article PUBLIC "-//AMS TEXML//DTD MODIFIED JATS (Z39.96) Journal Archiving and Interchange DTD with MathML3 v1.3d2 20201130//EN" "texml-jats-1-3d2.dtd">
3
+ <article xmlns:xlink="http://www.w3.org/1999/xlink">
4
+ <front id="ltxid1">
5
+ <article-meta>
6
+ <title-group>
7
+ <article-title>caption</article-title>
8
+ </title-group>
9
+ </article-meta>
10
+ </front>
11
+ <body id="ltxid2">
12
+ <sec disp-level="1" id="ltxid3" specific-use="section">
13
+ <p>hello, world</p>
14
+ <fig id="ltxid4" position="anchor" specific-use="figure"><label>Figure 1<x>.</x></label><caption><p>Here is a caption.</p></caption> Figure content.</fig>
15
+ <fig id="ltxid5" position="anchor" specific-use="figure"><label>Figure 2<x>.</x></label><caption><p>Here is a caption.</p><p>Here is more caption.</p></caption> Figure content.</fig>
16
+ </sec>
17
+ </body>
18
+ </article>
@@ -12,7 +12,7 @@
12
12
  <sec disp-level="1" id="ltxid3" specific-use="section">
13
13
  <p>See <cite-group><x>[</x><xref ref-type="bibr" rid="bibr-AGS" specific-use="cite">AGS10</xref><x>]</x></cite-group>.</p>
14
14
  <p>See <cite-group><x>[</x><xref ref-type="bibr" rid="bibr-AGS" specific-use="cite">AGS10</xref><x>, </x><xref ref-type="bibr" rid="bibr-AS" specific-use="cite">AS08</xref><x>]</x></cite-group>.</p>
15
- <p>See <cite-group><x>[</x><xref ref-type="bibr" rid="bibr-XXX" specific-use="unresolved cite"><monospace>?XXX</monospace></xref><x>]</x></cite-group>.</p>
15
+ <p>See <cite-group><x>[</x><xref ref-type="bibr" rid="bibr-XXX" specific-use="undefined cite"><monospace>?XXX</monospace></xref><x>]</x></cite-group>.</p>
16
16
  <p>See <cite-group><x>[</x><xref ref-type="bibr" rid="bibr-AGS" specific-use="cite">AGS10</xref><x>, </x><xref ref-type="bibr" rid="bibr-AS" specific-use="cite">AS08</xref><x>, </x><xref ref-type="bibr" rid="bibr-AC" specific-use="cite">AC96</xref><x>]</x></cite-group>.</p>
17
17
  <p>See <cite-group><x>[</x><xref ref-type="bibr" rid="bibr-AC" specific-use="cite">AC96<cite-detail><x>, </x>section 5</cite-detail></xref><x>]</x></cite-group>.</p>
18
18
  </sec>