Utroff.org

Tchars manual

Name

Tchars - Translate characters for Troff.

Synopsis

@BINDIR@/tchars [-e] file

Description

Tchars is a troff pre-processor which translate some ascii code to complex utf-8 characters. Actually, it can only translate a subset of betacode to polytonic greek.

Options

Macros

In the troff document, characters that has to be translated must be indicated by one of the following macros :

For tchars to work, you must define these macro to call a font which contain polytonic greek characters, as follow, for example :

.fp 0 RGN GFSPyrsos otf \" Pyrsos from Greek Font Society
.de CW
\\$3\f[RGN]\\$1\fR\\$2
..
.de CL
\f[RGN]\\$*\fR
..
.de CS
.       ft RGN
..
.de CE
.       ft R
..

Code

A rune is composed of an ascii letter, followed by a representation of an accent. Tchars actually understand the following accents :

The order is significant, it must be : +&’)(\/=|

Tchars actually understand the following letters :

Example

The word physis in polytonic greek is written:
.CW fu/sis .

Files

@BINDIR@/tchars

See also

utmac(7).

License

Tchars and this man page are distributed under a two clause BSD license.

Help and bugs

Don’t hesitate to ask questions at help at utroff dot org. Please, send bugs and patches at help at utroff dot org.

Author

Written by Pierre-Jean Fichet.