@amermathsoc/texml-to-html 19.0.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.
- package/CHANGELOG.md +7 -0
- package/lib/elements/email.js +1 -1
- package/lib/elements/sec.js +1 -4
- package/lib/transformer.js +0 -11
- package/package.json +1 -1
- package/test/article-alttitle-meta-snapshot.json +1 -1
- package/test/element-email.js +1 -1
- package/test/snapshots/article--alttitle.html +1 -1
- package/test/snapshots/article.html +1 -1
- package/test/snapshots/texml-tests/amsbook.html +3 -10
- package/test/snapshots/texml-tests/amsbook.xml +2 -25
- package/test/snapshots/texml-tests/amsrefs.html +2 -0
- package/test/snapshots/texml-tests/amsrefs.xml +2 -0
- package/test/snapshots/texml-tests/amsthm-swap.html +81 -0
- package/test/snapshots/texml-tests/amsthm-swap.xml +59 -0
- package/test/snapshots/texml-tests/appendix-book.html +9 -9
- package/test/snapshots/texml-tests/appendix-book.xml +10 -10
- package/test/snapshots/texml-tests/article.html +2 -2
- package/test/snapshots/texml-tests/article.xml +10 -2
- package/test/snapshots/texml-tests/arxiv.html +56 -0
- package/test/snapshots/texml-tests/arxiv.xml +34 -0
- package/test/snapshots/texml-tests/{framebox.html → aufm.html} +5 -9
- package/test/snapshots/texml-tests/{framebox.xml → aufm.xml} +2 -8
- package/test/snapshots/texml-tests/autoref.html +10 -7
- package/test/snapshots/texml-tests/autoref.xml +14 -8
- package/test/snapshots/texml-tests/babel.html +3 -0
- package/test/snapshots/texml-tests/babel.xml +5 -0
- package/test/snapshots/texml-tests/book-app.html +10 -4
- package/test/snapshots/texml-tests/book-app.xml +18 -6
- package/test/snapshots/texml-tests/book.html +3 -6
- package/test/snapshots/texml-tests/book.xml +4 -14
- package/test/snapshots/texml-tests/caption.html +40 -0
- package/test/snapshots/texml-tests/caption.xml +18 -0
- package/test/snapshots/texml-tests/cite.xml +1 -1
- package/test/snapshots/texml-tests/cleveref.html +89 -53
- package/test/snapshots/texml-tests/cleveref.xml +65 -53
- package/test/snapshots/texml-tests/drm.xml +2 -2
- package/test/snapshots/texml-tests/euscript.html +40 -0
- package/test/snapshots/texml-tests/euscript.xml +18 -0
- package/test/snapshots/texml-tests/expl3.html +38 -0
- package/test/snapshots/texml-tests/expl3.xml +16 -0
- package/test/snapshots/texml-tests/extarrows.html +42 -0
- package/test/snapshots/texml-tests/extarrows.xml +28 -0
- package/test/snapshots/texml-tests/footnote.xml +2 -2
- package/test/snapshots/texml-tests/framedboxes.html +45 -0
- package/test/snapshots/texml-tests/framedboxes.xml +23 -0
- package/test/snapshots/texml-tests/gsm_l.html +25 -17
- package/test/snapshots/texml-tests/gsm_l.xml +47 -35
- package/test/snapshots/texml-tests/i283.html +41 -0
- package/test/snapshots/texml-tests/i283.xml +50 -0
- package/test/snapshots/texml-tests/index.html +44 -0
- package/test/snapshots/texml-tests/index.xml +22 -0
- package/test/snapshots/texml-tests/lastkern.html +39 -0
- package/test/snapshots/texml-tests/lastkern.xml +17 -0
- package/test/snapshots/texml-tests/longtable.html +3 -1
- package/test/snapshots/texml-tests/longtable.xml +4 -2
- package/test/snapshots/texml-tests/maketitle.html +27 -8
- package/test/snapshots/texml-tests/maketitle.xml +28 -2
- package/test/snapshots/texml-tests/manfnt.html +42 -0
- package/test/snapshots/texml-tests/manfnt.xml +20 -0
- package/test/snapshots/texml-tests/mathscr.html +40 -0
- package/test/snapshots/texml-tests/mathscr.xml +18 -0
- package/test/snapshots/texml-tests/metadata.html +1 -1
- package/test/snapshots/texml-tests/metadata.xml +2 -3
- package/test/snapshots/texml-tests/nameref.xml +1 -1
- package/test/snapshots/texml-tests/names.html +119 -0
- package/test/snapshots/texml-tests/names.xml +111 -0
- package/test/snapshots/texml-tests/natbib.html +27 -0
- package/test/snapshots/texml-tests/natbib.xml +46 -0
- package/test/snapshots/texml-tests/part.html +56 -0
- package/test/snapshots/texml-tests/part.xml +100 -0
- package/test/snapshots/texml-tests/ref.html +52 -17
- package/test/snapshots/texml-tests/ref.xml +28 -17
- package/test/snapshots/texml-tests/strcmp.html +2 -0
- package/test/snapshots/texml-tests/strcmp.xml +2 -0
- package/test/snapshots/texml-tests/subfig.html +1 -1
- package/test/snapshots/texml-tests/subfig.xml +3 -3
- package/test/snapshots/texml-tests/tableofcontents.xml +2 -2
- package/test/snapshots/texml-tests/xmllabel.html +44 -0
- package/test/snapshots/texml-tests/xmllabel.xml +24 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## [19.0.1](https://github.com/AmerMathSoc/texml-to-html/compare/v19.0.0...v19.0.1) (2026-01-07)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* **email.js:** mailto protocol ([fd4d33b](https://github.com/AmerMathSoc/texml-to-html/commit/fd4d33b86173d9822716f855d07a5d6c360e3d1d)), closes [#496](https://github.com/AmerMathSoc/texml-to-html/issues/496)
|
|
11
|
+
|
|
5
12
|
## [19.0.0](https://github.com/AmerMathSoc/texml-to-html/compare/v18.7.0...v19.0.0) (2025-11-26)
|
|
6
13
|
|
|
7
14
|
|
package/lib/elements/email.js
CHANGED
package/lib/elements/sec.js
CHANGED
|
@@ -82,10 +82,7 @@ export default function (htmlParentNode, xmlnode) {
|
|
|
82
82
|
if (tagName === 'book-app-group') {
|
|
83
83
|
section.setAttribute('data-ams-doc', 'app-group');
|
|
84
84
|
}
|
|
85
|
-
if (tagName === 'book-app' && !xmlnode.parentNode.closest('book-app'))
|
|
86
|
-
section.setAttribute('role', 'doc-appendix'); // TODO: revisit after AmerMathSoc/texml#223
|
|
87
|
-
// section.setAttribute('data-ams-doc-level', '0')
|
|
88
|
-
}
|
|
85
|
+
if (tagName === 'book-app' && !xmlnode.parentNode.closest('book-app')) section.setAttribute('role', 'doc-appendix'); // TODO: revisit after AmerMathSoc/texml#223
|
|
89
86
|
|
|
90
87
|
this.createHeading(section, xmlnode);
|
|
91
88
|
this.passThrough(section, xmlnode);
|
package/lib/transformer.js
CHANGED
|
@@ -208,17 +208,6 @@ export class Transformer {
|
|
|
208
208
|
this.passThrough(span, xmlnode);
|
|
209
209
|
return span.innerHTML.trim();
|
|
210
210
|
}
|
|
211
|
-
|
|
212
|
-
/**
|
|
213
|
-
* Recursion hack for metadata generation
|
|
214
|
-
* @param {Node} xmlnode
|
|
215
|
-
* @returns {String}
|
|
216
|
-
*/
|
|
217
|
-
recurseTheDomIntoHTMLString = xmlnode => {
|
|
218
|
-
const span = this.createNode('span');
|
|
219
|
-
this.recurseTheDom(span, xmlnode);
|
|
220
|
-
return span.innerHTML.trim();
|
|
221
|
-
}
|
|
222
211
|
|
|
223
212
|
createHeading = (section, xmlnode) => { // create heading structure
|
|
224
213
|
const label = xmlnode.querySelector(':scope>label:not(:empty)');
|
package/package.json
CHANGED
package/test/element-email.js
CHANGED
|
@@ -21,6 +21,6 @@ import tape from 'tape';
|
|
|
21
21
|
tape('Template: email', async function(t) {
|
|
22
22
|
t.plan(1);
|
|
23
23
|
const document = article;
|
|
24
|
-
const email = document.querySelector('a[href="mailto
|
|
24
|
+
const email = document.querySelector('a[href="mailto:email"]');
|
|
25
25
|
t.equal(email.innerHTML, 'email', 'email to anchor with mailto address');
|
|
26
26
|
});
|
|
@@ -490,7 +490,7 @@
|
|
|
490
490
|
</alg-algorithm>
|
|
491
491
|
</section>
|
|
492
492
|
<section id="null" data-ams-doc="null" data-ams-doc-level="0">
|
|
493
|
-
<p>Email <a href="mailto
|
|
493
|
+
<p>Email <a href="mailto:email">email</a> in content, not metadata.</p>
|
|
494
494
|
</section>
|
|
495
495
|
<section id="contentModel" data-ams-doc="null" data-ams-doc-level="0">
|
|
496
496
|
<section id="contentModel-1" data-ams-doc="null" data-ams-doc-level="5">
|
|
@@ -1,17 +1,10 @@
|
|
|
1
|
-
<!DOCTYPE html> <html dir="ltr" lang="en"><head><meta charset="utf-8"><meta content="width=device-width, initial-scale=1" name="viewport"><title>
|
|
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":["jane.doe@nowhere"],"mrauth":"MR author id","orcid":"ORCID id","uri":"https://www.ams.org/"},{"name":"John Bull","bio":"","affiliations":[],"emails":["john.bull@nowhere"],"uri":"https://www.ams.org/"}]},"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":["jane.doe@nowhere"],"mrauth":"MR author id","orcid":"ORCID id","uri":"https://www.ams.org/"},{"name":"John Bull","bio":"","affiliations":[],"emails":["john.bull@nowhere"],"uri":"https://www.ams.org/"}]},"permissions":{},"history":{}}</script></section>
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
<section 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
|
-
<section data-ams-byline="Jane Doe and John Bull" data-ams-contributors="{"authors":[{"name":"Jane Doe","bio":"","affiliations":[],"emails":["jane.doe@nowhere"],"mrauth":"MR author id","orcid":"ORCID id","uri":"https://www.ams.org/"},{"name":"John Bull","bio":"","affiliations":[],"emails":["john.bull@nowhere"],"uri":"https://www.ams.org/"}]}" data-ams-doc="sec-meta">
|
|
9
|
-
|
|
10
|
-
<section role="doc-abstract" data-ams-doc-level="1"><h2><span data-ams-doc="title">Abstract<ams-x>.</ams-x></span></h2>
|
|
11
|
-
|
|
12
|
-
<p>Abstract text goes here.</p>
|
|
13
|
-
</section>
|
|
14
|
-
</section>
|
|
7
|
+
<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>
|
|
15
8
|
|
|
16
9
|
|
|
17
10
|
<p>Here is some text.</p>
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
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
|
<book-meta>
|
|
5
5
|
<book-title-group>
|
|
6
|
-
<
|
|
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">
|
|
@@ -28,29 +28,6 @@
|
|
|
28
28
|
<book-part>
|
|
29
29
|
<body>
|
|
30
30
|
<sec disp-level="1" id="ltxid3" specific-use="section">
|
|
31
|
-
<sec-meta>
|
|
32
|
-
<contrib-group content-type="authors">
|
|
33
|
-
<contrib contrib-type="author">
|
|
34
|
-
<string-name>Jane Doe</string-name>
|
|
35
|
-
<contrib-id contrib-id-type="orcid">ORCID id</contrib-id>
|
|
36
|
-
<contrib-id contrib-id-type="mrauth">MR author id</contrib-id>
|
|
37
|
-
<aff>First author’s address</aff>
|
|
38
|
-
<aff specific-use="current">First author’s current address</aff>
|
|
39
|
-
<email>jane.doe@nowhere</email>
|
|
40
|
-
<uri>https://www.ams.org/</uri>
|
|
41
|
-
</contrib>
|
|
42
|
-
<contrib contrib-type="author">
|
|
43
|
-
<string-name>John Bull</string-name>
|
|
44
|
-
<aff>Second author’s address</aff>
|
|
45
|
-
<email>john.bull@nowhere</email>
|
|
46
|
-
<uri>https://www.ams.org/</uri>
|
|
47
|
-
</contrib>
|
|
48
|
-
</contrib-group>
|
|
49
|
-
<abstract>
|
|
50
|
-
<title>Abstract<x>.</x></title>
|
|
51
|
-
<p>Abstract text goes here.</p>
|
|
52
|
-
</abstract>
|
|
53
|
-
</sec-meta>
|
|
54
31
|
<label>1<x>.</x></label>
|
|
55
32
|
<title>Introduction</title>
|
|
56
33
|
<p>Here is some text.</p>
|
|
@@ -45,6 +45,8 @@
|
|
|
45
45
|
<p>Eng 2: <cite-group><ams-x>[</ams-x><cite><a role="doc-biblioref" data-ams-ref="bibr" href="#bibr-Enna2">Engb</a></cite><ams-x>]</ams-x></cite-group></p>
|
|
46
46
|
<p>Eng 3: <cite-group><ams-x>[</ams-x><cite><a role="doc-biblioref" data-ams-ref="bibr" href="#bibr-Enna3">Engc</a></cite><ams-x>]</ams-x></cite-group></p>
|
|
47
47
|
<p>Eng 4: <cite-group><ams-x>[</ams-x><cite><a role="doc-biblioref" data-ams-ref="bibr" href="#bibr-Enna4">Engd</a></cite><ams-x>]</ams-x></cite-group></p>
|
|
48
|
+
<p>arXiv: <a href="https://arxiv.org/abs/1405.7064"><span data-ams-style="monospace">arXiv:1405.7064</span></a></p>
|
|
49
|
+
<p>arXiv w/ category: <a href="https://arxiv.org/abs/1405.7064"><span data-ams-style="monospace">arXiv:1405.7064 [math.NT]</span></a></p>
|
|
48
50
|
</section>
|
|
49
51
|
|
|
50
52
|
|
|
@@ -23,6 +23,8 @@
|
|
|
23
23
|
<p>Eng 2: <cite-group><x>[</x><xref ref-type="bibr" rid="bibr-Enna2" specific-use="cite">Engb</xref><x>]</x></cite-group></p>
|
|
24
24
|
<p>Eng 3: <cite-group><x>[</x><xref ref-type="bibr" rid="bibr-Enna3" specific-use="cite">Engc</xref><x>]</x></cite-group></p>
|
|
25
25
|
<p>Eng 4: <cite-group><x>[</x><xref ref-type="bibr" rid="bibr-Enna4" specific-use="cite">Engd</xref><x>]</x></cite-group></p>
|
|
26
|
+
<p>arXiv: <ext-link xlink:href="https://arxiv.org/abs/1405.7064"><monospace>arXiv:1405.7064</monospace></ext-link></p>
|
|
27
|
+
<p>arXiv w/ category: <ext-link xlink:href="https://arxiv.org/abs/1405.7064"><monospace>arXiv:1405.7064 [math.NT]</monospace></ext-link></p>
|
|
26
28
|
</sec>
|
|
27
29
|
</body>
|
|
28
30
|
<back id="ltxid4">
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
<!DOCTYPE html> <html dir="ltr" lang="en"><head><meta charset="utf-8"><meta content="width=device-width, initial-scale=1" name="viewport"><title>amsthm</title></head><body><section data-ams-doc="article">
|
|
2
|
+
<section data-ams-doc="frontmatter"><script type="application/json">{
|
|
3
|
+
"title": "amsthm",
|
|
4
|
+
"alttitle": "amsthm",
|
|
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>amsthm</h1></section>
|
|
33
|
+
|
|
34
|
+
<section 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">First section</span></h2>
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
<figure data-ams-style="thmplain" data-ams-content-type="theorem lem" id="ltxid4" data-ams-doc="statement"><figcaption><span data-ams-doc="label">1<ams-x>.</ams-x> Lemma<ams-x>.</ams-x></span></figcaption>
|
|
38
|
+
|
|
39
|
+
<p>This is a lemma.</p>
|
|
40
|
+
</figure>
|
|
41
|
+
<p>Before theorem.</p>
|
|
42
|
+
<figure data-ams-style="thmplain" data-ams-content-type="theorem theorem" id="ltxid5" data-ams-doc="statement"><figcaption><span data-ams-doc="label">1.1<ams-x>.</ams-x> Theorem<ams-x>.</ams-x></span></figcaption>
|
|
43
|
+
|
|
44
|
+
<p>Theorem text.</p>
|
|
45
|
+
<p>Emphasized <em>theorem</em> text.</p>
|
|
46
|
+
</figure>
|
|
47
|
+
<p><i>After theorem.</i></p>
|
|
48
|
+
<figure data-ams-style="thmplain" data-ams-content-type="theorem theorem" id="ltxid6" data-ams-doc="statement"><figcaption><span data-ams-doc="label">1.2<ams-x>.</ams-x> Theorem</span> <span data-ams-doc="title"><ams-x>(</ams-x>Note<ams-x>)</ams-x><ams-x>.</ams-x></span></figcaption>
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
<p>Theorem text. (currentlabel = 1.2)</p>
|
|
52
|
+
<p>Emphasized <em>theorem</em> text.</p>
|
|
53
|
+
</figure>
|
|
54
|
+
<p>After theorem <span data-ams-refrange="null" data-ams-ref="null" data-ams-doc="refgroup"><a data-ams-ref="statement" href="#ltxid6">1.2</a></span>.</p>
|
|
55
|
+
<p>After theorem.</p>
|
|
56
|
+
<figure data-ams-style="thmplain" data-ams-content-type="theorem theorem*" id="ltxid7" data-ams-doc="statement"><figcaption><span data-ams-doc="label">Theorem<ams-x>.</ams-x></span></figcaption>
|
|
57
|
+
|
|
58
|
+
<p>Theorem text.</p>
|
|
59
|
+
<p>Emphasized <em>theorem</em> text.</p>
|
|
60
|
+
</figure>
|
|
61
|
+
<p>After theorem.</p>
|
|
62
|
+
<figure data-ams-style="thmplain" data-ams-content-type="theorem conj" id="ltxid8" data-ams-doc="statement"><figcaption><span data-ams-doc="label">1.3<ams-x>.</ams-x> Conjecture<ams-x>.</ams-x></span></figcaption>
|
|
63
|
+
|
|
64
|
+
<p>This is a conjecture.</p>
|
|
65
|
+
</figure>
|
|
66
|
+
<p>After conjecture</p>
|
|
67
|
+
<figure data-ams-style="thmmystyle" data-ams-content-type="theorem mytheorem" id="ltxid9" data-ams-doc="statement"><figcaption><span data-ams-doc="label">1<ams-x>.</ams-x> My Theorem<ams-x>:</ams-x></span></figcaption>
|
|
68
|
+
|
|
69
|
+
<p>Theorem text.</p>
|
|
70
|
+
<p>Emphasized <em>theorem</em> text.</p>
|
|
71
|
+
</figure>
|
|
72
|
+
<p>After theorem.</p>
|
|
73
|
+
<figure data-ams-style="thmweird" data-ams-content-type="theorem weirdtheorem" id="ltxid10" data-ams-doc="statement"><figcaption><span data-ams-doc="label">1<ams-x>.</ams-x> Weird Theorem<ams-x>:</ams-x></span></figcaption>
|
|
74
|
+
|
|
75
|
+
<p>Theorem text.</p>
|
|
76
|
+
<p>Emphasized <em>theorem</em> text.</p>
|
|
77
|
+
</figure>
|
|
78
|
+
<p>After theorem.</p>
|
|
79
|
+
</section>
|
|
80
|
+
|
|
81
|
+
</section></body></html>
|
|
@@ -0,0 +1,59 @@
|
|
|
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>amsthm</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
|
+
<label>1<x>.</x></label>
|
|
14
|
+
<title>First section</title>
|
|
15
|
+
<statement content-type="theorem lem" id="ltxid4" style="thmplain">
|
|
16
|
+
<label>1<x>.</x> Lemma<x>.</x></label>
|
|
17
|
+
<p>This is a lemma.</p>
|
|
18
|
+
</statement>
|
|
19
|
+
<p>Before theorem.</p>
|
|
20
|
+
<statement content-type="theorem theorem" id="ltxid5" style="thmplain">
|
|
21
|
+
<label>1.1<x>.</x> Theorem<x>.</x></label>
|
|
22
|
+
<p>Theorem text.</p>
|
|
23
|
+
<p>Emphasized <italic toggle="yes">theorem</italic> text.</p>
|
|
24
|
+
</statement>
|
|
25
|
+
<p><italic>After theorem.</italic></p>
|
|
26
|
+
<statement content-type="theorem theorem" id="ltxid6" style="thmplain">
|
|
27
|
+
<label>1.2<x>.</x> Theorem</label>
|
|
28
|
+
<title><x>(</x>Note<x>)</x><x>.</x></title>
|
|
29
|
+
<p>Theorem text. (currentlabel = 1.2)</p>
|
|
30
|
+
<p>Emphasized <italic toggle="yes">theorem</italic> text.</p>
|
|
31
|
+
</statement>
|
|
32
|
+
<p>After theorem <xref-group><xref ref-subtype="theorem" ref-type="statement" rid="ltxid6" specific-use="ref">1.2</xref></xref-group>.</p>
|
|
33
|
+
<p>After theorem.</p>
|
|
34
|
+
<statement content-type="theorem theorem*" id="ltxid7" style="thmplain">
|
|
35
|
+
<label>Theorem<x>.</x></label>
|
|
36
|
+
<p>Theorem text.</p>
|
|
37
|
+
<p>Emphasized <italic toggle="yes">theorem</italic> text.</p>
|
|
38
|
+
</statement>
|
|
39
|
+
<p>After theorem.</p>
|
|
40
|
+
<statement content-type="theorem conj" id="ltxid8" style="thmplain">
|
|
41
|
+
<label>1.3<x>.</x> Conjecture<x>.</x></label>
|
|
42
|
+
<p>This is a conjecture.</p>
|
|
43
|
+
</statement>
|
|
44
|
+
<p>After conjecture</p>
|
|
45
|
+
<statement content-type="theorem mytheorem" id="ltxid9" style="thmmystyle">
|
|
46
|
+
<label>1<x>.</x> My Theorem<x>:</x></label>
|
|
47
|
+
<p>Theorem text.</p>
|
|
48
|
+
<p>Emphasized <italic toggle="yes">theorem</italic> text.</p>
|
|
49
|
+
</statement>
|
|
50
|
+
<p>After theorem.</p>
|
|
51
|
+
<statement content-type="theorem weirdtheorem" id="ltxid10" style="thmweird">
|
|
52
|
+
<label>1<x>.</x> Weird Theorem<x>:</x></label>
|
|
53
|
+
<p>Theorem text.</p>
|
|
54
|
+
<p>Emphasized <italic toggle="yes">theorem</italic> text.</p>
|
|
55
|
+
</statement>
|
|
56
|
+
<p>After theorem.</p>
|
|
57
|
+
</sec>
|
|
58
|
+
</body>
|
|
59
|
+
</article>
|
|
@@ -1,7 +1,7 @@
|
|
|
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>Sample book with appendix</title></head><body>
|
|
2
2
|
<section data-ams-doc="titlepage"><script type="application/json">{"book":{"identifiers":{"AMS":{},"crossref":{},"issn":{},"isbn":{},"loc":{},"basename":null},"title":"Sample book with appendix","alttitle":"Sample book with appendix"},"publishers":[],"contributors":{"authors":[{"name":"Jane Doe","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="epub-opening-page" href="#ltxid3"><span data-ams-doc="title">Publisher’s Notice</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">Chapter title</span></a><ol><li><a data-ams-ref="section" href="#ltxid6"><span data-ams-doc="label">1<ams-x>.</ams-x></span> <span data-ams-doc="title">Introduction</span></a></li></ol></li><li><a data-ams-ref="
|
|
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="epub-opening-page" href="#ltxid3"><span data-ams-doc="title">Publisher’s Notice</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">Chapter title</span></a><ol><li><a data-ams-ref="section" href="#ltxid6"><span data-ams-doc="label">1<ams-x>.</ams-x></span> <span data-ams-doc="title">Introduction</span></a></li></ol></li><li><a data-ams-ref="chapter" href="#ltxid9"><span data-ams-doc="label">Appendix A<ams-x>.</ams-x></span> <span data-ams-doc="title">Esoteric Secrets</span></a><ol><li><a data-ams-ref="section" href="#ltxid10"><span data-ams-doc="label">1<ams-x>.</ams-x></span> <span data-ams-doc="title">Appendix section</span></a></li></ol></li><li><a data-ams-ref="chapter" href="#ltxid12"><span data-ams-doc="title">Esotericer Secrets</span></a><ol><li><a data-ams-ref="section" href="#ltxid13"><span data-ams-doc="label">2<ams-x>.</ams-x></span> <span data-ams-doc="title">Another appendix section</span></a></li></ol></li><li><a data-ams-ref="chapter" href="#ltxid14"><span data-ams-doc="label">Appendix B<ams-x>.</ams-x></span> <span data-ams-doc="title">Esotericest Secrets</span></a><ol><li><a data-ams-ref="section" href="#ltxid15"><span data-ams-doc="title">Shout outs</span></a></li></ol></li></ol></nav>
|
|
5
5
|
<section data-ams-doc-level="0" data-ams-content-type="publishers-note" data-ams-doc="notes" data-ams-specific-use="epub-opening-page" id="ltxid3"><h1><span data-ams-doc="title">Publisher’s Notice</span></h1>
|
|
6
6
|
|
|
7
7
|
<p>The <a href="https://www.ams.org">American Mathematical Society</a> 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>
|
|
@@ -27,13 +27,13 @@
|
|
|
27
27
|
|
|
28
28
|
<h1><span data-ams-doc="title">Appendixes</span></h1>
|
|
29
29
|
|
|
30
|
-
<section role="doc-appendix" id="ltxid9" data-ams-doc="
|
|
30
|
+
<section role="doc-appendix" id="ltxid9" data-ams-doc="chapter" data-ams-doc-level="0">
|
|
31
31
|
|
|
32
|
-
<
|
|
32
|
+
<h1><span data-ams-doc="label">Appendix A</span> <span data-ams-doc="title">Esoteric Secrets</span></h1>
|
|
33
33
|
|
|
34
34
|
|
|
35
35
|
<p>Some text.</p>
|
|
36
|
-
<section data-ams-
|
|
36
|
+
<section id="ltxid10" 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</span></h2>
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
<p>Some text.</p>
|
|
@@ -45,22 +45,22 @@
|
|
|
45
45
|
</section>
|
|
46
46
|
|
|
47
47
|
</section>
|
|
48
|
-
<section role="doc-appendix" id="ltxid12" data-ams-doc="
|
|
48
|
+
<section role="doc-appendix" id="ltxid12" data-ams-doc="chapter" data-ams-doc-level="0">
|
|
49
49
|
|
|
50
|
-
<
|
|
50
|
+
<h1><span data-ams-doc="label">Appendix</span> <span data-ams-doc="title">Esotericer Secrets</span></h1>
|
|
51
51
|
|
|
52
52
|
|
|
53
53
|
<p>Some text.</p>
|
|
54
|
-
<section data-ams-
|
|
54
|
+
<section id="ltxid13" data-ams-doc="section" data-ams-doc-level="1"><h2><span data-ams-doc="label">2<ams-x>.</ams-x></span> <span data-ams-doc="title">Another appendix section</span></h2>
|
|
55
55
|
|
|
56
56
|
|
|
57
57
|
<p>Some text.</p>
|
|
58
58
|
</section>
|
|
59
59
|
|
|
60
60
|
</section>
|
|
61
|
-
<section role="doc-appendix" id="ltxid14" data-ams-doc="
|
|
61
|
+
<section role="doc-appendix" id="ltxid14" data-ams-doc="chapter" data-ams-doc-level="0">
|
|
62
62
|
|
|
63
|
-
<
|
|
63
|
+
<h1><span data-ams-doc="label">Appendix B</span> <span data-ams-doc="title">Esotericest Secrets</span></h1>
|
|
64
64
|
|
|
65
65
|
|
|
66
66
|
<p>Here is the real truth.</p>
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
<nav-pointer rid="ltxid6"/>
|
|
31
31
|
</toc-entry>
|
|
32
32
|
</toc-entry>
|
|
33
|
-
<toc-entry specific-use="
|
|
33
|
+
<toc-entry specific-use="chapter">
|
|
34
34
|
<label>Appendix A<x>.</x></label>
|
|
35
35
|
<title>Esoteric Secrets</title>
|
|
36
36
|
<nav-pointer rid="ltxid9"/>
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
<nav-pointer rid="ltxid10"/>
|
|
41
41
|
</toc-entry>
|
|
42
42
|
</toc-entry>
|
|
43
|
-
<toc-entry specific-use="
|
|
43
|
+
<toc-entry specific-use="chapter">
|
|
44
44
|
<title>Esotericer Secrets</title>
|
|
45
45
|
<nav-pointer rid="ltxid12"/>
|
|
46
46
|
<toc-entry specific-use="section">
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
<nav-pointer rid="ltxid13"/>
|
|
50
50
|
</toc-entry>
|
|
51
51
|
</toc-entry>
|
|
52
|
-
<toc-entry specific-use="
|
|
52
|
+
<toc-entry specific-use="chapter">
|
|
53
53
|
<label>Appendix B<x>.</x></label>
|
|
54
54
|
<title>Esotericest Secrets</title>
|
|
55
55
|
<nav-pointer rid="ltxid14"/>
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
<title>Appendixes</title>
|
|
87
87
|
</title-group>
|
|
88
88
|
</book-part-meta>
|
|
89
|
-
<book-app id="ltxid9">
|
|
89
|
+
<book-app disp-level="1" id="ltxid9" specific-use="chapter">
|
|
90
90
|
<book-part-meta>
|
|
91
91
|
<title-group>
|
|
92
92
|
<label>Appendix A</label>
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
</book-part-meta>
|
|
96
96
|
<body>
|
|
97
97
|
<p>Some text.</p>
|
|
98
|
-
<
|
|
98
|
+
<sec disp-level="2" id="ltxid10" specific-use="section">
|
|
99
99
|
<label>1<x>.</x></label>
|
|
100
100
|
<title>Appendix section</title>
|
|
101
101
|
<p>Some text.</p>
|
|
@@ -104,10 +104,10 @@
|
|
|
104
104
|
<title>Appendix subsection<x>.</x></title>
|
|
105
105
|
<p>Some text.</p>
|
|
106
106
|
</sec>
|
|
107
|
-
</
|
|
107
|
+
</sec>
|
|
108
108
|
</body>
|
|
109
109
|
</book-app>
|
|
110
|
-
<book-app id="ltxid12">
|
|
110
|
+
<book-app disp-level="1" id="ltxid12" specific-use="chapter">
|
|
111
111
|
<book-part-meta>
|
|
112
112
|
<title-group>
|
|
113
113
|
<label>Appendix</label>
|
|
@@ -116,14 +116,14 @@
|
|
|
116
116
|
</book-part-meta>
|
|
117
117
|
<body>
|
|
118
118
|
<p>Some text.</p>
|
|
119
|
-
<
|
|
119
|
+
<sec disp-level="2" id="ltxid13" specific-use="section">
|
|
120
120
|
<label>2<x>.</x></label>
|
|
121
121
|
<title>Another appendix section</title>
|
|
122
122
|
<p>Some text.</p>
|
|
123
|
-
</
|
|
123
|
+
</sec>
|
|
124
124
|
</body>
|
|
125
125
|
</book-app>
|
|
126
|
-
<book-app id="ltxid14">
|
|
126
|
+
<book-app disp-level="1" id="ltxid14" specific-use="chapter">
|
|
127
127
|
<book-part-meta>
|
|
128
128
|
<title-group>
|
|
129
129
|
<label>Appendix B</label>
|
|
@@ -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
|
|
49
|
-
<p>B
|
|
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
|
|
19
|
-
<funding-statement>B
|
|
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>
|