Dear all,

I would like to introduce OpenSheaf, a project I have been working on, and ask 
for your comments. It is an open format for archives of scholarly documents and 
for collections of them. The site is https://opensheaf.org and the GitHub 
organisation is https://github.com/opensheaf.

The idea. Today our papers mostly live on arXiv, on publishers' platforms or in 
institutional repositories. These are central services, and they often keep 
only part of a document's history, sometimes only the PDF. OpenSheaf proposes a 
small common format instead:

- Archives kept by their authors. Anyone can keep an archive of their documents 
as plain files on a static website. No server software or central service is 
needed. GitHub Pages is enough.
- Sources, not only PDFs. Each deposit keeps the sources of a document together 
with its PDF, so the work can be read, checked and reused in the form in which 
it was written.
- Fixed, verifiable versions. Every version is fixed by content hashes and 
signed by its owner. A correction is a new version. Anyone can check the whole 
history from the files alone.
- Existing standards. Storage follows the Oxford Common File Layout (OCFL), 
which research libraries use for preservation. Description follows the DataCite 
metadata of DOIs.
- Collections that compose. Catalogues and selections (a journal, a reading 
list, a review journal) point to particular versions by digest, also across 
archives, without copying them. Any archive can also mirror documents from 
another and keep them if the original disappears. The name comes from this: 
local pieces glued into a whole, as in a sheaf.
- Compatible with what we already use. A document can also be on arXiv, have a 
DOI and be deposited on Zenodo. None of these is required.

Why this may interest TeXmacs users. The specification has an optional texmacs 
profile for documents whose main source is a TeXmacs file. It records the 
TeXmacs version and the style packages and plugins a document needs. With it, a 
.tm file is stored as the document itself rather than as an attachment to a 
PDF. The reference tool, osheaf (Python), can take TeXmacs sources and have the 
archive typeset them into PDF and HTML. My own papers are the first archive 
built this way: https://mgubi.org/papers/. You can browse and verify it in the 
OpenSheaf Explorer, which runs entirely in the browser: 
https://opensheaf.org/explorer/?url=https://mgubi.org/papers/

The site itself is also built with TeXmacs. The Markdown sources of the 
specification are converted to TeXmacs documents and exported to HTML with the 
notes and max-html plugins.

What exists now:

- the specification, version 0.2, with JSON Schemas and a FAQ: 
https://opensheaf.org
- osheaf, a command-line tool to deposit, version, mirror, collect and verify 
(https://github.com/opensheaf/opensheaf-py)
- the Explorer (https://opensheaf.org/explorer/)
- a template repository for starting your own archive or reading list on GitHub 
(https://github.com/opensheaf/archive-template)
- a formal model of the specification in Lean 4, which proves several of its 
properties (https://github.com/opensheaf/opensheaf-lean)

A caveat. Version 0.2 is still a draft. The format may change in incompatible 
ways before 1.0, so please do not rely on it yet for anything you cannot redo.

Comments are very welcome. I would especially like to hear:

- whether the texmacs profile records what is needed to rebuild a TeXmacs 
document years from now
- what TeXmacs users would expect when depositing papers, slides or books
- anything in the specification that is unclear, or hard to implement

You can reply here, or open an issue or a discussion at 
https://github.com/opensheaf/opensheaf.github.io. If you try to set up an 
archive of your own, I would be glad to help.

Best regards,
Massimiliano


_______________________________________________
Texmacs-dev mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/texmacs-dev

Reply via email to