Files
Julia Diaz f2a22e71df 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
2023-10-26 15:18:33 -07:00

1.6 KiB

% 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" )
                   ])
            )
          ]
    }
  []