-
Notifications
You must be signed in to change notification settings - Fork 32
[WIP]: Adding initial code for generating JATS output #45
base: master
Are you sure you want to change the base?
Conversation
lib/whedon/processor.rb
Outdated
-V citation_author="#{paper.citation_author}" \ | ||
-V paper_title='#{paper.title}' \ | ||
-V footnote_paper_title='#{plain_title}' \ | ||
-t jats \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might want to pass --csl=#{csl_file}
too.
Fixes #36 |
Adding paper metadata to deposit payload
Hey, not sure that this is the place for it, but we got some discussion around producing jats from markdown in different applications (and about including more information about authors in the yaml). I think we the discussion goes toward extending pandoc, it started with a discussion you were involved in @arfon ... see manubot/manubot#187 |
Ultimately I'd like to complete this work 🔜, I'm in discussions with @tarleb to see how he might be able to assist us get this across the line. |
I'm working to get jgm/pandoc#6067 into the next pandoc release. That should get us half-way. I guess the next step after that is could be to try and see if the output is sufficient for what's required. I found pandoc's current handling of citations in JATS a bit lacking, but wrote a partial work-around in pandoc-scholar. The combination might already be enough – otherwise we might have to do some larger changes in pandoc-citeproc. |
FWIW, https://github.com/stencila/encoda supports pandoc-jats and a custom jats encoder/decoder and can also read Markdown and various other formats. I have been adding support for a few missing pieces in the JATS decoder recently. (Just saw https://twitter.com/arfon/status/1415723609671311365 and was curious how this was going.) |
This is a work in progress. A few known issues/things to do:
<p>
or<title>
tag in image caption jgm/pandoc#5290/ cc openjournals/joss#495