next up previous
Next: Program Options Up: idoc.itx (ITRANS doc) Previous: Direct PostScript Output

Subsections

Direct Text Output - for HTML

This is a new mode added in release 5.1, which just like the PostScript mode, does not offer any typesetting functionality. In fact, this mode is provided for generating text that can be displayed on any WWW browser such as Netscape (version 3.0 or later). Not all languages are supported in this mode -- it requires availablity of a TrueType font, and right now (ITRANS 5.10) the following languages are supported: Romanized Sanskrit, Gujarati, Bengali, and Devanagari scripts.

Two types of HTML output are supported: 7-bit ASCII (which uses the &#nnn HTML codes for character codes 127 to 255), and 8-bit text output (which outputs character codes 127 to 255 directly). I think 7-bit output should be more portable, but in practice, I found it to create problems on Macintosh computers, so, I use 8-bit output in the examples.

Three platforms have been tested: Unix/X11R6 (Type 1 fonts - *.pfa or *.pfb), Macintosh (TrueType - *.hqx files), and Windows (TryeType - *.ttf). All the fonts required are present in the ITRANS/lib/fonts directory of the ITRANS package, the user has to install the appropriate font on his or her system to allow viewing of the ITRANS output in the native Indic Script.

Direct Text (HTML) Output Requirements

The font should be available in Type 1 or TrueType format, and must be usable in regular word-processors (without ITRANS).


next up previous
Next: Program Options Up: idoc.itx (ITRANS doc) Previous: Direct PostScript Output

1999-03-13
ITRANS Home Page: http://www.aczone.com/itrans/