%%
%% This is file `mkrenc.def',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% ucs.dtx  (with options: `mkrenc.def')
%% 
%% Copyright 2001 Dominique Unruh <dominique@unruh.de>
%% 
%% This program is provided under the terms of the LaTeX Project Public
%% License with some modifications.
%% See the file LICENSE (http://www.unruh.de/DniQ/latex/unicode/content/LICENSE)
%% for information.
%% 
\ProvidesFile{mkrenc.def}[2002/11/22 Fontencoding MKR for use with package makor]
\makeatletter
\AtBeginDocument{%
  \let\mkr@quote\"
  \RequirePackage{makor}%
  \let\"\mkr@quote
  \expandafter\ifx\csname !hdefaultfont\endcsname\relax
    \expandafter\def\csname !hdefaultfont\endcsname{NFSS}\fi
  }%
\expandafter\g@addto@macro\csname selectfont \endcsname{\protect\@hfontadapt}
\begingroup
\escapechar=-1
\edef\temp@a{%
  \gdef\noexpand\@hfontadapt@
  \expandafter\string\csname select font \endcsname##1 ##2%
  \noexpand\@nil{%
    \edef\noexpand\temp@a{%
      \noexpand\noexpand\noexpand\hfontdef{\noexpand\mkr@font}{##1}{\noexpand\f@size pt}}\noexpand\temp@a}}\temp@a
\xdef\mkr@at{\expandafter\string\csname\space at \endcsname}%
\endgroup
\def\@hfont@enc{MKR}
\def\@hfontadapt{%
  \ifx\f@encoding\@hfont@enc%
    \edef\mkr@font{mkr@\f@family\f@series\f@shape-\f@size}%
    %\typeout{HFONTADAPT: ID:\mkr@font, SIZE: \f@size}%
    \@ifundefined{\mkr@font}{%
      %\typeout{Needs adapting. (\expandafter\meaning\the\font)}%
      \edef\temp@a{\noexpand\@hfontadapt@\expandafter\meaning\the\font\space\noexpand\@nil}\temp@a%
      }{}%
    \expandafter\hfont\expandafter{\mkr@font}%
  \fi
}
\DeclareFontEncoding{MKR}{}{}
\DeclareFontSubstitution{MKR}{omega}{m}{n}
\DeclareTextCommand\alef{MKR}{`}
\DeclareTextCommand\bet{MKR}{v}
\DeclareTextCommand\gimel{MKR}{g}
\DeclareTextCommand\textgimel{MKR}{g}
\DeclareTextCommand\dalet{MKR}{d}
\DeclareTextCommand\he{MKR}{h}
\DeclareTextCommand\vav{MKR}{w}
\DeclareTextCommand\zayin{MKR}{z}
\DeclareTextCommand\het{MKR}{x}
\DeclareTextCommand\tet{MKR}{t}
\DeclareTextCommand\yod{MKR}{y}
\DeclareTextCommand\finalkaf{MKR}{K\char94 }
\DeclareTextCommand\kaf{MKR}{K\NOBOUNDARY}
\DeclareTextCommand\lamed{MKR}{l}
\DeclareTextCommand\finalmem{MKR}{m\char94 }
\DeclareTextCommand\mem{MKR}{m\NOBOUNDARY}
\DeclareTextCommand\finalnun{MKR}{n\char94 }
\DeclareTextCommand\nun{MKR}{n\NOBOUNDARY}
\DeclareTextCommand\samekh{MKR}{s}
\DeclareTextCommand\ayin{MKR}{``}
\DeclareTextCommand\finalpe{MKR}{f\char94 }
\DeclareTextCommand\pe{MKR}{f\NOBOUNDARY}
\DeclareTextCommand\finaltsadi{MKR}{ts\char94 }
\DeclareTextCommand\tsadi{MKR}{ts\NOBOUNDARY}
\DeclareTextCommand\qof{MKR}{q}
\DeclareTextCommand\resh{MKR}{r}
\DeclareTextCommand\shin{MKR}{sh}
\DeclareTextCommand\tav{MKR}{s\char94 }
\DeclareTextSymbol\doublevav{MKR}{"83}
\DeclareTextSymbol\vavyod{MKR}{"84}
\DeclareTextSymbol\doubleyod{MKR}{"81}
\DeclareTextCommand\maqaf{MKR}{-{}}
\DeclareTextCommand\sofpasuq{MKR}{:}
\DeclareTextSymbol\geresh{MKR}{251}
\DeclareTextSymbol\gershayim{MKR}{"22}
\DeclareTextSymbol\aleflamed{MKR}{"A4}
\DeclareTextCommand\dagesh{MKR}[1]{#1*}
\DeclareTextCommand\shva{MKR}[1]{#1\vwlSHEVA}
\DeclareTextCommand\chatafsegol{MKR}[1]{#1\vwlCOLON\vwlE}
\DeclareTextCommand\chatafpatach{MKR}[1]{#1\vwlCOLON\vwlA}
\DeclareTextCommand\chatafkamatz{MKR}[1]{#1\vwlCOLON\vwlPLUS}
\DeclareTextCommand\chiriq{MKR}[1]{#1\vwlI}
\DeclareTextCommand\tzere{MKR}[1]{#1\vwlE\vwlI}
\DeclareTextCommand\segol{MKR}[1]{#1\vwlE}
\DeclareTextCommand\patach{MKR}[1]{#1\vwlA}
\DeclareTextCommand\kamatz{MKR}[1]{#1\vwlPLUS}
\DeclareTextCommand\kibutz{MKR}[1]{#1\vwlU}
\DeclareTextCommand\meteg{MKR}[1]{#1\vwlVERT}
\DeclareTextCommand\cholem{MKR}[1]{#1o}
\DeclareTextCommand\shindot{MKR}[1]{sh\char94 }% Only useful as \shindot\shin
\DeclareTextCommand\sindot{MKR}[1]{\char94s}% Only useful as \sindot\shin
\DeclareTextCommand{\textascii}{MKR}[1]{\@textascii@switch{#1}}
\DeclareTextComposite\patach{MKR}\doubleyod{"82}
\DeclareTextCompositeCommand\dagesh{MKR}\finalkaf{K*\char94 }
\DeclareTextCompositeCommand\dagesh{MKR}\kaf{K*\NOBOUNDARY}
\DeclareTextCompositeCommand\dagesh{MKR}\finalmem{m*{}}
\DeclareTextCompositeCommand\dagesh{MKR}\mem{m*\NOBOUNDARY}
\DeclareTextCompositeCommand\dagesh{MKR}\finalnun{n*{}}
\DeclareTextCompositeCommand\dagesh{MKR}\nun{n*\NOBOUNDARY}
\DeclareTextCompositeCommand\dagesh{MKR}\pe{f*\NOBOUNDARY}
\DeclareTextCompositeCommand\dagesh{MKR}\tsadi{ts*\NOBOUNDARY}
