8

TEI documents have a lot of information that can be used for representation and style. Are there any tools to convert such documents into LaTeX in order to create good pdf/html etc. versions?

5
  • Could you provide more information on 'TEI'?
    – Joseph Wright
    Aug 1 '10 at 15:36
  • tei-c.org/index.xml
    – txwikinger
    Aug 1 '10 at 16:14
  • Is it xml markup? Source-code? Binary-blob? Sql database? I can't tell from looking at that website.
    – Dima
    Aug 1 '10 at 22:22
  • TEI is a special from of XML markup that allows text critical elements and other meta information being added to the normal text
    – txwikinger
    Aug 2 '10 at 23:29
  • 1
    It is possible to directly process TEI files in ConTeXt. See ConTeXt wiki article for details.
    – Aditya
    Jun 20 '14 at 21:25
6

It's an XML defined markup. There are XSLT stylesheets for this format from the same website you link to

https://www.tei-c.org/Tools/Stylesheets/

This is a set of XSLT 2.0 specifications to transform TEI XML documents to XHTML, to LaTeX, to XSL Formatting Objects, to OOXML (docx), and to ePub format. The files can be downloaded from the Releases area of https://tei.sf.net . They concentrate on the simpler TEI modules, but adding support for other modules is fairly easy. In the main, the setup has been used on ‘new’ documents, ie reports and web pages that have been authored from scratch, rather than traditional TEI-encoded existing material.

1

Use TEI's OxGarage online service then edit the generated LaTeX to tweak as necessary/desired

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.
https://tex.stackexchange.com/questions/771/how-can-i-efficiently-convert-tei-documents-into-latex/796
tex.stackexchange.com
crawl=CC-MAIN-2021-49
147516
application/http; msgtype=response
sha1:Z5EHUZHWPH7YVVCB6ZYDVGX6XVZ2HTBS
<urn:uuid:b24adddf-b78a-4fda-8ab3-dc9b27818d44>
2021-12-07T02:54:05Z
151.101.129.69
text/html
sha1:EHTJ5C3YOTRQQRBPMY3SO6T75YDCNP4S
<urn:uuid:4c9a269a-3992-4fcc-904d-3626bca0f31f>
https://tex.stackexchange.com/questions/771/how-can-i-efficiently-convert-tei-documents-into-latex/796
response
<urn:uuid:7220b475-ecb4-42ca-90ae-5d32f5a9ddd8>
isPartOf: CC-MAIN-2021-49
publisher: Common Crawl
description: Wide crawl of the web for November/December 2021
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-67-67-12
software: Apache Nutch 1.18 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 1.3-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: https://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/