Debian Codegraph @

texmf-dist/source/latex/relenc/t1renc.dtx

raw
1 %% \CheckSum{474}
2 % \iffalse (Comment)
3 % This file contains the specification of the T1R encoding, as well
4 % as the actual code for its encoding definition file.
5 % \fi
6 % \iffalse (Driver code)
7 %<*driver>
8 \documentclass{ltxdoc}
9 \DeclareTextFontCommand{\textcmtt}{\usefont{OT1}{cmtt}{m}{n}}
10 \newcommand\package[1]{\textsf{#1}}
11 \title{The \texttt{T1R} encoding}
12 \author{Lars Hellstr\"om%
13 \thanks{E-mail: \texttt{[email protected]}}%
14 }
15 \begin{document}
16 \maketitle
17 \DocInput{t1renc.dtx}\Finale
18 \begin{thebibliography}{99}
19 %
20 \bibitem{fontinst}
21 Alan Jeffrey, Rowland McDonnell (manual), Sebastian Rahtz,
22 Ulrik Vieth: \emph{The fontinst utility} (v\,1.8),
23 \texttt{fontinst.dtx}, in CTAN at \texttt{ftp:/\slash
24 ftp.tex.ac.uk\slash tex-archive\slash fonts\slash utilities\slash
25 fontinst\slash}\textellipsis
26 %
27 \end{thebibliography}
28 \end{document}
29 %</driver>
30 % \fi
31 %
32 % \iffalse (Comment)
33 % Definitions needed for the documentation of the encoding. I know
34 % they really belong in the preamble, but I prefer having them in one
35 % place (this text is used in two different documents, with different
36 % preambles).
37 % \fi
38 % \makeatletter
39 % \begingroup
40 % \lccode`\$=13\relax
41 % \lowercase{^^A
42 % \gdef\ifempty#1{\ifx$#1$^^A
43 % \expandafter\@firstoftwo
44 % \else
45 % \expandafter\@secondoftwo
46 % \fi
47 % }
48 % }
49 % \endgroup
50 % \makeatother
51 %
52 % \newcommand\glyph[2]{^^A
53 % \ifempty{#1}{^^A
54 % \textit{#2}^^A
55 % }{^^A
56 % `\textcmtt{#1}' \ifempty{#2}{}{(\textit{#2})}^^A
57 % }^^A
58 % }
59 % \newcommand\LIG[6]{\glyph{#1}{#2} $+$ \glyph{#3}{#4} $\mapsto$
60 % \glyph{#5}{#6}}
61 % \newcommand\tLIG[6]{\glyph{#1}{#2}&$+$&\glyph{#3}{#4}&$\mapsto$&%
62 % \glyph{#5}{#6}}
63 %
64 % \makeatletter
65 % \newcount\count@q
66 % \newcommand\octbase[1]{^^A
67 % \count@=#1\relax
68 % \count@q=\count@
69 % \divide \count@q 64\relax
70 % \ifnum 0<\count@q
71 % \the\count@q
72 % \multiply \count@q 64^^A
73 % \advance \count@ -\count@q
74 % \fi
75 % \count@q=\count@
76 % \divide \count@q 8\relax
77 % \ifnum 0<\count@q
78 % \the\count@q
79 % \multiply \count@q 8^^A
80 % \advance \count@ -\count@q
81 % \fi
82 % \the\count@
83 % }
84 % \newcommand\hexbase[1]{^^A
85 % \count@=#1\relax
86 % \count@q=\count@
87 % \divide \count@q 16\relax
88 % \hexnumber@\count@q
89 % \multiply \count@q 16^^A
90 % \advance \count@ -\count@q
91 % \hexnumber@\count@
92 % }
93 % \newcommand\spreadfourthrow[1]{^^A
94 % \count@=#1\relax
95 % \count@q=\count@
96 % \divide \count@q 4^^A
97 % \multiply \count@q 4^^A
98 % \advance \count@ -\count@q
99 % \ifnum 3=\count@
100 % \vrule width\z@ depth1.4\dp\strutbox \relax
101 % \fi
102 % }
103 % \makeatother
104 % \newcommand\inbases[1]{^^A
105 % {\small\octbase{#1}}&^^A
106 % #1\spreadfourthrow{#1}&^^A
107 % \texttt{\small\hexbase{#1}^^A
108 % }%
109 % }
110 %
111 %
112 % \section{Specification}
113 %
114 % The \texttt{T1R} encoding is meant to be (almost) equivalent to the
115 % \texttt{T1} encoding from the author's point of view but offer
116 % larger flexibility to font designers than the \texttt{T1} encoding
117 % does---especially the flexibility to include additional ligatures. It
118 % is thus what I call a \emph{relaxed} version of the \texttt{T1}
119 % encoding, which is also the reason for its name.
120 %
121 % Its basic derivation from \texttt{T1} can be easily described: Slots
122 % 0--63, 64--127, and 192--255 have exactly the same contents as in the
123 % \texttt{T1} encoding, whilst slots 128--191 can be used in any way
124 % the font designer wants; the set of commands, syntactic ligatures,
125 % and directly usable characters is exactly the same as in the
126 % \texttt{T1} encoding. The result of my intention to give a formal
127 % description of the encoding might of course be that this description
128 % deviates slightly from the above, but it lines out the basic ideas.
129 %
130 % The reasons for choosing this basis are pretty arbitrary, especially
131 % in terms of the assignment of slots. To begin with it gives a simple
132 % rule (the 256 slots in the font are divided into four continuous blocks
133 % of 64 slots each) and secondly almost all glyphs in slot ranges 0--63,
134 % 64--127, and 192--255 can be found in many popular fonts, but most of
135 % the glyphs in the slot range 128--191 are hard to find. Hence these
136 % glyphs will very frequently have to be made somehow anyway, the question
137 % is only at what time this will happen: At the time \TeX\ is running, or
138 % afterwards, when a virtual font is interpreted? The character usually
139 % looks the same.
140 %
141 % That is not the same thing as saying that it does not matter which,
142 % because it may well do. \TeX\ will not automatically hyphenate words
143 % containing letters that are not a single character in the font, so some
144 % care is necessary. It is however the case that documents that both use and
145 % require hyphenation of all the accented characters that appear in
146 % slots 128--191 are extremely few (or do no exist at all---yet), so
147 % there are usually plenty of slots available for the font designer to
148 % put, for example, additional ligatures in. It might however well be that
149 % two different implementations of the same font (presumably made on
150 % different locations) have kept different sets of characters, due to
151 % the fact that the two implementors speak different languages and hence
152 % need hyphentation of different sets of accented letters. This causes no
153 % problems (unless the implementors are exchanging \texttt{dvi} files), as
154 % the code in the font definition files would mirror this difference and
155 % set up the variable commands correctly anyhow, so that exchanging
156 % \texttt{.tex} manuscripts does not cause problems.
157 %
158 % Now for the more formal description, with reservation for that (i) I
159 % might have missed some point about the \texttt{T1} encoding, lacking a
160 % formal definition of that and (ii) the current version of the
161 % \texttt{T1R} encoding is only a beta, so some details may well change
162 % in the future. In particular, the decisions about whether a
163 % composition should be a composition of a variant or a composition of
164 % the main variable command were usually pretty randomly made, so if
165 % someone should present me with a good reason why it should not be as
166 % it currently is, then there is a good chance I would change
167 % it\footnote{Unless too many people's code have already come to depend
168 % on it. But in that case, there is always the possibility to make new
169 % encoding that differs from \texttt{T1R} only in a few such points and
170 % recommend people to use that instead.}.
171 %
172 %
173 % \subsection{The coding scheme}
174 %
175 % \begin{table}
176 % \DeleteShortVerb{\|}
177 % \begin{center}
178 % \begin{tabular}{|rrrl|rrrl|}
179 % \hline
180 % \multicolumn{3}{|c}{Slot}& \multicolumn{1}{c}{Glyph}&
181 % \multicolumn{3}{|c}{Slot}& \multicolumn{1}{c|}{Glyph}%
182 % \\[-0.9\ht\strutbox]
183 % \multicolumn{3}{|c}{\hrulefill}&\hrulefill&
184 % \multicolumn{3}{|c}{\hrulefill}&\hrulefill\\
185 % \underline{Oct.}& \underline{Dec.}& \underline{Hex.}&&
186 % \underline{Oct.}& \underline{Dec.}& \underline{Hex.}&\\
187 % \inbases{0}&\glyph{\`{}}{grave accent}&
188 % \inbases{32}&\glyph{\textvisiblespace}{visible space}\\
189 % \inbases{1}&\glyph{\'{}}{acute accent}&
190 % \inbases{33}&\glyph{!}{}\\
191 % \inbases{2}&\glyph{\^{}}{circumflex accent}&
192 % \inbases{34}&\glyph{"}{quotedbl}\\
193 % \inbases{3}&\glyph{\~{}}{tilde accent}&
194 % \inbases{35}&\glyph{\#}{}\\
195 % \inbases{4}&\glyph{\"{}}{dieresis}&
196 % \inbases{36}&\glyph{\$}{}\\
197 % \inbases{5}&\glyph{}{Hungarian umlaut}&
198 % \inbases{37}&\glyph{\%}{}\\
199 % \inbases{6}&\glyph{\r{}}{ring accent}&
200 % \inbases{38}&\glyph{\&}{}\\
201 % \inbases{7}&\glyph{\v{}}{caron accent}&
202 % \inbases{39}&\glyph{'}{quoteright}\\
203 % \inbases{8}&\glyph{\u{}}{breve accent}&
204 % \inbases{40}&\glyph{(}{}\\
205 % \inbases{9}&\glyph{\={}}{macron accent}&
206 % \inbases{41}&\glyph{)}{}\\
207 % \inbases{10}&\glyph{}{dot accent}&
208 % \inbases{42}&\glyph{*}{asterisk}\\
209 % \inbases{11}&\glyph{\char24}{cedilla accent}&
210 % \inbases{43}&\glyph{+}{}\\
211 % \inbases{12}&\glyph{}{ogonek accent}&
212 % \inbases{44}&\glyph{,}{comma}\\
213 % \inbases{13}&\glyph{}{quotesinglbase}&
214 % \inbases{45}&\glyph{-}{hyphen}\\
215 % \inbases{14}&\glyph{}{guilsinglleft}&
216 % \inbases{46}&\glyph{.}{}\\
217 % \inbases{15}&\glyph{}{guilsinglright}&
218 % \inbases{47}&\glyph{/}{slash}\\
219 % \inbases{16}&\glyph{}{quotedblleft}&
220 % \inbases{48}&\glyph{0}{zero}\\
221 % \inbases{17}&\glyph{}{quotedblright}&
222 % \inbases{49}&\glyph{1}{}\\
223 % \inbases{18}&\glyph{}{quotedblbase}&
224 % \inbases{50}&\glyph{2}{}\\
225 % \inbases{19}&\glyph{}{guillemotleft}&
226 % \inbases{51}&\glyph{3}{}\\
227 % \inbases{20}&\glyph{}{guillemotright}&
228 % \inbases{52}&\glyph{4}{}\\
229 % \inbases{21}&\glyph{}{endash}&
230 % \inbases{53}&\glyph{5}{}\\
231 % \inbases{22}&\glyph{}{emdash}&
232 % \inbases{54}&\glyph{6}{}\\
233 % \inbases{23}&\glyph{}{compwordmark}&
234 % \inbases{55}&\glyph{7}{}\\
235 % \inbases{24}&\glyph{}{perthousandzero}&
236 % \inbases{56}&\glyph{8}{}\\
237 % \inbases{25}&\glyph{\i}{dotlessi}&
238 % \inbases{57}&\glyph{9}{}\\
239 % \inbases{26}&\glyph{\j}{dotlessj}&
240 % \inbases{58}&\glyph{:}{}\\
241 % \inbases{27}&not specified&
242 % \inbases{59}&\glyph{;}{}\\
243 % \inbases{28}&not specified&
244 % \inbases{60}&\glyph{<}{}\\
245 % \inbases{29}&not specified&
246 % \inbases{61}&\glyph{=}{}\\
247 % \inbases{30}&not specified&
248 % \inbases{62}&\glyph{>}{}\\
249 % \inbases{31}&not specified&
250 % \inbases{63}&\glyph{?}{}\\
251 % \hline
252 % \end{tabular}
253 % \end{center}
254 % \caption{The coding scheme for the \texttt{T1R} encoding,
255 % slots 0--63}
256 % \label{Block0}
257 % \MakeShortVerb{\|}
258 % \end{table}
259 % \begin{table}
260 % \DeleteShortVerb{\|}
261 % \begin{center}
262 % \begin{tabular}{|rrrl|rrrl|}
263 % \hline
264 % \multicolumn{3}{|c}{Slot}& \multicolumn{1}{c}{Glyph}&
265 % \multicolumn{3}{|c}{Slot}& \multicolumn{1}{c|}{Glyph}%
266 % \\[-0.9\ht\strutbox]
267 % \multicolumn{3}{|c}{\hrulefill}&\hrulefill&
268 % \multicolumn{3}{|c}{\hrulefill}&\hrulefill\\
269 % \underline{Oct.}& \underline{Dec.}& \underline{Hex.}&&
270 % \underline{Oct.}& \underline{Dec.}& \underline{Hex.}&\\
271 % \inbases{64}&\glyph{@}{}& \inbases{96}&\glyph{`}{quoteleft}\\
272 % \inbases{65}&\glyph{A}{}& \inbases{97}&\glyph{a}{}\\
273 % \inbases{66}&\glyph{B}{}& \inbases{98}&\glyph{b}{}\\
274 % \inbases{67}&\glyph{C}{}& \inbases{99}&\glyph{c}{}\\
275 % \inbases{68}&\glyph{D}{}& \inbases{100}&\glyph{d}{}\\
276 % \inbases{69}&\glyph{E}{}& \inbases{101}&\glyph{e}{}\\
277 % \inbases{70}&\glyph{F}{}& \inbases{102}&\glyph{f}{}\\
278 % \inbases{71}&\glyph{G}{}& \inbases{103}&\glyph{g}{}\\
279 % \inbases{72}&\glyph{H}{}& \inbases{104}&\glyph{h}{}\\
280 % \inbases{73}&\glyph{I}{}& \inbases{105}&\glyph{i}{}\\
281 % \inbases{74}&\glyph{J}{}& \inbases{106}&\glyph{j}{}\\
282 % \inbases{75}&\glyph{K}{}& \inbases{107}&\glyph{k}{}\\
283 % \inbases{76}&\glyph{L}{}& \inbases{108}&\glyph{l}{}\\
284 % \inbases{77}&\glyph{M}{}& \inbases{109}&\glyph{m}{}\\
285 % \inbases{78}&\glyph{N}{}& \inbases{110}&\glyph{n}{}\\
286 % \inbases{79}&\glyph{O}{}& \inbases{111}&\glyph{o}{}\\
287 % \inbases{80}&\glyph{P}{}& \inbases{112}&\glyph{p}{}\\
288 % \inbases{81}&\glyph{Q}{}& \inbases{113}&\glyph{q}{}\\
289 % \inbases{82}&\glyph{R}{}& \inbases{114}&\glyph{r}{}\\
290 % \inbases{83}&\glyph{S}{}& \inbases{115}&\glyph{s}{}\\
291 % \inbases{84}&\glyph{T}{}& \inbases{116}&\glyph{t}{}\\
292 % \inbases{85}&\glyph{U}{}& \inbases{117}&\glyph{u}{}\\
293 % \inbases{86}&\glyph{V}{}& \inbases{118}&\glyph{v}{}\\
294 % \inbases{87}&\glyph{W}{}& \inbases{119}&\glyph{w}{}\\
295 % \inbases{88}&\glyph{X}{}& \inbases{120}&\glyph{x}{}\\
296 % \inbases{89}&\glyph{Y}{}& \inbases{121}&\glyph{y}{}\\
297 % \inbases{90}&\glyph{Z}{}& \inbases{122}&\glyph{z}{}\\
298 % \inbases{91}&\glyph{[}{}& \inbases{123}&\glyph{\char`\{}{}\\
299 % \inbases{92}&\glyph{\char`\\}{}&
300 % \inbases{124}&\glyph{|}{}\\
301 % \inbases{93}&\glyph{]}{}& \inbases{125}&\glyph{\char`\}}{}\\
302 % \inbases{94}&\glyph{\char`\^}{circumflex character}&
303 % \inbases{126}&\glyph{\char`\~}{tilde character}\\
304 % \inbases{95}&\glyph{\_}{}& \inbases{127}&\glyph{}{hyphenchar}\\
305 % \hline
306 % \end{tabular}
307 % \end{center}
308 % \caption{The coding scheme for the \texttt{T1R} encoding,
309 % slots 64--127}
310 % \label{Block1}
311 % \MakeShortVerb{\|}
312 % \end{table}
313 % \begin{table}
314 % \DeleteShortVerb{\|}
315 % \begin{center}
316 % \begin{tabular}{|rrrl|rrrl|}
317 % \hline
318 % \multicolumn{3}{|c}{Slot}& \multicolumn{1}{c}{Glyph}&
319 % \multicolumn{3}{|c}{Slot}& \multicolumn{1}{c|}{Glyph}%
320 % \\[-0.9\ht\strutbox]
321 % \multicolumn{3}{|c}{\hrulefill}&\hrulefill&
322 % \multicolumn{3}{|c}{\hrulefill}&\hrulefill\\
323 % \underline{Oct.}& \underline{Dec.}& \underline{Hex.}&&
324 % \underline{Oct.}& \underline{Dec.}& \underline{Hex.}&\\
325 % \inbases{192}&\glyph{\`A}{}& \inbases{224}&\glyph{\`a}{}\\
326 % \inbases{193}&\glyph{\'A}{}& \inbases{225}&\glyph{\'a}{}\\
327 % \inbases{194}&\glyph{\^A}{}& \inbases{226}&\glyph{\^a}{}\\
328 % \inbases{195}&\glyph{\~A}{}& \inbases{227}&\glyph{\~a}{}\\
329 % \inbases{196}&\glyph{\"A}{}& \inbases{228}&\glyph{\"a}{}\\
330 % \inbases{197}&\glyph{\r{A}}{}& \inbases{229}&\glyph{\r{a}}{}\\
331 % \inbases{198}&\glyph{\AE}{}& \inbases{230}&\glyph{\ae}{}\\
332 % \inbases{199}&\glyph{\c{C}}{}& \inbases{231}&\glyph{\c{c}}{}\\
333 % \inbases{200}&\glyph{\`E}{}& \inbases{232}&\glyph{\`e}{}\\
334 % \inbases{201}&\glyph{\'E}{}& \inbases{233}&\glyph{\'e}{}\\
335 % \inbases{202}&\glyph{\^E}{}& \inbases{234}&\glyph{\^e}{}\\
336 % \inbases{203}&\glyph{\"E}{}& \inbases{235}&\glyph{\"e}{}\\
337 % \inbases{204}&\glyph{\`I}{}& \inbases{236}&\glyph{\`\i}{}\\
338 % \inbases{205}&\glyph{\'I}{}& \inbases{237}&\glyph{\'\i}{}\\
339 % \inbases{206}&\glyph{\^I}{}& \inbases{238}&\glyph{\^\i}{}\\
340 % \inbases{207}&\glyph{\"I}{}& \inbases{239}&\glyph{\"\i}{}\\
341 % \inbases{208}&\glyph{}{Eth}& \inbases{240}&\glyph{}{eth}\\
342 % \inbases{209}&\glyph{\~N}{}& \inbases{241}&\glyph{\~n}{}\\
343 % \inbases{210}&\glyph{\`O}{}& \inbases{242}&\glyph{\`o}{}\\
344 % \inbases{211}&\glyph{\'O}{}& \inbases{243}&\glyph{\'o}{}\\
345 % \inbases{212}&\glyph{\^O}{}& \inbases{244}&\glyph{\^o}{}\\
346 % \inbases{213}&\glyph{\~O}{}& \inbases{245}&\glyph{\~o}{}\\
347 % \inbases{214}&\glyph{\"O}{}& \inbases{246}&\glyph{\"o}{}\\
348 % \inbases{215}&\glyph{\OE}{OE}& \inbases{247}&\glyph{\oe}{}\\
349 % \inbases{216}&\glyph{\O}{}& \inbases{248}&\glyph{\o}{}\\
350 % \inbases{217}&\glyph{\`U}{}& \inbases{249}&\glyph{\`u}{}\\
351 % \inbases{218}&\glyph{\'U}{}& \inbases{250}&\glyph{\'u}{}\\
352 % \inbases{219}&\glyph{\^U}{}& \inbases{251}&\glyph{\^u}{}\\
353 % \inbases{220}&\glyph{\"U}{}& \inbases{252}&\glyph{\"u}{}\\
354 % \inbases{221}&\glyph{\'Y}{}& \inbases{253}&\glyph{\'y}{}\\
355 % \inbases{222}&\glyph{}{Thorn}& \inbases{254}&\glyph{}{thorn}\\
356 % \inbases{223}&\glyph{}{SS}&
357 % \inbases{255}&\glyph{\ss}{germandbls}\\
358 % \hline
359 % \end{tabular}
360 % \end{center}
361 % \caption{The coding scheme for the \texttt{T1R} encoding,
362 % slots 192--255}
363 % \label{Block3}
364 % \MakeShortVerb{\|}
365 % \end{table}
366 %
367 % Every coding scheme for a \texttt{T1R} encoded font should comply to what
368 % is specified in Tables \ref{Block0}, \ref{Block1}, and \ref{Block3}.
369 % The corresponding table for slots 128--191 would read ``not specified''
370 % in every entry in the glyph columns, so it has been omitted. `not
371 % specified' means that the contents of that slot is not specified, so it
372 % is completely up to the font designer to decide, although there is always
373 % a default glyph even for the unassigned slots (viz.\ the same glyph as
374 % in the \texttt{T1} encoding). In most cases, there must be some
375 % font-dependent command variant definitions in the font definition file for
376 % each slot that deviates from the default.
377 %
378 % The author is guaranteed to be able to access the characters in slots
379 % 32--126 simply through character tokens.
380 %
381 %
382 % \subsection{The syntactic ligatures}
383 % %
384 % \begin{table}
385 % \begin{center}
386 % \DeleteShortVerb{\|}
387 % \begin{tabular}{|lclcl|}
388 % \hline
389 % \tLIG{-}{hyphen}{-}{hyphen}{}{endash}\\
390 % \tLIG{}{endash}{-}{hyphen}{}{emdash}\\
391 % \tLIG{!}{}{`}{}{!`}{}\\
392 % \tLIG{'}{}{'}{}{}{quotedblright}\\
393 % \tLIG{,}{}{,}{}{}{quotedblbase}\\
394 % \tLIG{-}{hyphen}{}{hyphenchar}{}{hyphenchar}\\
395 % \tLIG{<}{}{<}{}{}{guillemotleft}\\
396 % \tLIG{>}{}{>}{}{}{guillemotright}\\
397 % \tLIG{?}{}{`}{}{?`}{}\\
398 % \tLIG{`}{}{`}{}{}{quotedblleft}\\
399 % \hline
400 % \end{tabular}
401 % \MakeShortVerb{\|}
402 % \end{center}
403 % \caption{The required syntactic ligatures in the \texttt{T1R}
404 % encoding}
405 % \label{Ligatures}
406 % \end{table}
407 % The required syntactic ligatures in the \texttt{T1R} encoding are
408 % listed in Table \ref{Ligatures}. Actually, the
409 % \LIG{-}{hyphen}{}{hyphenchar}{}{hyphenchar} ligature is a kind of
410 % ``semi-aestetic'' ligature, as it might have an aestetic function as
411 % well as a syntactic. When \TeX\ hyphenates a word, a
412 % \glyph{}{hyphenchar} is automatically inserted at the hyphenation point,
413 % but when the hyphenation point falls immediately after an explicit
414 % hyphen, this would result in two hyphens in the printed output, if it
415 % was not for this ligature. If you know what you do, you may change or
416 % even leave this ligature out, but be prepared that such an action must
417 % be attuned to, amongst other things, the hyphenation patterns and the
418 % current value of the \TeX\ font parameter |\hyphenchar|.
419 %
420 %
421 % \subsection{The font dimensions}
422 % %
423 % \begin{table}
424 % \begin{center}
425 % \DeleteShortVerb{\|}
426 % \begin{tabular}{|rl|rl|}
427 % \hline
428 % No.& Meaning& No.& Meaning\\[-0.9\ht\strutbox]
429 % \hrulefill&\hrulefill&\hrulefill&\hrulefill\\
430 % 1& Slant per pt& 5& x-height (size of 1\thinspace ex)\\
431 % 2& Interword space& 6& Quad width (size of 1\thinspace em)\\
432 % 3& Interword stretch& 7& Extra space\\
433 % 4& Interword shrink&&\\
434 % \hline
435 % \end{tabular}
436 % \MakeShortVerb{\|}
437 % \end{center}
438 % \caption{Required \cs{fontdimen}s in an \texttt{T1R} encoded font}
439 % \label{fontdimens}
440 % \end{table}
441 % %
442 % As for the required font dimensions, I have chosen to only require
443 % the seven font dimensions that all \TeX\ fonts have in common. These
444 % are listed in Table \ref{fontdimens}. As both the \texttt{ec} family
445 % of fonts and the \texttt{T1} encoded fonts made by \textit{fontinst}
446 % (as of v\,1.8, see~\cite{fontinst}) have seven more however, it seems
447 % like that set of fourteen font dimensions should be considered the
448 % current \texttt{T1} standard. I will probably have added the other seven
449 % by the time I get to the first non-beta release, but I have refrained
450 % from including them in this release since I do not feel sure enough
451 % about what they are to write a formal specification for them. It should
452 % be noted, though, that the specification only lists a minimal set of
453 % font dimensions---therefore including the other seven in a font is most
454 % likely only good.
455 %
456 %
457 % \subsection{The font-dependent commands}
458 % %
459 % The font-dependent commands of the \texttt{T1R} encoding fall into two
460 % categories: symbol commands and accenting commands. The symbol
461 % commands simply typeset one symbol. The accenting commands take one
462 % argument and typesets the result of accenting the material that the
463 % argument would typeset.
464 %
465 % \begin{table}
466 % \vspace*{0pt minus 1.5cm}
467 % \begin{center}
468 % \small
469 % \DeleteShortVerb{\|}
470 % \begin{tabular}{|l l l|}
471 % \hline \MakeShortVerb{\|}^^A
472 % Command& Action& Remark\\[-0.9\ht\strutbox]
473 % \hrulefill&\hrulefill&\hrulefill\\
474 % |\AE|& Typeset \glyph{\AE}{}&\\
475 % |\ae|& Typeset \glyph{\ae}{}&\\
476 % |\DH|& Typeset \glyph{}{Eth}&\\
477 % |\dh|& Typeset \glyph{}{eth}&\\
478 % |\DJ|& Typeset \glyph{}{Eth}&\\
479 % |\dj|& Typeset \glyph{}{dbar}& Variable\\
480 % |\guillemotleft|& Typeset \glyph{}{guillemotleft}&\\
481 % |\guillemotright|& Typeset \glyph{}{guillemotright}&\\
482 % |\guilsinglleft|& Typeset \glyph{}{guilsinglleft}&\\
483 % |\guilsinglright|& Typeset \glyph{}{guilsinglright}&\\
484 % |\i|& Typeset \glyph{\i}{dotlessi}&\\
485 % |\j|& Typeset \glyph{\j}{dotlessj}&\\
486 % |\L|& Typeset \glyph{}{Lslash}& Variable\\
487 % |\l|& Typeset \glyph{}{lslash}& Variable\\
488 % |\NG|& Typeset \glyph{}{Eng}& Variable\\
489 % |\ng|& Typeset \glyph{}{eng}& Variable\\
490 % |\OE|& Typeset \glyph{\OE}{OE}&\\
491 % |\oe|& Typeset \glyph{\oe}{}&\\
492 % |\O|& Typeset \glyph{\O}{}&\\
493 % |\o|& Typeset \glyph{\o}{}&\\
494 % |\quotedblbase|& Typeset \glyph{}{quotedblbase}&\\
495 % |\quotesinglbase|& Typeset \glyph{}{quotesinglbase}&\\
496 % |\SS|& Typeset \glyph{}{SS}& Variable\\
497 % |\ss|& Typeset \glyph{\ss}{}&\\
498 % |\textasciicircum|& Typeset \glyph{\char`\^}{circumflex character}&\\
499 % |\textasciitilde|& Typeset \glyph{\char`\~}{tilde character}&\\
500 % |\textbackslash|& Typeset \glyph{\char`\\}{}&\\
501 % |\textbar|& Typeset \glyph{\char`\|}{}&\\
502 % |\textbraceleft|& Typeset \glyph{\char`\{}{}&\\
503 % |\textbraceright|& Typeset \glyph{\char`\}}{}&\\
504 % |\textcompwordmark|& Typeset \glyph{}{compwordmark}&\\
505 % |\textdollar|& Typeset \glyph{\$}{}&\\
506 % |\textemdash|& Typeset \glyph{}{emdash}&\\
507 % |\textendash|& Typeset \glyph{}{endash}&\\
508 % |\textexclamdown|& Typeset \glyph{!`}{}& Variable\\
509 % |\textgreater|& Typeset \glyph{>}{}&\\
510 % |\textless|& Typeset \glyph{<}{}&\\
511 % |\textperthousand|& Typeset \glyph{\%}{} followed by
512 % one \glyph{}{perthousandzero}&\\
513 % |\textpertenthousand|& Typeset \glyph{\%}{} followed by
514 % two \glyph{}{perthousandzero}&\\
515 % |\textquestiondown|& Typeset \glyph{?`}{}& Variable\\
516 % |\textquotedblleft|& Typeset \glyph{}{quotedblleft}&\\
517 % |\textquotedblright|& Typeset \glyph{}{quotedblright}&\\
518 % |\textquotedbl|& Typeset \glyph{"}{quotedbl}&\\
519 % |\textquoteleft|& Typeset \glyph{`}{}&\\
520 % |\textquoteright|& Typeset \glyph{'}{}&\\
521 % |\textsection|& Typeset \glyph{}{section}& Variable\\
522 % |\textsterling|& Typeset \glyph{}{sterling}& Variable\\
523 % |\textunderscore|& Typeset \glyph{\_}{}&\\
524 % |\textvisiblespace|& Typeset \glyph{\char`\ }{}&\\
525 % |\TH|& Typeset \glyph{}{Thorn}&\\
526 % |\th|& Typeset \glyph{}{thorn}&\\
527 % \hline
528 % \end{tabular}
529 % \end{center}
530 % \caption{The symbol commands of the \texttt{T1R} encoding}
531 % \label{SymbolCommands}
532 % \end{table}
533 % \begin{table}
534 % \begin{center}
535 % \DeleteShortVerb{\|}
536 % \begin{tabular}{|c p{0.35\linewidth} p{0.4\linewidth}|}
537 % \hline \MakeShortVerb{\|}^^A
538 % Command& Action& Remark\\[-0.9\ht\strutbox]
539 % \hrulefill&\hrulefill&\hrulefill\\
540 % |\`|& Typeset the argument with a grave accent above it&
541 % Compositions for |A|, |a|, |E|, |e|, |I|, |i|, |\i|, |O|, |o|,
542 % |U|, and |u|\\
543 % |\'|& Typeset the argument with an acute accent above it&
544 % Compositions for |A|, |a|, |C| (var.), |c| (var.), |E|, |e|, |I|,
545 % |i|, |\i|, |L| (var.), |l| (var.), |N| (var.), |n| (var.), |O|,
546 % |o|, |R| (var.), |r| (var.), |S| (var.), |s| (var.), |U|, |u|,
547 % |Y|, |y|, |Z| (var.), and |z| (var.)\\
548 % |\^|& Typeset the argument with a circumflex accent above it&
549 % Compositions for |A|, |a|, |E|, |e|, |I|, |i|, |\i|, |O|, |o|,
550 % |U|, and |u|\\
551 % |\~|& Typeset the argument with a tilde accent above it&
552 % Compositions for |A|, |a|, |N|, |n|, |O|, and |o|\\
553 % |\"|& Typeset the argument with a dieresis accent above it&
554 % Compositions for |A|, |a|, |E|, |e|, |I|, |i|, |\i|, |O|, |o|,
555 % |U|, |u|, |Y| (var.), and |y| (var.)\\
556 % |\H|& Typeset the argument with a Hungarian umlaut above it&
557 % Variable; compositions of the encoding level variant for |O|,
558 % |o|, |U|, and |u|\\
559 % |\r|& Typeset the argument with a ring accent above it&
560 % Compositions for |A|, |a|, |U| (var.), and |u| (var.)\\
561 % |\v|& Typeset the argument with a caron accent above it&
562 % Variable; compositions of the encoding level variant for |C|,
563 % |c|, |D|, |d|, |E|, |e|, |L|, |l|, |N|, |n|, |R|, |r|, |S|, |s|,
564 % |T|, |t|, |Z|, and |z|\\
565 % |\u|& Typeset the argument with a breve accent above it&
566 % Variable; compositions of the encoding level variant for |A|,
567 % |a|, |G|, and |g|\\
568 % |\=|& Typeset the argument with a macron accent above it&\\
569 % |\.|& Typeset the argument with a dot accent above it&
570 % Variable; compositions of the encoding level variant for |I|,
571 % |i|, |Z|, and |z|\\
572 % |\b|& Typeset the argument with a macron accent under it&\\
573 % |\c|& Typeset the argument with a cedilla accent under it&
574 % Variable; compositions for |C|, |c|, |S| (var.), |s| (var.),
575 % |T| (var.), and |t| (var.)\\
576 % |\d|& Typeset the argument with a dot accent under it&\\
577 % |\k|& Typeset the argument with an ogonek accent under it&
578 % Variable; compositions of the encoding level variant for |A|,
579 % |a|, |E|, and |e|\\
580 % \hline
581 % \end{tabular}
582 % \end{center}
583 % \caption{The accenting commands of the \texttt{T1R} encoding}
584 % \label{AccentCommands}
585 % \end{table}
586 %
587 % A list of the symbol commands of the \texttt{T1R} encoding can be found
588 % in Table~\ref{SymbolCommands}. One thing worth noticing about this table
589 % is that it lists some glyphs, for example \glyph{}{sterling}, that are
590 % not listed in the required coding scheme, yet the font designer is required
591 % to provide the author with these. Normally this would be done by simply
592 % including the glyph in the font in the same slot as in the \texttt{T1}
593 % encoding, but if a large number of slots must be used for other
594 % glyphs, such as ligatures, then this may not be possible. In such
595 % cases the symbol command could instead typeset a symbol in
596 % \emph{another} font. This could be done with a definition such as
597 % \begin{list}{\labelitemi\MacroFont
598 % \csname @beginparpenalty\endcsname=\predisplaypenalty
599 % \csname @endparpenalty\endcsname=\postdisplaypenalty
600 % }{}
601 % \item[]
602 % |\DefineTextCommandVariant|\,|{\textsterling}|\,|{T1R}|\,|{zcm}|\,^^A
603 % |{}|\,|{}|\,|%|\\
604 % | {|\,|\UseTextSymbol|\,|{T1}|\,|{\textsterling}|\,|}|
605 % \clubpenalty=10000
606 % \end{list}
607 % In order to make this particular piece of code work, the font designer
608 % would of course need to set up an entire family of \texttt{T1}-encoded
609 % fonts in parallell with the main \texttt{T1R}-encoded font family.
610 % Alternatively, one could instead collect all these miscellaneous
611 % glyphs from an entire family in one font (that would probably become
612 % \texttt{U}-encoded), but then one needs to define a lot more variants.
613 % In any case, this trick of implementing a command as using a glyph in
614 % another font cannot be used for \glyph{!`}{} and \glyph{?`}{}, as these
615 % need to be accessible through syntactic ligatures as well. What's
616 % more, font designers to be should be aware that one cannot have kerns
617 % between two glyphs in different fonts.
618 %
619 % A list of the accenting commands of the \texttt{T1R} encoding can be
620 % found in Table~\ref{AccentCommands}. It is hardly exciting, but the
621 % font designer should find the information in the `Remark' column
622 % interesting; it lists all the compositions of the accenting commands
623 % and whether they are implemented as compositions of the main command
624 % or compositions of some variant.
625 %
626 %
627 % \subsection{On hyphenation patterns for the \texttt{T1R} encoding}
628 % \label{Hyph}
629 % %
630 % \TeX\ is constructed so that the hyphenation patterns must match the
631 % coding scheme of the font used for the text that is to be hyphenated.
632 % It is therefore possible that hyphenation patterns made for use with
633 % the \texttt{T1} encoding does not always work with the \texttt{T1R}
634 % encoding. They will work, however, with a font whose coding scheme
635 % deviates from that of the \texttt{T1} encoding only in that some
636 % ligatures (or possibly some symbols that never occur as part of a
637 % word) has replaced some letters. This is because when \TeX\ hyphenates
638 % a word, it treats a ligature as the sequence of letters it is composed
639 % from and not as the single character it may be in the font. It does
640 % not matter whether there is a hyphenation pattern mensioning character
641 % $n$ or not when character $n$ occurs in the output only as a ligature
642 % of other characters.
643 %
644 % Even in other cases, there is a good chance that hyphenation
645 % patterns made for use with the \texttt{T1} encoding will work without
646 % modification for a font with the \texttt{T1R} encoding. The main
647 % reason for this is that one usually does not have hyphenation patterns
648 % involving letters of which one does not intend to form automatically
649 % hyphenatable words active. If one wants hyphenation of words containing
650 % a certain character, one also wants it to have a slot of its own in the
651 % coding scheme of the font. In most cases, this means that the character
652 % is in the same slot as in the \texttt{T1} encoding.
653 %
654 %
655 %
656 % \section{Implementation}
657 % \StopEventually{}
658 % First the file announces itself.
659 %
660 % \begin{macrocode}
661 %<*encoding>
662 \ProvidesFile{t1renc.def}
663 [1998/12/17 Relaxed TeX latin text encoding, version 1.00 (beta)]
664 % \end{macrocode}
665 %
666 % Then there is a check for if the \package{relenc} package has been read.
667 % If it hasn't, there is no point in contiuing.
668 % \begin{macrocode}
669 \@ifundefined{RE@text@variable}{%
670 \PackageError{T1R encoding}{%
671 The definition of the T1R encoding requires that\MessageBreak
672 the `relenc' package is loaded first}%
673 {The T1R encoding cannot be defined.\MessageBreak
674 If you continue, you will most likely face further errors.%
675 \MessageBreak The best option is to type `x' and fix your
676 manuscript.}%
677 \endinput
678 }{}
679 % \end{macrocode}
680 %
681 % The encoding declares itself and its font substitution.
682 % \begin{macrocode}
683 \DeclareFontEncoding{T1R}{}{}
684 \DeclareFontSubstitution{T1R}{zcm}{m}{n}
685 % \end{macrocode}
686 %
687 % The search path is set; this is something only relaxed encodings do.
688 % The most noteworthy point about this search path is that it includes
689 % searching for definitions from the \texttt{T1} encoding. Thanks to
690 % this, the \texttt{T1R} encoding can do without definitions of its own
691 % for many variable commands (saving some memory), so the lines defining
692 % these have been commented out below.
693 % \begin{macrocode}
694 \SetEncodingSearchPath{T1R}{
695 {\cf@encoding/\f@family/\f@series/\f@shape}
696 {\cf@encoding/\f@family/?/\f@shape}
697 {\cf@encoding/\f@family/?/?}
698 {\cf@encoding/?/?/?}
699 {\RE@convert@nfss{T1}}
700 {\RE@convert@nfss{?}}
701 }
702 % \end{macrocode}
703 %
704 % The accenting commands are declared. I have choosen to use the same
705 % default definitions as in the \texttt{T1} encoding, despite the fact
706 % that the definitions used for |\c| and |\k| do not always do what
707 % they should (accents are positioned in curious places). These commands
708 % are declared to be variable though, so a font designer can override
709 % them with ones that are better suited for the font family in question.
710 % \begin{macrocode}
711 \DeclareTextAccent{\`}{T1R}{0}
712 \DeclareTextAccent{\'}{T1R}{1}
713 \DeclareTextAccent{\^}{T1R}{2}
714 \DeclareTextAccent{\~}{T1R}{3}
715 \DeclareTextAccent{\"}{T1R}{4}
716 \DeclareTextVariableAccent{\H}{T1R}{5}
717 \DeclareTextAccent{\r}{T1R}{6}
718 \DeclareTextVariableAccent{\v}{T1R}{7}
719 \DeclareTextVariableAccent{\u}{T1R}{8}
720 \DeclareTextAccent{\=}{T1R}{9}
721 \DeclareTextVariableAccent{\.}{T1R}{10}
722 \DeclareTextCommand{\b}{T1R}[1]
723 {{\o@lign{\relax#1\crcr\hidewidth\sh@ft{29}%
724 \vbox to.2ex{\hbox{\char9}\vss}\hidewidth}}}
725 \DeclareTextVariableCommand{\c}{T1R}[1]
726 {\setbox\z@\hbox{#1}\ifdim\ht\z@=1ex\accent11 #1%
727 \else{\ooalign{\hidewidth\char11\hidewidth
728 \crcr\unhbox\z@}}\fi}
729 \DeclareTextCommand{\d}{T1R}[1]
730 {{\o@lign{\relax#1\crcr\hidewidth\sh@ft{10}.\hidewidth}}}
731 \DeclareTextVariableCommand{\k}{T1R}[1]
732 {\oalign{\null#1\crcr\hidewidth\char12}}
733 % \end{macrocode}
734 %
735 % The symbol commands are declared. These are pretty straightforward,
736 % but \glyph{}{SS} is a bit of a special case. The command |\SS| must
737 % exist as the upper case equivalent of |\ss|, but is there any case
738 % where the \glyph{}{SS} glyph is different from two S's?\footnote{I am
739 % currently thinking about removing the \glyph{}{SS} glyph from the
740 % required coding scheme, so if anyone has any opinions on this
741 % particular matter, please share them with me.}
742 % \begin{macrocode}
743 \DeclareTextSymbol{\AE}{T1R}{198}
744 \DeclareTextSymbol{\DH}{T1R}{208}
745 \DeclareTextSymbol{\DJ}{T1R}{208}
746 \DeclareTextVariableSymbol{\L}{T1R}{138}
747 \DeclareTextVariableSymbol{\NG}{T1R}{141}
748 \DeclareTextSymbol{\OE}{T1R}{215}
749 \DeclareTextSymbol{\O}{T1R}{216}
750 \DeclareTextVariableSymbol{\SS}{T1R}{223}
751 \DeclareTextSymbol{\TH}{T1R}{222}
752 \DeclareTextSymbol{\ae}{T1R}{230}
753 \DeclareTextSymbol{\dh}{T1R}{240}
754 \DeclareTextVariableSymbol{\dj}{T1R}{158}
755 \DeclareTextSymbol{\guillemotleft}{T1R}{19}
756 \DeclareTextSymbol{\guillemotright}{T1R}{20}
757 \DeclareTextSymbol{\guilsinglleft}{T1R}{14}
758 \DeclareTextSymbol{\guilsinglright}{T1R}{15}
759 \DeclareTextSymbol{\i}{T1R}{25}
760 \DeclareTextSymbol{\j}{T1R}{26}
761 \DeclareTextVariableSymbol{\l}{T1R}{170}
762 \DeclareTextVariableSymbol{\ng}{T1R}{173}
763 \DeclareTextSymbol{\oe}{T1R}{247}
764 \DeclareTextSymbol{\o}{T1R}{248}
765 \DeclareTextSymbol{\quotedblbase}{T1R}{18}
766 \DeclareTextSymbol{\quotesinglbase}{T1R}{13}
767 \DeclareTextSymbol{\ss}{T1R}{255}
768 \DeclareTextSymbol{\textasciicircum}{T1R}{`\^}
769 \DeclareTextSymbol{\textasciitilde}{T1R}{`\~}
770 \DeclareTextSymbol{\textbackslash}{T1R}{`\\}
771 \DeclareTextSymbol{\textbar}{T1R}{`\|}
772 \DeclareTextSymbol{\textbraceleft}{T1R}{`\{}
773 \DeclareTextSymbol{\textbraceright}{T1R}{`\}}
774 \DeclareTextSymbol{\textcompwordmark}{T1R}{23}
775 \DeclareTextSymbol{\textdollar}{T1R}{`\$}
776 \DeclareTextSymbol{\textemdash}{T1R}{22}
777 \DeclareTextSymbol{\textendash}{T1R}{21}
778 \DeclareTextVariableSymbol{\textexclamdown}{T1R}{189}
779 \DeclareTextSymbol{\textgreater}{T1R}{`\>}
780 \DeclareTextSymbol{\textless}{T1R}{`\<}
781 \DeclareTextCommand{\textperthousand}{T1R}{\%\char 24 }
782 \DeclareTextCommand{\textpertenthousand}{T1R}{\%\char 24\char 24 }
783 \DeclareTextVariableSymbol{\textquestiondown}{T1R}{190}
784 \DeclareTextSymbol{\textquotedblleft}{T1R}{16}
785 \DeclareTextSymbol{\textquotedblright}{T1R}{17}
786 \DeclareTextSymbol{\textquotedbl}{T1R}{`\"}
787 \DeclareTextSymbol{\textquoteleft}{T1R}{`\`}
788 \DeclareTextSymbol{\textquoteright}{T1R}{`\'}
789 \DeclareTextVariableSymbol{\textsection}{T1R}{159}
790 \DeclareTextVariableSymbol{\textsterling}{T1R}{191}
791 \DeclareTextSymbol{\textunderscore}{T1R}{95}
792 \DeclareTextSymbol{\textvisiblespace}{T1R}{32}
793 \DeclareTextSymbol{\th}{T1R}{254}
794 % \end{macrocode}
795 %
796 % The last thing to declare are all the compositions. It starts with
797 % the compositions from block 2 (slots 128--191), which are all in some
798 % way variable.
799 %
800 % $128 = {}$\texttt{"80}.
801 % \begin{macrocode}
802 \DefineTextVariantComposition{\.}{T1R}{}{}{}{i}{`\i}
803 \DefineTextVariantComposition{\u}{T1R}{}{}{}{A}{128}
804 \DefineTextVariantComposition{\k}{T1R}{}{}{}{A}{129}
805 \DeclareVariableTextComposition{\'}{T1R}{C}
806 % \DefineTextCompositionVariant{\'}{T1R}{}{}{}{C}{130}
807 \DefineTextVariantComposition{\v}{T1R}{}{}{}{C}{131}
808 \DefineTextVariantComposition{\v}{T1R}{}{}{}{D}{132}
809 \DefineTextVariantComposition{\v}{T1R}{}{}{}{E}{133}
810 \DefineTextVariantComposition{\k}{T1R}{}{}{}{E}{134}
811 \DefineTextVariantComposition{\u}{T1R}{}{}{}{G}{135}
812 % \end{macrocode}
813 %
814 % $136 = {}$\texttt{"88}.
815 % \begin{macrocode}
816 \DeclareVariableTextComposition{\'}{T1R}{L}
817 % \DefineTextCompositionVariant{\'}{T1R}{}{}{}{L}{136}
818 \DefineTextVariantComposition{\v}{T1R}{}{}{}{L}{137}
819 \DeclareVariableTextComposition{\'}{T1R}{N}
820 % \DefineTextCompositionVariant{\'}{T1R}{}{}{}{N}{139}
821 \DefineTextVariantComposition{\v}{T1R}{}{}{}{N}{140}
822 \DefineTextVariantComposition{\H}{T1R}{}{}{}{O}{142}
823 \DeclareVariableTextComposition{\'}{T1R}{R}
824 % \DefineTextCompositionVariant{\'}{T1R}{}{}{}{R}{143}
825 % \end{macrocode}
826 %
827 % $144 = {}$\texttt{"90}.
828 % \begin{macrocode}
829 \DefineTextVariantComposition{\v}{T1R}{}{}{}{R}{144}
830 \DeclareVariableTextComposition{\'}{T1R}{S}
831 % \DefineTextCompositionVariant{\'}{T1R}{}{}{}{S}{145}
832 \DefineTextVariantComposition{\v}{T1R}{}{}{}{S}{146}
833 \DeclareVariableTextComposition{\c}{T1R}{S}
834 % \DefineTextCompositionVariant{\c}{T1R}{}{}{}{S}{147}
835 \DefineTextVariantComposition{\v}{T1R}{}{}{}{T}{148}
836 \DeclareVariableTextComposition{\c}{T1R}{T}
837 % \DefineTextCompositionVariant{\c}{T1R}{}{}{}{T}{149}
838 \DefineTextVariantComposition{\H}{T1R}{}{}{}{U}{150}
839 \DeclareVariableTextComposition{\r}{T1R}{U}
840 % \DefineTextCompositionVariant{\r}{T1R}{}{}{}{U}{151}
841 % \end{macrocode}
842 %
843 % $152 = {}$\texttt{"98}.
844 % \begin{macrocode}
845 \DeclareVariableTextComposition{\"}{T1R}{Y}
846 % \DefineTextCompositionVariant{\"}{T1R}{}{}{}{Y}{152}
847 \DeclareVariableTextComposition{\'}{T1R}{Z}
848 % \DefineTextCompositionVariant{\'}{T1R}{}{}{}{Z}{153}
849 \DefineTextVariantComposition{\v}{T1R}{}{}{}{Z}{154}
850 \DefineTextVariantComposition{\.}{T1R}{}{}{}{Z}{155}
851 \DefineTextVariantComposition{\.}{T1R}{}{}{}{I}{157}
852 % \end{macrocode}
853 %
854 % $160 = {}$\texttt{"A0}.
855 % \begin{macrocode}
856 \DefineTextVariantComposition{\u}{T1R}{}{}{}{a}{160}
857 \DefineTextVariantComposition{\k}{T1R}{}{}{}{a}{161}
858 \DeclareVariableTextComposition{\'}{T1R}{c}
859 % \DefineTextCompositionVariant{\'}{T1R}{}{}{}{c}{162}
860 \DefineTextVariantComposition{\v}{T1R}{}{}{}{c}{163}
861 \DefineTextVariantComposition{\v}{T1R}{}{}{}{d}{164}
862 \DefineTextVariantComposition{\v}{T1R}{}{}{}{e}{165}
863 \DefineTextVariantComposition{\k}{T1R}{}{}{}{e}{166}
864 \DefineTextVariantComposition{\u}{T1R}{}{}{}{g}{167}
865 % \end{macrocode}
866 %
867 % $168 = {}$\texttt{"A8}.
868 % \begin{macrocode}
869 \DeclareVariableTextComposition{\'}{T1R}{l}
870 % \DefineTextCompositionVariant{\'}{T1R}{}{}{}{l}{168}
871 \DefineTextVariantComposition{\v}{T1R}{}{}{}{l}{169}
872 \DeclareVariableTextComposition{\'}{T1R}{n}
873 % \DefineTextCompositionVariant{\'}{T1R}{}{}{}{n}{171}
874 \DefineTextVariantComposition{\v}{T1R}{}{}{}{n}{172}
875 \DefineTextVariantComposition{\H}{T1R}{}{}{}{o}{174}
876 \DeclareVariableTextComposition{\'}{T1R}{r}
877 % \DefineTextCompositionVariant{\'}{T1R}{}{}{}{r}{175}
878 % \end{macrocode}
879 %
880 % $176 = {}$\texttt{"B0}.
881 % \begin{macrocode}
882 \DefineTextVariantComposition{\v}{T1R}{}{}{}{r}{176}
883 \DeclareVariableTextComposition{\'}{T1R}{s}
884 % \DefineTextCompositionVariant{\'}{T1R}{}{}{}{s}{177}
885 \DefineTextVariantComposition{\v}{T1R}{}{}{}{s}{178}
886 \DeclareVariableTextComposition{\c}{T1R}{s}
887 % \DefineTextCompositionVariant{\c}{T1R}{}{}{}{s}{179}
888 \DefineTextVariantComposition{\v}{T1R}{}{}{}{t}{180}
889 \DeclareVariableTextComposition{\c}{T1R}{t}
890 % \DefineTextCompositionVariant{\c}{T1R}{}{}{}{t}{181}
891 \DefineTextVariantComposition{\H}{T1R}{}{}{}{u}{182}
892 \DeclareVariableTextComposition{\r}{T1R}{u}
893 % \DefineTextCompositionVariant{\r}{T1R}{}{}{}{u}{183}
894 % \end{macrocode}
895 %
896 % $184 = {}$\texttt{"B8}.
897 % \begin{macrocode}
898 \DeclareVariableTextComposition{\"}{T1R}{y}
899 % \DefineTextCompositionVariant{\"}{T1R{}{}{}}{y}{184}
900 \DeclareVariableTextComposition{\'}{T1R}{z}
901 % \DefineTextCompositionVariant{\'}{T1R{}{}{}}{z}{185}
902 \DefineTextVariantComposition{\v}{T1R}{}{}{}{z}{186}
903 \DefineTextVariantComposition{\.}{T1R}{}{}{}{z}{187}
904 % \end{macrocode}
905 %
906 % Here follows the compositions in block 3 (slots 192--255). They are
907 % exactly the same as in the \texttt{T1} encoding.
908 %
909 % $192 = {}$\texttt{"C0}.
910 % \begin{macrocode}
911 \DeclareTextComposite{\`}{T1R}{A}{192}
912 \DeclareTextComposite{\'}{T1R}{A}{193}
913 \DeclareTextComposite{\^}{T1R}{A}{194}
914 \DeclareTextComposite{\~}{T1R}{A}{195}
915 \DeclareTextComposite{\"}{T1R}{A}{196}
916 \DeclareTextComposite{\r}{T1R}{A}{197}
917 \DeclareTextComposite{\c}{T1R}{C}{199}
918 % \end{macrocode}
919 %
920 % $200 = {}$\texttt{"C8}.
921 % \begin{macrocode}
922 \DeclareTextComposite{\`}{T1R}{E}{200}
923 \DeclareTextComposite{\'}{T1R}{E}{201}
924 \DeclareTextComposite{\^}{T1R}{E}{202}
925 \DeclareTextComposite{\"}{T1R}{E}{203}
926 \DeclareTextComposite{\`}{T1R}{I}{204}
927 \DeclareTextComposite{\'}{T1R}{I}{205}
928 \DeclareTextComposite{\^}{T1R}{I}{206}
929 \DeclareTextComposite{\"}{T1R}{I}{207}
930 % \end{macrocode}
931 %
932 % $208 = {}$\texttt{"D0}.
933 % \begin{macrocode}
934 \DeclareTextComposite{\~}{T1R}{N}{209}
935 \DeclareTextComposite{\`}{T1R}{O}{210}
936 \DeclareTextComposite{\'}{T1R}{O}{211}
937 \DeclareTextComposite{\^}{T1R}{O}{212}
938 \DeclareTextComposite{\~}{T1R}{O}{213}
939 \DeclareTextComposite{\"}{T1R}{O}{214}
940 % \end{macrocode}
941 %
942 % $216 = {}$\texttt{"D8}.
943 % \begin{macrocode}
944 \DeclareTextComposite{\`}{T1R}{U}{217}
945 \DeclareTextComposite{\'}{T1R}{U}{218}
946 \DeclareTextComposite{\^}{T1R}{U}{219}
947 \DeclareTextComposite{\"}{T1R}{U}{220}
948 \DeclareTextComposite{\'}{T1R}{Y}{221}
949 % \end{macrocode}
950 %
951 % $224 = {}$\texttt{"E0}.
952 % \begin{macrocode}
953 \DeclareTextComposite{\`}{T1R}{a}{224}
954 \DeclareTextComposite{\'}{T1R}{a}{225}
955 \DeclareTextComposite{\^}{T1R}{a}{226}
956 \DeclareTextComposite{\~}{T1R}{a}{227}
957 \DeclareTextComposite{\"}{T1R}{a}{228}
958 \DeclareTextComposite{\r}{T1R}{a}{229}
959 \DeclareTextComposite{\c}{T1R}{c}{231}
960 % \end{macrocode}
961 %
962 % $232 = {}$\texttt{"E8}.
963 % \begin{macrocode}
964 \DeclareTextComposite{\`}{T1R}{e}{232}
965 \DeclareTextComposite{\'}{T1R}{e}{233}
966 \DeclareTextComposite{\^}{T1R}{e}{234}
967 \DeclareTextComposite{\"}{T1R}{e}{235}
968 \DeclareTextComposite{\`}{T1R}{i}{236}
969 \DeclareTextComposite{\`}{T1R}{\i}{236}
970 \DeclareTextComposite{\'}{T1R}{i}{237}
971 \DeclareTextComposite{\'}{T1R}{\i}{237}
972 \DeclareTextComposite{\^}{T1R}{i}{238}
973 \DeclareTextComposite{\^}{T1R}{\i}{238}
974 \DeclareTextComposite{\"}{T1R}{i}{239}
975 \DeclareTextComposite{\"}{T1R}{\i}{239}
976 % \end{macrocode}
977 %
978 % $240 = {}$\texttt{"F0}.
979 % \begin{macrocode}
980 \DeclareTextComposite{\~}{T1R}{n}{241}
981 \DeclareTextComposite{\`}{T1R}{o}{242}
982 \DeclareTextComposite{\'}{T1R}{o}{243}
983 \DeclareTextComposite{\^}{T1R}{o}{244}
984 \DeclareTextComposite{\~}{T1R}{o}{245}
985 \DeclareTextComposite{\"}{T1R}{o}{246}
986 % \end{macrocode}
987 %
988 % $248 = {}$\texttt{"F8}.
989 % \begin{macrocode}
990 \DeclareTextComposite{\`}{T1R}{u}{249}
991 \DeclareTextComposite{\'}{T1R}{u}{250}
992 \DeclareTextComposite{\^}{T1R}{u}{251}
993 \DeclareTextComposite{\"}{T1R}{u}{252}
994 \DeclareTextComposite{\'}{T1R}{y}{253}
995 %</encoding>
996 % \end{macrocode}
997 %
998 \endinput