-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JATS: Plain text citation #873
Comments
I think the ideal way to handle a With the fix that you made the entirety of the type: Article
id: pone-0091296-Choat1
authors: []
title: >-
Choat JH (2012) Spawning aggregations in reef fishes; ecological and
evolutionary processes. In: Sadovy de Mitcheson Y, Colin PL, editors. Reef
Fish Spawning Aggregations: Biology, Research and Management. Heidelberg:
Springer. pp. 85–116. whereas what we want is the bibliographic info to be parsed out of the type: CreativeWork
authors:
- type: Person
familyNames:
- Choat
givenNames:
- John Howard
datePublished:
type: Date
value: '2011-09-20'
identifiers:
- type: PropertyValue
name: doi
propertyID: https://registry.identifiers.org/registry/doi
value: 10.1007/978-94-007-1980-4_4
isPartOf:
type: Periodical
name: 'Reef Fish Spawning Aggregations: Biology, Research and Management'
publisher:
type: Organization
name: Springer Netherlands
title: Spawning Aggregations in Reef Fishes; Ecological and Evolutionary Processes
url: http://dx.doi.org/10.1007/978-94-007-1980-4_4 In Encoda, rather than trying to parse references into a ./encoda convert "Choat JH (2012) Spawning aggregations in reef fishes; evolutionary processes." --from crossref - --to yaml I suggest that we use this approach for JATS |
🎉 This issue has been resolved in version 0.111.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Yes, i was mistakenly thinking that |
Yes, that is what I advocating for above. It shouldn't be part of the Lines 341 to 370 in 52b872a
I think this code should be factored our into a separate In summary, what needs to happen if we take this direction is:
|
Mixed citations (e.g. originally from bibitems in LaTeX) are not parsed when reading from JATS-XML.
I think the
mixed-content
should actually bemixed-citation
: https://github.com/stencila/encoda/blob/master/src/codecs/jats/index.ts#L1165Even nicer would probably be to have all elements of the
mixed-citation
as inline elements to keep e.g. parts in italics.Maybe this could be filed as
description
orcomment
?https://schema.stenci.la/creativework
The text was updated successfully, but these errors were encountered: