summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/fonts/source/lh/base/llmligtb.mf
blob: d48f1497b4b3b2e982479313de00248dc0a57107 (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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
%
% llmligtb.mf
%
%% Cyrillic font container with T2 encoding beta-support
%
% This file is future part of lxfonts package
% Version 3.4 // Patchlevel=0
% (c) O.Lapko
%
% This package belongs to the public domain under conditions similar to
% those of D. E. Knuth specified for the Computer Modern family of fonts.
% In particular, only the authors are entitled to modify this file
% and to save it under the same name.
%
% Content:
%
% Ligatures
% This file should be called for monospaced fonts !
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% The following ligatures are integrated:
%
% for CM fonts
% !`
% ?`
% for T2
% --  gives -
% --- gives --
% -<hyphenchar> gives <hyphenchar>
% common
% <<
% >>
% ,,
% ''
% ``
%

LHver_check(3,4); % like |version_check| in ec

if known spanish_shriek: % for CM fonts only

   ligtable "!": "`" =: spanish_shriek;
   ligtable "?": "`" =: spanish_query;

fi

if genmode="ex": % for T2 only

%english quotes
   ligtable "`": "`" =: oct"020";
   ligtable "'": "'" =: oct"021";

%dashes
   ligtable "-":
	 "-"	  =: oct"025", % number range dash equals "-"
         oct"177" =: oct"177"; % <hyphen><hyphenchar> => <hyphenchar>
%
fi


% ligatures for cyrillic quotes
if (altcoding and (ligs <> 0)) % for CM
   or (genmode="ex"): % if T2 started

      beginligtable
         labelchar ([ASCII"<"]);
            setlig ([ASCII"<"],CYR_.flqq);  % "<<"
      endligtable;

      beginligtable
         labelchar ([ASCII">"]);
            setlig ([ASCII">"],CYR_.frqq);  % ">>"
      endligtable;

      beginligtable
         labelchar ([ASCII","]);
            setlig ([ASCII","],CYR_.baseqq);  % ",,"
      endligtable;

fi  % ligatures for cyrillic quotes

%
endinput;
%end of file