summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/arabtex/hefonts.sty
blob: 1c8cee2fab5504a28dbd1c1dd615ed0443e4f11e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% hefonts.sty
% ArabTeX
% load Hebrew fonts in LaTeX mode
% 02.07.1997 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% (c) Klaus Lagally and Bernd Raichle
%     Institut fuer Informatik
%     Universitaet Stuttgart
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% load this file only, if \pheb not defined
% select the Hebrew font by \pheb (\protected )
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\expandafter \ifx \csname pheb\endcsname \relax \else
  \expandafter \endinput
\fi

\a@ident {hefonts.sty} {3.06 standard Hebrew fonts} {02.07.1997}

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

\ifx \LaTeX \undefined \else

% 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.)
%
\xpa \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'.
%
	\xpa \ifx \csname selectfont\endcsname\relax

		% OLD FONT SELECTION
		\UsePackage {hefonts0}
	\else 	% NEW FONT SELECTION -- Version 1
		\UsePackage {hefonts1}
	\fi
\else
		% NEW FONT SELECTION -- Version 2
	\UsePackage {hefonts2}
\fi\fi

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

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