Texture is a toolset for the production of scientific content. It has first-class support for JATS, the de facto standard for archiving and interchange of scientific open-access contents with XML.
Texture is still at an early alpha stage: there are likely to be missing features, bugs and API changes. But we would ❤️ to get your suggestions and 🐛 reports.
- = ready for production use
- = ready for beta user testing
- = ready for alpha testing; use with caution
- Planned for release (e.g.
Alpha 4
)
We generally only plan one or two releases ahead. We aim to do quaterly releases, towards a 1.0 release in 2018. Please see our more detailed ROADMAP.md document.
const { Texture } = window.texture
window.app = Texture.mount({
documentId: 'some-doc-id',
readXML: function(documentId, cb) {
// fetch an XML string to be read by the editor
},
writeXML: function(documentId, xml, cb) {
// write the XML string to a store
}
}, document.body)
See our examples for complete integration scenarios. The best way to start is downloading the zip file from the latest release.
Clone the repository.
$ git clone https://github.com/substance/texture.git
Navigate to the source directory.
$ cd texture
Install via npm.
$ npm install
Start the dev server.
$ npm run start
And navigate to http://localhost:4000.
Texture is open source, and you are legally free to use it commercially. If you are using Texture to make profit, we expect that you help fund its development and maintenance.
Texture is developed by the Substance Consortium formed by the Public Knowledge Project (PKP), the Collaborative Knowledge Foundation (CoKo), SciELO and Érudit.
The following people make Texture possible:
- Alex Garnett (leadership, concept)
- Juan Pablo Alperin (leadership, concept)
- Alex Smecher (concept, dev)
- Kristen Ratan (leadership)
- Adam Hyde (leadership)
- Jure Triglav (concept, dev)
- Tanja Niemann (leadership)
- Davin Baragiotta (concept, dev)
- David Cormier (dev)
- Sophy Ouch (design)
- Fabio Batalha Cunha dos Santos (leadership, concept)
- Michael Aufreiter (dev)
- Oliver Buchtala (dev)
How can I test Texture with my own JATS-XML files?
The best way is to just download the latest release as a zip file and host it on a web-server. Next adjust editor.html
and adjust readXML
and writeXML
functions. E.g. you can pull XML via Ajax based on a document id passed as an http parameter. Once you have that setup you can read your own files like so:
http://myserver.local/texture/editor.html?file=my_example_jats_document