%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% hefonts.sty
% 01.06.94 1.0
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% (c) Klaus Lagally and Bernd Raichle
%     Institut fuer Informatik
%     Universitaet Stuttgart
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% load this file only, if \pheb not defined
%
\expandafter \ifx \csname pheb\endcsname \relax \else
  \expandafter \endinput
\fi

\version = {1.0}  		\datum = {01.06.94}
\message {\the\version }	\message {(\the\datum )}

\edef \arabtexconfig {\arabtexconfig 
hefonts.sty \the\version \space (\the\datum) }

\chardef \fntatcode = \catcode`\@            \catcode`\@ = 11
\chardef \fntlscode = \catcode`\<            \catcode`\< = 12

%\wlog{Setup arabic fonts 1.6 (31.08.93) (br, kl)}

\def \hclassic {\protect \pheb }


% If we are using the NFSS, Version 2,  \DeclareFontShape
% is defined.
%
% (The \expandafter\ifx\csname...\endcsname\relax is necessary,
% because the NFSS2 styleoptions use LaTeX's internal \@ifundefined
% command.)
%
\expandafter\ifx\csname DeclareFontShape\endcsname\relax


% Now it's possible that NFSS, Version 1, is used.
% If \selectfont is defined, NFSS is active, otherwise
% we assume LaTeX's `lfonts.tex'.
%
\expandafter\ifx\csname selectfont\endcsname\relax

% OLD FONT SELECTION
\message {using lfonts.tex}

% load all necessary fonts
%
\iffalse
\newfont {\tenheb }{hclassic}
\newfont {\elvnheb}{hclassic scaled 1095}
\newfont {\twlvheb}{hclassic \@magscale1}
\newfont {\frtnheb}{hclassic \@magscale2}
\newfont {\svtnheb}{hclassic \@magscale3}
\newfont {\twtyheb}{hclassic \@magscale4}
\newfont {\twfvheb}{hclassic \@magscale5}
\fi

\iffalse
\newfont {\tenheb }{dclassic}
\newfont {\elvnheb}{dclassic scaled 1095}
\newfont {\twlvheb}{dclassic \@magscale1}
\newfont {\frtnheb}{dclassic \@magscale2}
\newfont {\svtnheb}{dclassic \@magscale3}
\newfont {\twtyheb}{dclassic \@magscale4}
\newfont {\twfvheb}{dclassic \@magscale5}
\fi

\newfont {\tenheb }{deadsea}
\newfont {\elvnheb}{deadsea scaled 1095}
\newfont {\twlvheb}{deadsea \@magscale1}
\newfont {\frtnheb}{deadsea \@magscale2}
\newfont {\svtnheb}{deadsea \@magscale3}
\newfont {\twtyheb}{deadsea \@magscale4}
\newfont {\twfvheb}{deadsea \@magscale5}

\tracinglostchars=0	% because there are no vowels

% add the \pheb command to the size changing hooks
% 
\@addfontinfo \@vpt    {\def\pheb {\tenheb}}
\@addfontinfo \@viipt  {\def\pheb {\tenheb}}
\@addfontinfo \@viiipt {\def\pheb {\tenheb}}
\@addfontinfo \@ixpt   {\def\pheb {\tenheb}}
\@addfontinfo \@xpt    {\def\pheb {\tenheb}}
\@addfontinfo \@xipt   {\def\pheb {\elvnheb}}
\@addfontinfo \@xiipt  {\def\pheb {\twlvheb}}
\@addfontinfo \@xivpt  {\def\pheb {\frtnheb}}
\@addfontinfo \@xviipt {\def\pheb {\svtnheb}}
\@addfontinfo \@xxpt   {\def\pheb {\twtyheb}}
\@addfontinfo \@xxvpt  {\def\pheb {\twfvheb}}

\else

% NEW FONT SELECTION -- Version 1
\message {using NFSS1}

% define \pheb to use the `heb' family, `m'edium series und
% `n'ormal shape.
%
\def\pheb{\family{heb}\series{m}\shape{n}\selectfont}

% setup the font definition table
% (`1' at the beginning of a fontname: size not available, print
% warning to inform the user)
%
\new@fontshape{heb}{m}{n}{%
      <5>1hclassic%
      <6>1hclassic%
      <7>1hclassic%
      <8>1hclassic%
      <9>1hclassic%
      <10>hclassic%
      <11>hclassic at10.95pt%
      <12>hclassic at12.0pt%
      <14>hclassic at14.4pt%
      <17>hclassic at15.77441pt%
      <20>hclassic at17.28pt%
      <25>hclassic at20.736pt}{}
\extra@def{heb}{}{}

\fi

\else

% NEW FONT SELECTION -- Version 2
\message {using NFSS2}

% define \pheb to use the `unknown' fontencoding, `heb' fontfamily,
% `m'edium fontseries und `n'ormal fontshape.
%
\def\pheb{\fontencoding{U}\fontfamily{heb}%
           \fontseries{m}\fontshape{n}\selectfont}

% All other definitions are done in file `Uheb.fd', which is
% loaded on demand.

\fi


\catcode`\@ = \fntatcode        \catcode`\< = \fntlscode                   

\endinput
%%%%%%%%%%%%%%%%%%%%%%%%%%% EOF %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
