%% This file is part of the OFNTINST project version 0.2.2
%% -------------------------------------------------------
%% 
%% It may be distributed under the terms of the LaTeX Project Public
%% License, as described in lppl.txt in the base LaTeX distribution.
%% Either version 1.0 or, at your option, any later version.
%% Copyright (C) 2002 -- 2003 by Alexej Kryukov
%% Please report errors to: A.M. Kryukov <basileia@yandex.ru>

% This is sample installation script for Linotype Times Ten,
% Times Ten Cyrillic and Times Ten GreekP families.
% It is supposed that *.afm files are renamed according to
% standard TeX conventions. Since there are no (yet) standard
% TeX names for Greek raw codepage, I used the `pg' suffix.

% This file should be processed with Lambda (not LaTeX).

\input{fontinst.sty}

% aliasing.tex is distributed with my grkfinst package.
% It provides some additional functionality and
% is useful for installing fonts with non AGL-compliant 
% glyph names

\input{aliasing}

\transformfont{lttr8r}{\reencodefont{8r}{\fromafm{lttr8a}}}
\transformfont{lttri8r}{\reencodefont{8r}{\fromafm{lttri8a}}}
\transformfont{lttb8r}{\reencodefont{8r}{\fromafm{lttb8a}}}
\transformfont{lttbi8r}{\reencodefont{8r}{\fromafm{lttbi8a}}}
\transformfont{lttro8r}{\slantfont{267}{\frommtx{lttr8r}}}
\transformfont{lttru8r}{\slantfont{-267}{\frommtx{lttri8r}}}
\transformfont{lttbo8r}{\slantfont{267}{\frommtx{lttb8r}}}
\transformfont{lttbu8r}{\slantfont{-267}{\frommtx{lttbi8r}}}

\transformfont{lttrc8r}{\reencodefont{8r}{\fromafm{lttrc8a}}}
\transformfont{lttrij8r}{\reencodefont{8r}{\fromafm{lttrij8a}}}
\transformfont{lttbj8r}{\reencodefont{8r}{\fromafm{lttbj8a}}}
\transformfont{lttbij8r}{\reencodefont{8r}{\fromafm{lttbij8a}}}
\transformfont{lttroc8r}{\slantfont{267}{\frommtx{lttrc8r}}}
\transformfont{lttruj8r}{\slantfont{-267}{\frommtx{lttrij8r}}}
\transformfont{lttboj8r}{\slantfont{267}{\frommtx{lttbj8r}}}
\transformfont{lttbuj8r}{\slantfont{-267}{\frommtx{lttbij8r}}}

\input{cyralias}

\transformfont{lttro6w}{\slantfont{267}{\frommtx{lttr6w}}}
\transformfont{lttru6w}{\slantfont{-267}{\frommtx{lttri6w}}}
\transformfont{lttbo6w}{\slantfont{267}{\frommtx{lttb6w}}}
\transformfont{lttbu6w}{\slantfont{-267}{\frommtx{lttbi6w}}}

\input{elalias-lt}

\transformfont{lttropg}{\slantfont{267}{\frommtx{lttrpg}}}
\transformfont{lttrupg}{\slantfont{-267}{\frommtx{lttripg}}}
\transformfont{lttbopg}{\slantfont{267}{\frommtx{lttbpg}}}
\transformfont{lttbupg}{\slantfont{-267}{\frommtx{lttbipg}}}

\installfonts

\installfamily{UT1}{ltt}{}

% The file unilatin.mtx is a part of the ofntinst package.
%
% The file greek.mtx is a part of my grkfints package.
% Load it only if you need Greek glyphs.
%
% cyrillic.mtx is distributed with the Cyrillic t2 package. Load
% it only if you want to install a font with Cyrillic glyphs.

\installfont{lttrut}{lttr8r,unsetnum,kernoff,lttrc8r,resetosf,unsetnum,kernon,lttr8r,lttr6w,resetmu,lttrpg,greek-lt,unilatin,cyrillic,greek}{ut1}{UT1}{ltt}{m}{n}{}
\installfont{lttriut}{lttri8r,unsetnum,kernoff,lttrij8r,resetosf,unsetnum,kernon,lttri8r,lttri6w,resetmu,lttripg,greek-lt,unilatin,cyrillic,greek}{ut1}{UT1}{ltt}{m}{it}{}
\installfont{lttbut}{lttb8r,unsetnum,kernoff,lttbj8r,resetosf,unsetnum,kernon,lttb8r,lttb6w,resetmu,lttbpg,greek-lt,unilatin,cyrillic,greek}{ut1}{UT1}{ltt}{b}{n}{}
\installfont{lttbiut}{lttbi8r,unsetnum,kernoff,lttbij8r,resetosf,unsetnum,kernon,lttbi8r,lttbi6w,resetmu,lttbipg,greek-lt,unilatin,cyrillic,greek}{ut1}{UT1}{ltt}{b}{it}{}
\installfont{lttrout}{lttro8r,unsetnum,kernoff,lttroc8r,resetosf,unsetnum,kernon,lttro8r,lttro6w,resetmu,lttropg,greek-lt,unilatin,cyrillic,greek}{ut1}{UT1}{ltt}{m}{sl}{}
\installfont{lttruut}{lttru8r,unsetnum,kernoff,lttruj8r,resetosf,unsetnum,kernon,lttru8r,lttru6w,resetmu,lttrupg,greek-lt,unilatin,cyrillic,greek}{ut1}{UT1}{ltt}{m}{ui}{}
\installfont{lttbout}{lttbo8r,unsetnum,kernoff,lttboj8r,resetosf,unsetnum,kernon,lttbo8r,lttbo6w,resetmu,lttbopg,greek-lt,unilatin,cyrillic,greek}{ut1}{UT1}{ltt}{b}{sl}{}
\installfont{lttbuut}{lttbu8r,unsetnum,kernoff,lttbuj8r,resetosf,unsetnum,kernon,lttbu8r,lttbu6w,resetmu,lttbupg,greek-lt,unilatin,cyrillic,greek}{ut1}{UT1}{ltt}{b}{ui}{}
\installfont{lttrcut}{lttr8r,unsetnum,kernoff,lttrc8r,resetosf,unsetnum,kernon,lttr8r,lttr6w,resetmu,lttrpg,greek-lt,unilatin,cyrillic,greek}{ut1c}{UT1}{ltt}{m}{sc}{}
\installfont{lttbcut}{lttb8r,unsetnum,kernoff,lttbj8r,resetosf,unsetnum,kernon,lttb8r,lttb6w,resetmu,lttbpg,greek-lt,unilatin,cyrillic,greek}{ut1c}{UT1}{ltt}{b}{sc}{}

\substitutesilent{l}{m}
\substitutesilent{bx}{b}

\endinstallfonts

\bye
