Mapping language processing

From TEIWiki
Revision as of 18:41, 6 November 2020 by Mholmes (talk | contribs)
Jump to navigation Jump to search

This page follows the model of Mapping ODD Processing in trying to provide a clear general introduction to the way that different language inputs are processed in the building of Guidelines/documentation.

TEI Guidelines

This section deals with the Guidelines build process specifically.

Input parameters

The Guidelines Makefile provides the following set of parameters related to language processing when building the Guidlines:

- ALLLANGUAGES=en
- LANGUAGE=en
- INPUTLANGUAGE=en
- DOCUMENTATIONLANGUAGE=en

ALLLANGUAGES is a parameter which can take multiple values, space-separated; for each of those values, a separate version of the Guidelines will be built in its own folder by using the ant macro buildweb. This calls the Stylesheets utilties/Guidelines.xsl, passing the current value of the language in all three of the following parameters:

- lang
- doclang
- documentationLanguage

(These will be documented later.) This parameter is automatically set to the following list of languages for a number of Makefile targets, including teiwebsiteguidelines.

LANGUAGE is a