%% %% This is file `mltex.sty'. %% Copyright (C) 1996,1997,1998,1999 Bernd Raichle %% %% ----------------------------------------------------------------- %% IMPORTANT NOTICE: %% %% This program can be redistributed and/or modified under the terms %% of the LaTeX Project Public License Distributed from CTAN %% archives in directory macros/latex/base/lppl.txt; either %% version 1 of the License, or any later version. %% ----------------------------------------------------------------- %% %% CHANGES: %% 1998/11/17 0.9a %% New file; only final release changes. %% 1998/12/21 0.9b %% Removed warning \message. %% 1999/03/08 0.9c %% Added \selectfont after \fontencoding to force switching %% accent defs from OT1 to LO1. %% Changed licensing conditions to LPPL. %% %% ------------------------------------------------------------ %% %% <1994/12/01> needed for \DeclareText... \NeedsTeXFormat{LaTeX2e}[1994/12/01] % Update your LaTeX version! \ProvidesPackage{mltex}[1999/08/03 v0.9c % MLTeX/LaTeX package (br)] \input{lo1enc.def} \@ifundefined{mlfontencoding}{}{% \PackageError{mltex}% {Package was loaded twice}% {This package will probably not work if loaded twice.}% } %% save original definition of \fontencoding \newcommand{\origfontencoding}{}% \let\origfontencoding=\fontencoding %% provide \mlfontencoding \newcommand{\mlfontencoding}[1]{% \expandafter\ifx\csname Fd@#1\endcsname\relax \origfontencoding{#1}% \else \expandafter\origfontencoding \expandafter{\csname Fd@#1\endcsname}% \fi}% \newif\if@mltexreplace \DeclareOption{switchonly}{\@mltexreplacefalse} \DeclareOption{replace}{\@mltexreplacetrue} \ExecuteOptions{replace} \ProcessOptions\relax \if@mltexreplace \PackageInfo{mltex}{Redefining \noexpand\fontencoding!}% \let\fontencoding=\mlfontencoding \expandafter\fontencoding\expandafter{\f@encoding}\selectfont \else \PackageInfo{mltex}{Switch to `LO1' font encoding only.}% \fontencoding{LO1}\selectfont% \renewcommand\encodingdefault{LO1}% \fi \endinput %% %% End of file `mltex.sty'.