%%
%% This is file `testmlsw.tex'.
%% Copyright (C) 1996-1998 Bernd Raichle; all rights reserved.
%%
%% See copyright statement in file `lo1enc.def'.
%%
%%
%% - Checks hyphenation w.r.t font encoding alias.
%% - Checks \DeclareTextComposite declarations.
%% - Can and should be used with a standard TeX or MLTeX!
%%
%% CHANGES:
%% 1998/11/17 0.9a
%% First released version.
%% 1999/03/09 0.9b
%% Added lines with composite and special glyphs because
%% I have missed a definition in `lo1enc.def' making the
%% accent macros \d and \b fail for LO1.
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesFile{testmlft.tex}%
[1999/03/09 v0.9b Test file for MLTeX LaTeX support (br)]
\documentclass{minimal}
\nofiles
\newcommand{\type}[1]{\typeout{^^J#1}#1}
%% For non-MLTeX and/or TeX versions < 3.0
%% define dummys for \charsubdefmax and \errorcontextlines,
%% these registers are not changed within this test file.
\ifx\charsubdefmax\undefined \chardef\charsubdefmax=0 \fi
\ifx\errorcontextlines\undefined \else \errorcontextlines=2\fi
\type{=== Test using LO1 font encoding, french hyphenation patterns:}
t\"ater \'el\`eve
\showhyphens{\"ubertragen \'el\`eve}
\showhyphens{abondamment abstinence anh\'eler d\'el\'egu\'e}
\fontencoding{OT1}\selectfont
\renewcommand{\encodingdefault}{OT1}%% for \showhyphens!
\type{=== Test using OT1 font encoding, french hyphenation patterns:}
t\"ater \'el\`eve d\'el\'egu\'e
\showhyphens{\"ubertragen \'el\`eve}
\showhyphens{abondamment abstinence anh\'eler d\'el\'egu\'e}
}
\fi