Debian Codegraph @

texmf-dist/source/latex/b1encoding/b1encoding.dtx

raw
1 % \iffalse meta-comment
2 %
3 % b1encoding.dtx
4 %
5 % Author: Peter Wilson (Herries Press) herries dot press at earthlink dot net
6 % Copyright 2005 Peter R. Wilson
7 %
8 % This work may be distributed and/or modified under the
9 % conditions of the Latex Project Public License, either
10 % version 1.3 of this license or (at your option) any
11 % later version.
12 % The latest version of the license is in
13 % http://www.latex-project.org/lppl.txt
14 % and version 1.3 or later is part of all distributions of
15 % LaTeX version 2003/06/01 or later.
16 %
17 % This work has the LPPL maintenance status "author-maintained".
18 %
19 % This work consists of the files listed in the README file.
20 %
21 %
22 %<*driver>
23 \documentclass[twoside]{ltxdoc}
24 \usepackage{url}
25 \usepackage[draft=false,
26 plainpages=false,
27 pdfpagelabels,
28 bookmarksnumbered,
29 hyperindex=false
30 ]{hyperref}
31 \providecommand{\phantomsection}{}
32 %%\OnlyDescription %% comment this out for the full glory
33 \EnableCrossrefs
34 \CodelineIndex
35 \setcounter{StandardModuleDepth}{1}
36 \makeatletter
37 \@mparswitchfalse
38 \makeatother
39 \renewcommand{\MakeUppercase}[1]{#1}
40 \pagestyle{headings}
41 \newenvironment{addtomargins}[1]{%
42 \begin{list}{}{%
43 \topsep 0pt%
44 \addtolength{\leftmargin}{#1}%
45 \addtolength{\rightmargin}{#1}%
46 \listparindent \parindent
47 \itemindent \parindent
48 \parsep \parskip}%
49 \item[]}{\end{list}}
50 \begin{document}
51 \raggedbottom
52 \DocInput{b1encoding.dtx}
53 \end{document}
54 %</driver>
55 %
56 % \fi
57 %
58 % \CheckSum{461}
59 %
60 % \DoNotIndex{\',\.,\@M,\@@input,\@addtoreset,\@arabic,\@badmath}
61 % \DoNotIndex{\@centercr,\@cite}
62 % \DoNotIndex{\@dotsep,\@empty,\@float,\@gobble,\@gobbletwo,\@ignoretrue}
63 % \DoNotIndex{\@input,\@ixpt,\@m}
64 % \DoNotIndex{\@minus,\@mkboth,\@ne,\@nil,\@nomath,\@plus,\@set@topoint}
65 % \DoNotIndex{\@tempboxa,\@tempcnta,\@tempdima,\@tempdimb}
66 % \DoNotIndex{\@tempswafalse,\@tempswatrue,\@viipt,\@viiipt,\@vipt}
67 % \DoNotIndex{\@vpt,\@warning,\@xiipt,\@xipt,\@xivpt,\@xpt,\@xviipt}
68 % \DoNotIndex{\@xxpt,\@xxvpt,\\,\ ,\addpenalty,\addtolength,\addvspace}
69 % \DoNotIndex{\advance,\Alph,\alph}
70 % \DoNotIndex{\arabic,\ast,\begin,\begingroup,\bfseries,\bgroup,\box}
71 % \DoNotIndex{\bullet}
72 % \DoNotIndex{\cdot,\cite,\CodelineIndex,\cr,\day,\DeclareOption}
73 % \DoNotIndex{\def,\DisableCrossrefs,\divide,\DocInput,\documentclass}
74 % \DoNotIndex{\DoNotIndex,\egroup,\ifdim,\else,\fi,\em,\endtrivlist}
75 % \DoNotIndex{\EnableCrossrefs,\end,\end@dblfloat,\end@float,\endgroup}
76 % \DoNotIndex{\endlist,\everycr,\everypar,\ExecuteOptions,\expandafter}
77 % \DoNotIndex{\fbox}
78 % \DoNotIndex{\filedate,\filename,\fileversion,\fontsize,\framebox,\gdef}
79 % \DoNotIndex{\global,\halign,\hangindent,\hbox,\hfil,\hfill,\hrule}
80 % \DoNotIndex{\hsize,\hskip,\hspace,\hss,\if@tempswa,\ifcase,\or,\fi,\fi}
81 % \DoNotIndex{\ifhmode,\ifvmode,\ifnum,\iftrue,\ifx,\fi,\fi,\fi,\fi,\fi}
82 % \DoNotIndex{\input}
83 % \DoNotIndex{\jobname,\kern,\leavevmode,\let,\leftmark}
84 % \DoNotIndex{\list,\llap,\long,\m@ne,\m@th,\mark,\markboth,\markright}
85 % \DoNotIndex{\month,\newcommand,\newcounter,\newenvironment}
86 % \DoNotIndex{\NeedsTeXFormat,\newdimen}
87 % \DoNotIndex{\newlength,\newpage,\nobreak,\noindent,\null,\number}
88 % \DoNotIndex{\numberline,\OldMakeindex,\OnlyDescription,\p@}
89 % \DoNotIndex{\pagestyle,\par,\paragraph,\paragraphmark,\parfillskip}
90 % \DoNotIndex{\penalty,\PrintChanges,\PrintIndex,\ProcessOptions}
91 % \DoNotIndex{\protect,\ProvidesClass,\raggedbottom,\raggedright}
92 % \DoNotIndex{\refstepcounter,\relax,\renewcommand,\reset@font}
93 % \DoNotIndex{\rightmargin,\rightmark,\rightskip,\rlap,\rmfamily,\roman}
94 % \DoNotIndex{\roman,\secdef,\selectfont,\setbox,\setcounter,\setlength}
95 % \DoNotIndex{\settowidth,\sfcode,\skip,\sloppy,\slshape,\space}
96 % \DoNotIndex{\symbol,\the,\trivlist,\typeout,\tw@,\undefined,\uppercase}
97 % \DoNotIndex{\usecounter,\usefont,\usepackage,\vfil,\vfill,\viiipt}
98 % \DoNotIndex{\viipt,\vipt,\vskip,\vspace}
99 % \DoNotIndex{\wd,\xiipt,\year,\z@}
100 %
101 % \changes{v1.0}{2005/11/27}{First public release}
102 %
103 % \def\fileversion{v1.0} \def\filedate{2005/11/27}
104 % \newcommand*{\Lpack}[1]{\textsf {#1}} ^^A typeset a package
105 % \newcommand*{\Lopt}[1]{\textsf {#1}} ^^A typeset an option
106 % \newcommand*{\file}[1]{\texttt {#1}} ^^A typeset a file
107 % \newcommand*{\Lcount}[1]{\textsl {\small#1}} ^^A typeset a counter
108 % \newcommand*{\pstyle}[1]{\textsl {#1}} ^^A typeset a pagestyle
109 % \newcommand*{\Lenv}[1]{\texttt {#1}} ^^A typeset an environment
110 % \newcommand*{\AD}{\textsc{ad}}
111 % \newcommand*{\thisfont}{OandS}
112 %
113 % \title{The \Lpack{B1} encoding files\thanks{This
114 % file has version number \fileversion, last revised
115 % \filedate.}}
116 %
117 % \author{%
118 % Peter Wilson\thanks{\texttt{herries dot press at earthlink dot net}}\\
119 % Herries Press
120 % }
121 % \date{\filedate}
122 % \maketitle
123 % \begin{abstract}
124 % A set of encoding files are provided for the B1 encoding for the
125 % \Lpack{bookhands} fonts.
126 % \end{abstract}
127 % \tableofcontents
128 %
129 % \section{Introduction}
130 %
131 % The \Lpack{bookhands} fonts have several glyphs that are not in modern
132 % fonts while also excluding many of the modern glyphs. I have created
133 % a new encoding for the \Lpack{bookhands} which I have called B1, or
134 % TeXBookHands1 (TeXBH1).
135 %
136 % To use the B1 encoding you need to have at least the files \file{b1enc.def}
137 % (similar to \file{t1enc.def}) and \file{b1cmr.fd} (similar to
138 % \file{t1cmr.fd}) installed on your LaTeX system.
139 %
140 % To use a B1 encoded font in a document the preamble must have at least: \\
141 % \verb?\usepackage[...,B1,...]{fontenc}?
142 %
143 % This manual is typeset according to the conventions of the
144 % \LaTeX{} \textsc{docstrip} utility which enables the automatic
145 % extraction of the \LaTeX{} macro source files~\cite{COMPANION}.
146 %
147 %
148 %
149 % \StopEventually{
150 % \bibliographystyle{alpha}
151 % \renewcommand{\refname}{Bibliography}
152 % \begin{thebibliography}{GMS94}
153 % \addcontentsline{toc}{section}{\refname}
154 %
155 % \bibitem[MG04]{COMPANION}
156 % Frank Mittelbach and Michel Goossens.
157 % \newblock \emph{The LaTeX Companion}.
158 % \newblock Second edition.
159 % \newblock Addison-Wesley Publishing Company, 2004.
160 %
161 %
162 % \end{thebibliography}
163 %
164 % \PrintIndex
165 %
166 % }
167 %
168 %
169 %
170 % \section{The code} \label{sec:mf}
171 %
172 %
173 % \subsection{The \file{b1enc.def} file}
174 %
175 % The \file{b1enc.def} file is the \Lpack{B1} encoding's equivalent to
176 % the \Lpack{T1} encoding's \file{t1enc.def}, the original of which is
177 % maintained in the kernel's \file{ltoutenc.dtx} file.
178 %
179 % This file should be put somewhere where LaTeX will look for *.def files.
180 % For example: \url{/usr/TeX/texmf-local/tex/latex/bookhands/b1enc.def}.
181 %
182 % \begin{macrocode}
183 %<*B1>
184 \ProvidesFile{b1enc.def}
185 [2005/08/09 v0.1
186 Definitions for the TeXBookhands1 encoding]
187 \DeclareFontEncoding{B1}{}{}
188 % \end{macrocode}
189 % The majority of the accents. I keep slots (o000/h00/d0), (o012/h0A/d10)
190 % and (o015/h0D/d13) empty; glyphs that would normally be in those slots are
191 % moved further down.
192 % \begin{macrocode}
193 %%\DeclareTextAccent{\`}{B1}{0}% see 23
194 \DeclareTextAccent{\'}{B1}{1}
195 \DeclareTextAccent{\^}{B1}{2}
196 \DeclareTextAccent{\~}{B1}{3}
197 \DeclareTextAccent{\"}{B1}{4}
198 \DeclareTextAccent{\H}{B1}{5}
199 \DeclareTextAccent{\r}{B1}{6}
200 \DeclareTextAccent{\v}{B1}{7}
201 \DeclareTextAccent{\u}{B1}{8}
202 \DeclareTextAccent{\=}{B1}{9}
203 %%\DeclareTextAccent{\.}{B1}{10}% see 24
204 % \end{macrocode}
205 % Some accents are built by hand.
206 % \begin{macrocode}
207 %%% barunder (\b) 9
208 \DeclareTextCommand{\b}{B1}[1]
209 {\hmode@bgroup\o@lign{\relax#1\crcr\hidewidth\sh@ft{29}%
210 \vbox to.2ex{\hbox{\char9}\vss}\hidewidth}\egroup}
211 %%% cedilla (\c) 11
212 \DeclareTextCommand{\c}{B1}[1]
213 {\leavevmode\setbox\z@\hbox{#1}\ifdim\ht\z@=1ex\accent11 #1%
214 \else{\ooalign{\hidewidth\char11\hidewidth
215 \crcr\unhbox\z@}}\fi}
216 %%% dotunder (\d)
217 \DeclareTextCommand{\d}{B1}[1]
218 {\hmode@bgroup
219 \o@lign{\relax#1\crcr\hidewidth\sh@ft{10}.\hidewidth}\egroup}
220 %%% ogonek 12
221 \DeclareTextCommand{\k}{B1}[1]
222 {\oalign{\null#1\crcr\hidewidth\char12}}
223 %%\DeclareTextCommand{\textperthousand}{B1}
224 %% {\%\char 24 } % space or `relax as delimiter?
225 %%\DeclareTextCommand{\textpertenthousand}{B1}
226 %% {\%\char 24\char 24 } % space or `relax as delimiter?
227 % \end{macrocode}
228 % Punctuation marks.
229 % \begin{macrocode}
230 %%\DeclareTextSymbol{\quotesinglbase}{B1}{13}
231 \DeclareTextSymbol{\guilsinglleft}{B1}{14}
232 \DeclareTextSymbol{\guilsinglright}{B1}{15}
233 \DeclareTextSymbol{\textquotedblleft}{B1}{16}
234 \DeclareTextSymbol{\textquotedblright}{B1}{17}
235 \DeclareTextSymbol{\quotedblbase}{B1}{18}
236 \DeclareTextSymbol{\guillemotleft}{B1}{19}
237 \DeclareTextSymbol{\guillemotright}{B1}{20}
238 \DeclareTextSymbol{\textendash}{B1}{21}
239 \DeclareTextSymbol{\textemdash}{B1}{22}
240 \DeclareTextAccent{\`}{B1}{23}
241 %%%\DeclareTextSymbol{\textcompwordmark}{B1}{23}
242 \DeclareTextAccent{\.}{B1}{24}
243 \DeclareTextSymbol{\i}{B1}{25}
244 \DeclareTextSymbol{\j}{B1}{26}
245 % \end{macrocode}
246 % The `f' ligatures, which TeX takes care of.
247 % \begin{verbatim}
248 %%% ff 27, fi 28, fl 29, ffi 30, ffl 31
249 % \end{verbatim}
250 % A few other symbols, but on the whole we are into ASCII territory.
251 % \begin{macrocode}
252 \DeclareTextSymbol{\textvisiblespace}{B1}{32}
253 \DeclareTextSymbol{\textquotedbl}{B1}{`\"}% 34
254 %%% # 35
255 \DeclareTextSymbol{\textdollar}{B1}{`\$}% 36
256 %%% % 37
257 %%% & 38
258 \DeclareTextSymbol{\textquoteright}{B1}{`\'}% 39
259 % \end{macrocode}
260 % \begin{verbatim}
261 %%% ( 40, ) 41, * 42, + 43, , 44, - 45, . 46, / 47,
262 %%% 0 48, 1 49, 2 50, 3 51, 4 52, 5 53, 6 54, 7 55, 8 56, 9 57,
263 %%% : 58, ; 59,
264 % \end{verbatim}
265 % A couple more symbols.
266 % \begin{macrocode}
267 \DeclareTextSymbol{\textless}{B1}{`\<}% 60
268 %%% = 61
269 \DeclareTextSymbol{\textgreater}{B1}{`\>}% 62
270 % \end{macrocode}
271 % Back into normal ASCII mode.
272 % \begin{verbatim}
273 %%% ? 63, @ 64,
274 %%% A 65, B 66, C 67, D 68, E 69, F 70, G 71, H 72, I 73, J 74,
275 %%% K 75, L 76, M 77, N 78, O 79, P 80, Q 81, R 82, S 83, T 84,
276 %%% U 85, V 86, W 87, X 88, Y 89, Z 90,
277 %%% [ 91, \ 92,
278 % \end{verbatim}
279 % Another little symbol group.
280 % \begin{macrocode}
281 \DeclareTextSymbol{\textbackslash}{B1}{`\\}% 92
282 %%% ] 93
283 \DeclareTextSymbol{\textasciicircum}{B1}{`\^}% 94
284 \DeclareTextSymbol{\textunderscore}{B1}{95}
285 \DeclareTextSymbol{\textquoteleft}{B1}{`\`}% 96
286 % \end{macrocode}
287 % \begin{verbatim}
288 %%% a 97, b 98, c 99, d 100, e 101, f 102, g 103, h 104, i 105, j 106,
289 %%% k 107, l 108, m 109, n 110, o 111, p 112, q 113, r 114, s 115, t 116,
290 %%% u 117, v 118, w 119, x 120, y 121, z 122,
291 % \end{verbatim}
292 % Now we are into the post-ASCII realm. Most of the remainder are
293 % accented characters,
294 % \begin{macrocode}
295 \DeclareTextComposite{\.}{B1}{i}{`\i}%
296 \DeclareTextComposite{\.}{B1}{\i}{`\i}%
297 \DeclareTextSymbol{\textbraceleft}{B1}{`\{}% 123
298 \DeclareTextSymbol{\textbar}{B1}{`\|}% 124
299 \DeclareTextSymbol{\textbraceright}{B1}{`\}}% 125
300 \DeclareTextSymbol{\textasciitilde}{B1}{`\~}% 126
301 % \end{macrocode}
302 % Replace T1 \u{A} by \cs{quotesinglbase}.
303 % \begin{macrocode}
304 %%\DeclareTextComposite{\u}{B1}{A}{128}
305 \DeclareTextSymbol{\quotesinglbase}{B1}{128}
306 \DeclareTextComposite{\k}{B1}{A}{129}
307 \DeclareTextComposite{\'}{B1}{C}{130}
308 \DeclareTextComposite{\v}{B1}{C}{131}
309 \DeclareTextComposite{\v}{B1}{D}{132}
310 \DeclareTextComposite{\v}{B1}{E}{133}
311 \DeclareTextComposite{\k}{B1}{E}{134}
312 % \end{macrocode}
313 % Replace T1 \u{G} by \cs{textparagraph}.
314 % \begin{macrocode}
315 %%\DeclareTextComposite{\u}{B1}{G}{135}
316 \DeclareTextSymbol{\textparagraph}{B1}{135}
317 \DeclareTextComposite{\'}{B1}{L}{136}
318 \DeclareTextComposite{\v}{B1}{L}{137}
319 \DeclareTextSymbol{\L}{B1}{138}
320 \DeclareTextComposite{\'}{B1}{N}{139}
321 \DeclareTextComposite{\v}{B1}{N}{140}
322 \DeclareTextSymbol{\NG}{B1}{141}
323 \DeclareTextComposite{\H}{B1}{O}{142}
324 \DeclareTextComposite{\'}{B1}{R}{143}
325 \DeclareTextComposite{\v}{B1}{R}{144}
326 \DeclareTextComposite{\'}{B1}{S}{145}
327 \DeclareTextComposite{\v}{B1}{S}{146}
328 % \end{macrocode}
329 % Replace T1 \c{S} by \cs{textslongt} --- the (long) s-t ligature.
330 % \begin{macrocode}
331 %%\DeclareTextComposite{\c}{B1}{S}{147}
332 %% longs-t ligature {147}
333 \DeclareTextSymbol{\textslongt}{B1}{147}
334 \DeclareTextComposite{\v}{B1}{T}{148}
335 % \end{macrocode}
336 % Replace T1 \c{T} by \cs{texthalfr} --- a half r glyph
337 % \begin{macrocode}
338 %%\DeclareTextComposite{\c}{B1}{T}{149}
339 %% half-r {149}
340 \DeclareTextSymbol{\textrhalf}{B1}{149}
341 \DeclareTextComposite{\H}{B1}{U}{150}
342 \DeclareTextComposite{\r}{B1}{U}{151}
343 \DeclareTextComposite{\"}{B1}{Y}{152}
344 \DeclareTextComposite{\'}{B1}{Z}{153}
345 \DeclareTextComposite{\v}{B1}{Z}{154}
346 \DeclareTextComposite{\.}{B1}{Z}{155}
347 \DeclareTextComposite{\.}{B1}{I}{157}
348 \DeclareTextSymbol{\dj}{B1}{158}
349 \DeclareTextSymbol{\textsection}{B1}{159}
350 % \end{macrocode}
351 % Replace T1 \u{a} by \cs{textslong} --- the long s glyph
352 % \begin{macrocode}
353 %%\DeclareTextComposite{\u}{B1}{a}{160}
354 \DeclareTextSymbol{\textslong}{B1}{160}
355 \DeclareTextComposite{\k}{B1}{a}{161}
356 \DeclareTextComposite{\'}{B1}{c}{162}
357 \DeclareTextComposite{\v}{B1}{c}{163}
358 \DeclareTextComposite{\v}{B1}{d}{164}
359 \DeclareTextComposite{\v}{B1}{e}{165}
360 \DeclareTextComposite{\k}{B1}{e}{166}
361 % \end{macrocode}
362 % Replace T1 \u{g} by \cs{textet} --- the e-t ligature (this is not the \&).
363 % \begin{macrocode}
364 %%\DeclareTextComposite{\u}{B1}{g}{167}
365 %% e-t ligature {167}
366 \DeclareTextSymbol{\textet}{B1}{167}
367 \DeclareTextComposite{\'}{B1}{l}{168}
368 \DeclareTextComposite{\v}{B1}{l}{169}
369 \DeclareTextSymbol{\l}{B1}{170}
370 \DeclareTextComposite{\'}{B1}{n}{171}
371 \DeclareTextComposite{\v}{B1}{n}{172}
372 \DeclareTextSymbol{\ng}{B1}{173}
373 \DeclareTextComposite{\H}{B1}{o}{174}
374 \DeclareTextComposite{\'}{B1}{r}{175}
375 \DeclareTextComposite{\v}{B1}{r}{176}
376 \DeclareTextComposite{\'}{B1}{s}{177}
377 \DeclareTextComposite{\v}{B1}{s}{178}
378 % \end{macrocode}
379 % Replace the T1 \c{s} by \cs{textst} --- the (short) s-t ligature
380 % \begin{macrocode}
381 %%\DeclareTextComposite{\c}{B1}{s}{179}
382 %% s-t ligature {179}
383 \DeclareTextSymbol{\textst}{B1}{179}
384 \DeclareTextComposite{\v}{B1}{t}{180}
385 % \end{macrocode}
386 % Replace the T1 \c{t} by \cs{textct} --- the c-t ligature
387 % \begin{macrocode}
388 %%\DeclareTextComposite{\c}{B1}{t}{181}
389 %% c-t ligature {181}
390 \DeclareTextSymbol{\textct}{B1}{181}
391 \DeclareTextComposite{\H}{B1}{u}{182}
392 \DeclareTextComposite{\r}{B1}{u}{183}
393 \DeclareTextComposite{\"}{B1}{y}{184}
394 \DeclareTextComposite{\'}{B1}{z}{185}
395 \DeclareTextComposite{\v}{B1}{z}{186}
396 \DeclareTextComposite{\.}{B1}{z}{187}
397 \DeclareTextSymbol{\textexclamdown}{B1}{189}
398 \DeclareTextSymbol{\textquestiondown}{B1}{190}
399 \DeclareTextSymbol{\textsterling}{B1}{191}
400 \DeclareTextComposite{\`}{B1}{A}{192}
401 \DeclareTextComposite{\'}{B1}{A}{193}
402 \DeclareTextComposite{\^}{B1}{A}{194}
403 \DeclareTextComposite{\~}{B1}{A}{195}
404 \DeclareTextComposite{\"}{B1}{A}{196}
405 \DeclareTextComposite{\r}{B1}{A}{197}
406 \DeclareTextSymbol{\AE}{B1}{198}
407 \DeclareTextComposite{\c}{B1}{C}{199}
408 \DeclareTextComposite{\`}{B1}{E}{200}
409 \DeclareTextComposite{\'}{B1}{E}{201}
410 \DeclareTextComposite{\^}{B1}{E}{202}
411 \DeclareTextComposite{\"}{B1}{E}{203}
412 \DeclareTextComposite{\`}{B1}{I}{204}
413 \DeclareTextComposite{\'}{B1}{I}{205}
414 \DeclareTextComposite{\^}{B1}{I}{206}
415 \DeclareTextComposite{\"}{B1}{I}{207}
416 \DeclareTextSymbol{\DH}{B1}{208}
417 \DeclareTextSymbol{\DJ}{B1}{208}
418 \DeclareTextComposite{\~}{B1}{N}{209}
419 \DeclareTextComposite{\`}{B1}{O}{210}
420 \DeclareTextComposite{\'}{B1}{O}{211}
421 \DeclareTextComposite{\^}{B1}{O}{212}
422 \DeclareTextComposite{\~}{B1}{O}{213}
423 \DeclareTextComposite{\"}{B1}{O}{214}
424 \DeclareTextSymbol{\OE}{B1}{215}
425 \DeclareTextSymbol{\O}{B1}{216}
426 \DeclareTextComposite{\`}{B1}{U}{217}
427 \DeclareTextComposite{\'}{B1}{U}{218}
428 \DeclareTextComposite{\^}{B1}{U}{219}
429 \DeclareTextComposite{\"}{B1}{U}{220}
430 \DeclareTextComposite{\'}{B1}{Y}{221}
431 \DeclareTextSymbol{\TH}{B1}{222}
432 \DeclareTextSymbol{\SS}{B1}{223}
433 \DeclareTextComposite{\`}{B1}{a}{224}
434 \DeclareTextComposite{\'}{B1}{a}{225}
435 \DeclareTextComposite{\^}{B1}{a}{226}
436 \DeclareTextComposite{\~}{B1}{a}{227}
437 \DeclareTextComposite{\"}{B1}{a}{228}
438 \DeclareTextComposite{\r}{B1}{a}{229}
439 \DeclareTextSymbol{\ae}{B1}{230}
440 \DeclareTextComposite{\c}{B1}{c}{231}
441 \DeclareTextComposite{\`}{B1}{e}{232}
442 \DeclareTextComposite{\'}{B1}{e}{233}
443 \DeclareTextComposite{\^}{B1}{e}{234}
444 \DeclareTextComposite{\"}{B1}{e}{235}
445 \DeclareTextComposite{\`}{B1}{i}{236}
446 \DeclareTextComposite{\`}{B1}{\i}{236}
447 \DeclareTextComposite{\'}{B1}{i}{237}
448 \DeclareTextComposite{\'}{B1}{\i}{237}
449 \DeclareTextComposite{\^}{B1}{i}{238}
450 \DeclareTextComposite{\^}{B1}{\i}{238}
451 \DeclareTextComposite{\"}{B1}{i}{239}
452 \DeclareTextComposite{\"}{B1}{\i}{239}
453 \DeclareTextSymbol{\dh}{B1}{240}
454 \DeclareTextComposite{\~}{B1}{n}{241}
455 \DeclareTextComposite{\`}{B1}{o}{242}
456 \DeclareTextComposite{\'}{B1}{o}{243}
457 \DeclareTextComposite{\^}{B1}{o}{244}
458 \DeclareTextComposite{\~}{B1}{o}{245}
459 \DeclareTextComposite{\"}{B1}{o}{246}
460 \DeclareTextSymbol{\oe}{B1}{247}
461 \DeclareTextSymbol{\o}{B1}{248}
462 \DeclareTextComposite{\`}{B1}{u}{249}
463 \DeclareTextComposite{\'}{B1}{u}{250}
464 \DeclareTextComposite{\^}{B1}{u}{251}
465 \DeclareTextComposite{\"}{B1}{u}{252}
466 \DeclareTextComposite{\'}{B1}{y}{253}
467 \DeclareTextSymbol{\th}{B1}{254}
468 \DeclareTextSymbol{\ss}{B1}{255}
469
470 %</B1>
471 % \end{macrocode}
472 %
473 % \subsection{The \file{TeXB1.enc} file}
474 %
475 % The \file{TeXB1.enc} file is the \Lpack{B1} encoding's version of
476 % the \Lpack{T1} encoding's \file{8b.enc} file. It provides the PostScript
477 % encoding vector for Type 1 versions of \Lpack{B1} fonts. Slots
478 % (o000/h00/d0), (o012/h0A/d10) and (o015/h0D/d13) are empty.
479 %
480 % This file should be put somewhere where LaTeX will look for *.enc files.
481 % For example: \url{/usr/TeX/texmf-local/tex/latex/bookhands/TeXB1.enc}.
482 %
483 % \begin{macrocode}
484 %<*enc>
485 /TeXB1 [
486 %%%% Comments are the 8b.enc entries
487 /.notdef % 0
488 /acute % 1 /dotaccent % 1
489 /circumflex % 2 /fi % 2
490 /tilde % 3 /fl % 3
491 /dieresis % 4 /fraction % 4
492 /hungarumlaut % 5
493 /ring % 6 /Lslash % 6
494 /caron % 7 /lslash % 7
495 /breve % 8 /ogonek % 8
496 /macron % 9 /ring % 9
497 /.notdef % 10
498 /cedilla % 11 /breve % 11
499 /ogonek % 12 /minus % 12
500 /.notdef % 13
501 /guilsinglleft % 14 /Zcaron % 14
502 /guilsinglright % 15 /zcaron % 15
503 % 0x10
504 /quotedblleft % 16 /caron % 16
505 /quotedblright % 17 /dotlessi % 17
506 /quotedblbase % 18 /dotlessj % 18
507 /guillemotleft % 19 /ff % 19
508 /guillemotright % 20 /ffi % 20
509 /endash % 21 /ffl % 21
510 /emdash % 22 /.notdef % 22
511 /grave % 23 /.notdef % 23
512 /dotaccent % 24 /.notdef % 24
513 /dotlessi % 25 /.notdef % 25
514 /dotlessj % 26 /.notdef % 26
515 /ff % 27 /.notdef % 27
516 /fi % 28 /.notdef % 28
517 /fl % 29 /.notdef % 29
518 /ffi % 30 /grave % 30
519 /ffl % 31 /quotesingle % 31
520 % 0x20 (ASCII begins)
521 /space % 32
522 /exclam % 33
523 /quotedbl % 34
524 /numbersign % 35
525 /dollar % 36
526 /percent % 37
527 /ampersand % 38
528 /quoteright % 39
529 /parenleft % 40
530 /parenright % 41
531 /asterisk % 42
532 /plus % 43
533 /comma % 44
534 /hyphen % 45
535 /period % 46
536 /slash % 47
537 % 0x30
538 /zero % 48
539 /one % 49
540 /two % 50
541 /three % 51
542 /four % 52
543 /five % 53
544 /six % 54
545 /seven % 55
546 /eight % 56
547 /nine % 57
548 /colon % 58
549 /semicolon % 59
550 /less % 60
551 /equal % 61
552 /greater % 62
553 /question % 63
554 % 0x40
555 /at % 64
556 /A % 65
557 /B % 66
558 /C % 67
559 /D % 68
560 /E % 69
561 /F % 70
562 /G % 71
563 /H % 72
564 /I % 73
565 /J % 74
566 /K % 75
567 /L % 76
568 /M % 77
569 /N % 78
570 /O % 79
571 % 0x50
572 /P % 80
573 /Q % 81
574 /R % 82
575 /S % 83
576 /T % 84
577 /U % 85
578 /V % 86
579 /W % 87
580 /X % 88
581 /Y % 89
582 /Z % 90
583 /bracketleft % 91
584 /backslash % 92
585 /bracketright % 93
586 /asciicircum % 94
587 /underscore % 95
588 % 0x60
589 /quoteleft % 96
590 /a % 97
591 /b % 98
592 /c % 99
593 /d % 100
594 /e % 101
595 /f % 102
596 /g % 103
597 /h % 104
598 /i % 105
599 /j % 106
600 /k % 107
601 /l % 108
602 /m % 109
603 /n % 110
604 /o % 111
605 % 0x70
606 /p % 112
607 /q % 113
608 /r % 114
609 /s % 115
610 /t % 116
611 /u % 117
612 /v % 118
613 /w % 119
614 /x % 120
615 /y % 121
616 /z % 122
617 /braceleft % 123
618 /bar % 124
619 /braceright % 125
620 /asciitilde % 126
621 /hyphen % 127 /.notdef % rubout; ASCII ends % 127
622 % 0x80
623 /quotesinglbase % 128 /Euro % 128
624 /Aogonek % 129 /.notdef % 129
625 /Cacute % 130 /quotesinglbase % 130
626 /Ccaron % 131 /florin % 131
627 /Dcaron % 132 /quotedblbase % 132
628 /Ecaron % 133 /ellipsis % 133
629 /Eogonek % 134 /dagger % 134
630 /paragraph % 135 /daggerdbl % 135
631 /Lacute % 136 /circumflex % 136
632 /Lcaron % 137 perthousand % 137
633 /Lslash % 138 /Scaron % 138
634 /Nacute % 139 /guilsinglleft % 139
635 /Ncaron % 140 /OE % 140
636 /Eng % 141 /.notdef % 141
637 /Ohungarumlaut % 142 /.notdef % 142
638 /Racute % 143 /.notdef % 143
639 % 0x90
640 /Rcaron % 144 /.notdef % 144
641 /Sacute % 145 /.notdef % 145
642 /Scaron % 146 /.notdef % 146
643 % \end{macrocode}
644 % \verb?/slong_t? is my name for the long s-t ligauture
645 % \begin{macrocode}
646 /slong_t % 147 /quotedblleft % 147
647 /Tcaron % 148 /quotedblright % 148
648 % \end{macrocode}
649 % \verb?/r.half? is my name for the half r glyph
650 % \begin{macrocode}
651 /r.half % 149 /bullet % 149
652 /Uhungarumlaut % 150 /endash % 150
653 /Uring % 151 /emdash % 151
654 /Ydieresis % 152 /tilde % 152
655 /Zacute % 153 /trademark % 153
656 /Zcaron % 154 /scaron % 154
657 /Zdot % 155 /guilsinglright % 155
658 /IJ % 156 /oe % 156
659 /Idot % 157 /.notdef % 157
660 /dcroat % (dyet)% 158 /.notdef % 158
661 /section % 159 /Ydieresis % 159
662 % 0xA0
663 /slong % 160 /.notdef % 160
664 % nobreakspace
665 /aogonek % 161 /exclamdown % 161
666 /cacute % 162 /cent % 162
667 /ccaron % 163 /sterling % 163
668 /dcaron % 164 /currency % 164
669 /ecaron % 165 /yen % 165
670 /eogonek % 166 /brokenbar % 166
671 % \end{macrocode}
672 % \verb?/e_t? is my name for the e-t ligature (this is not an \&).
673 % \begin{macrocode}
674 /e_t % 167 /section % 167
675 /lacute % 168 /dieresis % 168
676 /lcaron % 169 /copyright % 169
677 /lslash % 170 /ordfeminine % 170
678 /nacute % 171 /guillemotleft % 171
679 /ncaron % 172 /logicalnot % 172
680 /eng % 173 /hyphen % Y&Y (also at 45); Windows' softhyphen % 173
681 /ohungarumlaut % 174 /registered % 174
682 /racute % 175 /macron % 175
683 % 0xD0
684 /rcaron % 176 /degree % 176
685 /sacute % 177 /plusminus % 177
686 /scaron % 178 /twosuperior % 178
687 % \end{macrocode}
688 % \verb?/s_t? is my name for the (short) s-t ligature.
689 % \begin{macrocode}
690 /s_t % 179 /threesuperior % 179
691 /tcaron % 180 /acute % 180
692 % \end{macrocode}
693 % \verb?/c_t? is my name for the c-t ligature.
694 % \begin{macrocode}
695 /c_t % 181 /mu % 181
696 /uhungarumlaut % 182 /paragraph % 182
697 /uring % 183 /periodcentered % 183
698 /ydieresis % 184 cedilla % 184
699 /zacute % 185 /onesuperior % 185
700 /zcaron % 186 /ordmasculine % 186
701 /zdot % 187 /guillemotright % 187
702 /ij % 188 /onequarter % 188
703 /exclamdown % 189 /onehalf % 189
704 /questiondown % 190 /threequarters % 190
705 /sterling % 191 /questiondown % 191
706 % 0xC0
707 /Agrave % 192
708 /Aacute % 193
709 /Acircumflex % 194
710 /Atilde % 195
711 /Adieresis % 196
712 /Aring % 197
713 /AE % 198
714 /Ccedilla % 199
715 /Egrave % 200
716 /Eacute % 201
717 /Ecircumflex % 202
718 /Edieresis % 203
719 /Igrave % 204
720 /Iacute % 205
721 /Icircumflex % 206
722 /Idieresis % 207
723 % 0xD0
724 /Eth % 208
725 /Ntilde % 209
726 /Ograve % 210
727 /Oacute % 211
728 /Ocircumflex % 212
729 /Otilde % 213
730 /Odieresis % 214
731 /OE % 215 /multiply % 215
732 /Oslash % 216
733 /Ugrave % 217
734 /Uacute % 218
735 /Ucircumflex % 219
736 /Udieresis % 220
737 /Yacute % 221
738 /Thorn % 222
739 /Germandbls % 223
740 % 0xE0
741 /agrave % 224
742 /aacute % 225
743 /acircumflex % 226
744 /atilde % 227
745 /adieresis % 228
746 /aring % 229
747 /ae % 230
748 /ccedilla % 231
749 /egrave % 232
750 /eacute % 233
751 /ecircumflex % 234
752 /edieresis % 235
753 /igrave % 236
754 /iacute % 237
755 /icircumflex % 238
756 /idieresis % 239
757 % 0xF0
758 /eth % 240
759 /ntilde % 241
760 /ograve % 242
761 /oacute % 243
762 /ocircumflex % 244
763 /otilde % 245
764 /odieresis % 246
765 /oe % 247 /divide % 247
766 /oslash % 248
767 /ugrave % 249
768 /uacute % 250
769 /ucircumflex % 251
770 /udieresis % 252
771 /yacute % 253
772 /thorn % 254
773 /germandbls % 255 /ydieresis % 255
774 ] def
775
776 %</enc>
777 % \end{macrocode}
778 %
779 %
780 % \subsection{The \file{b1cmr.fd} files}
781 %
782 % At a minimum CMR must be provided as a B1 font, otherwise the NFSS system
783 % objects. I have not done a real B1 encoding for CMR, but the following
784 % at least keeps NFSS quiet. It is \file{t1cmr.fd} with the `t1' changed to
785 % `b1' throughout.
786 %
787 % This file should be put somewhere where LaTeX will look for *.fd files.
788 % For example: \url{/usr/TeX/texmf-local/tex/latex/bookhands/b1cmr.fd}.
789 %
790 % \begin{macrocode}
791 %<*b1cmr>
792 %% This is file b1cmr.fd based on
793 %% file `t1cmr.fd',
794 \ProvidesFile{b1cmr.fd}
795 [2005/11/27 v1.0 bookhand font definitions]
796 \providecommand{\EC@family}[5]{%
797 \DeclareFontShape{#1}{#2}{#3}{#4}%
798 {<5><6><7><8><9><10><10.95><12><14.4>%
799 <17.28><20.74><24.88><29.86><35.83>genb*#5}{}}
800 \DeclareFontFamily{B1}{cmr}{}
801 \EC@family{B1}{cmr}{m}{n}{ecrm}
802 \EC@family{B1}{cmr}{m}{sl}{ecsl}
803 \EC@family{B1}{cmr}{m}{it}{ecti}
804 \EC@family{B1}{cmr}{m}{sc}{eccc}
805 \EC@family{B1}{cmr}{bx}{n}{ecbx}
806 \EC@family{B1}{cmr}{b}{n}{ecrb}
807 \EC@family{B1}{cmr}{bx}{it}{ecbi}
808 \EC@family{B1}{cmr}{bx}{sl}{ecbl}
809 \EC@family{B1}{cmr}{bx}{sc}{ecxc}
810 \EC@family{B1}{cmr}{m}{ui}{ecui}
811
812 %</b1cmr>
813 % \end{macrocode}
814 %
815 % \Finale
816 \endinput
817
818 %% \CharacterTable
819 %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
820 %% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
821 %% Digits \0\1\2\3\4\5\6\7\8\9
822 %% Exclamation \! Double quote \" Hash (number) \#
823 %% Dollar \$ Percent \% Ampersand \&
824 %% Acute accent \' Left paren \( Right paren \)
825 %% Asterisk \* Plus \+ Comma \,
826 %% Minus \- Point \. Solidus \/
827 %% Colon \: Semicolon \; Less than \<
828 %% Equals \= Greater than \> Question mark \?
829 %% Commercial at \@ Left bracket \[ Backslash \\
830 %% Right bracket \] Circumflex \^ Underscore \_
831 %% Grave accent \` Left brace \{ Vertical bar \|
832 %% Right brace \} Tilde \~}
833
834