summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/armenian/ot6enc.def
blob: 1c2dbcd14240203df8cf0595d1a0360d0302b37f (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
%% This file is a part of the ArmTeX 2.0
%% [1999/06/01 v2.0 ot6enc.def (OT6 encoding definition file)]
%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


%% Double input protection.
%%
\expandafter\ifx\csname ArmTeX@EncDefLoaded\endcsname\relax
\let\ArmTeX@EncDefLoaded\null\else\endinput\fi


%% Begining of the code.
%%
\ProvidesFile{ot6enc.def}
  [1999/06/01 v2.0 ot6enc.def (OT6 encoding definition file)]


%% Declaring the encoding.
%%
\DeclareFontEncoding{OT6}{}{}


%% Loading Font definition files.
%%
\newcommand{\ArmTeX@LoadFd}[1]{%
  \InputIfFileExists{ot6#1.fd}{}
    {\PackageError{ArmTeX}
      {Font definition file `ot6#1.fd' not found.\MessageBreak
       Check your installation}
      {It seems that there is a problem with your installation.\MessageBreak
       Normally the file `ot6#1.fd' should have been present on your system.\MessageBreak
       But apparently it isn't !!!\MessageBreak
       It is better to stop at this point and to check your installation.}}}
\ArmTeX@LoadFd{cmr}
\ArmTeX@LoadFd{cmss}


%% Declaring default font substitution.
%%
\DeclareFontSubstitution{OT6}{cmr}{m}{n}


%% Encoding specific definitions.
%%

%% The LaTeX macros "\{", "\}" and "\$" use "\text..." commands, so adjusted automaticaly.
\DeclareTextSymbol{\textbraceleft}{OT6}{94}
\DeclareTextSymbol{\textbraceright}{OT6}{95}
\DeclareTextSymbol{\textdollar}{OT6}{36}

%% The LaTeX macros "\#", "\%" and "\&" use current font, so not need to be adjusted.
\DeclareTextSymbol{\texthash}{OT6}{35}
\DeclareTextSymbol{\textpercent}{OT6}{37}
\DeclareTextSymbol{\textand}{OT6}{38}

%% The LaTeX macros "\!", "\?", "\|" and "\*" will be (re)defined.
\DeclareTextSymbol{\textexclam}{OT6}{126}
\DeclareTextSymbol{\textquestion}{OT6}{127}
\DeclareTextCommand{\textanjgic}{OT6}{\leavevmode
    \kern0.02em\vrule height0.4ex depth-0.25ex width0.8em\kern0.02em\relax}
\DeclareTextCommand{\textbreaklig}{OT6}{{\kern0pt}}


%% That's all, Folks!
%%
\endinput