Pandoc Full Support For JATSXML Specification? #9818
-
Hello, This may be a simple question, we are currently building a product that will aid in the discovery of data and code affiliated with academic articles. I am unsure if Pandoc currently supports the full JATSXML code specification. It seems in the documentation that some elements are not writable. Does there happen to be any work/documentation on this? I am happy to help with a PR if needed. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
First it would help to know whether you are talking about reading JATS or writing it. I assume you're talking about reading JATS? The pandoc AST is strictly less expressive than JATSXML, so inevitably some distinctions will be lost when reading JATS with pandoc. |
Beta Was this translation helpful? Give feedback.
As far as I can tell,
supplementary-material
is only allowed inarticle-meta
, notjournal-meta
, so I will add it to the default template only for-t jats_articleauthoring
.Once it is added, you'll be able to get what you want with
pandoc -t jats_articleauthoring -s
using: