mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-01 13:15:51 +00:00
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
49 lines
1.6 KiB
Markdown
49 lines
1.6 KiB
Markdown
```
|
|
% 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" )
|
|
])
|
|
)
|
|
]
|
|
}
|
|
[]
|
|
``` |