@manuscripts/transform 4.3.53 → 4.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (172) hide show
  1. package/dist/cjs/jats/__tests__/jats-roundtrip.test.js +3 -3
  2. package/dist/cjs/version.js +1 -1
  3. package/dist/es/jats/__tests__/jats-roundtrip.test.js +3 -3
  4. package/dist/es/version.js +1 -1
  5. package/dist/types/jats/__tests__/utils.d.ts +1 -1
  6. package/dist/types/version.d.ts +1 -1
  7. package/package.json +22 -21
  8. package/src/errors.ts +28 -0
  9. package/src/getVersion.ts +21 -0
  10. package/src/index.ts +28 -0
  11. package/src/jats/__tests__/__fixtures__/debug-example.xml +136 -0
  12. package/src/jats/__tests__/__fixtures__/jats-abstract-no-body.xml +163 -0
  13. package/src/jats/__tests__/__fixtures__/jats-citations.xml +472 -0
  14. package/src/jats/__tests__/__fixtures__/jats-comments.xml +46 -0
  15. package/src/jats/__tests__/__fixtures__/jats-document.xml +134 -0
  16. package/src/jats/__tests__/__fixtures__/jats-example-doc.xml +1235 -0
  17. package/src/jats/__tests__/__fixtures__/jats-example-front-only.xml +26 -0
  18. package/src/jats/__tests__/__fixtures__/jats-example-full.xml +209 -0
  19. package/src/jats/__tests__/__fixtures__/jats-example-no-back.xml +156 -0
  20. package/src/jats/__tests__/__fixtures__/jats-example-no-body.xml +91 -0
  21. package/src/jats/__tests__/__fixtures__/jats-example.xml +221 -0
  22. package/src/jats/__tests__/__fixtures__/jats-fn-group.xml +60 -0
  23. package/src/jats/__tests__/__fixtures__/jats-import-no-refs.xml +1077 -0
  24. package/src/jats/__tests__/__fixtures__/jats-import.xml +1561 -0
  25. package/src/jats/__tests__/__fixtures__/jats-roundtrip.xml +133 -0
  26. package/src/jats/__tests__/__fixtures__/jats-tables-example.xml +2043 -0
  27. package/src/jats/__tests__/__fixtures__/math-fragment.xml +12 -0
  28. package/src/jats/__tests__/__snapshots__/citeproc.test.ts.snap +57 -0
  29. package/src/jats/__tests__/__snapshots__/create-article-node.test.ts.snap +65 -0
  30. package/src/jats/__tests__/__snapshots__/jats-exporter.test.ts.snap +7 -0
  31. package/src/jats/__tests__/__snapshots__/jats-importer.test.ts.snap +59605 -0
  32. package/src/jats/__tests__/__snapshots__/jats-roundtrip.test.ts.snap +18 -0
  33. package/src/jats/__tests__/citations.ts +25 -0
  34. package/src/jats/__tests__/citeproc.test.ts +195 -0
  35. package/src/jats/__tests__/create-article-node.test.ts +29 -0
  36. package/src/jats/__tests__/data/section-categories.ts +212 -0
  37. package/src/jats/__tests__/files.ts +24 -0
  38. package/src/jats/__tests__/jats-exporter.test.ts +223 -0
  39. package/src/jats/__tests__/jats-importer.test.ts +567 -0
  40. package/src/jats/__tests__/jats-roundtrip.test.ts +66 -0
  41. package/src/jats/__tests__/utils.ts +90 -0
  42. package/src/jats/exporter/citeproc.ts +265 -0
  43. package/src/jats/exporter/jats-exporter.ts +2090 -0
  44. package/src/jats/exporter/jats-versions.ts +50 -0
  45. package/src/jats/exporter/labels.ts +101 -0
  46. package/src/jats/importer/create-article-node.ts +52 -0
  47. package/src/jats/importer/jats-comments.ts +111 -0
  48. package/src/jats/importer/jats-dom-parser.ts +1260 -0
  49. package/src/jats/importer/jats-parser-utils.ts +234 -0
  50. package/src/jats/importer/jats-transformations.ts +591 -0
  51. package/src/jats/importer/parse-jats-article.ts +106 -0
  52. package/src/jats/index.ts +21 -0
  53. package/src/jats/types.ts +16 -0
  54. package/src/lib/__tests__/footnotes.test.ts +36 -0
  55. package/src/lib/citeproc.ts +30 -0
  56. package/src/lib/credit-roles.ts +91 -0
  57. package/src/lib/deafults.ts +17 -0
  58. package/src/lib/footnotes.ts +85 -0
  59. package/src/lib/html.ts +56 -0
  60. package/src/lib/section-categories.ts +27 -0
  61. package/src/lib/utils.ts +145 -0
  62. package/src/lib/xml.ts +28 -0
  63. package/src/schema/__tests__/docs.ts +1911 -0
  64. package/src/schema/__tests__/groups.test.ts +61 -0
  65. package/src/schema/__tests__/migration.test.ts +23 -0
  66. package/src/schema/groups.ts +36 -0
  67. package/src/schema/index.ts +286 -0
  68. package/src/schema/marks.ts +254 -0
  69. package/src/schema/migration/migrate.ts +77 -0
  70. package/src/schema/migration/migration-script.ts +26 -0
  71. package/src/schema/migration/migration-scripts/1.2.5.ts +44 -0
  72. package/src/schema/migration/migration-scripts/2.3.22.ts +52 -0
  73. package/src/schema/migration/migration-scripts/3.0.12.ts +33 -0
  74. package/src/schema/migration/migration-scripts/3.0.21.ts +50 -0
  75. package/src/schema/migration/migration-scripts/3.0.30.ts +65 -0
  76. package/src/schema/migration/migration-scripts/3.0.31.ts +40 -0
  77. package/src/schema/migration/migration-scripts/3.0.41.ts +37 -0
  78. package/src/schema/migration/migration-scripts/3.0.55.ts +42 -0
  79. package/src/schema/migration/migration-scripts/3.0.56.ts +114 -0
  80. package/src/schema/migration/migration-scripts/4.2.13.ts +37 -0
  81. package/src/schema/migration/migration-scripts/4.2.15.ts +48 -0
  82. package/src/schema/migration/migration-scripts/4.3.23.ts +55 -0
  83. package/src/schema/migration/migration-scripts/4.3.34.ts +132 -0
  84. package/src/schema/migration/migration-scripts/4.3.35.ts +41 -0
  85. package/src/schema/migration/migration-scripts/index.ts +49 -0
  86. package/src/schema/nodes/abstracts.ts +29 -0
  87. package/src/schema/nodes/affiliation.ts +88 -0
  88. package/src/schema/nodes/affiliations.ts +30 -0
  89. package/src/schema/nodes/alt_text.ts +36 -0
  90. package/src/schema/nodes/alt_title.ts +40 -0
  91. package/src/schema/nodes/alt_titles_section.ts +58 -0
  92. package/src/schema/nodes/attachment.ts +46 -0
  93. package/src/schema/nodes/attachments.ts +45 -0
  94. package/src/schema/nodes/attribution.ts +38 -0
  95. package/src/schema/nodes/author_notes.ts +44 -0
  96. package/src/schema/nodes/award.ts +52 -0
  97. package/src/schema/nodes/awards.ts +45 -0
  98. package/src/schema/nodes/backmatter.ts +31 -0
  99. package/src/schema/nodes/bibliography_element.ts +58 -0
  100. package/src/schema/nodes/bibliography_item.ts +108 -0
  101. package/src/schema/nodes/bibliography_section.ts +60 -0
  102. package/src/schema/nodes/blockquote_element.ts +79 -0
  103. package/src/schema/nodes/body.ts +29 -0
  104. package/src/schema/nodes/box_element.ts +67 -0
  105. package/src/schema/nodes/caption.ts +67 -0
  106. package/src/schema/nodes/caption_title.ts +67 -0
  107. package/src/schema/nodes/citation.ts +70 -0
  108. package/src/schema/nodes/comment.ts +50 -0
  109. package/src/schema/nodes/comments.ts +28 -0
  110. package/src/schema/nodes/contributor.ts +87 -0
  111. package/src/schema/nodes/contributors.ts +40 -0
  112. package/src/schema/nodes/core_section.ts +27 -0
  113. package/src/schema/nodes/corresp.ts +49 -0
  114. package/src/schema/nodes/cross_reference.ts +64 -0
  115. package/src/schema/nodes/doc.ts +21 -0
  116. package/src/schema/nodes/embed.ts +55 -0
  117. package/src/schema/nodes/equation.ts +65 -0
  118. package/src/schema/nodes/equation_element.ts +61 -0
  119. package/src/schema/nodes/figure.ts +65 -0
  120. package/src/schema/nodes/figure_element.ts +73 -0
  121. package/src/schema/nodes/footnote.ts +95 -0
  122. package/src/schema/nodes/footnotes_element.ts +69 -0
  123. package/src/schema/nodes/footnotes_section.ts +61 -0
  124. package/src/schema/nodes/general_table_footnote.ts +42 -0
  125. package/src/schema/nodes/graphical_abstract_section.ts +62 -0
  126. package/src/schema/nodes/hard_break.ts +36 -0
  127. package/src/schema/nodes/hero_image.ts +46 -0
  128. package/src/schema/nodes/highlight_marker.ts +68 -0
  129. package/src/schema/nodes/image_element.ts +49 -0
  130. package/src/schema/nodes/inline_equation.ts +68 -0
  131. package/src/schema/nodes/inline_footnote.ts +66 -0
  132. package/src/schema/nodes/keyword.ts +61 -0
  133. package/src/schema/nodes/keyword_group.ts +63 -0
  134. package/src/schema/nodes/keywords.ts +59 -0
  135. package/src/schema/nodes/keywords_element.ts +64 -0
  136. package/src/schema/nodes/link.ts +79 -0
  137. package/src/schema/nodes/list.ts +134 -0
  138. package/src/schema/nodes/listing.ts +91 -0
  139. package/src/schema/nodes/listing_element.ts +61 -0
  140. package/src/schema/nodes/long_desc.ts +36 -0
  141. package/src/schema/nodes/manuscript.ts +86 -0
  142. package/src/schema/nodes/missing_figure.ts +59 -0
  143. package/src/schema/nodes/paragraph.ts +77 -0
  144. package/src/schema/nodes/placeholder.ts +62 -0
  145. package/src/schema/nodes/placeholder_element.ts +60 -0
  146. package/src/schema/nodes/pullquote_element.ts +81 -0
  147. package/src/schema/nodes/quote_image.ts +64 -0
  148. package/src/schema/nodes/section.ts +69 -0
  149. package/src/schema/nodes/section_label.ts +39 -0
  150. package/src/schema/nodes/section_title.ts +58 -0
  151. package/src/schema/nodes/subtitle.ts +40 -0
  152. package/src/schema/nodes/subtitles.ts +51 -0
  153. package/src/schema/nodes/supplement.ts +77 -0
  154. package/src/schema/nodes/supplements.ts +60 -0
  155. package/src/schema/nodes/table.ts +144 -0
  156. package/src/schema/nodes/table_col.ts +76 -0
  157. package/src/schema/nodes/table_element.ts +67 -0
  158. package/src/schema/nodes/table_element_footer.ts +42 -0
  159. package/src/schema/nodes/text.ts +31 -0
  160. package/src/schema/nodes/title.ts +43 -0
  161. package/src/schema/nodes/trans_abstract.ts +58 -0
  162. package/src/schema/nodes/trans_graphical_abstract.ts +67 -0
  163. package/src/schema/types.ts +240 -0
  164. package/src/tests.ts +33 -0
  165. package/src/transformer/id.ts +23 -0
  166. package/src/transformer/index.ts +21 -0
  167. package/src/transformer/node-names.ts +73 -0
  168. package/src/transformer/node-title.ts +111 -0
  169. package/src/transformer/node-types.ts +39 -0
  170. package/src/transformer/node-validator.ts +82 -0
  171. package/src/types.ts +25 -0
  172. package/src/version.ts +1 -0
@@ -0,0 +1,12 @@
1
+ <mml:math xmlns:mml='http://www.w3.org/1998/Math/MathML'>
2
+ <mml:mrow>
3
+ <mml:mi>cos</mml:mi>
4
+ <mml:mo>&#8289;</mml:mo>
5
+ <mml:mo>(</mml:mo>
6
+ <mml:msup>
7
+ <mml:mi>x</mml:mi>
8
+ <mml:mn>3</mml:mn>
9
+ </mml:msup>
10
+ <mml:mo>)</mml:mo>
11
+ </mml:mrow>
12
+ </mml:math>
@@ -0,0 +1,57 @@
1
+ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
2
+
3
+ exports[`Export formatted references > Export references in AMA style > bib1 1`] = `"<ref id=\\"bib1\\"><label>1. </label><mixed-citation publication-type=\\"journal\\"><person-group person-group-type=\\"author\\"><string-name><surname>Doe</surname> <given-names>J</given-names></string-name>, <string-name><surname>Smith</surname> <given-names>J</given-names></string-name></person-group>. <article-title>Advancements in Artificial Intelligence</article-title>. <source><italic>AI Research Journal</italic></source>. <year>2021</year>;<volume>18</volume><issue>(2)</issue>:<fpage>45</fpage>-<lpage>60</lpage>. doi:<pub-id pub-id-type=\\"doi\\">10.1000/xyz123</pub-id></mixed-citation></ref>"`;
4
+
5
+ exports[`Export formatted references > Export references in AMA style > bib1-citation 1`] = `"<sup>1</sup>"`;
6
+
7
+ exports[`Export formatted references > Export references in AMA style > bib2 1`] = `"<ref id=\\"bib2\\"><label>2. </label><mixed-citation publication-type=\\"book\\"><person-group person-group-type=\\"author\\"><string-name><surname>Brown</surname> <given-names>M</given-names></string-name>, <string-name><surname>Green</surname> <given-names>A</given-names></string-name></person-group>. Vol <volume>1</volume>. <edition>2nd</edition> ed. (<person-group person-group-type=\\"editor\\"><string-name><surname>Williams</surname> <given-names>D</given-names></string-name>, <string-name><surname>Taylor</surname> <given-names>S</given-names></string-name>, eds</person-group>.). <publisher-loc>New York, USA</publisher-loc>: <publisher-name>Springer</publisher-name>; <year>2020</year>. <ext-link ext-link-type=\\"uri\\" xlink:href=\\"https://doi.org/10.1000/xyz123\\">https://doi.org/10.1000/xyz123</ext-link>.</mixed-citation></ref>"`;
8
+
9
+ exports[`Export formatted references > Export references in AMA style > bib2-citation 1`] = `"<sup>2</sup>"`;
10
+
11
+ exports[`Export formatted references > Export references in AMA style > bib3 1`] = `"<ref id=\\"bib3\\"><label>3. </label><mixed-citation publication-type=\\"chapter\\"><person-group person-group-type=\\"author\\"><string-name><surname>Miller</surname> <given-names>S</given-names></string-name></person-group>. <part-title>Machine Learning Applications</part-title>. In: <source><italic>Handbook of AI</italic></source>. <publisher-name>Oxford University Press</publisher-name>; <year>2022</year>:<fpage>105</fpage>-<lpage>120</lpage>.</mixed-citation></ref>"`;
12
+
13
+ exports[`Export formatted references > Export references in AMA style > bib3-citation 1`] = `"<sup>3</sup>"`;
14
+
15
+ exports[`Export formatted references > Export references in AMA style > bib4 1`] = `"<ref id=\\"bib4\\"><label>4. </label><mixed-citation publication-type=\\"confproc\\"><person-group person-group-type=\\"author\\"><string-name><surname>Johnson</surname> <given-names>E</given-names></string-name></person-group>. <part-title>Deep Learning in Image Processing</part-title>. <source><italic>Proceedings of the International Conference on Machine Learning</italic></source>. <year>2019</year>:<fpage>223</fpage>-<lpage>230</lpage>. <ext-link ext-link-type=\\"uri\\" xlink:href=\\"https://icml2019.org/papers/223\\">https://icml2019.org/papers/223</ext-link>.</mixed-citation></ref>"`;
16
+
17
+ exports[`Export formatted references > Export references in AMA style > bib4-citation 1`] = `"<sup>4</sup>"`;
18
+
19
+ exports[`Export formatted references > Export references in AMA style > bib5 1`] = `"<ref id=\\"bib5\\"><label>5. </label><mixed-citation publication-type=\\"thesis\\"><person-group person-group-type=\\"author\\"><string-name><surname>Garcia</surname> <given-names>D</given-names></string-name></person-group>. <part-title>Neural Networks for Natural Language Processing</part-title>. <year>2021</year>. doi:<pub-id pub-id-type=\\"doi\\">10.1234/thesis2021</pub-id></mixed-citation></ref>"`;
20
+
21
+ exports[`Export formatted references > Export references in AMA style > bib5-citation 1`] = `"<sup>5</sup>"`;
22
+
23
+ exports[`Export formatted references > Export references in AMA style > bib6 1`] = `"<ref id=\\"bib6\\"><label>6. </label><mixed-citation publication-type=\\"page\\"><person-group person-group-type=\\"author\\"><string-name><surname>Jones</surname> <given-names>S</given-names></string-name></person-group>. <part-title>Big Data Trends in 2023</part-title>. <source>Data Science Blog</source>. <ext-link ext-link-type=\\"uri\\" xlink:href=\\"https://www.datascienceblog.com/big-data-2023\\">https://www.datascienceblog.com/big-data-2023</ext-link>. Published <year>2023</year>. Accessed <date-in-citation content-type=\\"access-date\\" iso-8601-date=\\"2024-02-15\\">February 15, 2024</date-in-citation>.</mixed-citation></ref>"`;
24
+
25
+ exports[`Export formatted references > Export references in AMA style > bib6-citation 1`] = `"<sup>6</sup>"`;
26
+
27
+ exports[`Export formatted references > Export references in AMA style > bib7 1`] = `"<ref id=\\"bib7\\"><label>7. </label><mixed-citation publication-type=\\"other\\"><person-group person-group-type=\\"author\\"><string-name><surname>Adams</surname> <given-names>L</given-names></string-name></person-group>. <part-title>Private Research Report on AI Ethics</part-title>. <source><italic>Internal Research Report</italic></source>. <year>2022</year>.</mixed-citation></ref>"`;
28
+
29
+ exports[`Export formatted references > Export references in AMA style > bib7-citation 1`] = `"<sup>7</sup>"`;
30
+
31
+ exports[`Export formatted references > Export references in Chicago Author Date style > bib1 1`] = `"<ref id=\\"bib1\\"><mixed-citation publication-type=\\"journal\\"><person-group person-group-type=\\"author\\"><string-name><surname>Doe</surname>, <given-names>John</given-names></string-name>, and <string-name><given-names>Jane</given-names> <surname>Smith</surname></string-name></person-group>. <year>2021</year>. <article-title>“Advancements in Artificial Intelligence.”</article-title> <source><italic>AI Research Journal</italic></source> <volume>18</volume> (<issue>2</issue>): <fpage>45</fpage>–<lpage>60</lpage>. <pub-id pub-id-type=\\"doi\\">https://doi.org/10.1000/xyz123</pub-id>.</mixed-citation></ref>"`;
32
+
33
+ exports[`Export formatted references > Export references in Chicago Author Date style > bib1-citation 1`] = `"(Doe and Smith 2021)"`;
34
+
35
+ exports[`Export formatted references > Export references in Chicago Author Date style > bib2 1`] = `"<ref id=\\"bib2\\"><mixed-citation publication-type=\\"book\\"><person-group person-group-type=\\"author\\"><string-name><surname>Brown</surname>, <given-names>Michael</given-names></string-name>, and <string-name><given-names>Anna</given-names> <surname>Green</surname></string-name></person-group>. <year>2020</year>. <person-group person-group-type=\\"editor\\">Edited by <string-name><given-names>David</given-names> <surname>Williams</surname></string-name> and <string-name><given-names>Sophia</given-names> <surname>Taylor</surname></string-name></person-group>. <source><italic>Introduction to Data Science</italic></source>. <edition>2nd</edition> ed. Vol. <volume>1</volume>. <series>Data Science Series</series>. <publisher-loc>New York, USA</publisher-loc>: <publisher-name>Springer</publisher-name>. <ext-link ext-link-type=\\"uri\\" xlink:href=\\"https://doi.org/10.1000/xyz123\\">https://doi.org/10.1000/xyz123</ext-link>.</mixed-citation></ref>"`;
36
+
37
+ exports[`Export formatted references > Export references in Chicago Author Date style > bib2-citation 1`] = `"(Brown and Green 2020)"`;
38
+
39
+ exports[`Export formatted references > Export references in Chicago Author Date style > bib3 1`] = `"<ref id=\\"bib3\\"><mixed-citation publication-type=\\"chapter\\"><person-group person-group-type=\\"author\\"><string-name><surname>Miller</surname>, <given-names>Susan</given-names></string-name></person-group>. <year>2022</year>. <part-title>“Machine Learning Applications.”</part-title> In <source><italic>Handbook of AI</italic></source>, <fpage>105</fpage>–<lpage>20</lpage>. <publisher-name>Oxford University Press</publisher-name>.</mixed-citation></ref>"`;
40
+
41
+ exports[`Export formatted references > Export references in Chicago Author Date style > bib3-citation 1`] = `"(Miller 2022)"`;
42
+
43
+ exports[`Export formatted references > Export references in Chicago Author Date style > bib4 1`] = `"<ref id=\\"bib4\\"><mixed-citation publication-type=\\"confproc\\"><person-group person-group-type=\\"author\\"><string-name><surname>Johnson</surname>, <given-names>Emily</given-names></string-name></person-group>. <year>2019</year>. <part-title>“Deep Learning in Image Processing.”</part-title> <source><italic>Proceedings of the International Conference on Machine Learning</italic></source>. <publisher-loc>New York, USA</publisher-loc>: <publisher-name>IEEE</publisher-name>. <ext-link ext-link-type=\\"uri\\" xlink:href=\\"https://icml2019.org/papers/223\\">https://icml2019.org/papers/223</ext-link>.</mixed-citation></ref>"`;
44
+
45
+ exports[`Export formatted references > Export references in Chicago Author Date style > bib4-citation 1`] = `"(Johnson 2019)"`;
46
+
47
+ exports[`Export formatted references > Export references in Chicago Author Date style > bib5 1`] = `"<ref id=\\"bib5\\"><mixed-citation publication-type=\\"thesis\\"><person-group person-group-type=\\"author\\"><string-name><surname>Garcia</surname>, <given-names>Daniel</given-names></string-name></person-group>. <year>2021</year>. <part-title>“Neural Networks for Natural Language Processing.”</part-title> <pub-id pub-id-type=\\"doi\\">https://doi.org/10.1234/thesis2021</pub-id>.</mixed-citation></ref>"`;
48
+
49
+ exports[`Export formatted references > Export references in Chicago Author Date style > bib5-citation 1`] = `"(Garcia 2021)"`;
50
+
51
+ exports[`Export formatted references > Export references in Chicago Author Date style > bib6 1`] = `"<ref id=\\"bib6\\"><mixed-citation publication-type=\\"page\\"><person-group person-group-type=\\"author\\"><string-name><surname>Jones</surname>, <given-names>Sarah</given-names></string-name></person-group>. <year>2023</year>. <part-title>“Big Data Trends in 2023.”</part-title> <source>Data Science Blog</source>. <year>2023</year>. <ext-link ext-link-type=\\"uri\\" xlink:href=\\"https://www.datascienceblog.com/big-data-2023\\">https://www.datascienceblog.com/big-data-2023</ext-link>.</mixed-citation></ref>"`;
52
+
53
+ exports[`Export formatted references > Export references in Chicago Author Date style > bib6-citation 1`] = `"(Jones 2023)"`;
54
+
55
+ exports[`Export formatted references > Export references in Chicago Author Date style > bib7 1`] = `"<ref id=\\"bib7\\"><mixed-citation publication-type=\\"other\\"><person-group person-group-type=\\"author\\"><string-name><surname>Adams</surname>, <given-names>Lisa</given-names></string-name></person-group>. <year>2022</year>. <part-title>“Private Research Report on AI Ethics.”</part-title> <source><italic>Internal Research Report</italic></source>. <publisher-name>AI Ethics Initiative</publisher-name>.</mixed-citation></ref>"`;
56
+
57
+ exports[`Export formatted references > Export references in Chicago Author Date style > bib7-citation 1`] = `"(Adams 2022)"`;
@@ -0,0 +1,65 @@
1
+ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
2
+
3
+ exports[`Create empty document > should create an empty document 1`] = `
4
+ Object {
5
+ "attrs": Object {
6
+ "acceptanceDate": undefined,
7
+ "articleType": "research-article",
8
+ "correctionDate": undefined,
9
+ "doi": "",
10
+ "id": "manuscript:123",
11
+ "primaryLanguageCode": "",
12
+ "prototype": "",
13
+ "receiveDate": undefined,
14
+ "retractionDate": undefined,
15
+ "revisionReceiveDate": undefined,
16
+ "revisionRequestDate": undefined,
17
+ },
18
+ "content": Array [
19
+ Object {
20
+ "attrs": Object {
21
+ "dataTracked": null,
22
+ "id": "MPTitle:test",
23
+ "placeholder": "Insert title here...",
24
+ },
25
+ "type": "title",
26
+ },
27
+ Object {
28
+ "attrs": Object {
29
+ "id": "MPAbstracts:test",
30
+ },
31
+ "type": "abstracts",
32
+ },
33
+ Object {
34
+ "attrs": Object {
35
+ "id": "MPBody:test",
36
+ },
37
+ "content": Array [
38
+ Object {
39
+ "attrs": Object {
40
+ "dataTracked": null,
41
+ "id": "MPParagraph:test",
42
+ "placeholder": "",
43
+ },
44
+ "type": "paragraph",
45
+ },
46
+ ],
47
+ "type": "body",
48
+ },
49
+ Object {
50
+ "attrs": Object {
51
+ "id": "MPBackmatter:test",
52
+ "placeholder": " ",
53
+ },
54
+ "type": "backmatter",
55
+ },
56
+ Object {
57
+ "attrs": Object {
58
+ "id": "MPComments:test",
59
+ },
60
+ "type": "comments",
61
+ },
62
+ ],
63
+ "type": "manuscript",
64
+ }
65
+ `;
@@ -0,0 +1,7 @@
1
+ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
2
+
3
+ exports[`JATS exporter > export latest version > jats-export 1`] = `"<!DOCTYPE article PUBLIC \\"-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD with OASIS Tables with MathML3 v1.2 20190208//EN\\" \\"http://jats.nlm.nih.gov/archiving/1.2/JATS-archive-oasis-article1-mathml3.dtd\\"><article xmlns:xlink=\\"http://www.w3.org/1999/xlink\\" article-type=\\"research-article\\" xml:lang=\\"en\\"><front><article-meta><title-group><article-title>This is the Article Title</article-title><subtitle>Which has a Subtitle</subtitle></title-group><contrib-group content-type=\\"authors\\"><contrib contrib-type=\\"author\\" id=\\"contrib-1\\" corresp=\\"yes\\"><role>Member, IEEE</role><name><surname>Day</surname><given-names>Nathan</given-names></name><xref ref-type=\\"aff\\" rid=\\"aff-1\\"><sup>1</sup></xref><xref ref-type=\\"fn\\" rid=\\"fn-1\\"><sup>2</sup></xref><xref ref-type=\\"corresp\\" rid=\\"corresp-1\\"><sup>3</sup></xref></contrib><aff id=\\"aff-1\\"><label>1</label><institution>University of Life</institution>, <addr-line>Houston, TX</addr-line>, <city>Houston</city>, <state>TX</state>, <country>USA</country></aff></contrib-group><author-notes><corresp id=\\"corresp-1\\"><label>*</label>Correspondence: nday@inera.com.</corresp><fn id=\\"fn-1\\"><p>Author_Footnote.</p></fn><fn id=\\"fn-2\\"><p>DisclaimerThis is an unlabelled author footnote with a separate title.</p></fn><fn fn-type=\\"coi-statement\\"><label>Competing Interests</label><p id=\\"p-1\\">This is information about Competing Interests.</p></fn></author-notes><history><date date-type=\\"accepted\\"><day>12</day><month>05</month><year>2009</year></date><date date-type=\\"received\\"><day>01</day><month>04</month><year>2009</year></date><date date-type=\\"rev-recd\\"><day>02</day><month>05</month><year>2009</year></date></history><abstract abstract-type=\\"teaser\\"><p id=\\"p-2\\">The direct interaction of phenobarbital with the epidermal growth factor receptor reveals a new network interface in nuclear receptor signaling.</p></abstract><abstract><sec id=\\"sec-1\\" sec-type=\\"intro\\"><title>Introduction</title><p id=\\"p-3\\">This is a sectionalized abstract.</p></sec><sec id=\\"sec-2\\" sec-type=\\"results\\"><title>Results</title><p id=\\"p-4\\">These are the results of the experiment.</p></sec></abstract><kwd-group kwd-group-type=\\"author\\"><kwd>Paragraphs</kwd><kwd>exporting</kwd><kwd>testing</kwd><kwd>NLM DTD</kwd></kwd-group><counts><fig-count count=\\"1\\"/><ref-count count=\\"1\\"/><word-count count=\\"190\\"/></counts></article-meta></front><body><sec id=\\"sec-3\\" sec-type=\\"intro\\"><title>Introduction</title><sec id=\\"sec-4\\"><title>A level 2 subhead</title><sec id=\\"sec-5\\"><title>A level 3 subhead</title><sec id=\\"sec-6\\"><title>A level 4 subhead</title><sec id=\\"sec-7\\"><title>A level 5 subhead</title></sec></sec></sec></sec></sec><sec id=\\"sec-8\\" sec-type=\\"methods\\"><title>Materials and Methods</title><p id=\\"p-5\\">Some more text</p></sec><sec id=\\"sec-9\\" sec-type=\\"results\\"><title>Results</title><p id=\\"p-6\\">Some text that introduces a poem:</p><p id=\\"p-7\\">Poetry Source: Wikipedia</p><p id=\\"p-8\\">You might1 peruse, e.g., <xref rid=\\"boxed-text-1\\">Box 1</xref>. See also .</p><boxed-text id=\\"boxed-text-1\\"><label>Box 1</label><caption><title>Boxed boxes.</title></caption><sec id=\\"sec-10\\"><title>Box_Head_1</title><sec id=\\"sec-11\\"><title>Box_Head_2</title><p id=\\"p-9\\">Box_Text<xref ref-type=\\"fn\\" rid=\\"fn-5\\">c</xref></p></sec></sec></boxed-text><p id=\\"p-10\\">See also, <xref ref-type=\\"bibr\\" rid=\\"ref-1\\"><sup>1</sup></xref> and . Kinds of tables This is a table title continued paragraph Table_Head Table_Body* * Table_Footnote Block_Quote Source: Wikipedia Paragraph_Continued with a graphic in the middlewhere the paragraph continues.</p><sec id=\\"sec-12\\"><label>H<sub>1</sub></label><title>This is a hypothesis.</title><list list-type=\\"bullet\\"><list-item><p id=\\"p-11\\">Num_Bul_List_1</p><p id=\\"p-12\\">List_1_Continued</p><list list-type=\\"bullet\\"><list-item><p id=\\"p-13\\">Num_Bul_List_2</p><p id=\\"p-14\\">List_2_Continued</p></list-item></list></list-item><list-item><p id=\\"p-15\\">level 1, bullet 2</p></list-item></list></sec></sec><sec id=\\"sec-13\\" sec-type=\\"discussion\\"><title>Discussion</title><p id=\\"p-16\\">ParagraphUnnumbered_List_1 Another unnumbered itemwith another paragraph that continues after a list.</p></sec><sec id=\\"sec-14\\" sec-type=\\"conclusions\\"><title>Conclusions</title><p id=\\"p-17\\">Paragraph</p></sec></body><back><app-group><app><sec id=\\"sec-15\\" sec-type=\\"appendices\\"><label>Appendix A</label><title>This is an appendix</title><sec id=\\"sec-16\\"><title>Appendix_Head_1</title><sec id=\\"sec-17\\"><title>Appendix_Head_2</title><p id=\\"p-18\\">Appendix_Text</p></sec></sec></sec></app></app-group><ack><title>Acknowledgements</title><p id=\\"p-19\\">Acknowledgement</p></ack><sec id=\\"sec-18\\" sec-type=\\"availability\\"><title>Data availability</title><p id=\\"p-20\\">This is some information about data availability.</p></sec><sec id=\\"sec-19\\" sec-type=\\"ethics-statement\\"><title>Ethics statement</title><p id=\\"p-21\\">Paragraph, see<xref ref-type=\\"fn\\" rid=\\"fn-4\\">b</xref> and <xref ref-type=\\"fig\\" rid=\\"fig-1\\">Figure 1</xref>.</p><fig id=\\"fig-1\\" fig-type=\\"half-right\\"><label>Figure 1</label><caption><p>A picture on the kinds of figures.</p><p>The Fig Caption continues.</p></caption><p id=\\"p-22\\">test paragraph</p><graphic xlink:href=\\"123412341234.fig1\\"/><attrib>Source: Wikipedia.</attrib></fig><fig id=\\"fig-2\\"><label>Figure 2</label><caption><p>A missing picture on the kinds of figures.</p><p>The Fig Caption continues.</p></caption><p id=\\"p-23\\">test paragraph</p><graphic specific-use=\\"MISSING\\" xlink:href=\\"\\"/><attrib>Source: Wikipedia.</attrib></fig></sec><fn-group><fn fn-type=\\"con\\"><label>Author Contributions</label><p id=\\"p-24\\">Author Contibutions are described here.</p></fn><fn fn-type=\\"financial-disclosure\\"><label>Financial Disclosure</label><p id=\\"p-25\\">This is a Financial Disclosure.</p></fn></fn-group><fn-group id=\\"fn-group-1\\"><title>Footnotes</title><fn id=\\"fn-3\\"><p id=\\"p-26\\">Box Note</p></fn><fn id=\\"fn-4\\"><p id=\\"p-27\\">This is a footnote.</p></fn><fn id=\\"fn-5\\"><p id=\\"p-28\\">Footnote called out in a box</p></fn></fn-group><ref-list><ref id=\\"ref-1\\"><label>1. </label><mixed-citation publication-type=\\"journal\\"><person-group person-group-type=\\"author\\"><string-name><surname>Day</surname> <given-names>RN</given-names></string-name></person-group>. <article-title>This is the article title</article-title>. <source><italic>EDCC</italic></source>. <year>2008</year>;<volume>3</volume><issue>(2)</issue>:<fpage>123</fpage>-<lpage>134</lpage>.</mixed-citation></ref></ref-list></back></article>"`;
4
+
5
+ exports[`JATS exporter > export v1.1 > jats-export-1.1 1`] = `"<!DOCTYPE article PUBLIC \\"-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD with OASIS Tables with MathML3 v1.1 20151215//EN\\" \\"http://jats.nlm.nih.gov/archiving/1.1/JATS-archive-oasis-article1-mathml3.dtd\\"><article xmlns:xlink=\\"http://www.w3.org/1999/xlink\\" article-type=\\"research-article\\" xml:lang=\\"en\\"><front><article-meta><title-group><article-title>This is the Article Title</article-title><subtitle>Which has a Subtitle</subtitle></title-group><contrib-group content-type=\\"authors\\"><contrib contrib-type=\\"author\\" id=\\"contrib-1\\" corresp=\\"yes\\"><role>Member, IEEE</role><name><surname>Day</surname><given-names>Nathan</given-names></name><xref ref-type=\\"aff\\" rid=\\"aff-1\\"><sup>1</sup></xref><xref ref-type=\\"fn\\" rid=\\"fn-1\\"><sup>2</sup></xref><xref ref-type=\\"corresp\\" rid=\\"corresp-1\\"><sup>3</sup></xref></contrib><aff id=\\"aff-1\\"><label>1</label><institution>University of Life</institution>, <addr-line>Houston, TX</addr-line>, <city>Houston</city>, <state>TX</state>, <country>USA</country></aff></contrib-group><author-notes><corresp id=\\"corresp-1\\"><label>*</label>Correspondence: nday@inera.com.</corresp><fn id=\\"fn-1\\"><p>Author_Footnote.</p></fn><fn id=\\"fn-2\\"><p>DisclaimerThis is an unlabelled author footnote with a separate title.</p></fn><fn fn-type=\\"coi-statement\\"><label>Competing Interests</label><p id=\\"p-1\\">This is information about Competing Interests.</p></fn></author-notes><history><date date-type=\\"accepted\\"><day>12</day><month>05</month><year>2009</year></date><date date-type=\\"received\\"><day>01</day><month>04</month><year>2009</year></date><date date-type=\\"rev-recd\\"><day>02</day><month>05</month><year>2009</year></date></history><abstract abstract-type=\\"teaser\\"><p id=\\"p-2\\">The direct interaction of phenobarbital with the epidermal growth factor receptor reveals a new network interface in nuclear receptor signaling.</p></abstract><abstract><sec id=\\"sec-1\\" sec-type=\\"intro\\"><title>Introduction</title><p id=\\"p-3\\">This is a sectionalized abstract.</p></sec><sec id=\\"sec-2\\" sec-type=\\"results\\"><title>Results</title><p id=\\"p-4\\">These are the results of the experiment.</p></sec></abstract><kwd-group kwd-group-type=\\"author\\"><kwd>Paragraphs</kwd><kwd>exporting</kwd><kwd>testing</kwd><kwd>NLM DTD</kwd></kwd-group><counts><fig-count count=\\"1\\"/><ref-count count=\\"1\\"/><word-count count=\\"190\\"/></counts></article-meta></front><body><sec id=\\"sec-3\\" sec-type=\\"intro\\"><title>Introduction</title><sec id=\\"sec-4\\"><title>A level 2 subhead</title><sec id=\\"sec-5\\"><title>A level 3 subhead</title><sec id=\\"sec-6\\"><title>A level 4 subhead</title><sec id=\\"sec-7\\"><title>A level 5 subhead</title></sec></sec></sec></sec></sec><sec id=\\"sec-8\\" sec-type=\\"methods\\"><title>Materials and Methods</title><p id=\\"p-5\\">Some more text</p></sec><sec id=\\"sec-9\\" sec-type=\\"results\\"><title>Results</title><p id=\\"p-6\\">Some text that introduces a poem:</p><p id=\\"p-7\\">Poetry Source: Wikipedia</p><p id=\\"p-8\\">You might1 peruse, e.g., <xref rid=\\"boxed-text-1\\">Box 1</xref>. See also .</p><boxed-text id=\\"boxed-text-1\\"><label>Box 1</label><caption><title>Boxed boxes.</title></caption><sec id=\\"sec-10\\"><title>Box_Head_1</title><sec id=\\"sec-11\\"><title>Box_Head_2</title><p id=\\"p-9\\">Box_Text<xref ref-type=\\"fn\\" rid=\\"fn-5\\">c</xref></p></sec></sec></boxed-text><p id=\\"p-10\\">See also, <xref ref-type=\\"bibr\\" rid=\\"ref-1\\"><sup>1</sup></xref> and . Kinds of tables This is a table title continued paragraph Table_Head Table_Body* * Table_Footnote Block_Quote Source: Wikipedia Paragraph_Continued with a graphic in the middlewhere the paragraph continues.</p><sec id=\\"sec-12\\"><label>H<sub>1</sub></label><title>This is a hypothesis.</title><list list-type=\\"bullet\\"><list-item><p id=\\"p-11\\">Num_Bul_List_1</p><p id=\\"p-12\\">List_1_Continued</p><list list-type=\\"bullet\\"><list-item><p id=\\"p-13\\">Num_Bul_List_2</p><p id=\\"p-14\\">List_2_Continued</p></list-item></list></list-item><list-item><p id=\\"p-15\\">level 1, bullet 2</p></list-item></list></sec></sec><sec id=\\"sec-13\\" sec-type=\\"discussion\\"><title>Discussion</title><p id=\\"p-16\\">ParagraphUnnumbered_List_1 Another unnumbered itemwith another paragraph that continues after a list.</p></sec><sec id=\\"sec-14\\" sec-type=\\"conclusions\\"><title>Conclusions</title><p id=\\"p-17\\">Paragraph</p></sec></body><back><app-group><app><sec id=\\"sec-15\\" sec-type=\\"appendices\\"><label>Appendix A</label><title>This is an appendix</title><sec id=\\"sec-16\\"><title>Appendix_Head_1</title><sec id=\\"sec-17\\"><title>Appendix_Head_2</title><p id=\\"p-18\\">Appendix_Text</p></sec></sec></sec></app></app-group><ack><title>Acknowledgements</title><p id=\\"p-19\\">Acknowledgement</p></ack><sec id=\\"sec-18\\" sec-type=\\"availability\\"><title>Data availability</title><p id=\\"p-20\\">This is some information about data availability.</p></sec><sec id=\\"sec-19\\" sec-type=\\"ethics-statement\\"><title>Ethics statement</title><p id=\\"p-21\\">Paragraph, see<xref ref-type=\\"fn\\" rid=\\"fn-4\\">b</xref> and <xref ref-type=\\"fig\\" rid=\\"fig-1\\">Figure 1</xref>.</p><fig id=\\"fig-1\\" fig-type=\\"half-right\\"><label>Figure 1</label><caption><p>A picture on the kinds of figures.</p><p>The Fig Caption continues.</p></caption><p id=\\"p-22\\">test paragraph</p><graphic xlink:href=\\"123412341234.fig1\\"/><attrib>Source: Wikipedia.</attrib></fig><fig id=\\"fig-2\\"><label>Figure 2</label><caption><p>A missing picture on the kinds of figures.</p><p>The Fig Caption continues.</p></caption><p id=\\"p-23\\">test paragraph</p><graphic specific-use=\\"MISSING\\" xlink:href=\\"\\"/><attrib>Source: Wikipedia.</attrib></fig></sec><fn-group><fn fn-type=\\"con\\"><label>Author Contributions</label><p id=\\"p-24\\">Author Contibutions are described here.</p></fn><fn fn-type=\\"financial-disclosure\\"><label>Financial Disclosure</label><p id=\\"p-25\\">This is a Financial Disclosure.</p></fn></fn-group><fn-group id=\\"fn-group-1\\"><title>Footnotes</title><fn id=\\"fn-3\\"><p id=\\"p-26\\">Box Note</p></fn><fn id=\\"fn-4\\"><p id=\\"p-27\\">This is a footnote.</p></fn><fn id=\\"fn-5\\"><p id=\\"p-28\\">Footnote called out in a box</p></fn></fn-group><ref-list><ref id=\\"ref-1\\"><label>1. </label><mixed-citation publication-type=\\"journal\\"><person-group person-group-type=\\"author\\"><string-name><surname>Day</surname> <given-names>RN</given-names></string-name></person-group>. <article-title>This is the article title</article-title>. <source><italic>EDCC</italic></source>. <year>2008</year>;<volume>3</volume><issue>(2)</issue>:<fpage>123</fpage>-<lpage>134</lpage>.</mixed-citation></ref></ref-list></back></article>"`;
6
+
7
+ exports[`JATS exporter > export with & and < in bibliography metadata > jats-export-with-xml-unsafe-in-biblios 1`] = `"<!DOCTYPE article PUBLIC \\"-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD with OASIS Tables with MathML3 v1.2 20190208//EN\\" \\"http://jats.nlm.nih.gov/archiving/1.2/JATS-archive-oasis-article1-mathml3.dtd\\"><article xmlns:xlink=\\"http://www.w3.org/1999/xlink\\" article-type=\\"research-article\\" xml:lang=\\"en\\"><front><article-meta><title-group><article-title>This is the Article Title</article-title><subtitle>Which has a Subtitle</subtitle></title-group><contrib-group content-type=\\"authors\\"><contrib contrib-type=\\"author\\" id=\\"contrib-1\\" corresp=\\"yes\\"><role>Member, IEEE</role><name><surname>Day</surname><given-names>Nathan</given-names></name><xref ref-type=\\"aff\\" rid=\\"aff-1\\"><sup>1</sup></xref><xref ref-type=\\"fn\\" rid=\\"fn-1\\"><sup>2</sup></xref><xref ref-type=\\"corresp\\" rid=\\"corresp-1\\"><sup>3</sup></xref></contrib><aff id=\\"aff-1\\"><label>1</label><institution>University of Life</institution>, <addr-line>Houston, TX</addr-line>, <city>Houston</city>, <state>TX</state>, <country>USA</country></aff></contrib-group><author-notes><corresp id=\\"corresp-1\\"><label>*</label>Correspondence: nday@inera.com.</corresp><fn id=\\"fn-1\\"><p>Author_Footnote.</p></fn><fn id=\\"fn-2\\"><p>DisclaimerThis is an unlabelled author footnote with a separate title.</p></fn><fn fn-type=\\"coi-statement\\"><label>Competing Interests</label><p id=\\"p-1\\">This is information about Competing Interests.</p></fn></author-notes><history><date date-type=\\"accepted\\"><day>12</day><month>05</month><year>2009</year></date><date date-type=\\"received\\"><day>01</day><month>04</month><year>2009</year></date><date date-type=\\"rev-recd\\"><day>02</day><month>05</month><year>2009</year></date></history><abstract abstract-type=\\"teaser\\"><p id=\\"p-2\\">The direct interaction of phenobarbital with the epidermal growth factor receptor reveals a new network interface in nuclear receptor signaling.</p></abstract><abstract><sec id=\\"sec-1\\" sec-type=\\"intro\\"><title>Introduction</title><p id=\\"p-3\\">This is a sectionalized abstract.</p></sec><sec id=\\"sec-2\\" sec-type=\\"results\\"><title>Results</title><p id=\\"p-4\\">These are the results of the experiment.</p></sec></abstract><kwd-group kwd-group-type=\\"author\\"><kwd>Paragraphs</kwd><kwd>exporting</kwd><kwd>testing</kwd><kwd>NLM DTD</kwd></kwd-group><counts><fig-count count=\\"1\\"/><ref-count count=\\"1\\"/><word-count count=\\"190\\"/></counts></article-meta></front><body><sec id=\\"sec-3\\" sec-type=\\"intro\\"><title>Introduction</title><sec id=\\"sec-4\\"><title>A level 2 subhead</title><sec id=\\"sec-5\\"><title>A level 3 subhead</title><sec id=\\"sec-6\\"><title>A level 4 subhead</title><sec id=\\"sec-7\\"><title>A level 5 subhead</title></sec></sec></sec></sec></sec><sec id=\\"sec-8\\" sec-type=\\"methods\\"><title>Materials and Methods</title><p id=\\"p-5\\">Some more text</p></sec><sec id=\\"sec-9\\" sec-type=\\"results\\"><title>Results</title><p id=\\"p-6\\">Some text that introduces a poem:</p><p id=\\"p-7\\">Poetry Source: Wikipedia</p><p id=\\"p-8\\">You might1 peruse, e.g., <xref rid=\\"boxed-text-1\\">Box 1</xref>. See also .</p><boxed-text id=\\"boxed-text-1\\"><label>Box 1</label><caption><title>Boxed boxes.</title></caption><sec id=\\"sec-10\\"><title>Box_Head_1</title><sec id=\\"sec-11\\"><title>Box_Head_2</title><p id=\\"p-9\\">Box_Text<xref ref-type=\\"fn\\" rid=\\"fn-5\\">c</xref></p></sec></sec></boxed-text><p id=\\"p-10\\">See also, <xref ref-type=\\"bibr\\" rid=\\"ref-1\\"><sup>1</sup></xref> and . Kinds of tables This is a table title continued paragraph Table_Head Table_Body* * Table_Footnote Block_Quote Source: Wikipedia Paragraph_Continued with a graphic in the middlewhere the paragraph continues.</p><sec id=\\"sec-12\\"><label>H<sub>1</sub></label><title>This is a hypothesis.</title><list list-type=\\"bullet\\"><list-item><p id=\\"p-11\\">Num_Bul_List_1</p><p id=\\"p-12\\">List_1_Continued</p><list list-type=\\"bullet\\"><list-item><p id=\\"p-13\\">Num_Bul_List_2</p><p id=\\"p-14\\">List_2_Continued</p></list-item></list></list-item><list-item><p id=\\"p-15\\">level 1, bullet 2</p></list-item></list></sec></sec><sec id=\\"sec-13\\" sec-type=\\"discussion\\"><title>Discussion</title><p id=\\"p-16\\">ParagraphUnnumbered_List_1 Another unnumbered itemwith another paragraph that continues after a list.</p></sec><sec id=\\"sec-14\\" sec-type=\\"conclusions\\"><title>Conclusions</title><p id=\\"p-17\\">Paragraph</p></sec></body><back><app-group><app><sec id=\\"sec-15\\" sec-type=\\"appendices\\"><label>Appendix A</label><title>This is an appendix</title><sec id=\\"sec-16\\"><title>Appendix_Head_1</title><sec id=\\"sec-17\\"><title>Appendix_Head_2</title><p id=\\"p-18\\">Appendix_Text</p></sec></sec></sec></app></app-group><ack><title>Acknowledgements</title><p id=\\"p-19\\">Acknowledgement</p></ack><sec id=\\"sec-18\\" sec-type=\\"availability\\"><title>Data availability</title><p id=\\"p-20\\">This is some information about data availability.</p></sec><sec id=\\"sec-19\\" sec-type=\\"ethics-statement\\"><title>Ethics statement</title><p id=\\"p-21\\">Paragraph, see<xref ref-type=\\"fn\\" rid=\\"fn-4\\">b</xref> and <xref ref-type=\\"fig\\" rid=\\"fig-1\\">Figure 1</xref>.</p><fig id=\\"fig-1\\" fig-type=\\"half-right\\"><label>Figure 1</label><caption><p>A picture on the kinds of figures.</p><p>The Fig Caption continues.</p></caption><p id=\\"p-22\\">test paragraph</p><graphic xlink:href=\\"123412341234.fig1\\"/><attrib>Source: Wikipedia.</attrib></fig><fig id=\\"fig-2\\"><label>Figure 2</label><caption><p>A missing picture on the kinds of figures.</p><p>The Fig Caption continues.</p></caption><p id=\\"p-23\\">test paragraph</p><graphic specific-use=\\"MISSING\\" xlink:href=\\"\\"/><attrib>Source: Wikipedia.</attrib></fig></sec><fn-group><fn fn-type=\\"con\\"><label>Author Contributions</label><p id=\\"p-24\\">Author Contibutions are described here.</p></fn><fn fn-type=\\"financial-disclosure\\"><label>Financial Disclosure</label><p id=\\"p-25\\">This is a Financial Disclosure.</p></fn></fn-group><fn-group id=\\"fn-group-1\\"><title>Footnotes</title><fn id=\\"fn-3\\"><p id=\\"p-26\\">Box Note</p></fn><fn id=\\"fn-4\\"><p id=\\"p-27\\">This is a footnote.</p></fn><fn id=\\"fn-5\\"><p id=\\"p-28\\">Footnote called out in a box</p></fn></fn-group><ref-list><ref id=\\"ref-1\\"><label>1. </label><mixed-citation publication-type=\\"journal\\"><person-group person-group-type=\\"author\\"><string-name><surname>Day</surname> <given-names>RN</given-names></string-name></person-group>. <article-title>This is the article title. &amp; Sons 55 &lt; 135</article-title>. <source><italic>EDCC</italic></source>. <year>2008</year>;<volume>3</volume><issue>(2)</issue>:<fpage>123</fpage>-<lpage>134</lpage>.</mixed-citation></ref></ref-list></back></article>"`;