@amermathsoc/texml-to-html 18.6.0 → 19.0.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.
Files changed (114) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/README.md +43 -3
  3. package/lib/elements/sec.js +4 -1
  4. package/lib/elements/toc-entry.js +1 -0
  5. package/lib/elements/toc.js +1 -1
  6. package/lib/transformer.js +12 -0
  7. package/package.json +2 -2
  8. package/test/book--metadata.xml +2 -2
  9. package/test/book.xml +3 -3
  10. package/test/element-toc-toc-entry.js +14 -3
  11. package/test/snapshots/book.html +1 -1
  12. package/test/snapshots/texml-tests/amsart.html +4 -1
  13. package/test/snapshots/texml-tests/amsart.xml +4 -0
  14. package/test/snapshots/texml-tests/amsbook.html +22 -0
  15. package/test/snapshots/texml-tests/amsbook.xml +61 -0
  16. package/test/snapshots/texml-tests/amscyr.html +2 -6
  17. package/test/snapshots/texml-tests/amscyr.xml +4 -8
  18. package/test/snapshots/texml-tests/amsfonts.html +1 -3
  19. package/test/snapshots/texml-tests/amsfonts.xml +2 -4
  20. package/test/snapshots/texml-tests/amsthm.html +1 -3
  21. package/test/snapshots/texml-tests/amsthm.xml +1 -3
  22. package/test/snapshots/texml-tests/appendix-book.html +74 -0
  23. package/test/snapshots/texml-tests/appendix-book.xml +142 -0
  24. package/test/snapshots/texml-tests/article.html +58 -0
  25. package/test/snapshots/texml-tests/article.xml +30 -0
  26. package/test/snapshots/texml-tests/autoref.html +3 -7
  27. package/test/snapshots/texml-tests/autoref.xml +4 -8
  28. package/test/snapshots/texml-tests/begincsname.html +2 -6
  29. package/test/snapshots/texml-tests/begincsname.xml +2 -6
  30. package/test/snapshots/texml-tests/book-app.html +0 -1
  31. package/test/snapshots/texml-tests/book-app.xml +1 -4
  32. package/test/snapshots/texml-tests/book.html +31 -0
  33. package/test/snapshots/texml-tests/book.xml +81 -0
  34. package/test/snapshots/texml-tests/booktabs.xml +1 -1
  35. package/test/snapshots/texml-tests/cases.html +4 -8
  36. package/test/snapshots/texml-tests/cases.xml +4 -8
  37. package/test/snapshots/texml-tests/ccicons.html +65 -0
  38. package/test/snapshots/texml-tests/ccicons.xml +43 -0
  39. package/test/snapshots/texml-tests/cite.html +1 -3
  40. package/test/snapshots/texml-tests/cite.xml +1 -3
  41. package/test/snapshots/texml-tests/citesort.html +7 -21
  42. package/test/snapshots/texml-tests/citesort.xml +7 -21
  43. package/test/snapshots/texml-tests/cleveref.html +38 -7
  44. package/test/snapshots/texml-tests/cleveref.xml +38 -7
  45. package/test/snapshots/texml-tests/csstring.html +2 -6
  46. package/test/snapshots/texml-tests/csstring.xml +2 -6
  47. package/test/snapshots/texml-tests/detokenize.html +6 -18
  48. package/test/snapshots/texml-tests/detokenize.xml +6 -18
  49. package/test/snapshots/texml-tests/drm.xml +6 -2
  50. package/test/snapshots/texml-tests/edef.html +2 -6
  51. package/test/snapshots/texml-tests/edef.xml +2 -6
  52. package/test/snapshots/texml-tests/empheq.html +2 -4
  53. package/test/snapshots/texml-tests/empheq.xml +2 -4
  54. package/test/snapshots/texml-tests/enclose.html +8 -24
  55. package/test/snapshots/texml-tests/enclose.xml +16 -32
  56. package/test/snapshots/texml-tests/expanded.html +2 -6
  57. package/test/snapshots/texml-tests/expanded.xml +2 -6
  58. package/test/snapshots/texml-tests/footnote.xml +1 -1
  59. package/test/snapshots/texml-tests/frac.html +2 -6
  60. package/test/snapshots/texml-tests/frac.xml +4 -8
  61. package/test/snapshots/texml-tests/graphics.html +7 -5
  62. package/test/snapshots/texml-tests/graphics.xml +7 -5
  63. package/test/snapshots/texml-tests/graphicx.html +14 -0
  64. package/test/snapshots/texml-tests/graphicx.xml +18 -0
  65. package/test/snapshots/texml-tests/gsm_l.html +26 -19
  66. package/test/snapshots/texml-tests/gsm_l.xml +80 -51
  67. package/test/snapshots/texml-tests/hbox.html +3 -7
  68. package/test/snapshots/texml-tests/hbox.xml +4 -8
  69. package/test/snapshots/texml-tests/hhline2.html +9 -0
  70. package/test/snapshots/texml-tests/hhline2.xml +11 -0
  71. package/test/snapshots/texml-tests/href.html +1 -3
  72. package/test/snapshots/texml-tests/href.xml +1 -3
  73. package/test/snapshots/texml-tests/hyperams.html +1 -3
  74. package/test/snapshots/texml-tests/hyperams.xml +1 -3
  75. package/test/snapshots/texml-tests/immediateassigned.html +2 -6
  76. package/test/snapshots/texml-tests/immediateassigned.xml +2 -6
  77. package/test/snapshots/texml-tests/immediateassignment.html +2 -6
  78. package/test/snapshots/texml-tests/immediateassignment.xml +2 -6
  79. package/test/snapshots/texml-tests/ltxthm.html +2 -2
  80. package/test/snapshots/texml-tests/ltxthm.xml +3 -3
  81. package/test/snapshots/texml-tests/maketitle.html +12 -6
  82. package/test/snapshots/texml-tests/maketitle.xml +9 -11
  83. package/test/snapshots/texml-tests/math.html +7 -21
  84. package/test/snapshots/texml-tests/math.xml +12 -26
  85. package/test/snapshots/texml-tests/meaning.html +2 -6
  86. package/test/snapshots/texml-tests/meaning.xml +2 -6
  87. package/test/snapshots/texml-tests/multline.html +8 -16
  88. package/test/snapshots/texml-tests/multline.xml +8 -16
  89. package/test/snapshots/texml-tests/noexpand.html +2 -6
  90. package/test/snapshots/texml-tests/noexpand.xml +2 -6
  91. package/test/snapshots/texml-tests/protected.html +3 -9
  92. package/test/snapshots/texml-tests/protected.xml +3 -9
  93. package/test/snapshots/texml-tests/ref.html +20 -0
  94. package/test/snapshots/texml-tests/ref.xml +23 -0
  95. package/test/snapshots/texml-tests/refrange.html +12 -24
  96. package/test/snapshots/texml-tests/refrange.xml +12 -24
  97. package/test/snapshots/texml-tests/showonlyrefs.html +14 -28
  98. package/test/snapshots/texml-tests/showonlyrefs.xml +14 -28
  99. package/test/snapshots/texml-tests/smash.html +1 -3
  100. package/test/snapshots/texml-tests/smash.xml +2 -4
  101. package/test/snapshots/texml-tests/string.html +2 -6
  102. package/test/snapshots/texml-tests/string.xml +2 -6
  103. package/test/snapshots/texml-tests/tableofcontents.html +1 -1
  104. package/test/snapshots/texml-tests/tableofcontents.xml +2 -2
  105. package/test/snapshots/texml-tests/tag.html +4 -8
  106. package/test/snapshots/texml-tests/tag.xml +4 -8
  107. package/test/snapshots/texml-tests/thm-restate.html +2 -4
  108. package/test/snapshots/texml-tests/thm-restate.xml +2 -4
  109. package/test/snapshots/texml-tests/unexpanded.html +2 -6
  110. package/test/snapshots/texml-tests/unexpanded.xml +2 -6
  111. package/test/snapshots/texml-tests/uri.html +3 -7
  112. package/test/snapshots/texml-tests/uri.xml +3 -7
  113. package/test/snapshots/texml-tests/verb.html +42 -0
  114. package/test/snapshots/texml-tests/verb.xml +20 -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="book-app">
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="book-app">
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="book-app">
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 id="ltxid9">
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
+ <app 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
+ </app>
108
+ </body>
109
+ </book-app>
110
+ <book-app id="ltxid12">
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
+ <app 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
+ </app>
124
+ </body>
125
+ </book-app>
126
+ <book-app id="ltxid14">
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>
@@ -0,0 +1,58 @@
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 article</title></head><body><section data-ams-doc="article">
2
+ <section data-ams-doc="frontmatter"><script type="application/json">{
3
+ "title": "Sample article",
4
+ "alttitle": "Sample article",
5
+ "identifiers": {
6
+ "AMS": {},
7
+ "crossref": {},
8
+ "uri": {},
9
+ "basename": null
10
+ },
11
+ "relatedArticles": {},
12
+ "publishers": [],
13
+ "contributors": {
14
+ "authors": [
15
+ {
16
+ "name": "Jane Doe",
17
+ "bio": "",
18
+ "affiliations": [],
19
+ "emails": []
20
+ },
21
+ {
22
+ "name": "John Bull",
23
+ "bio": "",
24
+ "affiliations": [],
25
+ "emails": []
26
+ }
27
+ ]
28
+ },
29
+ "permissions": {},
30
+ "journal": {
31
+ "identifiers": {
32
+ "AMS": {},
33
+ "issn": {
34
+ "print": "",
35
+ "electronic": ""
36
+ }
37
+ }
38
+ },
39
+ "customMeta": {},
40
+ "categories": {},
41
+ "byline": "Jane Doe and John Bull",
42
+ "volumeInfo": {},
43
+ "history": {
44
+ "rev-recd": []
45
+ },
46
+ "keywords": []
47
+ }</script><h1>Sample article</h1><div data-ams-doc="funding-group">
48
+ <p>A</p>
49
+ <p>B</p>
50
+ </div></section>
51
+
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>
53
+
54
+
55
+ <p>Here is some text.</p>
56
+ </section>
57
+
58
+ </section></body></html>
@@ -0,0 +1,30 @@
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>Sample article</article-title>
8
+ </title-group>
9
+ <contrib-group content-type="authors">
10
+ <contrib contrib-type="author">
11
+ <string-name>Jane Doe</string-name>
12
+ </contrib>
13
+ <contrib contrib-type="author">
14
+ <string-name>John Bull</string-name>
15
+ </contrib>
16
+ </contrib-group>
17
+ <funding-group>
18
+ <funding-statement>A</funding-statement>
19
+ <funding-statement>B</funding-statement>
20
+ </funding-group>
21
+ </article-meta>
22
+ </front>
23
+ <body id="ltxid2">
24
+ <sec disp-level="1" id="ltxid3" specific-use="section">
25
+ <label>1<x>.</x></label>
26
+ <title>Introduction</title>
27
+ <p>Here is some text.</p>
28
+ </sec>
29
+ </body>
30
+ </article>
@@ -13,9 +13,7 @@
13
13
  <section role="doc-chapter" id="ltxid1" data-ams-doc="chapter" data-ams-doc-level="0"><h1><span data-ams-doc="label">Chapter 1</span> <span data-ams-doc="title">Chapter heading</span></h1>
14
14
 
15
15
 
16
- <p>
17
- <span data-ams-style="monospace">macro:-&gt;{1}{ltxid1}{sec}{chapter}</span>
18
- </p>
16
+ <p><span data-ams-style="monospace">macro:-&gt;{1}{ltxid1}{sec}{chapter}</span></p>
19
17
  <p>Chapter text.</p>
20
18
  <section id="ltxid2" 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">A section</span></h2>
21
19
 
@@ -33,12 +31,10 @@
33
31
 
34
32
 
35
33
  <p>Subsection text.</p>
36
- <p>
37
- <span data-ams-doc="math block"><span hidden data-ams-doc="tags"><span>1</span></span>
34
+ <p><span data-ams-doc="math block"><span hidden data-ams-doc="tags"><span>1</span></span>
38
35
  <tex-math data-ams-tags="[&quot;1&quot;]">\begin{equation}
39
36
  a^2 + b^2 = c^3 \cssId{texmlid1}{\tag{1}}
40
- \end{equation}</tex-math></span>
41
- </p>
37
+ \end{equation}</tex-math></span></p>
42
38
  <section id="ltxid6" data-ams-doc="subsubsection" data-ams-doc-level="3"><h4><span data-ams-doc="label">1.1.1<ams-x>.</ams-x></span> <span data-ams-doc="title">A subsubsection<ams-x>.</ams-x></span></h4>
43
39
 
44
40
 
@@ -1,5 +1,5 @@
1
1
  <?xml version="1.0" encoding="utf-8"?>
2
- <!DOCTYPE book PUBLIC "-//NLM//DTD BITS Book Interchange DTD v1.0 20131225//EN" "BITS-book1.dtd">
2
+ <!DOCTYPE book PUBLIC "-//NLM//DTD BITS Book Interchange DTD v2.1 20180401//EN" "BITS-book2.dtd">
3
3
  <book xmlns:xlink="http://www.w3.org/1999/xlink">
4
4
  <p>hello, world</p>
5
5
  <p>appendix: See <xref-group><xref ref-subtype="appendix" ref-type="sec" rid="ltxid12" specific-use="autoref">Appendix A</xref></xref-group>.</p>
@@ -15,9 +15,7 @@
15
15
  <sec disp-level="1" id="ltxid1" specific-use="chapter">
16
16
  <label>Chapter 1</label>
17
17
  <title>Chapter heading</title>
18
- <p>
19
- <monospace>macro:-&gt;{1}{ltxid1}{sec}{chapter}</monospace>
20
- </p>
18
+ <p><monospace>macro:-&gt;{1}{ltxid1}{sec}{chapter}</monospace></p>
21
19
  <p>Chapter text.</p>
22
20
  <sec disp-level="2" id="ltxid2" specific-use="section">
23
21
  <label>1<x>.</x></label>
@@ -35,13 +33,11 @@
35
33
  <label>1.1<x>.</x></label>
36
34
  <title>A subsection<x>.</x></title>
37
35
  <p>Subsection text.</p>
38
- <p>
39
- <disp-formula content-type="math/tex">
36
+ <p><disp-formula content-type="math/tex">
40
37
  <tex-math>\begin{equation}
41
38
  a^2 + b^2 = c^3 <target id="texmlid1"><tag parens="yes">1</tag></target>
42
39
  \end{equation}</tex-math>
43
- </disp-formula>
44
- </p>
40
+ </disp-formula></p>
45
41
  <sec disp-level="4" id="ltxid6" specific-use="subsubsection">
46
42
  <label>1.1.1<x>.</x></label>
47
43
  <title>A subsubsection<x>.</x></title>
@@ -33,13 +33,9 @@
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-style="monospace">macro:-&gt;\XXX </span>
38
- </p>
36
+ <p><span data-ams-style="monospace">macro:-&gt;\XXX </span></p>
39
37
  <p>XXX is defined</p>
40
- <p>
41
- <span data-ams-style="monospace">macro:-&gt;</span>
42
- </p>
38
+ <p><span data-ams-style="monospace">macro:-&gt;</span></p>
43
39
  <p>YYY is undefined</p>
44
40
  </section>
45
41
 
@@ -11,13 +11,9 @@
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
- <monospace>macro:-&gt;\XXX </monospace>
16
- </p>
14
+ <p><monospace>macro:-&gt;\XXX </monospace></p>
17
15
  <p>XXX is defined</p>
18
- <p>
19
- <monospace>macro:-&gt;</monospace>
20
- </p>
16
+ <p><monospace>macro:-&gt;</monospace></p>
21
17
  <p>YYY is undefined</p>
22
18
  </sec>
23
19
  </body>
@@ -1,5 +1,4 @@
1
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":{},"permissions":{},"history":{}}</script></section>
3
2
  <section role="doc-chapter" id="ltxid1" data-ams-doc="chapter" data-ams-doc-level="0"><h1><span data-ams-doc="label">Chapter 1</span> <span data-ams-doc="title">Chapter heading</span></h1>
4
3
 
5
4
 
@@ -1,9 +1,6 @@
1
1
  <?xml version="1.0" encoding="utf-8"?>
2
- <!DOCTYPE book PUBLIC "-//NLM//DTD BITS Book Interchange DTD v1.0 20131225//EN" "BITS-book1.dtd">
2
+ <!DOCTYPE book PUBLIC "-//NLM//DTD BITS Book Interchange DTD v2.1 20180401//EN" "BITS-book2.dtd">
3
3
  <book xmlns:xlink="http://www.w3.org/1999/xlink">
4
- <book-meta>
5
- <book-id book-id-type="publisher">gsm</book-id>
6
- </book-meta>
7
4
  <sec disp-level="1" id="ltxid1" specific-use="chapter">
8
5
  <label>Chapter 1</label>
9
6
  <title>Chapter heading</title>
@@ -0,0 +1,31 @@
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>
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>
5
+ <section id="ltxid3" data-ams-doc-level="0" role="doc-preface">
6
+
7
+ <h1><span data-ams-doc="title">Preface</span></h1>
8
+
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
+ <p>Here is the preface.</p>
14
+
15
+ </section>
16
+
17
+
18
+
19
+
20
+ <section role="doc-chapter" id="ltxid5" data-ams-doc="chapter" data-ams-doc-level="0"><h1><span data-ams-doc="label">Chapter 1</span> <span data-ams-doc="title">Main matter</span></h1>
21
+
22
+
23
+ <p>Here is the body of the book.</p>
24
+ </section>
25
+
26
+
27
+
28
+
29
+ <section role="doc-bibliography" data-ams-content-type="thebibliography" id="ltxid8" data-ams-doc-level="0"><h1><span data-ams-doc="title">Bibliography</span></h1><dl><dt id="bibr-GrahamKP1994"><ams-x>[</ams-x>1<ams-x>]</ams-x></dt><dd><div data-ams-doc="biblioentry">Graham, Ronald&#160;L., Donald&#160;E. Knuth, and Oren Patashnik, 1994. <em>Concrete Mathematics: A Foundation for Computer Science</em>, second edition. Reprint: Addison-Wesley, Reading, Massachusetts, 1995. This printing incorporates the final corrections made in 1995. 0-201-55802-5.</div></dd></dl></section>
30
+
31
+ </body></html>
@@ -0,0 +1,81 @@
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
+ <article-title>Sample book</article-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 contrib-type="author">
13
+ <string-name>John Bull</string-name>
14
+ </contrib>
15
+ </contrib-group>
16
+ <funding-group>
17
+ <funding-statement>A</funding-statement>
18
+ <funding-statement>B</funding-statement>
19
+ </funding-group>
20
+ </book-meta>
21
+ <front-matter id="ltxid1">
22
+ <toc id="ltxid2">
23
+ <title-group>
24
+ <title>Contents</title>
25
+ </title-group>
26
+ <toc-entry specific-use="chapter">
27
+ <title>Preface</title>
28
+ <nav-pointer rid="ltxid3"/>
29
+ </toc-entry>
30
+ <toc-entry specific-use="chapter">
31
+ <label>Chapter 1<x>.</x></label>
32
+ <title>Main matter</title>
33
+ <nav-pointer rid="ltxid5"/>
34
+ </toc-entry>
35
+ <toc-entry>
36
+ <title>Bibliography</title>
37
+ <nav-pointer rid="ltxid8"/>
38
+ </toc-entry>
39
+ </toc>
40
+ <preface disp-level="1" id="ltxid3">
41
+ <book-part-meta>
42
+ <title-group>
43
+ <title>Preface</title>
44
+ </title-group>
45
+ </book-part-meta>
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
+ <p>Here is the preface.</p>
58
+ </named-book-part-body>
59
+ </preface>
60
+ </front-matter>
61
+ <book-body id="ltxid4">
62
+ <book-part>
63
+ <body>
64
+ <sec disp-level="1" id="ltxid5" specific-use="chapter">
65
+ <label>Chapter 1</label>
66
+ <title>Main matter</title>
67
+ <p>Here is the body of the book.</p>
68
+ </sec>
69
+ </body>
70
+ </book-part>
71
+ </book-body>
72
+ <book-back id="ltxid6">
73
+ <ref-list content-type="thebibliography" id="ltxid8">
74
+ <title>Bibliography</title>
75
+ <ref id="bibr-GrahamKP1994">
76
+ <label><x>[</x>1<x>]</x></label>
77
+ <mixed-citation>Graham, Ronald L., Donald E. Knuth, and Oren Patashnik, 1994. <italic toggle="yes">Concrete Mathematics: A Foundation for Computer Science</italic>, second edition. Reprint: Addison-Wesley, Reading, Massachusetts, 1995. This printing incorporates the final corrections made in 1995. 0-201-55802-5.</mixed-citation>
78
+ </ref>
79
+ </ref-list>
80
+ </book-back>
81
+ </book>
@@ -1,5 +1,5 @@
1
1
  <?xml version="1.0" encoding="utf-8"?>
2
- <!DOCTYPE book PUBLIC "-//NLM//DTD BITS Book Interchange DTD v1.0 20131225//EN" "BITS-book1.dtd">
2
+ <!DOCTYPE book PUBLIC "-//NLM//DTD BITS Book Interchange DTD v2.1 20180401//EN" "BITS-book2.dtd">
3
3
  <book xmlns:xlink="http://www.w3.org/1999/xlink">
4
4
  <table-wrap id="ltxid1" specific-use="table"><label>Table 1<x>.</x></label><caption><p>Baseline: hline</p></caption> <table class="texml-bcc" id="tblrid1"><tr class="texml-bttsc"><td class="texml-pl texml-pr texml-tac">x</td></tr><tr class="texml-bbtsc texml-bttsc"><td class="texml-pl texml-pr texml-tac">y</td></tr></table></table-wrap>
5
5
  <table-wrap id="ltxid2" specific-use="table"><label>Table 2<x>.</x></label><caption><p>toprule, midrule, bottomrule</p></caption> <table class="texml-bcc" id="tblrid2"><tr class="texml-bt"><td class="texml-pl texml-pr texml-tac">x</td></tr><tr class="texml-bb texml-bt1"><td class="texml-pl texml-pr texml-tac">y</td></tr></table></table-wrap>
@@ -1,13 +1,9 @@
1
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
2
  <p>hello, cases.</p>
3
- <p>
4
- <span data-ams-doc="math block"><tex-math> \begin{numcases}{|\xi _{\ell ,k}| (t) \leq }
3
+ <p><span data-ams-doc="math block"><tex-math> \begin{numcases}{|\xi _{\ell ,k}| (t) \leq }
5
4
  \tag{1}\tilde{C}_{N-1}^k(t) \epsilon ^{2N} k^{3N}e^{-\lambda _2 k^2 t}, &amp;$\ell =0$, \\\tag{2}
6
- \tilde{C}_{N+1-\ell }^k(t) \epsilon ^{2N+2-\ell } k^{3N+4-2\ell } e^{-\lambda _2 k^2 t}, &amp;$1 \leq \ell \leq N$, \end{numcases}</tex-math></span>
7
- </p>
8
- <p>
9
- <span data-ams-doc="math block"><tex-math> \begin{subnumcases}{|\xi _{\ell ,k}| (t) \leq }
5
+ \tilde{C}_{N+1-\ell }^k(t) \epsilon ^{2N+2-\ell } k^{3N+4-2\ell } e^{-\lambda _2 k^2 t}, &amp;$1 \leq \ell \leq N$, \end{numcases}</tex-math></span></p>
6
+ <p><span data-ams-doc="math block"><tex-math> \begin{subnumcases}{|\xi _{\ell ,k}| (t) \leq }
10
7
  \tag{3a}\tilde{C}_{N-1}^k(t) \epsilon ^{2N} k^{3N}e^{-\lambda _2 k^2 t}, &amp;$\ell =0$, \\\tag{3b}
11
- \tilde{C}_{N+1-\ell }^k(t) \epsilon ^{2N+2-\ell } k^{3N+4-2\ell } e^{-\lambda _2 k^2 t}, &amp;$1 \leq \ell \leq N$, \end{subnumcases}</tex-math></span>
12
- </p>
8
+ \tilde{C}_{N+1-\ell }^k(t) \epsilon ^{2N+2-\ell } k^{3N+4-2\ell } e^{-\lambda _2 k^2 t}, &amp;$1 \leq \ell \leq N$, \end{subnumcases}</tex-math></span></p>
13
9
  </section></body></html>
@@ -2,18 +2,14 @@
2
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
3
  <article xmlns:xlink="http://www.w3.org/1999/xlink">
4
4
  <p>hello, cases.</p>
5
- <p>
6
- <disp-formula content-type="math/tex">
5
+ <p><disp-formula content-type="math/tex">
7
6
  <tex-math> \begin{numcases}{|\xi _{\ell ,k}| (t) \leq }
8
7
  <tag parens="yes">1</tag>\tilde{C}_{N-1}^k(t) \epsilon ^{2N} k^{3N}e^{-\lambda _2 k^2 t}, &amp;<inline-formula content-type="math/tex"><tex-math>\ell =0</tex-math></inline-formula>, \\<tag parens="yes">2</tag>
9
8
  \tilde{C}_{N+1-\ell }^k(t) \epsilon ^{2N+2-\ell } k^{3N+4-2\ell } e^{-\lambda _2 k^2 t}, &amp;<inline-formula content-type="math/tex"><tex-math>1 \leq \ell \leq N</tex-math></inline-formula>, \end{numcases}</tex-math>
10
- </disp-formula>
11
- </p>
12
- <p>
13
- <disp-formula content-type="math/tex">
9
+ </disp-formula></p>
10
+ <p><disp-formula content-type="math/tex">
14
11
  <tex-math> \begin{subnumcases}{|\xi _{\ell ,k}| (t) \leq }
15
12
  <tag parens="yes">3a</tag>\tilde{C}_{N-1}^k(t) \epsilon ^{2N} k^{3N}e^{-\lambda _2 k^2 t}, &amp;<inline-formula content-type="math/tex"><tex-math>\ell =0</tex-math></inline-formula>, \\<tag parens="yes">3b</tag>
16
13
  \tilde{C}_{N+1-\ell }^k(t) \epsilon ^{2N+2-\ell } k^{3N+4-2\ell } e^{-\lambda _2 k^2 t}, &amp;<inline-formula content-type="math/tex"><tex-math>1 \leq \ell \leq N</tex-math></inline-formula>, \end{subnumcases}</tex-math>
17
- </disp-formula>
18
- </p>
14
+ </disp-formula></p>
19
15
  </article>
@@ -0,0 +1,65 @@
1
+ <!DOCTYPE html> <html dir="ltr" lang="en"><head><meta charset="utf-8"><meta content="width=device-width, initial-scale=1" name="viewport"><title>ccicons</title></head><body><section data-ams-doc="article">
2
+ <section data-ams-doc="frontmatter"><script type="application/json">{
3
+ "title": "ccicons",
4
+ "alttitle": "ccicons",
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>ccicons</h1></section>
33
+
34
+ <section id="ltxid3" data-ams-doc="section" data-ams-doc-level="1">
35
+ <p>hello, world</p>
36
+ <p>ccAttribution: <img alt="Graphic without alt text" data-ams-height="9pt" data-ams-width="10pt" data-ams-style="null" src="Images/imgdb6ece15aab6f6b36c4da8c16e639aab.svg" data-ams-doc="inline-graphic"></p>
37
+ <p>ccCopy: <img alt="Graphic without alt text" data-ams-height="9pt" data-ams-width="10pt" data-ams-style="null" src="Images/img9f0691664d6f77cd89356793e7f4621e.svg" data-ams-doc="inline-graphic"></p>
38
+ <p>ccLogo: <img alt="Graphic without alt text" data-ams-height="9pt" data-ams-width="10pt" data-ams-style="null" src="Images/imgf2b51ca2e88ce35097ec975ecd5a4b68.svg" data-ams-doc="inline-graphic"></p>
39
+ <p>ccNoDerivatives: <img alt="Graphic without alt text" data-ams-height="9pt" data-ams-width="10pt" data-ams-style="null" src="Images/imgf6e0d21e1209e33cd630e0c9167a1877.svg" data-ams-doc="inline-graphic"></p>
40
+ <p>ccNonCommercialEU: <img alt="Graphic without alt text" data-ams-height="9pt" data-ams-width="10pt" data-ams-style="null" src="Images/img8d7ebf764b9252dc25390e39f26c96af.svg" data-ams-doc="inline-graphic"></p>
41
+ <p>ccNonCommercialJP: <img alt="Graphic without alt text" data-ams-height="9pt" data-ams-width="10pt" data-ams-style="null" src="Images/img1ed2654334eb1f435aba7223228977e9.svg" data-ams-doc="inline-graphic"></p>
42
+ <p>ccNonCommercial: <img alt="Graphic without alt text" data-ams-height="9pt" data-ams-width="10pt" data-ams-style="null" src="Images/imgc38f8beb14b127dd6b9200f4eaf952d4.svg" data-ams-doc="inline-graphic"></p>
43
+ <p>ccPublicDomain: <img alt="Graphic without alt text" data-ams-height="9pt" data-ams-width="10pt" data-ams-style="null" src="Images/imgee3f5dfc10e8c20bbadc7b729b747f3c.svg" data-ams-doc="inline-graphic"></p>
44
+ <p>ccRemix: <img alt="Graphic without alt text" data-ams-height="9pt" data-ams-width="10pt" data-ams-style="null" src="Images/imga8ef1d0b4a37fc243dc215d656bf41d2.svg" data-ams-doc="inline-graphic"></p>
45
+ <p>ccSampling: <img alt="Graphic without alt text" data-ams-height="9pt" data-ams-width="10pt" data-ams-style="null" src="Images/imgc3bc2803fbecd2945c0960da93d06ccb.svg" data-ams-doc="inline-graphic"></p>
46
+ <p>ccShareAlike: <img alt="Graphic without alt text" data-ams-height="9pt" data-ams-width="10pt" data-ams-style="null" src="Images/imgcbc11a18e71381eea93fbe4d380cd280.svg" data-ams-doc="inline-graphic"></p>
47
+ <p>ccShare: <img alt="Graphic without alt text" data-ams-height="9pt" data-ams-width="10pt" data-ams-style="null" src="Images/imgcbb4bdafb55aedeb7fbddda5c6bb872a.svg" data-ams-doc="inline-graphic"></p>
48
+ <p>ccZero: <img alt="Graphic without alt text" data-ams-height="9pt" data-ams-width="10pt" data-ams-style="null" src="Images/img94d1ecce778f2c16c28924d83034ae60.svg" data-ams-doc="inline-graphic"></p>
49
+ <p>ccbynceu: <img alt="Graphic without alt text" data-ams-height="9pt" data-ams-width="30pt" data-ams-style="null" src="Images/img2341395ee58bbdfc14fb12bb66ea5ee0.svg" data-ams-doc="inline-graphic"></p>
50
+ <p>ccbyncjp: <img alt="Graphic without alt text" data-ams-height="9pt" data-ams-width="30pt" data-ams-style="null" src="Images/img2564ef3016622ddacdc77c76e103265a.svg" data-ams-doc="inline-graphic"></p>
51
+ <p>ccbyncndeu: <img alt="Graphic without alt text" data-ams-height="9pt" data-ams-width="40pt" data-ams-style="null" src="Images/img6594054b44d62db4535457598f128cff.svg" data-ams-doc="inline-graphic"></p>
52
+ <p>ccbyncndjp: <img alt="Graphic without alt text" data-ams-height="9pt" data-ams-width="40pt" data-ams-style="null" src="Images/img503d989463ed1bef422dbfd35dc2a03d.svg" data-ams-doc="inline-graphic"></p>
53
+ <p>ccbyncnd: <img alt="Graphic without alt text" data-ams-height="9pt" data-ams-width="40pt" data-ams-style="null" src="Images/imgd9bb61e88471ca50b76ff4739f3f384f.svg" data-ams-doc="inline-graphic"></p>
54
+ <p>ccbyncsaeu: <img alt="Graphic without alt text" data-ams-height="9pt" data-ams-width="40pt" data-ams-style="null" src="Images/img2e49e67fe32084b22c1d4df25d07e482.svg" data-ams-doc="inline-graphic"></p>
55
+ <p>ccbyncsajp: <img alt="Graphic without alt text" data-ams-height="9pt" data-ams-width="40pt" data-ams-style="null" src="Images/imgd1b3d1cd837163d8048ac15c9fedd0ff.svg" data-ams-doc="inline-graphic"></p>
56
+ <p>ccbyncsa: <img alt="Graphic without alt text" data-ams-height="9pt" data-ams-width="40pt" data-ams-style="null" src="Images/imgd5fabce4f130a44ef141269bdcee4068.svg" data-ams-doc="inline-graphic"></p>
57
+ <p>ccbync: <img alt="Graphic without alt text" data-ams-height="9pt" data-ams-width="30pt" data-ams-style="null" src="Images/imgbb5c69bea298fb3f34cfaa9a77343c49.svg" data-ams-doc="inline-graphic"></p>
58
+ <p>ccbynd: <img alt="Graphic without alt text" data-ams-height="9pt" data-ams-width="30pt" data-ams-style="null" src="Images/img40989216f8c30cba4195962752e40c7c.svg" data-ams-doc="inline-graphic"></p>
59
+ <p>ccbysa: <img alt="Graphic without alt text" data-ams-height="9pt" data-ams-width="30pt" data-ams-style="null" src="Images/img178f9717e81fc9d9932320e022a3d4cf.svg" data-ams-doc="inline-graphic"></p>
60
+ <p>ccby: <img alt="Graphic without alt text" data-ams-height="9pt" data-ams-width="20pt" data-ams-style="null" src="Images/img25be2da9e9eac2307108770b0ca4e499.svg" data-ams-doc="inline-graphic"></p>
61
+ <p>ccpd: <img alt="Graphic without alt text" data-ams-height="9pt" data-ams-width="20pt" data-ams-style="null" src="Images/imga02bd9b9c52e2cb65beae3fd01a0d5dc.svg" data-ams-doc="inline-graphic"></p>
62
+ <p>cczero: <img alt="Graphic without alt text" data-ams-height="9pt" data-ams-width="20pt" data-ams-style="null" src="Images/imgf9bec5976888c5bb7d2c8dc0a7827629.svg" data-ams-doc="inline-graphic"></p>
63
+ </section>
64
+
65
+ </section></body></html>