summaryrefslogtreecommitdiff
path: root/language/aramaic/serto/assyr.sty
blob: 8e1ba1ba48d977c7b2e3f8e508733c4018840f46 (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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% assyr.sty
%% For the use of serto fonts within LaTeX
%% Last modified 8th November 2003
%% Johannes Heinecke, Lannion

\typeout{Document Style `assyr.sty' <8th November 2003>.}

%\def\fassyrr{assy }
%\def\fassyrb{assyrb10 }

%%
%% Use with \assyr
%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% do we have elatex?
\ifx\TeXXeTstate\undefined\def\beginR{}\def\endR{}\else
\TeXXeTstate=1\fi

\usepackage{syriac}

%%
%% Standard assyr
\expandafter \ifx \csname passyrr\endcsname \relax \else
  \expandafter \endinput
\fi
\expandafter \ifx \csname passyrb\endcsname \relax \else
  \expandafter \endinput
\fi

%% select the mxedruliX font with \mxedrX
%%
\def\assyr {\protect\passyrr\noindent}
\def\assyrb {\protect\passyrb\noindent}

% If NFSS2 is used,  \DeclareFontShape is defined.
\expandafter\ifx\csname DeclareFontShape\endcsname\relax

% But possibly NFSS1 is used...
\expandafter\ifx\csname selectfont\endcsname\relax

% No, its only the standard font selection...
\message {Warning: Standard font selection *not* supported}

\else
\message {Warning: NFSS1  *not* supported}
\fi

\else


\message {Using NFSS2}
 
% \passyr uses the `unknown' fontencoding, `mxed' fontfamily, `m'edium
% fontseries,  `n'ormal fontshape.
%
\def\passyrr{\fontencoding{U}\fontfamily{assyr}%
           \fontseries{m}\fontshape{n}\selectfont}
\def\passyrb{\fontencoding{U}\fontfamily{assyr}%
           \fontseries{m}\fontshape{b}\selectfont}

% All the rest is defined `uassyr.fd', which is loaded automatically

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