Model an ideal "journal" Pub Type that looks like for Platform from the point of view of using Travis's editor demo to create the Pub and outputting a Pub to HTML, JATS, and PDF. Encapsulated in this motivation is the desire to avoid the shortcomings of the Legacy pub model, which put too much structure into "content," making it incredibly difficult to customize PDF and JATS output in particular. Instead, per the Journal Article Type roadmap issue, we aim to map most legacy fields that could be used as metadata (and some blocks) to child/related pubs.
Requirements
A basic description of the structure, similar to the link roadmap issue
A working example of a Pub in Platform that uses the proposed structure, including all needed pub types and fields, based off of this pub
An idea of how to transform Legacy prosemirror structure into new pubs, or a decision that it's too hard and we should use the existing Legacy prosemirror structure
Should start with the Journal Article Type roadmap issue structure as a jumping-off point, and justify major deviations from this structure
Idea of what we have no concept of how to import/represent currenlty (e.g. node labels)
Extra work
Does not need to account for versions or release notes for now, but a good bonus if it attempts to. The default assumption is that we'll likely stuff versions into a child "version" pub whenever the pub is saved, in this way preserving all changes in a way that could be diffed, but there may be better options.
Does not need to use actions to do any import/export. Can just use the API with local scripts that do all field mapping in code.
Does not need to be renderable/editable in Travis's editor demo as long as Travis says the way we're conceiving of it can be compatible with it.
To see if we can automatically import Pubs from Legacy PubPub into this structure reliably, or if we would need to flatten it some to accommodate Legacy Pubs
A basic example of converting a Pub from the proposed structure to JATS
An example of importing this Pub from Legacy to Platform
Motivation
Model an ideal "journal" Pub Type that looks like for Platform from the point of view of using Travis's editor demo to create the Pub and outputting a Pub to HTML, JATS, and PDF. Encapsulated in this motivation is the desire to avoid the shortcomings of the Legacy pub model, which put too much structure into "content," making it incredibly difficult to customize PDF and JATS output in particular. Instead, per the Journal Article Type roadmap issue, we aim to map most legacy fields that could be used as metadata (and some blocks) to child/related pubs.
Requirements
Acceptance Criteria
Extra work