Tei2html Stylesheets

From TEIWiki

Jump to: navigation, search


Contents

Synopsis

tei2html is a collection of XSLT 2.0 style sheets to transform a document encoded in according to the TEILite DTD (with some extensions) to HTML. Specifically developed to create a monolithic HTML document for posting on Project Gutenberg, but are also capable of generating ePub files from the same source with a similar look and feel. In line with the type of material Project Gutenberg deals with, these style sheets are designed to deal with encoded pre-existing works, rather than works created digitally from scratch.

Features

  • Generate monolithic HTML output from TEI
  • Generate ePub output
  • Generate word-lists and KWIC indexes from TEI text.

User commentary

Please sign all comments.

System requirements

System that supports Java (to run Saxon), and Perl (to run the glue-scripts)

Source code and licensing

Open Source, GPL 3.0

Support for TEI

The scripts work with TEI Lite (in either SGML or XML form out of the box), as long as they follow the conventions outlined in the documentation; code will need some adaptations for other usage. Relies on rend attributes for certain presentational aspects.

Language(s)

Main language: XSLT 2.0 Support: Perl, several tools will be required, such as SX, and various GNU utilities. User Interface: Command Line.

Documentation

Wiki and with checked in code.

Tech support

I will be available for questions, but remember, this is a volunteer project

User community

Just me :-) for now.

How to download

Use SVN to synchronize from Google Code: http://code.google.com/p/tei2html/

Additional notes

I am interested in people who would like to help get this code in a more usable, distributable shape. It is currently strongly tied to my own conventions.

Personal tools