aboutsummaryrefslogtreecommitdiff
path: root/test/command/8867.md
diff options
context:
space:
mode:
authorJulia Diaz <[email protected]>2023-10-26 23:18:33 +0100
committerGitHub <[email protected]>2023-10-26 15:18:33 -0700
commitf2a22e71dffef0e795d73ecffeaa195733dde67e (patch)
tree1edcccc2ead4e811b373dde2840d233f4026dad1 /test/command/8867.md
parentb671e0dfe5f578511954addaca84b832826d5915 (diff)
Modify JATS reader to handle BITS too (#9138)
Add provision for title-group, book, book-part-wrapper, book-meta, book-part-meta, book-title, book-title-group, index, toc, legend, title, collection-meta
Diffstat (limited to 'test/command/8867.md')
-rw-r--r--test/command/8867.md49
1 files changed, 49 insertions, 0 deletions
diff --git a/test/command/8867.md b/test/command/8867.md
new file mode 100644
index 000000000..f5a5a901f
--- /dev/null
+++ b/test/command/8867.md
@@ -0,0 +1,49 @@
+```
+% pandoc -f jats -t native -s
+<article-meta>
+ <title-group>
+ <article-title></article-title>
+ </title-group>
+ <permissions>
+ <copyright-statement>© 2023, Ellerman et al</copyright-statement>
+ <copyright-year>2023</copyright-year>
+ <copyright-holder>Ellerman et al</copyright-holder>
+ <license license-type="open-access">
+ <ali:license_ref xmlns:ali="http://www.niso.org/schemas/ali/1.0/">https://creativecommons.org/licenses/by/4.0/</ali:license_ref>
+ <license-p>This document is distributed under a Creative Commons Attribution 4.0 International license.</license-p>
+ </license>
+ </permissions>
+</article-meta>
+^D
+Pandoc
+ Meta
+ { unMeta =
+ fromList
+ [ ( "copyright"
+ , MetaMap
+ (fromList
+ [ ( "holder" , MetaString "Ellerman et al" )
+ , ( "statement"
+ , MetaString "\169 2023, Ellerman et al"
+ )
+ , ( "year" , MetaString "2023" )
+ ])
+ )
+ , ( "license"
+ , MetaMap
+ (fromList
+ [ ( "link"
+ , MetaString
+ "https://creativecommons.org/licenses/by/4.0/"
+ )
+ , ( "text"
+ , MetaString
+ "This document is distributed under a Creative Commons Attribution 4.0 International license."
+ )
+ , ( "type" , MetaString "open-access" )
+ ])
+ )
+ ]
+ }
+ []
+``` \ No newline at end of file