]> matita.cs.unibo.it Git - helm.git/blob - helm/software/share/texmf/unicode/contrib/mkrenc.def
Preparing for 0.5.9 release.
[helm.git] / helm / software / share / texmf / unicode / contrib / mkrenc.def
1 %%
2 %% This is file `mkrenc.def',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% ucs.dtx  (with options: `mkrenc.def')
8 %% 
9 %% Copyright 2001 Dominique Unruh <dominique@unruh.de>
10 %% 
11 %% This program is provided under the terms of the LaTeX Project Public
12 %% License with some modifications.
13 %% See the file LICENSE (http://www.unruh.de/DniQ/latex/unicode/content/LICENSE)
14 %% for information.
15 %% 
16 \ProvidesFile{mkrenc.def}[2003/11/29 Fontencoding MKR for use with package makor]
17 \makeatletter
18 \AtBeginDocument{%
19   \let\mkr@quote\"
20   \RequirePackage{makor}%
21   \let\"\mkr@quote
22   \expandafter\ifx\csname !hdefaultfont\endcsname\relax
23     \expandafter\def\csname !hdefaultfont\endcsname{NFSS}\fi
24   }%
25 \expandafter\g@addto@macro\csname selectfont \endcsname{\protect\@hfontadapt}
26 \begingroup
27 \escapechar=-1
28 \edef\temp@a{%
29   \gdef\noexpand\@hfontadapt@
30   \expandafter\string\csname select font \endcsname##1 ##2%
31   \noexpand\@nil{%
32     \edef\noexpand\temp@a{%
33       \noexpand\noexpand\noexpand\hfontdef{\noexpand\mkr@font}{##1}{\noexpand\f@size pt}}\noexpand\temp@a}}\temp@a
34 \xdef\mkr@at{\expandafter\string\csname\space at \endcsname}%
35 \endgroup
36 \def\@hfont@enc{MKR}
37 \def\@hfontadapt{%
38   \ifx\f@encoding\@hfont@enc%
39     \edef\mkr@font{mkr@\f@family\f@series\f@shape-\f@size}%
40     %\typeout{HFONTADAPT: ID:\mkr@font, SIZE: \f@size}%
41     \@ifundefined{\mkr@font}{%
42       %\typeout{Needs adapting. (\expandafter\meaning\the\font)}%
43       \edef\temp@a{\noexpand\@hfontadapt@\expandafter\meaning\the\font\space\noexpand\@nil}\temp@a%
44       }{}%
45     \expandafter\hfont\expandafter{\mkr@font}%
46   \fi
47 }
48 \DeclareFontEncoding{MKR}{}{}
49 \DeclareFontSubstitution{MKR}{omega}{m}{n}
50 \DeclareTextCommand\hebalef{MKR}{`}
51 \DeclareTextCommand\hebbet{MKR}{v}
52 \DeclareTextCommand\hebgimel{MKR}{g}
53 \DeclareTextCommand\hebdalet{MKR}{d}
54 \DeclareTextCommand\hebhe{MKR}{h}
55 \DeclareTextCommand\hebvav{MKR}{w}
56 \DeclareTextCommand\hebzayin{MKR}{z}
57 \DeclareTextCommand\hebhet{MKR}{x}
58 \DeclareTextCommand\hebtet{MKR}{t}
59 \DeclareTextCommand\hebyod{MKR}{y}
60 \DeclareTextCommand\hebfinalkaf{MKR}{K\char94 }
61 \DeclareTextCommand\hebkaf{MKR}{K\NOBOUNDARY}
62 \DeclareTextCommand\heblamed{MKR}{l}
63 \DeclareTextCommand\hebfinalmem{MKR}{m\char94 }
64 \DeclareTextCommand\hebmem{MKR}{m\NOBOUNDARY}
65 \DeclareTextCommand\hebfinalnun{MKR}{n\char94 }
66 \DeclareTextCommand\hebnun{MKR}{n\NOBOUNDARY}
67 \DeclareTextCommand\hebsamekh{MKR}{s}
68 \DeclareTextCommand\hebayin{MKR}{``}
69 \DeclareTextCommand\hebfinalpe{MKR}{f\char94 }
70 \DeclareTextCommand\hebpe{MKR}{f\NOBOUNDARY}
71 \DeclareTextCommand\hebfinaltsadi{MKR}{ts\char94 }
72 \DeclareTextCommand\hebtsadi{MKR}{ts\NOBOUNDARY}
73 \DeclareTextCommand\hebqof{MKR}{q}
74 \DeclareTextCommand\hebresh{MKR}{r}
75 \DeclareTextCommand\hebshin{MKR}{sh}
76 \DeclareTextCommand\hebtav{MKR}{s\char94 }
77 \DeclareTextSymbol\doublevav{MKR}{"83}
78 \DeclareTextSymbol\vavyod{MKR}{"84}
79 \DeclareTextSymbol\doubleyod{MKR}{"81}
80 \DeclareTextCommand\maqaf{MKR}{-{}}
81 \DeclareTextCommand\sofpasuq{MKR}{:}
82 \DeclareTextSymbol\geresh{MKR}{251}
83 \DeclareTextSymbol\gershayim{MKR}{"22}
84 \DeclareTextSymbol\hebaleflamed{MKR}{"A4}
85 \DeclareTextCommand\dagesh{MKR}[1]{#1*}
86 \DeclareTextCommand\sheva{MKR}[1]{#1\vwlSHEVA}
87 \DeclareTextCommand\hatafsegol{MKR}[1]{#1\vwlCOLON\vwlE}
88 \DeclareTextCommand\hatafpatah{MKR}[1]{#1\vwlCOLON\vwlA}
89 \DeclareTextCommand\hatafqamats{MKR}[1]{#1\vwlCOLON\vwlPLUS}
90 \DeclareTextCommand\hiriq{MKR}[1]{#1\vwlI}
91 \DeclareTextCommand\tsere{MKR}[1]{#1\vwlE\vwlI}
92 \DeclareTextCommand\segol{MKR}[1]{#1\vwlE}
93 \DeclareTextCommand\patah{MKR}[1]{#1\vwlA}
94 \DeclareTextCommand\qamats{MKR}[1]{#1\vwlPLUS}
95 \DeclareTextCommand\qubuts{MKR}[1]{#1\vwlU}
96 \DeclareTextCommand\meteg{MKR}[1]{#1\vwlVERT}
97 \DeclareTextCommand\holam{MKR}[1]{#1o}
98 \DeclareTextCommand\shindot{MKR}[1]{sh\char94 }% Only useful as \shindot\shin
99 \DeclareTextCommand\sindot{MKR}[1]{\char94s}% Only useful as \sindot\shin
100 \DeclareTextCommand{\textascii}{MKR}[1]{\@textascii@switch{#1}}
101 \DeclareTextComposite\patach{MKR}\doubleyod{"82}
102 \DeclareTextCompositeCommand\dagesh{MKR}\finalkaf{K*\char94 }
103 \DeclareTextCompositeCommand\dagesh{MKR}\kaf{K*\NOBOUNDARY}
104 \DeclareTextCompositeCommand\dagesh{MKR}\finalmem{m*{}}
105 \DeclareTextCompositeCommand\dagesh{MKR}\mem{m*\NOBOUNDARY}
106 \DeclareTextCompositeCommand\dagesh{MKR}\finalnun{n*{}}
107 \DeclareTextCompositeCommand\dagesh{MKR}\nun{n*\NOBOUNDARY}
108 \DeclareTextCompositeCommand\dagesh{MKR}\pe{f*\NOBOUNDARY}
109 \DeclareTextCompositeCommand\dagesh{MKR}\tsadi{ts*\NOBOUNDARY}