elifesciences / elife-crossref-xml-generation

Crossref deposit of journal articles
MIT License
4 stars 3 forks source link

Add article preprint as intra_work_relation tag #100

Closed gnott closed 3 years ago

gnott commented 3 years ago

Feature described in issue https://github.com/elifesciences/elife-crossref-feed/issues/58

This requires at least elifeaticle version 0.4.0 which includes the new Preprint object for when running test cases, although there's a possibility the main modules will run with slightly older versions of elifearitcle or elifetools for now. It is recommended to upgrade to the versions listed in the requirements.txt file here if possible and to avoid potential integration issues.

If there is an Article.preprint specified, then a Crossref intra_work_relation tag will be added, otherwise the output remains the same.