oeuvres/teinte

Transform texts from and to : TEI, DOCX, HTML, EPUB, MD.

0.1 2022-12-10 00:51 UTC

This package is auto-updated.

Last update: 2024-04-14 23:25:12 UTC


README

Teinte_php is an open source library to convert and publish texts with PHP. It is available as a composer package oeuvres/teinte. The heart is an embeded XSLT-1.0 pack of transformations teinte_xsl. The pivot format is a subset of TEI, an academic XML schema dedicated to all forms of texts, not only blog posts but also: novels, theatre, letters… Teinte suite has been developed during more than 15 years, mainly by Frédéric Glorieux under different academic affiliations.

Teinte xsl

Some project using Teinte

Complete works of Denis de Rougemont (1906–1985)

Rougemont The eRougemont project, directed by Nicolas Stenger (Université de Genève), includes digitization, publication and mining of the complete works in open source (about 30 books and 1000 articles). Teinte was used to convert files obtained with OCR, from DOCX to TEI. The team of editors has been trained to correct TEI. Web publishing is done from the XML master to HTML, for the CMS of the university (Concrete 5).

The ObTIC converter

ObTIC ObTIC, “Observatoire des textes, des idées et des corpus”, is a lab of Sorbonne University, dedicated to texts. Teinte is used to convert texts from different sources and destinations. Their support made possible to develop a friendly interface online for conversions.

Galenus verbatim, complete works of Galen (129–216)

Galenus Verbatim The Galenus verbatim project, directed by Nathalie Rousseau (Sorbonne Université), is an electronic edition with a lemmatized search engine for the complete works of Galen of Pergamon, about 100 “books”, or 14 000 pages. Teinte is used for the Greek works in open source, transformed from Epidoc TEI to HTML, and for the new digital edition of the modern Latin translations, from OCR, docx, to TEI (and HTML). Their support permits development of a PHP framework dedicated to publication of texts, with routing, logging and especially, transformations.

eBalzac, complete works of Honoré de Balzac (1799–1850)

eBalzac The eBalzac project; directed by Andrea Del Lungo (Université de Lille), Pierre Glaudes (Sorbonne Université) & Jean-Gabriel Ganascia (Sorbonne Université); is an Open Source new edition of the Balzac works according to the Furne corrected volumes (last correction of the author). Teinte was used to transform the office DOCX files of the editor in TEI and generate different formats for publication (HTML) and research (TXT). Their quality requirements was very high and good for the code.