Convert T2T to TEI

Turn T2T files into TEI. A TEI document with sections, lists, tables, links and footnotes; the title, author and date go into its TEI header.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop T2T files on the dialor turn it to pick what to do

A TEI document from your txt2tags text.Sections, lists, tables, links and footnotes carry over. The title, author and date go into the TEI header.

  1. What you get

    A single TEI file with your sections, lists, tables, links and footnotes. The three header lines of the T2T file become the title, author and date in the TEI header.

    Those three lines also stay in the body as the first paragraph, so the same text appears in the header and in the document.

  2. What changes or is left behind

    Settings and comments in the T2T file are dropped. They do not appear in the TEI file.

    The %%date macro prints 1970-01-01. Check any date that comes from this macro before you use the file.

    A bare e-mail address becomes a broken link that shows mailto: before it. Images stay as links.

  3. More conversions

    See every T2T conversion for other formats you can make from txt2tags files. See every TEI conversion for other sources that produce TEI.

T2T and TEI.What each format is.

The formats

From · T2T

txt2tags

txt2tags documents, plain text with light markup that the txt2tags tool turns into many formats.

Extensions
.t2t
MIME type
text/x-txt2tags
Kind
Text and data
To · TEI

TEI XML

Text Encoding Initiative XML, the format scholarly editions and digital humanities archives keep texts in.

Extensions
.tei
MIME type
application/tei+xml
Kind
Text and data

In your code.The same T2T to TEI conversion through the API, for your app or your agent.

terminal
$ cv convert report.t2t report.tei
$ cv convert report.t2t report.tei

Questions.What people ask about T2T to TEI.

01OF 04

They go into the TEI header as the title, author and date. The three header lines also stay as the first paragraph of the text.

No. Settings and comments in the T2T file are dropped.

It prints 1970-01-01.

Images stay as links.

More conversions.Other ways in and out of T2T and TEI.