Debian Codegraph @

texmf-dist/source/fonts/archaic/linearb.dtx

raw
1 % \iffalse meta-comment
2 %
3 % linearb.dtx
4 %
5 % Author: Peter Wilson (Herries Press) herries dot press at earthlink dot net
6 % Copyright 1999--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 % If you do not have the docmfp package (available from CTAN in
22 % tex-archive/macros/latex/contrib/supported), comment out the
23 % \usepackage{docmfp} line below and uncomment the line following it.
24 %
25 %
26 %<*driver>
27 \documentclass[twoside]{ltxdoc}
28 \usepackage{docmfp}
29 %%%%% \providecommand{\DescribeVariable}[1]{} \newenvironment{routine}[1]{}{}
30 \usepackage{url}
31 \usepackage[draft=false,
32 plainpages=false,
33 pdfpagelabels,
34 bookmarksnumbered,
35 hyperindex=false
36 ]{hyperref}
37 \providecommand{\phantomsection}{}
38 \OnlyDescription %% comment this out for the full glory
39 \EnableCrossrefs
40 \CodelineIndex
41 \setcounter{StandardModuleDepth}{1}
42 \makeatletter
43 \@mparswitchfalse
44 \makeatother
45 \renewcommand{\MakeUppercase}[1]{#1}
46 \pagestyle{headings}
47 \newenvironment{addtomargins}[1]{%
48 \begin{list}{}{%
49 \topsep 0pt%
50 \addtolength{\leftmargin}{#1}%
51 \addtolength{\rightmargin}{#1}%
52 \listparindent \parindent
53 \itemindent \parindent
54 \parsep \parskip}%
55 \item[]}{\end{list}}
56 \begin{document}
57 \raggedbottom
58 \DocInput{linearb.dtx}
59 \end{document}
60 %</driver>
61 %
62 %
63 % \fi
64 %
65 % \CheckSum{780}
66 %
67 % \DoNotIndex{\',\.,\@M,\@@input,\@addtoreset,\@arabic,\@badmath}
68 % \DoNotIndex{\@centercr,\@cite}
69 % \DoNotIndex{\@dotsep,\@empty,\@float,\@gobble,\@gobbletwo,\@ignoretrue}
70 % \DoNotIndex{\@input,\@ixpt,\@m}
71 % \DoNotIndex{\@minus,\@mkboth,\@ne,\@nil,\@nomath,\@plus,\@set@topoint}
72 % \DoNotIndex{\@tempboxa,\@tempcnta,\@tempdima,\@tempdimb}
73 % \DoNotIndex{\@tempswafalse,\@tempswatrue,\@viipt,\@viiipt,\@vipt}
74 % \DoNotIndex{\@vpt,\@warning,\@xiipt,\@xipt,\@xivpt,\@xpt,\@xviipt}
75 % \DoNotIndex{\@xxpt,\@xxvpt,\\,\ ,\addpenalty,\addtolength,\addvspace}
76 % \DoNotIndex{\advance,\Alph,\alph}
77 % \DoNotIndex{\arabic,\ast,\begin,\begingroup,\bfseries,\bgroup,\box}
78 % \DoNotIndex{\bullet}
79 % \DoNotIndex{\cdot,\cite,\CodelineIndex,\cr,\day,\DeclareOption}
80 % \DoNotIndex{\def,\DisableCrossrefs,\divide,\DocInput,\documentclass}
81 % \DoNotIndex{\DoNotIndex,\egroup,\ifdim,\else,\fi,\em,\endtrivlist}
82 % \DoNotIndex{\EnableCrossrefs,\end,\end@dblfloat,\end@float,\endgroup}
83 % \DoNotIndex{\endlist,\everycr,\everypar,\ExecuteOptions,\expandafter}
84 % \DoNotIndex{\fbox}
85 % \DoNotIndex{\filedate,\filename,\fileversion,\fontsize,\framebox,\gdef}
86 % \DoNotIndex{\global,\halign,\hangindent,\hbox,\hfil,\hfill,\hrule}
87 % \DoNotIndex{\hsize,\hskip,\hspace,\hss,\if@tempswa,\ifcase,\or,\fi,\fi}
88 % \DoNotIndex{\ifhmode,\ifvmode,\ifnum,\iftrue,\ifx,\fi,\fi,\fi,\fi,\fi}
89 % \DoNotIndex{\input}
90 % \DoNotIndex{\jobname,\kern,\leavevmode,\let,\leftmark}
91 % \DoNotIndex{\list,\llap,\long,\m@ne,\m@th,\mark,\markboth,\markright}
92 % \DoNotIndex{\month,\newcommand,\newcounter,\newenvironment}
93 % \DoNotIndex{\NeedsTeXFormat,\newdimen}
94 % \DoNotIndex{\newlength,\newpage,\nobreak,\noindent,\null,\number}
95 % \DoNotIndex{\numberline,\OldMakeindex,\OnlyDescription,\p@}
96 % \DoNotIndex{\pagestyle,\par,\paragraph,\paragraphmark,\parfillskip}
97 % \DoNotIndex{\penalty,\PrintChanges,\PrintIndex,\ProcessOptions}
98 % \DoNotIndex{\protect,\ProvidesClass,\raggedbottom,\raggedright}
99 % \DoNotIndex{\refstepcounter,\relax,\renewcommand,\reset@font}
100 % \DoNotIndex{\rightmargin,\rightmark,\rightskip,\rlap,\rmfamily,\roman}
101 % \DoNotIndex{\roman,\secdef,\selectfont,\setbox,\setcounter,\setlength}
102 % \DoNotIndex{\settowidth,\sfcode,\skip,\sloppy,\slshape,\space}
103 % \DoNotIndex{\symbol,\the,\trivlist,\typeout,\tw@,\undefined,\uppercase}
104 % \DoNotIndex{\usecounter,\usefont,\usepackage,\vfil,\vfill,\viiipt}
105 % \DoNotIndex{\viipt,\vipt,\vskip,\vspace}
106 % \DoNotIndex{\wd,\xiipt,\year,\z@}
107 %
108 % \changes{v1.0}{1999/06/20}{First public release}
109 % \changes{v1.1}{2001/08/01}{Changed \cs{Bpiii} to \cs{Bpaiii}}
110 % \changes{v1.2}{2005/06/22}{Added many more glyphs and just one MF file}
111 % \changes{v1.2}{2005/06/22}{Added map file}
112 %
113 % \def\fileversion{v1.0} \def\filedate{1999/06/20}
114 % \def\fileversion{v1.1} \def\filedate{2001/08/01}
115 % \def\fileversion{v1.2} \def\filedate{2005/06/22}
116 % \newcommand*{\Lpack}[1]{\textsf {#1}} ^^A typeset a package
117 % \newcommand*{\Lopt}[1]{\textsf {#1}} ^^A typeset an option
118 % \newcommand*{\file}[1]{\texttt {#1}} ^^A typeset a file
119 % \newcommand*{\Lcount}[1]{\textsl {\small#1}} ^^A typeset a counter
120 % \newcommand*{\pstyle}[1]{\textsl {#1}} ^^A typeset a pagestyle
121 % \newcommand*{\Lenv}[1]{\texttt {#1}} ^^A typeset an environment
122 % \newcommand{\BC}{\textsc{bc}}
123 % \newcommand{\AD}{\textsc{ad}}
124 % \newcommand{\jurgen}{J\"urgen Kraus}
125 %
126 % \title{The \Lpack{Linearb} font\thanks{This
127 % file has version number \fileversion, last revised
128 % \filedate.}}
129 %
130 % \author{%
131 % Peter Wilson\thanks{With thanks to J\"{u}rgen Kraus who corrected my
132 % misinterpretations of some of the signs.} \\
133 % Herries Press\thanks{\texttt{herries dot press at earthlink dot net}}
134 % }
135 % \date{\filedate}
136 % \maketitle
137 % \begin{abstract}
138 % The \Lpack{linearb} bundle provides a font for the Linear B
139 % syllabary which was used for writing Greek in the Bronze Age.
140 % \end{abstract}
141 % \tableofcontents
142 % \listoftables
143 %
144 %
145 %
146 % \section{Introduction}
147 %
148 % The font presented here is a rendition of (part of) the Linear B script
149 % that was used in the Bronze Age, particularly on Crete.
150 % It is one of a series of fonts that was initially intended
151 %nnn to show how the Latin alphabet has evolved from its original Phoenician form
152 % to its present day appearance.
153 %
154 % This manual is typeset according to the conventions of the
155 % \LaTeX{} \textsc{docstrip} utility which enables the automatic
156 % extraction of the \LaTeX{} macro source files~\cite{GOOSSENS94}.
157 %
158 % Section~\ref{sec:usc} describes the usage of the package.
159 % Commented code for the fonts and source code for the package is in
160 % later sections.
161 %
162 % \subsection{An alphabetic tree}
163 %
164 % Scholars are reasonably agreed that all the world's alphabets are descended
165 % from a Semitic alphabet invented about 1600~\BC{} in the Middle
166 % East~\cite{DRUCKER95}. The word `Semitic' refers
167 % to the family of languages used in the geographical area from
168 % Sinai in the south, up the Mediterranean coast to Asia Minor in the north and
169 % west to the valley of the Euphrates.
170 %
171 % The Phoenician alphabet was stable by about 1100~\BC{} and the script was
172 % written right to left. In earlier times the writing direction was variable,
173 % and so were
174 % the shapes and orientation of the characters. The alphabet consisted of
175 % 22 letters and they were named after things. For example, their first two
176 % letters were called \textit{aleph} (ox), and \textit{beth} (house).
177 % The Phoenician script had
178 % only one case --- unlike our modern fonts which have both upper- and
179 % lower-cases. In modern day terms the Phoenician abecedary was: \\
180 % A B G D E Y Z H $\Theta$ I K L M N X O P ts Q R S T \\
181 % where the `Y' (\textit{vau}) character was sometimes written as `F' and
182 % `ts' stands for the \textit{tsade} character.
183 %
184 % The Greek alphabet is one of the descendants of the Phoenician alphabet;
185 % another was Aramaic which is the ancestor of the Arabic, Persian and Indian
186 % scripts.
187 % Initially Greek was written right to left but around the 6th C~\BC{} became
188 % \textit{boustrophedron}, meaning that the lines
189 % alternated in direction. At about 500~\BC{} the writing direction stabilised
190 % as left to
191 % right. The Greeks modified the Phoenician alphabet to match the vocalisation
192 % of their language. They kept the Phoenician names of the letters, suitably
193 % `greekified', so \textit{aleph} became the familar \textit{alpha} and
194 % \textit{beth} became \textit{beta}. At this
195 % point the names of the letters had no meaning. Their were several variants
196 % of the Greek character glyphs until they were finally fixed in Athens in
197 % 403~\BC.
198 % The Greeks did not develop a lower-case
199 % script until about 600--700~\AD.
200 %
201 % The Etruscans based their alphabet on the Greek one, and again modified it.
202 % However, the Etruscans wrote right to left, so their borrowed characters are
203 % mirror images of the original Greek ones. Like the Phoenicians, the Etruscan
204 % script consisted of only one case; they died out before ever needing a
205 % lower-case script. The Etruscan script was used up until the first century
206 % \AD, even though the Etruscans themselves had dissapeared by that time.
207 %
208 %
209 % In turn, the Romans based their alphabet on the Etruscan one, but as they
210 % wrote left to right, the characters were again mirrored (although the early
211 % Roman inscriptions are boustrophedron).
212 %
213 % As the English alphabet is descended from the Roman alphabet
214 % it has a pedigree of some three and a half thousand years.
215 %
216 % \section{The \Lpack{linearb} package} \label{sec:usc}
217 %
218 % In 1900~\AD{} Arthur Evans (later Sir Arthur) began excavating the
219 % palace of Knossos on Crete, which had been destroyed about 1400~\BC.
220 % There he found clay tablets with unknown
221 % writing on them. There were two different scripts which he called Linear~A
222 % and Linear~B. Sir Arthur was convinced that the script was used for an
223 % unknown Minoan language. He tried his hand at deciphering the scripts but
224 % made virtually no progess. This was in spite of the fact that the Cypriot
225 % script, which had several signs in common with Linear~B, had been deciphered
226 % in the 1870's and shown to be used for writing Greek.
227 % Later, in 1939, Carl W.~Blegen of the University
228 % of Cincinnati led a combined American-Greek excavation at Pylos on
229 % the mainland where he also found tablets inscribed with Linear~B.
230 % During his lifetime Sir Arthur published only a few
231 % of the tablets from Knossos. In 1951 the Pylos tablets were published
232 % and in 1952, eleven years after Sir Athur's death, the Knossos tablets
233 % were published.
234 %
235 % Michael Ventris (1922--1956) was an English architect who was
236 % fascinated by the
237 % problem of deciphering Linear~B. He had studied the few published examples
238 % of the script and had decided that Linear~B was a syllabary rather than
239 % an alphabet because of the number of different signs. With the
240 % publication of the Pylos and Knossos tablets
241 % he had a larger corpus to work on. He ignored the clue of the Cypriot
242 % script and independantly determined that Linear~B was probably
243 % used to write Greek, and then sought the help of John Chadwick of Cambridge
244 % University whose speciality was the early history of the Greek language.
245 % They published their decipherment of Linear~B in the
246 % \textit{Journal of Hellenic Studies}, 1953. Tragically, Ventris was killed
247 % in a car accident in 1956.
248 %
249 % Apart from the specialised literature, the story of Linear~B can be
250 % found in~\cite{CHADWICK87} and~\cite{GORDON87} among others.
251 %
252 % Linear~B was in use during the approximate period 1500--1200~\BC,
253 % for writing in Mycenaean Greek. This was some centuries
254 % before the Greek alphabet
255 % was invented. Perhaps surprisingly, Linear~B has no other relationship
256 % to the Greek alphabet except that they can both be used to write dialects
257 % of the same language.
258 %
259 % Linear~B is basically a syllabary, where there is a sign for each
260 % syllable. There are 60 basic signs and 16 optional signs for clarifying
261 % meanings; there are still some 11 signs whose meanings have not yet
262 % been identified. The script was used for record keeping, not for literary
263 % purposes. It has signs for numbering in a decimal system. The script also
264 % includes some ideographic signs, such as symbols for various kinds of goods
265 % and possesions,
266 % for example wheat or sheep or wool or wine.
267 % There is also a system for weights and measures within
268 % the script.
269 %
270 % The font presented here is based on the signs illustrated by
271 % Chadwick~\cite{CHADWICK87}. \jurgen{} (\texttt{[email protected]})
272 % was kind enough to review my first renditions and gave valuable advice
273 % concerning my errors of interpretation.
274 % The font consists of the basic, optional,
275 % unidentified, and numbering signs only.
276 %
277 %
278 %
279 % \DescribeMacro{\linbfamily}
280 % This command selects the Linear B font family.
281 % The family name is |linb|.
282 %
283 % \DescribeMacro{\textlinb}
284 % The command |\textlinb{|\meta{text}|}| typesets \meta{text} in the
285 % Linear B font.
286 %
287 % All the character commands start with |\B| (for the B in Linear~B).
288 %
289 % The commands (and their ASCII equivalents) for the 60 basic signs
290 % are given in Table~\ref{tab:basic}; you can use either the command or
291 % its ASCII keyboard equivalent. There are 5 signs for the 5 vowels and
292 % the remaining 55 signs are two-character syllables.
293 % The apparently random
294 % ASCII mapping is so that a companion Cypriot font~\cite{CYPRIOT}
295 % can use the same ASCII
296 % characters for syllables common to both scripts.
297 %
298 % \begin{table}
299 % \centering
300 % \caption{Commands and encoding for the basic signs}\label{tab:basic}
301 % \begin{tabular}{cccccc} \hline
302 % & a & e & i & o & u \\ \hline
303 % & |\Ba| a & |\Be| e & |\Bi| i & |\Bo| o & |\Bu| u \\
304 % d & |\Bda| d & |\Bde| D & |\Bdi| f & |\Bdo| g & |\Bdu| x \\
305 % j & |\Bja| j & |\Bje| J & & |\Bjo| b & |\Bju| L \\
306 % k & |\Bka| k & |\Bke| K & |\Bki| c & |\Bko| h & |\Bku| v \\
307 % m & |\Bma| m & |\Bme| M & |\Bmi| y & |\Bmo| A & |\Bmu| B \\
308 % n & |\Bna| n & |\Bne| N & |\Bni| C & |\Bno| E & |\Bnu| F \\
309 % p & |\Bpa| p & |\Bpe| P & |\Bpi| G & |\Bpo| H & |\Bpu| I \\
310 % q & |\Bqa| q & |\Bqe| Q & |\Bqi| X & |\Bqo| 8 & \\
311 % r & |\Bra| r & |\Bre| R & |\Bri| O & |\Bro| U & |\Bru| V \\
312 % s & |\Bsa| s & |\Bse| S & |\Bsi| Y & |\Bso| 1 & |\Bsu| 2 \\
313 % t & |\Bta| t & |\Bte| T & |\Bti| 3 & |\Bto| 4 & |\Btu| 5 \\
314 % w & |\Bwa| w & |\Bwe| W & |\Bwi| 6 & |\Bwo| 7 & \\
315 % z & |\Bza| z & |\Bze| Z & & |\Bzo| 9 & \\
316 % \hline
317 % \end{tabular}
318 % \end{table}
319 %
320 % The commands for the 16 optional signs
321 % are given in Table~\ref{tab:optional}. Each entry is of the form: X |\Bcom|,
322 % where X is the value of the sign and |\Bcom| is the command. Where the
323 % value includes a digit, I have used the corresponding roman numeral in the
324 % command.
325 %
326 % \changes{v1.1}{2001/08/01}{Changed `p3' to `pa3' in optional signs table}
327 % \changes{v1.1}{2001/08/01}{Changed \cs{Bpiii} to \cs{Bpaiii} in optional signs table}
328 % \begin{table}
329 % \centering
330 % \caption{Commands for the optional signs}\label{tab:optional}
331 % \begin{tabular}{lll} \hline
332 % a2 |\Baii| & a3 |\Baiii| & au |\Bau| \\
333 % dwe |\Bdwe| & dwo |\Bdwo| & \\
334 % nwa |\Bnwa| & & \\
335 % pa3 |\Bpaiii| & pu2 |\Bpuii| & pte |\Bpte| \\
336 % ra2 |\Braii| & ra3 |\Braiii| & ro2 |\Broii| \\
337 % swa |\Bswa| & swi |\Bswi| & \\
338 % ta2 |\Btaii| & two |\Btwo| & \\
339 % \hline
340 % \end{tabular}
341 % \end{table}
342 %
343 % The commands for the unidentified signs all have the form |\BUr|, where
344 % |r| is a roman numeral. There are either eleven or twelve of these signs,
345 % depending on the particular source for the character descriptions.
346 % The commands range from |\BUi| to |\BUxii|. The last of these signs,
347 % which looks like a `B',
348 % may be classified as `unidentified' in one source, while another source
349 % may give it the meaning \textit{twe};
350 % the commands |\BUxii| and |\Btwe| both print the same sign.
351 %
352 % The commands for the numbers are given in Table~\ref{tab:num}. The
353 % commands are of the form |\BNr|, where |r| is the roman number for the
354 % numeral in question.
355 %
356 % \begin{table}
357 % \centering
358 % \caption{Commands for the numbers}\label{tab:num}
359 % \begin{tabular}{lllll} \hline
360 % & digits & tens & hundreds & thousands \\ \hline
361 % 1 & |\BNi| & |\BNx| & |\BNc| & |\BNm| \\
362 % 2 & |\BNii| & |\BNxx| & |\BNcc| & \\
363 % 3 & |\BNiii| & |\BNxxx| & |\BNccc| & \\
364 % 4 & |\BNiv| & |\BNxl| & |\BNcd| & \\
365 % 5 & |\BNv| & |\BNl| & |\BNd| & \\
366 % 6 & |\BNvi| & |\BNlx| & |\BNdc| & \\
367 % 7 & |\BNvii| & |\BNlxx| & |\BNdcc| & \\
368 % 8 & |\BNviii| & |\BNlxxx| & |\BNdccc| & \\
369 % 9 & |\BNix| & |\BNxc| & |\BNcm| & \\
370 % \hline
371 % \end{tabular}
372 % \end{table}
373 %
374 % The Linear~B script includes a word divider, which is a short vertical
375 % line. In this font, there are three synonomous dividers which are produced
376 % by the ASCII keyboard characters |: , /| (i.e., colon or comma or slash).
377 % Using any of these when typesetting the script produce the same word divider
378 % sign.
379 %
380 % \begin{table}
381 % \centering
382 % \caption{Commands for weights and measures}\label{tab:measures}
383 % \begin{tabular}{llcll} \hline
384 % Weight & & & Volume & \\ \hline
385 % Lightest & \cs{BPwta} & & Smallest & \cs{BPvola} \\
386 % & \cs{BPwtb} & & & \cs{BPvolb} \\
387 % & \cs{BPwtc} & & Largest (dry) & \cs{BPvolcd} \\
388 % & \cs{BPwtd} & & Largest (fluid) & \cs{BPvolcf} \\
389 % Heaviest & \cs{BPtalent} & & & \\ \hline
390 % \end{tabular}
391 % \end{table}
392 %
393 % \begin{table}
394 % \centering
395 % \caption{Commands for commodities}\label{tab:commodities}
396 % \begin{tabular}{llcll} \hline
397 % cloth & \cs{BPcloth} & & wool & \cs{BPwool} \\
398 % wheat & \cs{BPwheat} & & barley & \cs{BPbarley} \\
399 % wine & \cs{BPwine} & & olive oil & \cs{BPolive} \\
400 % bronze & \cs{BPbronze} & & gold & \cs{BPgold} \\ \hline
401 % \end{tabular}
402 % \end{table}
403 %
404 % \begin{table}
405 % \centering
406 % \caption{Commands for people and livestock}\label{tab:animals}
407 % \begin{tabular}{llcllcll} \hline
408 % & & & man & \cs{BPman} & & woman & \cs{BPwoman} \\
409 % sheep & \cs{BPsheep} & & ram & \cs{BPram} & & ewe & \cs{BPewe} \\
410 % goat & \cs{BPgoat} & & he goat & \cs{BPbilly} & & she goat & \cs{BPnanny} \\
411 % pig & \cs{BPpig} & & boar & \cs{BPboar} & & sow & \cs{BPsow} \\
412 % ox & \cs{BPox} & & bull & \cs{BPbull} & & cow & \cs{BPcow} \\
413 % horse & \cs{BPhorse} & & foal & \cs{BPfoal} & & & \\ \hline
414 % \end{tabular}
415 % \end{table}
416 %
417 %
418 % \begin{table}
419 % \centering
420 % \caption{Commands for weapons}\label{tab:weapons}
421 % \begin{tabular}{llcll} \hline
422 % chariot & \cs{BPchariot} & & sword & \cs{BPsword} \\
423 % chariot body & \cs{BPchassis} & & arrow & \cs{BParrow} \\
424 % (chariot) wheel & \cs{BPwheel} & & spear & \cs{BPspear} \\ \hline
425 % \end{tabular}
426 % \end{table}
427 %
428 % A variety of glyphs are provided encompassing some of the pictograms in
429 % the script. These are given in the following tables. All the commands
430 % start with \verb?\BP? (the \verb?P? for pictogram).
431 %
432 % Table~\ref{tab:measures} lists the commands for the system of weights,
433 % and for volumetric quantities. There is an assumption that the heaviest
434 % weight might be a \textit{talent}, which was the most common one in
435 % archaic times. There are different pictograms for the largest volume for
436 % dry materials (e.g., flour) and liquids.
437 %
438 % Table~\ref{tab:commodities} lists pictograms for various goods, and
439 % table~\ref{tab:animals} is for livestock as well as pictograms for
440 % a man and a woman.
441 %
442 % Pictograms related to warlike activities are in table~\ref{tab:weapons}.
443 %
444 %
445 %
446 %
447 %
448 % \DescribeMacro{\translitlinb}
449 % The command |\translitlinb{|\meta{char-commands}|}|, where \meta{char-commands}
450 % are the Linear~B character commands, will typeset a transliteration of the
451 % signs. For example,\\
452 % |\translitlinb{\Bti\Bme:\Bto/\Bre\Bti\Bre}| will generate \\
453 % \textit{ti-me-:to-/re-ti-re-} \\
454 % Note that in the transliterated form the word dividers
455 % (|:| and |/| in this example) are printed as themselves. This is because
456 % only the character commands are modified while any other text is printed as is.
457 % The unidentified signs, |\BUi| through |\BUxii|, are all transliterated
458 % as \textit{?-}.
459 % It is a feature of the command that all transliterated commands, except
460 % for pictograms, have a trailing |-| sign.
461 %
462 % The transliterations of the pictograms are given as words, enclosed in
463 % slashes. For example,
464 % \verb?\translitlinb{\BPolive}? is \textit{ /olive oil/ }.
465 %
466 % \DescribeMacro{\translitlinbfont}
467 % The transliterated Linear~B is typeset with the font declarations specified by
468 % |\translitlinbfont|, which defaults to |\itshape| thus printing the
469 % transliteration in an italic font. The font can be changed by redefining
470 % the command. For example, if you wanted to use a bold sans font you
471 % would do: \\
472 % |\renewcommand{\translitlinbfont}{\sffamily\bfseries}|
473 %
474 %
475 % \StopEventually{
476 % \bibliographystyle{alpha}
477 % \begin{thebibliography}{GMS94}
478 %
479 % \bibitem[Cha87]{CHADWICK87}
480 % John Chadwick.
481 % \newblock \emph{Linear~B and Related Scripts}.
482 % \newblock University of California Press/British Museum, 1987.
483 % (ISBN 0-520-06019-9)
484 %
485 % \bibitem[Dru95]{DRUCKER95}
486 % Johanna Drucker.
487 % \newblock \emph{The Alphabetic Labyrinth}.
488 % \newblock Thames and Hudson, 1995.
489 %
490 % \bibitem[GMS94]{GOOSSENS94}
491 % Michel Goossens, Frank Mittelbach, and Alexander Samarin.
492 % \newblock \emph{The LaTeX Companion}.
493 % \newblock Addison-Wesley Publishing Company, 1994.
494 %
495 % \bibitem[Gor87]{GORDON87}
496 % Cyrus H.~Gordon.
497 % \newblock \emph{Forgotten Scripts}.
498 % \newblock Dorset Press, (Revised and enlarged edition) 1987.
499 %
500 % \bibitem[Rob02]{ROBINSON02}
501 % Andrew Robinson.
502 % \newblock \emph{Lost Languages}.
503 % \newblock McGraw Hill, 2002.
504 %
505 % \bibitem[Wil99]{CYPRIOT}
506 % Peter R.~Wilson.
507 % \newblock \emph{The Cypriot Package}.
508 % \newblock 1999. (Available from CTAN in \texttt{fonts/archaic}).
509 %
510 % \end{thebibliography}
511 % \PrintIndex
512 % }
513 %
514 %
515 %
516 % \section{The Metafont code} \label{sec:mf}
517 %
518 % \subsection{Parameters and setup}
519 %
520 % We deal with the parameter file first, and start by announcing
521 % what it is for.
522 % \begin{macrocode}
523 %<*up>
524 %%% LINB10.MF Linear B font 10 point design size.
525
526 % \end{macrocode}
527 % Specify the font size.
528 % \begin{macrocode}
529
530 font_identifier:="LinearB"; font_size 10pt#;
531
532 % \end{macrocode}
533 %
534 %
535 % \DescribeVariable{penfudge}
536 % Increase (decrease) this to get bolder (lighter) characters.
537 % \begin{macrocode}
538 penfudge:=1.0;
539 % \end{macrocode}
540 %
541 %
542 % \DescribeVariable{heightfudge}
543 % Increase (decrease) this to get taller (shorter) characters.
544 % \begin{macrocode}
545 heightfudge:=1.0;
546 % \end{macrocode}
547 %
548 %
549 % \DescribeVariable{u}
550 % |u| is the unit width.
551 % \begin{macrocode}
552 u#:=.2pt#; % unit width
553 % \end{macrocode}
554 %
555 % \DescribeVariable{ht}
556 % |ht| is the height of the characters (the Computer Modern value
557 % for the capital letters is
558 % approximately 6.8pt).
559 % \begin{macrocode}
560 ht#:=heightfudge*10pt#; % height of characters
561 % \end{macrocode}
562 %
563 % \DescribeVariable{s}
564 % \DescribeVariable{o}
565 % |s| is the width of the space at either side of a character; |o| is
566 % the amount that a charcter stroke can overshoot its normal width or height.
567 % \begin{macrocode}
568 s#:=1.5pt#; % width correction (right and left)
569 o#:=1/20pt#; % overshoot
570 % \end{macrocode}
571 %
572 % \DescribeVariable{px}
573 % |px| is the horizontal width of the pen.
574 % \begin{macrocode}
575 %%%%%%px#:=penfudge*0.7pt#; % horizontal width of pen
576 px#:=penfudge*0.5pt#; % horizontal width of pen
577 % \end{macrocode}
578 %
579 % \DescribeVariable{font-normal-space}
580 % \DescribeVariable{font-normal-shrink}
581 % \DescribeVariable{font-x-height}
582 % \DescribeVariable{font-quad}
583 % Define the very simple font values.
584 % \begin{macrocode}
585 font_normal_space:=7pt#; % width of a blank space
586 font_normal_shrink:=.9pt#; % width correction for blank space
587 font_x_height:=4.5pt#; % height of one ex
588 font_quad:=10pt#; % an em
589
590 % \end{macrocode}
591 %
592 % \DescribeVariable{digwd}
593 % \DescribeVariable{digsz}
594 % |digwid| is the character `width' of a pair of digit dashes. |digsz| is
595 % the length (as a proportion of the character height) of a digit dash.
596 % \begin{macrocode}
597 digwd:=0.2;
598 digsz:=0.4;
599 % \end{macrocode}
600 %
601 % \DescribeVariable{tenwd}
602 % \DescribeVariable{tensz}
603 % \DescribeVariable{tensep}
604 % |tenwd| is the character `width' of a column of tens dashes. |tensz|
605 % is the length (as a proportion of the character height) of a ten dash.
606 % |tensep| is the horizontal seperation between columns of tens dashes.
607 % \begin{macrocode}
608 tensz:=0.4;
609 tenwd:=tensz;
610 tensep:=0.2;
611 % \end{macrocode}
612 %
613 % \DescribeVariable{hunwd}
614 % \DescribeVariable{hunsep}
615 % \DescribeVariable{hunsz}
616 % |hunwid| is the character `width' of hundred circle and |hunsep| is
617 % the horizontal spacing the perimeters of a pair. |hunsz| is
618 % the diameter (as a proportion of the character height) of a hundred
619 % circle.
620 % \begin{macrocode}
621 hunsz:=0.4;
622 hunwd:=hunsz;
623 hunsep:=0.1;
624
625 % \end{macrocode}
626 %
627 % This is where the driver file would normally be called.
628 %
629 %
630 % Here is the code for what would normally be the driver file.
631 % \changes{v1.2}{2005/06/22}{Merged MF driver file into the main file}
632 %
633 % Switch into Metafont mode
634 %
635 % \begin{macrocode}
636 font_coding_scheme:="Linear B glyphs";
637 mode_setup;
638
639 % \end{macrocode}
640 %
641 % \DescribeVariable{ho}
642 % \DescribeVariable{leftloc}
643 % \DescribeVariable{py}
644 % Perform additional setup.
645 % \begin{macrocode}
646 ho#:=o#; % horizontal overshoot
647 leftloc#:=s#; % leftmost xcoord of character
648 py#:=.9px#; % vertical thickness of the pen
649
650 define_pixels(s,u);
651 define_blacker_pixels(px,py);
652 define_good_x_pixels(leftloc);
653 define_corrected_pixels(o); % turn on overshoot correction
654 define_horizontal_corrected_pixels(ho);
655
656 % \end{macrocode}
657 %
658 %
659 % \DescribeVariable{midloc}
660 % \DescribeVariable{rightloc}
661 % Variables for the middle xcoord and rightmost xcoord of a character.
662 % \begin{macrocode}
663 numeric midloc, rightloc;
664 % \end{macrocode}
665 %
666 %
667 % \DescribeVariable{tiny}
668 % \DescribeVariable{small}
669 % \DescribeVariable{medium}
670 % \DescribeVariable{large}
671 % \DescribeVariable{huge}
672 % Some lengths.
673 % \begin{macrocode}
674 tiny#:=px#;
675 small#:=2px#;
676 medium#:=3px#;
677 large#:=4px#;
678 huge#:=5px#;
679 define_pixels(tiny,small,medium,large,huge);
680 % \end{macrocode}
681 %
682 % \DescribeVariable{NE}
683 % \DescribeVariable{NW}
684 % \DescribeVariable{SW}
685 % \DescribeVariable{SE}
686 % Shorthand for direction vectors corresponding to the designated compass point.
687 % \begin{macrocode}
688 pair NE,NW,SW,SE;
689 NE:=(1,1);
690 NW:=(-1,1);
691 SW:=(-1,-1);
692 SE:=(1,-1);
693 % \end{macrocode}
694 %
695 %
696 % \DescribeVariable{stylus}
697 % Define the pen.
698 % \begin{macrocode}
699 pickup pencircle xscaled px yscaled py;
700 stylus:=savepen;
701
702 % \end{macrocode}
703 %
704 %
705 % \begin{routine}{draw_hdash}
706 % |draw_hdash(1,len)| draws a horizontal line, length |len|, with its
707 % midpoint at |z1|.
708 % \begin{macrocode}
709 def draw_hdash(suffix $)(expr len)=
710 x$l=x$-len/2; x$r=x$+len/2; y$l=y$r=y$;
711 draw z$l--z$r;
712 enddef;
713
714 % \end{macrocode}
715 % \end{routine}
716 %
717 % \begin{routine}{draw_vdash}
718 % |draw_vdash(1,len)| draws a vertical line, length |len|, with its
719 % midpoint at |z1|.
720 % \begin{macrocode}
721 def draw_vdash(suffix $)(expr len)=
722 x$t=x$b=x$; y$t=y$+len/2; y$b=y$-len/2;
723 draw z$t--z$b;
724 enddef;
725
726 % \end{macrocode}
727 % \end{routine}
728 %
729 % \begin{routine}{draw_vloop}
730 % Draws a vertical elliptical shape. |draw_vloop(1,2,f)| draws ellipse between
731 % |z1| and |z2| with minor (horizontal) radius fraction |f| of major
732 % (vertical) radius.
733 % \begin{macrocode}
734 def draw_vloop(suffix $, $$)(expr len)=
735 z$m=1/2[z$,z$$];
736 y$l=y$r=y$m;
737 q:=len*(y$-y$m);
738 x$l=x$m-q; x$r=x$m+q;
739 draw z$..z$l..z$$; draw z$$..z$r..z$;
740 labels($,$l,$m,$r,$$);
741 enddef;
742
743 % \end{macrocode}
744 % \end{routine}
745 %
746 % \begin{routine}{beginglyph}
747 % A macro to save some typing of beginchar arguments.
748 % \begin{macrocode}
749 def beginglyph(expr code, unit_width) =
750 beginchar(code, unit_width*ht#+2s#, ht#, 0);
751 midloc:=1/2w; rightloc:=(w-s);
752 pickup stylus enddef;
753
754 % \end{macrocode}
755 % \end{routine}
756 %
757 % \begin{routine}{cmchar}
758 % |cmchar| should precede each character
759 % \begin{macrocode}
760 let cmchar=\;
761
762 % \end{macrocode}
763 % \end{routine}
764 %
765 % This is where the glyph code file would normally be called.
766 %
767 % The following code generates the glyphs for the Linear B font.
768 % \changes{v1.2}{2005/06/22}{Merged MF glyph file into the main one}
769 %
770 % \subsection{The basic glyphs}
771 %
772 % There are 60 basic glyphs. These are composed of the five vowels
773 % (a e i o u), and 55 syllables. First I define the vowels,
774 % then the remaining characters in syllable order
775 % (e.g. \ldots nu, pa, pe, pi, po, pu, qa \ldots). The basic glyphs
776 % are encoded as roman upper and lower case characters and the digits.
777 %
778 % The somewhat peculiar mapping to the alphanumerics is so that a
779 % companion Cypriot syllabary can use an identical encoding for the
780 % syllables that are common between Linear B and Cypriot.
781 %
782 % The vowels are mapped to their lowercase ASCII equivalents.
783 % A syllable `xa' is mapped to ASCII x and `xe' is mapped to X.
784 % Otherwise, the mapping appears random, although there is an
785 % underlying methodology.
786 %
787 % \begin{routine}{a}
788 % The sign \textit{a}. Like an old-rashioned English TV aerial.
789 % \begin{macrocode}
790 cmchar "Linear B sign a";
791 beginglyph("a",0.6);
792 x1=x3=leftloc; x4=midloc; x6=x8=rightloc;
793 y1=y6=1/2h; y3=y8=h; y4=0;
794 z2=0.5[z1,z3]; z7=0.5[z6,z8]; z5=0.5[z2,z7];
795 draw z1--z3; % left vertical
796 draw z4--z5; % centre vertical
797 draw z6--z8; % right vertical
798 draw z2--z7; % bar
799 labels(1,2,3,4,5,6,7,8);
800 endchar;
801
802 % \end{macrocode}
803 % \end{routine}
804 %
805 % \begin{routine}{e}
806 % The sign \textit{e}. Much like our modern A but but with an additional
807 % crossbar.
808 % \begin{macrocode}
809 cmchar "Linear B sign e";
810 beginglyph("e",0.6);
811 x1=x6=leftloc; x3=x7=rightloc; % base points
812 y1=y3=0;
813 x2=midloc; y2=h; % apex
814 z4=0.4[z1,z2]; z5=0.4[z3,z2]; % lower bar
815 y6=y7=0.5[y4,y2]; % upper bar
816 draw z1--z2--z3; % the legs
817 draw z4--z5; % lower bar
818 draw z6--z7; % upper bar
819 labels(1,2,3,4,5,6,7);
820 endchar;
821
822 % \end{macrocode}
823 % \end{routine}
824 %
825 % \begin{routine}{i}
826 % The sign \textit{i}. Top half of an asterisk on a stem.
827 % \begin{macrocode}
828 cmchar "Linear B sign i";
829 beginglyph("i",0.6);
830 x1=x2=x4=midloc; y1=0; y2=h; % upright
831 x3=leftloc; x5=rightloc; % bar
832 y3=y4=y5=2/3h;
833 x6=leftloc; x7=rightloc; % diagonals
834 top y6=top y7=h;
835 draw z1--z2; % upright
836 draw z3--z5; % horizontal
837 draw z6--z4--z7; % diagonals
838 labels(1,2,3,4,5,6,7);
839 endchar;
840
841 % \end{macrocode}
842 % \end{routine}
843 %
844 % \begin{routine}{o}
845 % The sign \textit{o}. Like a box with partially opened lid.
846 % \begin{macrocode}
847 cmchar "Linear B sign o";
848 beginglyph("o",0.6);
849 numeric alpha; alpha:=2/3;
850 x1=x2=leftloc; y1=h; y2=0; % left vertical
851 x3=x4=rightloc; y3=y2; y4=y5=alpha*h; % right vertical
852 x5=x6=0.4[x1,x3]; y6=y1; % center vertical
853 x7=x8=1/2[x5,x4]; y7=y4; y8=0.5[y4,y6]; % dash
854 draw z1--z2--z3--z4; % main shape
855 draw z1--z6{right}..{right}z5--z4;
856 draw z7--z8; % dash
857 labels(1,2,3,4,5,6,7,8);
858 endchar;
859
860 % \end{macrocode}
861 % \end{routine}
862 %
863 % \begin{routine}{u}
864 % The sign \textit{u}. Like an f.
865 % \begin{macrocode}
866 cmchar "Linear B sign u";
867 beginglyph("u",0.6);
868 numeric alpha; alpha:=2/3;
869 x1=x2=leftloc; y1=0; y2=alpha*h; % left vertical
870 x3=x5=midloc; x4=x6=rightloc; % cross and curve
871 y6=y2; y3=y4=h;
872 y2-y5=y3-y2;
873 draw z1--z2{up}..{right}z3--z4; % vertical and curve top
874 draw z2--z6; draw z3--z5; % cross
875 labels(1,2,3,4,5,6,7,8);
876 endchar;
877
878 % \end{macrocode}
879 % \end{routine}
880 %
881 % \begin{routine}{da}
882 % The sign \textit{da}. Like |!-|.
883 % \begin{macrocode}
884 cmchar "Linear B sign da";
885 beginglyph("d",0.4);
886 x1=x2=leftloc; y1=0; y2=h; % left vertical
887 z3=0.5[z1,z2]; % horizontal
888 x4=rightloc; y4=y3;
889 draw z1--z2; draw z3--z4;
890 labels(1,2,3,4);
891 endchar;
892
893 % \end{macrocode}
894 % \end{routine}
895 %
896 % \begin{routine}{de}
897 % The sign \textit{de}, with corrections suggested by \jurgen. Like a W on
898 % top of a trestle table.
899 % \begin{verbatim}
900 % cmchar "Linear B sign de (original)";
901 % beginglyph("D",0.8);
902 % numeric alpha; alpha:=0.01;
903 % x8=leftloc; x9=rightloc; y8=y9=0; % base points
904 % y2=y4=y6=h; % top points
905 % y1=y3=y5=y7=0.7h; % middle points
906 % x1=x8+alpha*w; x7=x9-alpha*w;
907 % x2=1/6[x1,x7]; x3=2/6[x1,x7]; x4=3/6[x1,x7]; x5=4/6[x1,x7]; x6=5/6[x1,x7];
908 % draw z1--z2--z3--z4--z5--z6--z7; % top wavy
909 % draw z3--z5; % triangle base
910 % draw z8--z5; draw z9--z3; % legs
911 % labels(1,2,3,4,5,6,7,8,9); endchar;
912 % \end{verbatim}
913 %
914 % \begin{macrocode}
915 cmchar "Linear B sign de";
916 beginglyph("D",0.8);
917 numeric alpha; alpha:=0.01;
918 x2=leftloc; x6=rightloc; x4=0.5[x2,x6]; % top of W
919 y2=y4=y6=h;
920 x3=0.5[x2,x4]; x5=0.5[x4,x6]; y1=y3=y5=y7=0.7h; % bottom of W
921 z11=2/3[z3,z2]; z17=2/3[z5,z6]; % side points on W
922 x1=x2; x7=x6;
923 x12=x11; x15=x17; y12=y13=y14=y15=y1-3/4small; % the horizontal
924 x13=x3; x14=x5;
925 x8=x12; x9=x15; y8=y9=0; % base points
926 draw z2--z3--z4--z5--z6; % W
927 draw z11--z1; draw z17--z7; % side arms
928 draw z12--z15; % horizontal
929 draw z8--z14; draw z9--z13; % legs
930 labels(1,2,3,4,5,6,7,8,9,11,12,13,14,15,16,17);
931 endchar;
932
933 % \end{macrocode}
934 % \end{routine}
935 %
936 % \begin{routine}{di}
937 % The sign \textit{di}. Like a T with a fringe under the crossbar.
938 % \begin{macrocode}
939 cmchar "Linear B sign di";
940 beginglyph("f",0.6);
941 numeric alpha;
942 alpha:=small;
943 x1=x2=midloc; y1=0; y2=0.6h; % stem
944 x3=leftloc; x4=rightloc; y3=y4=h; % bar
945 x5=x6=x3; x7=x8=x2; x9=x10=x4; % fringe
946 y5=y7=y9=y3-alpha;
947 y6=y8=y10=y2+alpha;
948 draw z1--z2; % stem
949 draw z3--z4; % bar
950 draw z5--z6; draw z7--z8; draw z9--z10; % fringe
951 labels(1,2,3,4,5,6,7,8,9,10);
952 endchar;
953
954 % \end{macrocode}
955 % \end{routine}
956 %
957 % \begin{routine}{do}
958 % The sign \textit{do}, circle on a stem with various spikes emenating from
959 % the circle. \jurgen{} suggested a kinked stem with a semicircle and a dash.
960 % \begin{verbatim}
961 cmchar "Linear B sign do (original)";
962 % beginglyph("g",0.8);
963 % numeric alpha; alpha:=0.2*(rightloc-leftloc);
964 % numeric rad; rad:=0.3*(rightloc-leftloc);
965 % x0=midloc; y0=h-rad-0.5alpha; % circle center
966 % x1=x2=x5=x9=x0; % mid vertical points
967 % y1=0; y2=y0-rad; y5=y0+rad; y9=h;
968 % y7=y3=y6=y11=y0; % mid horizontal points
969 % x7=leftloc; x3=x0-rad; x6=x0+rad; x11=rightloc;
970 % x10=x9-0.5alpha; y10=y9; % top line
971 % y12=y13=y11+small; x13=x11; x12=x13-0.25alpha;
972 % path p;
973 % p=z2..z3..z5..z6..cycle;
974 % x8=x7; x4=x3; y8=y4=y3+small;
975 % draw p; % circle
976 % draw z1--z2; % stem
977 % draw z7--z3; draw z6--z11; % main horizontals
978 % draw z12--z13; % right dash
979 % draw z5--z9--z10; % top L
980 % draw z4--z8; % left dash
981 % labels(0,1,2,3,4,5,6,7,8,9,10,11,12,13); endchar;
982 % \end{verbatim}
983 %
984 % \begin{macrocode}
985 cmchar "Linear B sign do";
986 beginglyph("g",0.4);
987 numeric alpha; alpha:=small;
988 numeric rad; rad:=0.15h;
989 numeric beta; beta:=1.5tiny; % gap size
990 numeric gam; gam:=1.5; % the tension
991 x0=midloc; y0=h-rad-alpha; % circle center
992 x1=x2=x4=x5=x0; % stem vertical points
993 y1=0; y2=y0-rad; y4=y0+rad; y5=h;
994 x3=x0-0.75rad; y3=y0; % mid arc point
995 x12=x14=x0+beta; y12=y2; y14=y4; % points on right arc
996 x13=x14+rad; y13=y3;
997 x15=x1; x16=x13; y15=y16=y2-beta; % horizontal
998 %%draw z1..tension gam..z2..tension gam..z3..tension gam..z4..tension gam..z5;
999 %%draw z1---z2..tension gam..z3..tension gam..z4---z5;
1000 draw z1--z2{up}..z3..{up}z4--z5;
1001 draw z12..z13..z14; % right hand arc
1002 draw z15--z16; % horizontal
1003 labels(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16);
1004 endchar;
1005
1006 % \end{macrocode}
1007 % \end{routine}
1008 %
1009 % \begin{routine}{du}
1010 % The sign \textit{du}. A very vague resemblance to a chef's hat,
1011 % \begin{macrocode}
1012 cmchar "Linear B sign du";
1013 beginglyph("x",0.6);
1014 x4=leftloc; x6=rightloc-tiny; x5=1/3[x4,x6]; % base points
1015 y4=y5=y6=0;
1016 y1=y2=y3=0.8h; % mid points
1017 x1=x4+tiny; x3=x6; x2=1/3[x1,x3];
1018 x7=leftloc; x8=rightloc; % top points
1019 y7=y8=h;
1020 draw z1--z3; % horizontal
1021 draw z6--z3--z8; % right uprights
1022 draw z1{up}..z7; % top left
1023 draw z4{up}..z1; draw z5{up}..z2; % curved legs
1024 labels(1,2,3,4,5,6,7,8);
1025 endchar;
1026
1027 % \end{macrocode}
1028 % \end{routine}
1029 %
1030 % \begin{routine}{ja}
1031 % The sign \textit{ja}. A rectangle with two interior lines.
1032 % \begin{macrocode}
1033 cmchar "Linear B sign ja";
1034 beginglyph("j",0.6);
1035 x1=x2=x3=x4=leftloc; % left points
1036 y1=0; y4=h; y2=1/3[y1,y4]; y3=2/3[y1,y4];
1037 x5=x6=x7=x8=rightloc;
1038 y5=y1; y6=y2; y7=y3; y8=y4;
1039 draw z1--z4--z8--z5--cycle; % exterior
1040 draw z2--z6; draw z3--z7; % lines
1041 labels(1,2,3,4,5,6,7,8); endchar;
1042
1043 % \end{macrocode}
1044 % \end{routine}
1045 %
1046 % \begin{routine}{je}
1047 % The sign \textit{je}.
1048 % \begin{macrocode}
1049 cmchar "Linear B sign je";
1050 beginglyph("J",0.6);
1051 path p[]; numeric alpha; alpha:=0.8;
1052 x1=leftloc; y1=0; x2=rightloc; y2=h; % left leg
1053 p1=z1{up}..z2;
1054 z3 = point alpha of p1;
1055 x5=x2; y5=y1; x6=x1; y6=y2; % right leg
1056 p2=z5{up}..z6;
1057 z7 = point alpha of p2;
1058 z4'=z3 shifted (w*(1,-1));
1059 z4 = whatever[z3,z4']= whatever[z5,z2];
1060 z7'= z7 shifted (w*(-1,-1));
1061 z8 = whatever[z7,z7'] = whatever[z1,z6];
1062 draw p1; draw z3--z4; % left leg
1063 draw p2; draw z7--z8; % right leg
1064 labels(1,2,3,4,5,6,7,8); endchar;
1065
1066 % \end{macrocode}
1067 % \end{routine}
1068 %
1069 % \begin{routine}{jo}
1070 % The sign \textit{jo}. An angled top bar on a kinked stem.
1071 % \begin{macrocode}
1072 cmchar "Linear B sign jo";
1073 beginglyph("b",0.4);
1074 x1=x2=x4=midloc; y1=0; % center points
1075 x6=leftloc; y6=h-tiny; x7=rightloc; y7=h; % crossbar
1076 z5=0.5[z6,z7];
1077 y4=y5-small; y2=y4-medium;
1078 x3=0.75[x4,x7]; y3=0.5[y2,y4];
1079 draw z6--z7; % crossbar
1080 draw z1--z2; draw z4--z5; draw z2{right}..z3..{left}z4; % stem
1081 labels(1,2,3,4,5,6,7,8); endchar;
1082
1083 % \end{macrocode}
1084 % \end{routine}
1085 %
1086 % \begin{routine}{ju}
1087 % The sign \textit{ju}. Looks a bit like a chair.
1088 % \begin{macrocode}
1089 cmchar "Linear B sign ju";
1090 beginglyph("L",0.8);
1091 x1=x5=leftloc; y1=0; y5=h-tiny; % back and leg
1092 x4=x1+tiny; y4=h;
1093 x2=0.5[x1,x4]; y2=1/2h;
1094 x9=rightloc-tiny; y9=0; % seat and leg
1095 x7=x9; y7=y2+tiny;
1096 x8=rightloc; y8=y7-2tiny;
1097 z10=1/3[z1,z9]; z12=2/3[z1,z9];
1098 x11=x10; x13=x12;
1099 y11=y2; y13=1/3[y2,y4];
1100 draw z1--z2--z4--z5; % back leg
1101 draw z2---z7..z8---z9; % seat and leg
1102 draw z10--z11; draw z12--z13; % other legs
1103 labels(1,2,3,4,5,6,7,8,9,10,11,12,13); endchar;
1104
1105 % \end{macrocode}
1106 % \end{routine}
1107 %
1108 % \begin{routine}{ka}
1109 % The sign \textit{ka}. It is a circle with horizontal and vertical diameters.
1110 % \begin{macrocode}
1111 cmchar "Linear B sign ka";
1112 beginglyph("k",0.8);
1113 numeric rad; rad:=0.5*(rightloc-leftloc);
1114 x0=midloc; y0=h/2;
1115 x1=x0-rad; x3=x0+rad;
1116 y2=y0+rad; y4=y0-rad;
1117 x2=x4=x0;
1118 y1=y3=y0;
1119 draw z1..z2..z3..z4..cycle; % the circle
1120 draw z1--z3; draw z2--z4; % the cross
1121 labels(0,1,2,3,4); endchar;
1122
1123 % \end{macrocode}
1124 % \end{routine}
1125 %
1126 % \begin{routine}{ke}
1127 % The sign \textit{ke}. A W on curved legs (similar to \textit{de}).
1128 % \begin{macrocode}
1129 cmchar "Linear B sign ke";
1130 beginglyph("K",0.8);
1131 numeric alpha; alpha:=0.01;
1132 x8=leftloc; x9=rightloc; y8=y9=0; % base points
1133 y2=y4=y6=h; % top points
1134 y1=y3=y5=y7=0.7h; % middle points
1135 x1=x8+alpha*w; x7=x9-alpha*w;
1136 x2=1/6[x1,x7]; x3=2/6[x1,x7]; x4=3/6[x1,x7]; x5=4/6[x1,x7]; x6=5/6[x1,x7];
1137 x10=x11=x4; y10=y3; % line points
1138 y10-y11 = y4-y3;
1139 draw z1--z2--z3--z4--z5--z6--z7; % top wavy
1140 draw z3--z5; % triangle base
1141 draw z8{up}..z5; draw z9{up}..z3; % legs
1142 draw z10--z11; % line
1143 labels(1,2,3,4,5,6,7,8,9,10,11);
1144 endchar;
1145
1146 % \end{macrocode}
1147 % \end{routine}
1148 %
1149 % \begin{routine}{ki}
1150 % The sign \textit{ki}, which is like a triangle with a bow at top left.
1151 % \begin{macrocode}
1152 cmchar "Linear B sign ki";
1153 beginglyph("c",0.8);
1154 numeric rad; rad:=small;
1155 x0=leftloc+rad; y0=h-rad; % circle center
1156 path p;
1157 p=fullcircle scaled (2rad) shifted z0;
1158 z2 = directionpoint (1,1) of p; % triangle points
1159 x3=rightloc; y3=y2;
1160 x1=0.5[x2,x3]; y1=0;
1161 z4=z2 shifted (-rad,-rad);
1162 z5-z2=z2-z4;
1163 draw z1--z2--z3--cycle; % triangle
1164 draw z4--z5; draw p; % bow
1165
1166 labels(0,1,2,3,4,5,6,7,8,9); endchar;
1167
1168 % \end{macrocode}
1169 % \end{routine}
1170 %
1171 % \begin{routine}{ko}
1172 % The sign \textit{ko}, which is like an icecream cone.
1173 % \begin{macrocode}
1174 cmchar "Linear B sign ko";
1175 beginglyph("h",0.4);
1176 numeric rad; rad:=0.5*(rightloc-leftloc);
1177 x1=x6=midloc; y1=0; y6=h; % axis points
1178 x5=leftloc; x7=rightloc; % circle horizontal diameter
1179 y5=y7=y6-rad;
1180 x9=x6; y9=y6-2rad;
1181 x2=x9-rad/2; x3=x9+rad/2; % cone points
1182 y2=y3=3/4[y9,y5];
1183 path p[];
1184 p1=z5{down}..z9{right}..{up}z7;
1185 p2=z1--z2; p3=z1--z3;
1186 z4 = p2 intersectionpoint p1;
1187 z8 = p3 intersectionpoint p1;
1188 draw z1--z2--z3--cycle; % cone
1189 draw z4..z5{up}..z6{right}..z7{down}..z8; % icecream
1190 labels(1,2,3,4,5,6,7,8,9); endchar;
1191
1192 % \end{macrocode}
1193 % \end{routine}
1194 %
1195 % \begin{routine}{ku}
1196 % The sign \textit{ku}, which is similar to our modern B, but no upright and
1197 % a faucet on the upper bowl. The correction by \jurgen{} looks very different,
1198 % a bit like |w)?|, or a satelite TV dish.
1199 % \begin{verbatim}
1200 cmchar "Linear B sign ku (original)";
1201 % beginglyph("v",0.6);
1202 % x1=x3=x5=leftloc;
1203 % x2=x4=rightloc-small;
1204 % bot y1=-o; top y5=h;
1205 % y2=1/4h; y3=1/2h; y4=3/4h;
1206 % path p;
1207 % p = z3{right}..z4..z5{left}; % upper bowl
1208 % z6 = directionpoint (1,1) of p; % faucet
1209 % x7=rightloc; y7=y6;
1210 % x8=x7; y8=0.5[y2,y3];
1211 % draw z1{right}..z2..z3{left}; % lower bowl
1212 % draw p; % upper bowl
1213 % draw z6--z7--z8; % faucet
1214 % labels(1,2,3,4,5,6,7,8); endchar;
1215 % \end{verbatim}
1216 %
1217 % \begin{macrocode}
1218 cmchar "Linear B sign ku)";
1219 beginglyph("v",0.6);
1220 numeric alpha; alpha:=1/3(rightloc-leftloc);
1221 numeric beta; beta:=0.5alpha;
1222 x1=x3=leftloc; x2=rightloc-alpha; y1=0; y2=h/2; y3=h; % the right paren
1223 x12=leftloc; x11=x13=1/4[x12,x2]; % the w
1224 x14=1/2[x12,x2]; x15=3/4[x12,x2];
1225 y11=y2; y13=y15=y2-beta; y12=y14=0.5[y11,y13];
1226 x23=rightloc; x21=x22=0.5[x2,x23]; % the ?
1227 y21=0; y23=y13; y23-y22=y2-y23;
1228 draw z1..z2{up}..z3; % the paren
1229 draw z11..z12..z13..z14; draw z14..z15..z2; % the w
1230 draw z2{right}..z23..{down}z22--z21; % the ?
1231 labels(1,2,3,11,12,13,14,15,21,22,23,24);
1232 endchar;
1233
1234 % \end{macrocode}
1235 % \end{routine}
1236 %
1237 % \begin{routine}{ma}
1238 % The sign \textit{ma}. My original was a bit like a V in a bucket.
1239 % \jurgen's correction is more like a Y with two stirrups.
1240 % \begin{verbatim}
1241 cmchar "Linear B sign ma (original)";
1242 % beginglyph("m",0.75);
1243 % x1=leftloc; x3=midloc; x5=rightloc; % triangley
1244 % y1=y5=h; y3=1/8h;
1245 % z2=3/4[z3,z1]; z4=3/4[z3,z5]; % top of bucket
1246 % x6=x8=x2; x7=x9=x4; % bottom lines
1247 % y6=y7=0; y8=y9=y3;
1248 % draw z1--z3--z5; % triangle
1249 % draw z2--z6--z7--z4; draw z8--z9; % bucket
1250 % labels(1,2,3,4,5,6,7,8,9); endchar;
1251 % \end{verbatim}
1252 %
1253 % \begin{macrocode}
1254 cmchar "Linear B sign ma";
1255 beginglyph("m",0.75);
1256 x1=leftloc; x2=x3=midloc; x4=rightloc; % The Y
1257 y1=y4=h; y2=1/2h; y3=0;
1258 z5=0.5[z1,z2]; % top of left stirrup strap
1259 x7=x9=0.5[x5,x2]; x8=0.5[x5,x1]; % left stirrup
1260 y9=1/6[y3,y2]; y7=2/3[y9,y2]; y8=0.5[y7,y9];
1261 path p; p=z7..z8..z9; % strap point on stirrup
1262 z6=point 0.5 of p;
1263 z15=z5 reflectedabout (z3,z2); % right strap and stirrup
1264 z16=z6 reflectedabout (z3,z2);
1265 z17=z7 reflectedabout (z3,z2);
1266 z18=z8 reflectedabout (z3,z2);
1267 z19=z9 reflectedabout (z3,z2);
1268 draw z1--z2--z3; draw z4--z2; % Y
1269 draw z5--z6; draw z7..z8..z9; % straps
1270 draw z15--z16; draw z17..z18..z19; % right half
1271 labels(1,2,3,4,5,6,7,8,9); endchar;
1272
1273 % \end{macrocode}
1274 % \end{routine}
1275 %
1276 % \begin{routine}{me}
1277 % The sign \textit{me}. A walking stick with a flash at the curved handle.
1278 % \begin{macrocode}
1279 cmchar "Linear B sign me";
1280 beginglyph("M",0.8);
1281 numeric alpha; alpha:=2/3;
1282 x1=x2=midloc; y1=0; y2=alpha*h; % right vertical and curve
1283 x4=leftloc; x3=0.5[x4,x1]; y4=y3=h;
1284 x5=x3; y5=y2; % cross
1285 path p[]; % right jiggle
1286 p1=z1--z2{up}..{left}z3--z4;
1287 z6 = point 1.33 of p1;
1288 x9=rightloc; y9=y2;
1289 z8=1/3[z2,z9];
1290 x7=0.5[x2,x9]; y7=y6;
1291 draw p1; % vertical and curve
1292 draw z2--z5--z3; % cross
1293 draw z6--z7--z8--z9; % jiggle
1294 labels(1,2,3,4,5,6,7,8,9);
1295 endchar;
1296
1297 % \end{macrocode}
1298 % \end{routine}
1299 %
1300 % \begin{routine}{mi}
1301 % The sign \textit{mi}. A bit like a V.
1302 % \begin{macrocode}
1303 cmchar "Linear B sign mi";
1304 beginglyph("y",0.8);
1305 numeric alpha; alpha:=small;
1306 x1=leftloc; x2=x1+alpha; x3=x4=x1+2alpha; % left half
1307 y1=y3=h-alpha; y2=h; y4=0;
1308 x7=rightloc; y7=h; % right half
1309 x6=x7-alpha; y6=y7-alpha;
1310 x5=x7; y5=y6-alpha;
1311 draw z1..z2..z3---z4; % left half
1312 draw z4{up}..{(1,1)}z5--z6--z7; % right half
1313 labels(1,2,3,4,5,6,7,8,9);
1314 endchar;
1315
1316 % \end{macrocode}
1317 % \end{routine}
1318 %
1319 % \begin{routine}{mo}
1320 % The sign \textit{mo}, having a vague resemblance to a shepherd's crook.
1321 % \jurgen{} gives a different sign looking like a reflected epsilon by a kinked
1322 % stem.
1323 % \begin{verbatim}
1324 cmchar "Linear B sign mo (initial)";
1325 % beginglyph("A",0.8);
1326 % numeric alpha; alpha:=small;
1327 % x1=x2=x4=midloc; y1=0; y2=0.65h; y4=h; % shepherds crook
1328 % x3=rightloc; y3=0.5[y2,y4];
1329 % x5=leftloc; y5=0.5[y2,y3];
1330 % path p;
1331 % p = z5..z4{right}..z3{down}..z2--z1;
1332 % z6 = point 0.3 of p; % lines
1333 % z8 = point 0.6 of p;
1334 % z7=z6 shifted (alpha*(-1,1));
1335 % z9=z8 shifted (alpha*(-1,1));
1336 % draw p;
1337 % draw z6--z7; draw z8--z9;
1338 % labels(1,2,3,4,5,6,7,8,9);
1339 % endchar;
1340 % \end{verbatim}
1341 %
1342 % \begin{macrocode}
1343 cmchar "Linear B sign mo";
1344 beginglyph("A",0.6);
1345 numeric alpha; alpha:=small;
1346 numeric rad; rad:=0.15h;
1347 numeric beta; beta:=0.2h; % e radius
1348 numeric gam; gam:=1.5; % the tension
1349 x3=rightloc; % stem points
1350 x1=x2=x4=x5=x0=x3-0.75rad;
1351 y1=0; y5=h; y0=h-rad-alpha;
1352 y2=y0-rad; y4=y0+rad; y3=y0;
1353 x7-x0 = x0-x3; y7=y0; % midpoint of e arc perimeter
1354 z9'=z7 shifted (beta*left); z9=z9' shifted (tiny*up);
1355 z6'=z9 shifted (beta*down); z6=z6' shifted (tiny*left);
1356 z8'=z9 shifted (beta*up); z8=z8' shifted (tiny*right);
1357 %%draw z1..tension gam..z2..tension gam..z3..tension gam..z4..tension gam..z5;
1358 %%draw z1---z2..tension gam..z3..tension gam..z4---z5;
1359 draw z1--z2{up}..z3..{up}z4--z5;
1360 draw z7--z9; % the e
1361 draw z6..z7..z8;
1362 labels(0,1,2,3,4,5,6,7,8,9); endchar;
1363
1364 % \end{macrocode}
1365 % \end{routine}
1366 %
1367 % \begin{routine}{mu}
1368 % The sign \textit{mu}.
1369 % \begin{macrocode}
1370 cmchar "Linear B sign mu";
1371 beginglyph("B",0.8);
1372 numeric rad; rad:=small;
1373 x1=x2=leftloc+2rad; y1=0; y2=h-rad; % stem
1374 x3=x5=leftloc+rad; y3=h; y5=y3-2rad;
1375 x4=leftloc; y4=y2;
1376 x6=x8=rightloc; y6=y5; y8=y3; % bar and curve
1377 x7=x6-rad; y7=0.5[y6,y8];
1378 x9=x7-1/2rad; y9=y6;
1379 x10=x9; y10=y9-2rad;
1380 draw z1--z2{up}..z3{left}..z4{down}..{right}z5--z6; % stem and bar
1381 draw z6{left}..z7{up}..{right}z8; % curve
1382 draw z9--z10;
1383 labels(1,2,3,4,5,6,7,8,9,10);
1384 endchar;
1385
1386 % \end{macrocode}
1387 % \end{routine}
1388 %
1389 % \begin{routine}{na}
1390 % The sign \textit{na}. Sort of semi-mirrored version of \textit{jo} (i.e.,
1391 % an angled top bar on a kinked stem).
1392 % \jurgen{} instead draws it as a Y with two bars on top.
1393 % \begin{verbatim}
1394 cmchar "Linear B sign na (original)";
1395 % beginglyph("n",0.4);
1396 % x1=x2=midloc; y1=0; % center points
1397 % x6=leftloc; y6=h-tiny; x7=rightloc; y7=h; % crossbar
1398 % z5=0.5[z6,z7];
1399 % y4=y5-small; y2=y4-small; x4=x2+small;
1400 % x3=0.5[x2,x6]; y3=0.5[y2,y4];
1401 % z8'= z6 shifted (tiny*down); z9'= z7 shifted (tiny*down);
1402 % z8 =0.45[z8',z9']; z9=0.55[z8',z9'];
1403 % draw z6--z7; % crossbar
1404 % draw z1--z2; draw z2{left}..z3..{right}z4; % stem
1405 % draw z8--z9; % little bar
1406 % labels(1,2,3,4,5,6,7,8); endchar;
1407 % \end{verbatim}
1408 %
1409 % \begin{macrocode}
1410 cmchar "Linear B sign na";
1411 beginglyph("n",0.4);
1412 numeric alpha; alpha:=(rightloc-leftloc);
1413 x1=leftloc; x3=rightloc; y1=y3=2/3h; % top of Y
1414 x2=x4=midloc; y4=0; y2=2/3[y4,y1]; % leg of Y
1415 x5=x6=midloc; y6=h; y5=0.5[y1,y6]; % dash centers
1416 draw z1--z2--z3; draw z4--z2; % Y
1417 draw_hdash(5,alpha); draw_hdash(6,alpha); % crossbars
1418 labels(1,2,3,4,5,6); endchar;
1419
1420 % \end{macrocode}
1421 % \end{routine}
1422 %
1423 % \begin{routine}{ne}
1424 % The sign \textit{ne}. A bit like a telegraph pole. \jurgen{} suggested
1425 % shortening the top bar.
1426 % \begin{macrocode}
1427 cmchar "Linear B sign ne";
1428 beginglyph("N",1.0);
1429 numeric rad;
1430 x1=x2=x3=midloc; y1=0; y2=h; y3=2/3[y1,y2]; % stem
1431 rad:=0.2*(y2-y3); % circle radius
1432 x6=leftloc; y6=y16=y3+4rad; x16=rightloc; % curvey bar
1433 x7=x6+rad; x15=x16-rad; y7=y15=y6;
1434 x8=x9=x7+rad; x14=x13=x15-rad; y8=y14=y7-rad; y9=y13=y3+rad;
1435 x10=x9+rad; x12=x13-rad; y10=y12=y3;
1436 z0l=(x10,y9); z0r=(x12,y13); % circle centers
1437 %%x4=x0l; x5=x0r; y4=y5=y2; % top bar
1438 x4=0.25[x0l,x2]; x5=0.25[x0r,x2]; y4=y5=y2; % top bar
1439 draw z1--z2; % stem
1440 draw z4--z5; % top bar
1441 draw z6..z8..{down}z9; draw z10--z12; draw z13{up}..z14..z16;
1442 draw fullcircle scaled (2rad) shifted z0l;
1443 draw fullcircle scaled (2rad) shifted z0r;
1444 labels(0l,0r,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16); endchar;
1445
1446 % \end{macrocode}
1447 % \end{routine}
1448 %
1449 % \begin{routine}{ni}
1450 % The sign \textit{ni}. A curved V with dashes near the top.
1451 % \begin{macrocode}
1452 cmchar "Linear B sign ni";
1453 beginglyph("C",0.6);
1454 numeric alpha, beta;
1455 alpha:=0.2; beta:=tiny;
1456 x1=leftloc; x2=midloc; x3=rightloc; y1=y3=h; y2=0; % V
1457 path p[];
1458 p1=z1{(1,-1)}...{down}z2;
1459 p2=z3{(-1,-1)}...{down}z2;
1460 z5 = point alpha of p1;
1461 z8 = point alpha of p2;
1462 z4=z5 shifted (beta*(-1,-1)); z6=z5 shifted (beta*(1,1));
1463 z7=z8 shifted (beta*(-1,1)); z9=z8 shifted (beta*(1,-1));
1464 draw p1; draw p2; % V
1465 draw z4--z6; draw z7--z9; % dashes
1466 labels(1,2,3,4,5,6,7,8,9); endchar;
1467
1468 % \end{macrocode}
1469 % \end{routine}
1470 %
1471 % \begin{routine}{no}
1472 % The sign \textit{no}.
1473 % \begin{macrocode}
1474 cmchar "Linear B sign no";
1475 beginglyph("E",1.0);
1476 numeric alpha, beta;
1477 alpha:=small; beta:=tiny;
1478 x1=x2=leftloc; y1=h; x3=x2+alpha; y3=1/3h; y2=y3+alpha; % curves
1479 x4=x5-alpha; y4=y3; x5=rightloc; y5=y4+alpha;
1480 x6=x4; x9=x5;
1481 y6=y5+alpha; y7=y6+alpha/2; y8=y9=y7+alpha/2;
1482 x7=x6-alpha/2; x8=0.5[x7,x9];
1483 x10=x11=1/4[x2,x7]; % toast rack
1484 x12=x13=1/2[x2,x7];
1485 x14=x15=3/4[x2,x7];
1486 y10=y12=y14=y3;
1487 y11=y13=y15=y1;
1488 x16=x10; x17=x14; y16=y17=0; % legs
1489 draw z1---z2{down}..{right}z3---z4{right}..z5..z6..z7..z8--z9;
1490 draw z10--z11; % toast rack
1491 draw z12--z13;
1492 draw z14--z15;
1493 draw z16--z12--z17; % legs
1494 labels(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15); endchar;
1495
1496 % \end{macrocode}
1497 % \end{routine}
1498 %
1499 % \begin{routine}{nu}
1500 % The sign \textit{nu}. Two semicircles within two uprights.
1501 % \begin{macrocode}
1502 cmchar "Linear B sign nu";
1503 beginglyph("F",0.6);
1504 numeric alpha, beta;
1505 alpha:=0.2*(rightloc-leftloc);
1506 beta:=small;
1507 x1=x2=leftloc; x3=x4=rightloc; y1=y3=0; y2=y4=h; % uprights
1508 x9=x6=midloc; x5=x8=x6-alpha; x10=x7=x6+alpha; % curves
1509 y8=y10=h/2 - beta; y5=y7=h/2 + beta;
1510 y6=y5+3/2alpha; y9=y8-3/2alpha;
1511 draw z1--z2; draw z3--z4; % uprights
1512 draw z5{up}..z6..{down}z7; % curves
1513 draw z8{down}..z9..{up}z10;
1514 labels(1,2,3,4,5,6,7,8,9); endchar;
1515
1516 % \end{macrocode}
1517 % \end{routine}
1518 %
1519 % \begin{routine}{pa}
1520 % The sign \textit{pa}. Like a Lorraine cross. \jurgen{} drew this with
1521 % the crossbars equidistant from the center.
1522 % \begin{macrocode}
1523 cmchar "Linear B sign pa";
1524 beginglyph("p",0.4);
1525 x1=x2=midloc; y1=0; y2=h; % stem
1526 x3=x5=leftloc; % crossbars
1527 %%y3=0.7h; y5=0.85h;
1528 y3=0.375h; y5=0.625h;
1529 x4=x6=rightloc; y4=y3; y6=y5;
1530 draw z1--z2; % stem
1531 draw z3--z4; draw z5--z6; % cross bars
1532 labels(1,2,3,4,5,6,7,8,9); endchar;
1533
1534 % \end{macrocode}
1535 % \end{routine}
1536 %
1537 % \begin{routine}{pe}
1538 % The sign \textit{pe}.
1539 % \begin{macrocode}
1540 cmchar "Linear B sign pe";
1541 beginglyph("P",0.4);
1542 numeric alpha, beta; alpha:=0.2;
1543 x1=x2=leftloc; y1=0; y2=h; % stem
1544 x3=x4=rightloc; y3=alpha[y1,y2]; y4=(1-alpha)[y1,y2];
1545 x6=0.5[x1,x3]; y6=h/2;
1546 beta:=0.5*(x6-x1);
1547 x5=x7=x1; y7=y6+beta; y5=y6-beta;
1548 draw z3--z1--z2--z4;
1549 draw z5..z6..z7;
1550 labels(1,2,3,4,5,6,7); endchar;
1551
1552 % \end{macrocode}
1553 % \end{routine}
1554 %
1555 % \begin{routine}{pi}
1556 % The sign \textit{pi}. A triangle with a vertical divider and a crossbar
1557 % near the apex.
1558 % \begin{macrocode}
1559 cmchar "Linear B sign pi";
1560 beginglyph("G",0.6);
1561 x1=x6=leftloc; x3=x7=rightloc; x4=midloc; % base points
1562 y1=y3=y4=0;
1563 x2=midloc; y2=h; % apex
1564 y6=y7=0.65h; % upper bar
1565 draw z1--z2--z3--cycle; % the main triangle
1566 draw z2--z4; % vertical bisector
1567 draw z6--z7; % upper bar
1568 labels(1,2,3,4,5,6,7);
1569 endchar;
1570
1571 % \end{macrocode}
1572 % \end{routine}
1573 %
1574 % \begin{routine}{po}
1575 % The sign \textit{po}. \jurgen{} drew an upright and more angular version of
1576 % my original.
1577 % \begin{verbatim}
1578 % cmchar "Linear B sign po (original)";
1579 % beginglyph("H",0.6);
1580 % x4=leftloc; y4=h/3; x7=x4+small; y7=h; % LHS
1581 % z5=1/3[z4,z7]; z6=2/3[z4,z7];
1582 % x3=rightloc; y3=h; % RHS
1583 % x2=x3-small; y2=y5;
1584 % x1=midloc; y1=0;
1585 % draw z4--z7; % LHS
1586 % draw z1--z2--z5; draw z6--z3; % RHS
1587 % labels(1,2,3,4,5,6,7); endchar;
1588 % \end{verbatim}
1589 %
1590 % \begin{macrocode}
1591 cmchar "Linear B sign po";
1592 beginglyph("H",0.6);
1593 x1=x2=leftloc; y1=h; y2=h/2; % LHS
1594 x3=x4=rightloc; y3=y2; y4=0; % RHS
1595 z5=0.5[z1,z2]; x6=rightloc; y6=y5; % bar
1596 draw z1--z2--z3--z4; % h shape
1597 draw z5--z6; % bar
1598 labels(1,2,3,4,5,6,7);
1599 endchar;
1600
1601 % \end{macrocode}
1602 % \end{routine}
1603 %
1604 % \begin{routine}{pu}
1605 % The sign \textit{pu}. An elephant with three legs and raised trunk.
1606 % \begin{macrocode}
1607 cmchar "Linear B sign pu";
1608 beginglyph("I",0.6);
1609 numeric rad; rad:=small;
1610 x1=leftloc; y1=0; % bottom left
1611 x8=rightloc; y9=h; y8=y9-rad; x9=x8-rad; % curl at top right
1612 x7=x9; y7=y8-rad;
1613 y2=y7-rad; x2=x1+rad;
1614 path p[];
1615 p1=z1{up}..z2..{right}z7..{up}z8..{left}z9;
1616 x5=x6=x7; y6=0; y5=y7;
1617 x4=0.5[x1,x6]; y4=0;
1618 z4'=z4 shifted (h*up);
1619 z3 = (z4--z4') intersectionpoint p1;
1620 draw p1;
1621 draw z4--z3; draw z6--z5;
1622 labels(1,2,3,4,5,6,7,8,9);
1623 endchar;
1624
1625 % \end{macrocode}
1626 % \end{routine}
1627 %
1628 % \begin{routine}{qa}
1629 % The sign \textit{qa}. A circle with ears, on a stem.
1630 % \begin{macrocode}
1631 cmchar "Linear B sign qa";
1632 beginglyph("q",0.8);
1633 numeric alpha; alpha:=0.2*(rightloc-leftloc);
1634 numeric rad; rad:=0.3*(rightloc-leftloc);
1635 x0=midloc; y0=h-rad; % circle center
1636 x1=x2=x5=x0; % mid vertical points
1637 y1=0; y2=y0-rad; y5=y0+rad;
1638 y3=y6=y0; % mid horizontal points
1639 x3=x0-rad; x6=x0+rad;
1640 path p[]; % ears
1641 p1=z2{left}..z3{up}..{right}z5;
1642 p2=z5{right}..z6{down}..{left}z2;
1643 x7'=leftloc; y7'=y3-0.5rad; x11'=rightloc; y11'=y7';
1644 p3=z7'--z11';
1645 z7= p3 intersectionpoint p1;
1646 z11= p3 intersectionpoint p2;
1647 x8=leftloc; y8=0.5[y3,y7];
1648 x10=rightloc; y10=y8;
1649 draw p1; draw p2; % circle
1650 draw z1--z2; % stem
1651 draw z3..z8..z7; draw z6..z10..z11; % ears
1652 labels(1,2,3,4,5,6,7,8,9); endchar;
1653
1654 % \end{macrocode}
1655 % \end{routine}
1656 %
1657 % \begin{routine}{qe}
1658 % The sign \textit{qe}. A circle with 4 interior dashes.
1659 % \begin{macrocode}
1660 cmchar "Linear B sign qe";
1661 beginglyph("Q",0.8);
1662 numeric alpha, beta;
1663 numeric rad; rad:=0.5*(rightloc-leftloc);
1664 alpha:=0.3rad;
1665 beta:= small;
1666 x0=midloc; y0=h/2; % circle center
1667 x1=x2=x5=x0; % mid vertical points
1668 y1=0; y2=y0-rad; y5=y0+rad;
1669 y3=y6=y0; % mid horizontal points
1670 x3=x0-rad; x6=x0+rad;
1671
1672 z10'=z0 shifted (alpha*(1,1));
1673 z11'=z0 shifted (alpha*(1,-1));
1674 z12'=z0 shifted (alpha*(-1,-1));
1675 z13'=z0 shifted (alpha*(-1,1));
1676 draw fullcircle scaled (2rad) shifted z0;
1677 draw_hdash(10',beta); draw_hdash(11',beta); draw_hdash(12',beta); draw_hdash(13',beta);
1678 labels(1,2,3,4,5,6,7,8,9,10,10',11,11',12,12',13,13'); endchar;
1679
1680 % \end{macrocode}
1681 % \end{routine}
1682 %
1683 % \begin{routine}{qi}
1684 % The sign \textit{qi}. A T with an additional wavy line under the crossbar.
1685 % \begin{macrocode}
1686 cmchar "Linear B sign qi";
1687 beginglyph("X",0.8);
1688 numeric alpha, beta;
1689 alpha:=small;
1690 beta:=medium;
1691 x1=leftloc; x2=rightloc-alpha; y1=y2=h; % top bar
1692 x3=0.25[x1,x2]; y3=y1; % wave
1693 x4=0.25[x3,x2]; y4=y3-beta;
1694 x6=rightloc; y6=y3-0.5beta;
1695 x7=0.8[x1,x2]; y7=y1; % stem
1696 x8=x7; y8=0;
1697 draw z1--z2; % top bar
1698 draw z8--z7; % stem
1699 draw z3..z4{right}..z2{right}..z6; % wave
1700 labels(1,2,3,4,5,6,7,8,9); endchar;
1701
1702 % \end{macrocode}
1703 % \end{routine}
1704 %
1705 % \begin{routine}{qo}
1706 % The sign \textit{qo}. Vertically symmetric with the right half like an
1707 % L on top of the right half of a T.
1708 % \begin{macrocode}
1709 cmchar "Linear B sign qo";
1710 beginglyph("8",0.6);
1711 numeric alpha, beta;
1712 alpha:=small;
1713 beta:=small;
1714 x1=x2=midloc; y1=0; y2=h/2; % stem
1715 x5=leftloc; x8=rightloc; % the Ls
1716 y5=y6=y9=y8=3/4h; y7=y10=h;
1717 x6=x7=1/3[x5,x8]; x9=x10=2/3[x5,x8];
1718 x3=0.5[x5,x6]; x4=0.5[x8,x9]; y3=y4=0.5[y2,y5]; % bar
1719 draw z1--z2; % stem
1720 draw z3--z4; % bar
1721 draw z5--z6--z7; % left L
1722 draw z8--z9--z10; % right L
1723 labels(1,2,3,4,5,6,7,8,9,10); endchar;
1724
1725 % \end{macrocode}
1726 % \end{routine}
1727 %
1728 % \begin{routine}{ra}
1729 % The sign \textit{ra}. Like an `L' with a kerned c.
1730 % \begin{macrocode}
1731 cmchar "Linear B sign ra";
1732 beginglyph("r",0.6);
1733 x1=x2=leftloc; y1=h; y2=0; x3=rightloc; y3=y2; % the L
1734 x4=x6=x3; y4=y3+small; y6=y4+large; % the c
1735 x5=x4-0.5*(y6-y4); y5=0.5[y4,y6];
1736 draw z1--z2--z3; % L
1737 draw z4{left}..z5{up}..{right}z6; % c
1738 labels(1,2,3,4,5,6,7,8,9); endchar;
1739
1740 % \end{macrocode}
1741 % \end{routine}
1742 %
1743 % \begin{routine}{re}
1744 % The sign \textit{re}. Like a Greek \textit{psi}.
1745 % \begin{macrocode}
1746 cmchar "Linear B sign re";
1747 beginglyph("R",0.6);
1748 numeric rad;
1749 x1=x2=x4=midloc; y1=h; y2=0; % stem
1750 rad = 0.5*(rightloc-leftloc);
1751 x3=leftloc; y3=y5=h; x5=rightloc; y4=y3-rad;
1752 draw z1--z2; % stem
1753 draw z3..z4..z5; % bowl
1754 labels(1,2,3,4,5); endchar;
1755
1756 % \end{macrocode}
1757 % \end{routine}
1758 %
1759 % \begin{routine}{ri}
1760 % The sign \textit{ri}, sort of like a box on legs. \jurgen's rendition
1761 % is more like a pawn with a wsip of hair.
1762 % \begin{verbatim}
1763 % cmchar "Linear B sign ri (original)";
1764 % beginglyph("O",0.8);
1765 % numeric rad;
1766 % x1=leftloc; x2=rightloc; y1=y2=0.2h; % horizontal
1767 % x3=leftloc; y3=0; % left verticals
1768 % x4=x5=1/3[x1,x2]; y4=y1; y5=0.8h;
1769 % x6=rightloc; y6=0; % right verticals
1770 % x7=x8=2/3[x1,x2]; y7=y4; y8=y5;
1771 % x11=x5; y11=h; % top curve
1772 % draw z1--z2; % horizontal
1773 % draw z3--z4--z5--z8--z7--z6; % box and legs
1774 % draw z8{up}..{left}z11; % top curve
1775 % labels(1,2,3,4,5,6,7,8,9,10,11); endchar;
1776 % \end{verbatim}
1777 %
1778 % \begin{macrocode}
1779 cmchar "Linear B sign ri";
1780 beginglyph("O",0.4); %% was 0.6
1781 numeric beta; beta:=small;
1782 x1=leftloc; x3=rightloc; y1=y3=0.55h; % horizontal
1783 x4=0.1[x1,x3]; x5=0.1[x3,x1]; y4=y5=0; % legs
1784 z2=0.5[z1,z3];
1785 x14=x12=midloc; y14=h; % head
1786 y12=0.75[y2,y14];
1787 x11=0.3[x1,x2]; y11=2/3[y2,y12];
1788 z13=z11 reflectedabout (z2,z12);
1789 x15=x14-beta; y15=y14; %% y15=y14-0.5beta;
1790 draw z1--z3; % horizontal
1791 draw z4--z2--z5; % base
1792 draw z2..z13..{left}z12; draw z2..z11..{right}z12; % head
1793 draw z2..z13..z14..z15; % hair
1794 labels(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15); endchar;
1795
1796 % \end{macrocode}
1797 % \end{routine}
1798 %
1799 % \begin{routine}{ro}
1800 % The sign \textit{ro}. A cross.
1801 % \begin{macrocode}
1802 cmchar "Linear B sign ro";
1803 beginglyph("U",0.6);
1804 x1=x2=midloc; y1=0; y2=h;
1805 x3=leftloc; x4=rightloc; y3=y4=0.6h;
1806 draw z1--z2; draw z3--z4;
1807 labels(1,2,3,4); endchar;
1808
1809 % \end{macrocode}
1810 % \end{routine}
1811 %
1812 % \begin{routine}{ru}
1813 % The sign \textit{ru}. A bit like a tulip.
1814 % \begin{macrocode}
1815 cmchar "Linear B sign ru";
1816 beginglyph("V",0.6);
1817 x1=x2=midloc; y1=0; y2=0.75h;
1818 x5=leftloc; x6=rightloc;
1819 x3=0.25[x5,x6]; x4=0.75[x5,x6]; y3=y4=h;
1820 x7=x3; x8=x4; y7=y8=y2-0.1h;
1821 y5=y6=0.5[y7,y3];
1822 draw z1--z2; % stem
1823 draw z2{down}..z7{left}..z5{up}..z3; % left petal
1824 draw z2{down}..z8{right}..z6{up}..z4; % right petal
1825 labels(1,2,3,4); endchar;
1826
1827 % \end{macrocode}
1828 % \end{routine}
1829 %
1830 % \begin{routine}{sa}
1831 % The sign \textit{sa}. A Y with a dash on each arm.
1832 % \begin{macrocode}
1833 cmchar "Linear B sign sa";
1834 beginglyph("s",0.6);
1835 x1=midloc; y1=0;
1836 x3=leftloc; x4=rightloc; y3=y4=h;
1837 z3' = z3 shifted (w*(1,-1)); z4' = z4 shifted (w*(-1,-1));
1838 z2= whatever[z3,z3'] = whatever[z4,z4'];
1839 z5=0.5[z2,z3]; z6=0.5[z2,z4];
1840 z5'= z5 shifted (w*(-1,-1)); z6'= z6 shifted (w*(1,-1));
1841 z7 = whatever[z5,z5']; x7=x3;
1842 z8 = whatever[z6,z6']; x8=x4;
1843 draw z1--z2; % stem
1844 draw z3--z2--z4; % V
1845 draw z5--z7; draw z6--z8; %
1846 labels(1,2,3,4,5,6,7,8,9); endchar;
1847
1848 % \end{macrocode}
1849 % \end{routine}
1850 %
1851 % \begin{routine}{se}
1852 % The sign \textit{se}. An E rotated 90 degrees on a stem.
1853 % \begin{macrocode}
1854 cmchar "Linear B sign se";
1855 beginglyph("S",0.6);
1856 x1=x3=x2=leftloc; y1=0; y2=h; y3=2/3[y1,y2];
1857 x4=x5=midloc; x6=x7=rightloc;
1858 y4=y6=y3; y5=y7=y2;
1859 draw z1--z2; % upright
1860 draw z3--z6; % horizontal
1861 draw z4--z5; draw z6--z7; % short uprights
1862 labels(1,2,3,4,5,6,7); endchar;
1863
1864 % \end{macrocode}
1865 % \end{routine}
1866 %
1867 % \begin{routine}{si}
1868 % The sign \textit{si}. A bit like a cooling tower.
1869 % \begin{macrocode}
1870 cmchar "Linear B sign si";
1871 beginglyph("Y",0.6);
1872 numeric alpha; alpha:=small;
1873 x1=leftloc; y1=0; x3=x1+alpha; y3=h-alpha; % left leg
1874 x4=rightloc; y4=y1; x6=rightloc-alpha; y6=y3; % right leg
1875 path p[];
1876 p1 = z1..{up}z3; p2 = z4..{up}z6; % cross bar
1877 z2 = point 2/3 of p1;
1878 z5 = point 2/3 of p2;
1879 x7=x9=midloc; y9=h; y2-y7 = y3-y2; % vertical
1880 draw p1; draw p2; % legs
1881 draw z2--z5; % bar
1882 draw z9--z7; % vertical
1883 labels(1,2,3,4,5,6,7,8,9); endchar;
1884
1885 % \end{macrocode}
1886 % \end{routine}
1887 %
1888 % \begin{routine}{so}
1889 % The sign \textit{so}. A bit like a backwards ? mark with half a cross
1890 % at the left. \jurgen's version is a kinked stem with a pi rotated 90
1891 % degrees. However, I don't see that in any example tablets and it is not
1892 % in Robinson~\cite{ROBINSON02}.
1893 %
1894 % \begin{macrocode}
1895 cmchar "Linear B sign so";
1896 beginglyph("1",0.6);
1897 numeric alpha, beta;
1898 alpha:=medium;
1899 beta:=small;
1900 x5=rightloc-alpha; y5=0; % stem
1901 x8=rightloc; y8=h;
1902 x6=rightloc; y6=y8-2alpha;
1903 x7=x6-alpha; y7=0.5[y6,y8];
1904 x1=x2=x3=leftloc; % tother part
1905 y2=y7; y1=y2-2alpha; y3=y4=0.5[y1,y2];
1906 %%x4=x7-alpha;
1907 x4=0.5[x7,x2];
1908 draw z5---z6{left}..z7..z8; % stem
1909 draw z1--z2; draw z3--z4; % tother
1910 labels(1,2,3,4,5,6,7,8,9); endchar;
1911
1912 % \end{macrocode}
1913 %
1914 % \begin{verbatim}
1915 % cmchar "Linear B sign so (Jurgen's)";
1916 % beginglyph("1",0.6);
1917 % numeric alpha; alpha:=small;
1918 % numeric rad; rad:=0.15h;
1919 % numeric gam; gam:=1.5; % the tension
1920 % x3=rightloc; % stem points
1921 % x1=x2=x4=x5=x0=x3-0.75rad;
1922 % y1=0; y5=h; y0=h-rad-alpha;
1923 % y2=y0-rad; y4=y0+rad; y3=y0;
1924 % x6=x7=x8=x9=leftloc; x10=x11=x0-alpha; % [ points
1925 % y9=y5; y8=y11=y4; y7=y10=y2; y7-y6=y9-y8;
1926 % %%draw z1..tension gam..z2..tension gam..z3..tension gam..z4..tension gam..z5;
1927 % %%draw z1---z2..tension gam..z3..tension gam..z4---z5;
1928 % draw z1--z2{up}..z3..{up}z4--z5;
1929 % draw z6--z9; draw z7--z10; draw z8--z11;
1930 % labels(0,1,2,3,4,5,6,7,8,9,10,11); endchar;
1931 % \end{verbatim}
1932 %
1933 % \end{routine}
1934 %
1935 % \begin{routine}{su}
1936 % The sign \textit{su}. Like an angular sloping lowercase E, except that
1937 % \jurgen{} showed it upright without the small vertical dash.
1938 % \begin{verbatim}
1939 % cmchar "Linear B sign su (original)";
1940 % beginglyph("2",0.6);
1941 % numeric alpha;
1942 % alpha:=small;
1943 % x1=leftloc; x3=x1+alpha; y1=y4=0; y3=y7=h; % rectangle corner points
1944 % x7=rightloc; x4=x7-alpha;
1945 % z2=2/3[z1,z3];
1946 % z6=2/3[z4,z7];
1947 % z5=1/3[z4,z7];
1948 % draw z5--z4--z1--z3--z7--z6--z2;
1949 % labels(1,2,3,4,5,6,7,8,9); endchar;
1950 % \end{verbatim}
1951 %
1952 % \begin{macrocode}
1953 cmchar "Linear B sign su";
1954 beginglyph("2",0.6);
1955 numeric alpha;
1956 alpha:=small;
1957 x1=leftloc; x3=x1; y1=y4=0; y3=y7=h; % rectangle corner points
1958 x7=rightloc; x4=x7;
1959 z2=2/3[z1,z3];
1960 z6=2/3[z4,z7];
1961 z5=1/3[z4,z7];
1962 draw z4--z1--z3--z7--z6--z2;
1963 labels(1,2,3,4,5,6,7,8,9); endchar;
1964
1965 % \end{macrocode}
1966 % \end{routine}
1967 %
1968 % \begin{routine}{ta}
1969 % The sign \textit{ta}. Bit like a pi lying on its side.
1970 % \begin{macrocode}
1971 cmchar "Linear B sign ta";
1972 beginglyph("t",0.6);
1973 x1=x3=leftloc; y1=0; y3=h; % left upright
1974 x2=x3+small; y2=h/2;
1975 path p[];
1976 p1 = z1..z2{up}..z3;
1977 z4= point 0.5 of p1; z7= point 1.5 of p1;
1978 x6=x5=x8=x9=rightloc;
1979 y5=y4-small; y8=y7+small;
1980 y6=y1; y9=y3;
1981 draw p1; % upright
1982 draw z4--z5--z6; % bottom arm
1983 draw z7--z8--z9; % top arm
1984 labels(1,2,3,4,5,6,7,8,9); endchar;
1985
1986 % \end{macrocode}
1987 % \end{routine}
1988 %
1989 % \begin{routine}{te}
1990 % The sign \textit{te}. Vertical stem with three crossbars.
1991 % \begin{macrocode}
1992 cmchar "Linear B sign te";
1993 beginglyph("T",0.6);
1994 numeric alpha; alpha:=1/3;
1995 x1=x2=midloc; y1=0; y2=h; % upright
1996 x3=x4=x5=leftloc; x6=x7=x8=x1-alpha;
1997 x9=x10=x11=x1+alpha; x12=x13=x14=rightloc;
1998 y3=y6=y9=y12=alpha*h;
1999 y5=y8=y11=y14=(1-alpha)*h;
2000 y4=y7=y10=y13=0.5[y3,y5];
2001 draw z1--z2; % stem
2002 draw z3--z6; draw z4--z7; draw z5--z8; % left dashes
2003 draw z9--z12; draw z10--z13; draw z11--z14; % right dashes
2004 labels(1,2,3,4,5,6,7,8,9,10,11,12,13,14); endchar;
2005
2006 % \end{macrocode}
2007 % \end{routine}
2008 %
2009 % \begin{routine}{ti}
2010 % The sign \textit{ti}. A dome enclosing a vertical dash.
2011 % \begin{macrocode}
2012 cmchar "Linear B sign ti";
2013 beginglyph("3",0.6);
2014 numeric alpha; alpha:=0.15h;
2015 numeric beta; beta:=1.5; % for tension
2016 x1=leftloc; x3=rightloc; y1=y3=0; % base points
2017 x2=midloc; y2=h; % top point
2018 x4=x5=x6=midloc; y5=0.5h;
2019 y4=y5-alpha; y6=y5+alpha;
2020 draw z1{up}..tension beta..z2..tension beta..{down}z3; % curve
2021 draw z4--z6; % vertical
2022 labels(1,2,3,4,5,6); endchar;
2023
2024 % \end{macrocode}
2025 % \end{routine}
2026 %
2027 % \begin{routine}{to}
2028 % The sign \textit{to}. Like a T but two crossbars.
2029 % \begin{macrocode}
2030 cmchar "Linear B sign to";
2031 beginglyph("4",0.6);
2032 numeric alpha; alpha:=0.2;
2033 x1=x2=midloc; y1=0; y2=h; % stem
2034 x3=leftloc; x4=rightloc; y3=y4=y2; % top bar
2035 x5=alpha[x3,x4]; x6-x2=x2-x5; y5=y6=0.75h;
2036 draw z1--z2; % stem
2037 draw z3--z4; % top bar
2038 draw z5--z6; % middle bar
2039 labels(1,2,3,4,5,6); endchar;
2040
2041 % \end{macrocode}
2042 % \end{routine}
2043 %
2044 % \begin{routine}{tu}
2045 % The sign \textit{tu}. Like a heart with a stalk. \jurgen{} has the stalk
2046 % going down to the point of the heart.
2047 % \begin{macrocode}
2048 cmchar "Linear B sign tu";
2049 beginglyph("5",0.6);
2050 numeric alpha; alpha:=0.1h;
2051 x1=x5=midloc; y1=0;
2052 x3=leftloc; x7=rightloc;
2053 x4=0.25[x3,x7]; x6=0.75[x3,x7];
2054 y4=y6=h-alpha; y3=y7=2/3[y1,y4];
2055 y5=0.5[y3,y4];
2056 x10=x6; y10=h;
2057 draw z1{up}..z3{up}..z4{right}..z5; % left half
2058 draw z1{up}..z7{up}..z6{left}..z5; % right half
2059 %%draw z5{up}..z10; % stalk (original)
2060 draw z1---z5..z10; % stalk (jurgen)
2061 labels(1,2,3,4,5,6,7,8,9,10); endchar;
2062
2063 % \end{macrocode}
2064 % \end{routine}
2065 %
2066 % \begin{routine}{wa}
2067 % The sign \textit{wa}. A box on three legs
2068 % \begin{macrocode}
2069 cmchar "Linear B sign wa";
2070 beginglyph("w",0.6);
2071 x1=x2=x3=leftloc; y1=0; y2=0.67h; y3=h;
2072 x4=x5=midloc; y4=y1; y5=y2;
2073 x6=x7=x8=rightloc;
2074 y6=y1; y7=y2; y8=y3;
2075 draw z2--z3--z8--z7--cycle; % box
2076 draw z1--z2; draw z4--z5; draw z6--z7; % legs
2077 labels(1,2,3,4,5,6,7,8,9); endchar;
2078
2079 % \end{macrocode}
2080 % \end{routine}
2081 %
2082 % \begin{routine}{we}
2083 % The sign \textit{we}. A reversed `S'.
2084 % \begin{macrocode}
2085 cmchar "Linear B sign we";
2086 beginglyph("W",0.4);
2087 numeric alpha; alpha:=0.5*(rightloc-leftloc);
2088 x1=x5=leftloc; x6=x4=x2=midloc; x7=x3=rightloc;
2089 y6=0; y5=y7=y6+alpha; y4=h/2; y1=y3=y2-alpha; y2=h;
2090 draw z1..z2..z3..z4..z5..z6..z7;
2091 labels(1,2,3,4,5,6,7,8,9); endchar;
2092
2093 % \end{macrocode}
2094 % \end{routine}
2095 %
2096 % \begin{routine}{wi}
2097 % The sign \textit{wi}. A bit like a whale's tooth with a cross at the bottom.
2098 % \begin{macrocode}
2099 cmchar "Linear B sign wi";
2100 beginglyph("6",0.6);
2101 numeric alpha; alpha:=small;
2102 numeric beta; beta:= 0.15;
2103 x1=leftloc; x3=rightloc; x5=x3-alpha; y1=y5=0; y3=h; % curves
2104 path p[];
2105 p1=z1{up}..z3; p2=z5{up}..z3;
2106 z2= point beta of p1; z4= point beta of p2;
2107 x6=x7=0.5[x1,x5]; y6=y1; y7-y2=y2;
2108 draw p1; draw p2; draw z1--z5; % tooth
2109 draw z2--z4; draw z6--z7; % cross
2110 labels(1,2,3,4,5,6,7,8,9); endchar;
2111
2112 % \end{macrocode}
2113 % \end{routine}
2114 %
2115 % \begin{routine}{wo}
2116 % The sign \textit{wo}. Bit like pi with a small 3 tacked at the right of the
2117 % crossbar.
2118 % \begin{macrocode}
2119 cmchar "Linear B sign wo";
2120 beginglyph("7",0.6);
2121 numeric alpha; alpha:=small;
2122 numeric beta; beta:= 0.15;
2123 x1=x3=leftloc; x4=rightloc; x2=0.7[x1,x4]; y1=y4=0; y3=y2=h-alpha;
2124 x10=x11=x12=0.5[x2,x4]; x13=x14=rightloc; % the 3
2125 y12=h; y11=y2; y11-y10=y12-y11;
2126 y14=0.5[y11,y12]; y13=0.5[y10,y11];
2127 draw z1--z2; draw z3--z2{down}..z4; % main part
2128 draw z10..z13{up}..{left}z11; % the 3
2129 draw z12..z14{down}..{left}z11;
2130 labels(1,2,3,4,5,6,7,8,9,10,11,12,13,14); endchar;
2131
2132 % \end{macrocode}
2133 % \end{routine}
2134 %
2135 % \begin{routine}{za}
2136 % The sign \textit{za}. A circle on a stem with a crossbar at the bottom
2137 % of the circle.
2138 % \begin{macrocode}
2139 cmchar "Linear B sign za";
2140 beginglyph("z",0.8);
2141 numeric alpha; alpha:=0.2*(rightloc-leftloc);
2142 numeric rad; rad:=0.3*(rightloc-leftloc);
2143 x0=midloc; y0=h-rad; % circle center
2144 x1=x2=x5=x0; % mid vertical points
2145 y1=0; y2=y0-rad; y5=y0+rad;
2146 y3=y6=y0; % mid horizontal points
2147 x3=x0-rad; x6=x0+rad;
2148 path p[];
2149 p1=z2{left}..z3{up}..{right}z5;
2150 p2=z5{right}..z6{down}..{left}z2;
2151 x7=leftloc; y7=y2; x11=rightloc; y11=y7;
2152 p3=z7--z11;
2153 draw p1; draw p2; % circle
2154 draw z1--z2; % stem
2155 draw p3; % horizontal line
2156 labels(1,2,3,4,5,6,7,8,9); endchar;
2157
2158 % \end{macrocode}
2159 % \end{routine}
2160 %
2161 % \begin{routine}{ze}
2162 % The sign \textit{ze}. Looks a bit like a fish hook.
2163 % \begin{macrocode}
2164 cmchar "Linear B sign ze";
2165 beginglyph("Z",0.6);
2166 numeric rad; rad:=0.5*(rightloc-leftloc);
2167 numeric alpha; alpha:=0.2*(rightloc-leftloc);
2168 numeric beta;
2169 x1=x2=leftloc; y1=h; y2=rad; % the hook
2170 x3=midloc; y3=0; x4=rightloc; y4=y2;
2171 x5=x7=x1; y7=1/8[y2,y1]; y5=3/4[y2,y1]; % the lure
2172 x6=0.25[x2,x4]; y6=0.5[y7,y5];
2173 x10=x11=x12=x13=0.5[x6,x4]; % and dashes
2174 y10=0.1[y7,y5]; y13=0.9[y7,y5];
2175 y11=1/3[y10,y13]; y12=2/3[y10,y13];
2176 beta:=0.5(x4-x6);
2177 draw z1--z2..z3..z4; % hook
2178 draw z5..z6..z7; % lure
2179 draw_hdash(10,beta); draw_hdash(11,beta);
2180 draw_hdash(12,beta); draw_hdash(13,beta);
2181 labels(1,2,3,4,5,6,7,8,9,10,11,12,13,14,17); endchar;
2182
2183 % \end{macrocode}
2184 % \end{routine}
2185 %
2186 % \begin{routine}{zo}
2187 % The sign \textit{zo}. An upward arrow with a horizontal dash near the bottom.
2188 % \jurgen{} suggested that the dash be a little shorter.
2189 % \begin{macrocode}
2190 cmchar "Linear B sign zo";
2191 beginglyph("9",0.6);
2192 x1=x2=midloc; y1=0; y2=h; % stem
2193 x5=leftloc; x6=rightloc; y5=y6=3/4h;
2194 %%x3=leftloc; x4=rightloc; y3=y4=1/4h; % bar (original)
2195 x3=0.2[x5,x6]; x4=0.2[x6,x5]; y3=y4=1/4h; % bar (jurgen)
2196 draw z1--z2; % stem
2197 draw z3--z4; % bar
2198 draw z5--z2--z6; % roof
2199 labels(1,2,3,4,5,6); endchar;
2200
2201 % \end{macrocode}
2202 % \end{routine}
2203 %
2204 %
2205 % \subsection{Unidentified glyphs}
2206 %
2207 % There are 11 glyphs whose meanings have not yet been identified.
2208 % I will put these at the start of the encoding, where the upper case Greek
2209 % characters (there are 11 of them) normally reside.
2210 % \changes{v1.2}{2005/06/22}{Reordered the unknown glyphs}
2211 %
2212 % \begin{routine}{unkown 1}
2213 % The 1st unknown character. A bit like a stick figure of a man with
2214 % spiky hair.
2215 % \begin{macrocode}
2216 cmchar "Linear B unknown 1";
2217 beginglyph(oct"035", 0.6);
2218 numeric alpha; alpha:=0.2*(rightloc-leftloc);
2219 numeric rad; rad:=0.3*(rightloc-leftloc);
2220 numeric hair; hair:=0.1h;
2221 x0=midloc; y0=h-rad-hair; % circle center
2222 x1=x2=x5=x0; % mid vertical points
2223 y1=0; y2=y0-rad; y5=y0+rad;
2224 y3=y6=y0; % mid horizontal points
2225 x3=x0-rad; x6=x0+rad;
2226 path p[];
2227 p1=z5{left}..z3{down}..{right}z2;
2228 p2=z5{right}..z6{down}..{left}z2;
2229 x7=leftloc; y7=y2; x11=rightloc; y11=y7;
2230 p3=z7--z11;
2231 % for the the hair lines
2232 x25=x5; y25=h;
2233 z16= point 1/3 of p1; z17= point 1/3 of p2;
2234 z26'=z16 shifted (w*(-1,2)); z27'=z17 shifted (w*(1,2));
2235 y26=y27=h;
2236 z26=whatever[z16,z26']; z27=whatever[z17,z27'];
2237 draw p1; draw p2; % circle
2238 draw z1--z2; % stem
2239 draw p3; % horizontal line
2240 draw z16--z26; draw z5--z25; draw z17--z27; % hairs
2241 labels(1,2,3,4,5,6,15,16,17,25,26,27); endchar;
2242
2243 % \end{macrocode}
2244 % \end{routine}
2245 %
2246 % \begin{routine}{unknown 2}
2247 % The 2nd unknown character. A bit like a chess pawn.
2248 % \begin{macrocode}
2249 cmchar "Linear B unknown 2";
2250 beginglyph(oct"036", 0.6);
2251 numeric alpha; alpha:=0.2*(rightloc-leftloc);
2252 x1=leftloc; x2=rightloc; y1=y2=0; % base points
2253 x3=leftloc; x4=midloc; x5=rightloc; y3=y4=y5=h/2; % middle points
2254 x8=x4;y8=h; % top point
2255 x6=leftloc+alpha; x7=rightloc-alpha; y6=y7=0.5[y4,y8];
2256 draw z1--z2--z4--cycle; % bottom triangle
2257 draw z3--z5; % horizontal bar
2258 draw z4{left}..z6{up}..z8{right}..z7{down}..cycle; % head
2259 labels(1,2,3,4,5,6,7,8); endchar;
2260
2261 % \end{macrocode}
2262 % \end{routine}
2263 %
2264 % \begin{routine}{unknown 3}
2265 % The 3rd unknown character, like a T with a wavy top bar.
2266 % \begin{macrocode}
2267 cmchar "Linear B unknown 3";
2268 beginglyph(oct"037", 0.8);
2269 numeric alpha; alpha:=0.2h;
2270 x3=leftloc; x4=rightloc; x1=x2=2/3[x3,x4];
2271 y1=0; y3=y2=y4=h-alpha;
2272 x6=0.5[x3,x2]; y6=h;
2273 x7=0.5[x2,x4]; y7=h;
2274 draw z1--z2; % stem
2275 draw z3..z6{right}..z2; % left bar
2276 draw z2..z7{right}..z4; % right bar
2277 labels(1,2,3,4,5,6,7,8); endchar;
2278
2279 % \end{macrocode}
2280 % \end{routine}
2281 %
2282 % \begin{routine}{unknown 4}
2283 % The 4th unknown character. A bow with a circle.
2284 % \begin{macrocode}
2285 cmchar "Linear B unknown 4";
2286 beginglyph(oct"040", 0.6);
2287 numeric rad; rad:=1/3*(rightloc-leftloc);
2288 x1=rightloc; y1=0;
2289 x3=rightloc; y3=h;
2290 x2=leftloc+rad; y2=0.5[y1,y3];
2291 draw z1..z2{up}..z3;
2292 draw fullcircle scaled (2rad) shifted z2;
2293 labels(1,2,3,4,5,6,7,8); endchar;
2294
2295 % \end{macrocode}
2296 % \end{routine}
2297 %
2298 % \begin{routine}{unknown 5}
2299 % Suggested by \jurgen. A mirror image of the bow with circle.
2300 % \begin{macrocode}
2301 cmchar "Linear B unknown 5";
2302 beginglyph(oct"041", 0.6);
2303 numeric rad; rad:=1/3*(rightloc-leftloc);
2304 x1=leftloc; y1=0;
2305 x3=leftloc; y3=h;
2306 x2=rightloc-rad; y2=0.5[y1,y3];
2307 draw z1..z2{up}..z3;
2308 draw fullcircle scaled (2rad) shifted z2;
2309 labels(1,2,3,4,5,6,7,8); endchar;
2310
2311 % \end{macrocode}
2312 % \end{routine}
2313 %
2314 % \begin{routine}{unknown 6}
2315 % The 6th unknown character. Two intersecting curves with a square
2316 % around the intersection.
2317 % \begin{macrocode}
2318 cmchar "Linear B unknown 6";
2319 beginglyph(oct"042", 0.6);
2320 numeric alpha;
2321 x1=x4=leftloc; x3=x2=rightloc; y1=y3=0; y2=y4=h; % leg points
2322 path p[];
2323 p1=z1{up}..z2; p2=z3{up}..z4;
2324 z0 = p1 intersectionpoint p2;
2325 %%alpha:=0.5*(x0-x4);
2326 alpha:=0.75*(x0-x4);
2327 x5=x0-alpha; x7=x0+alpha; y5=y7=y0;
2328 x6=x8=x0; y8=y0-alpha; y6=y0+alpha;
2329 draw p1; draw p2; % the legs
2330 draw z5--z6--z7--z8--cycle; % the square
2331 labels(1,2,3,4,5,6,7,8); endchar;
2332
2333 % \end{macrocode}
2334 % \end{routine}
2335 %
2336 %
2337 % \begin{routine}{unknown 7}
2338 % The 7th unknown character. Like a sketch of a bird, and three legs.
2339 % \begin{macrocode}
2340 cmchar "Linear B unknown 7";
2341 beginglyph(oct"043", 0.8);
2342 numeric alpha; alpha:=0.1h;
2343 numeric beta; beta:=0.1;
2344 numeric gamma; gamma:=0.15*(rightloc-leftloc);
2345 x1=leftloc; x5=rightloc; y1=y5=(h-alpha); % bird wings
2346 x3=0.5[x1,x5]; y3=y1;
2347 x2=0.5[x1,x3]; x4=0.5[x3,x5]; y2=y4=h;
2348 x12=x2; y12=y2; x15=x3; y15=y3; x18=x4; y18=y4; % top of legs
2349 x10=leftloc+0.5gamma; x13=midloc; x16=rightloc-0.5gamma; % bottom of legs
2350 y10=y13=y16=0;
2351 z11=beta[z10,z12]; z14=beta[z13,z15]; z17=beta[z16,z18]; % dash points
2352 draw z1..z2..z3; draw z3..z4..z5; % wings
2353 draw z10--z12; draw z13--z15; draw z16--z18; % legs
2354 draw_hdash(10,gamma); draw_hdash(11,gamma); % dashes
2355 draw_hdash(13,gamma); draw_hdash(14,gamma);
2356 draw_hdash(16,gamma); draw_hdash(17,gamma);
2357 labels(1,2,3,4,5,6,7,8,10,11,12,13,14,15,16,17,18); endchar;
2358
2359 % \end{macrocode}
2360 % \end{routine}
2361 %
2362 % \begin{routine}{unknown 8}
2363 % The 8th unknown character. A bit like castle battlements.
2364 % \begin{macrocode}
2365 cmchar "Linear B unknown 8";
2366 beginglyph(oct"044", 1.0);
2367 numeric alpha; alpha:=0.1h;
2368 numeric beta,gamma;
2369 x1=x2=x3=leftloc; y1=0; y3=h; y2=(h-alpha); % left upright
2370 x14=rightloc; y14=h; % rightmost point
2371 x9=x11=x12=4/5[x1,x14]; y9=y1; y11=(y2-2alpha); y12=y2; % right upright
2372 x13=0.5[x12,x14]; y13=y14;
2373 x4=x6=x7=x8=0.5[x1,x9]; y4=y1; y6=y11; y7=y2; y8=y3; % middle upright
2374 x5=0.75[x1,x4]; x10=0.75[x4,x9]; y5=y10=0.25[y9,y11]; % dashes
2375 beta:=0.5*(x4-x1); % dash length
2376 gamma:=0.55; % zigzag overlap
2377 x2'=gamma[x2,x6]; y2'=y2; x6'=gamma[x6,x2]; y6'=y6;
2378 x7'=gamma[x7,x11]; y7'=y7; x11'=gamma[x11,x7]; y11'=y11;
2379 draw z1--z9; % base line
2380 draw z1--z3; draw z4--z8; % uprights
2381 draw z9--z12{up}..{right}z13--z14;
2382 draw_hdash(5,beta); draw_hdash(10,beta); % dashes
2383 draw z2---z2'{right}..{right}z6'---z6; % left zigzag
2384 draw z7---z7'{right}..{right}z11'---z11; % right zigzag
2385 labels(1,2,3,4,5,6,7,8,10,11,12,13,14,15,16,17,18); endchar;
2386
2387 % \end{macrocode}
2388 % \end{routine}
2389 %
2390 % \begin{routine}{unknown 9}
2391 % The 9th unknown character. Like a paramecium.
2392 % \begin{macrocode}
2393 cmchar "Linear B unknown 9";
2394 beginglyph(oct"045", 0.8);
2395 numeric majrad,minrad; % major and minor ellipse radii
2396 numeric alpha;
2397 numeric beta,gamma;
2398 x0=0.5[leftloc,rightloc]; y0=h/2; % center of ellipse
2399 majrad:=0.5*(rightloc-leftloc); minrad:=0.5majrad;
2400 z1=z0 shifted (majrad*NW); z3=z0 shifted (majrad*SE); % ellipse points
2401 z2=z0 shifted (minrad*NE); z4=z0 shifted (minrad*SW);
2402 path p[];
2403 p1=z1..z2..z3..z4..cycle;
2404 alpha:=0.4minrad;
2405 z1'=z1 shifted (alpha*NW); z3'=z3 shifted (alpha*SE); % expanded ellipse points
2406 z2'=z2 shifted (alpha*NE); z4'=z4 shifted (alpha*SW);
2407 p2= z1'..z2'..z3'..z4'..cycle;
2408 p3= z1'..z4'..z3'..z2'..cycle;
2409 gamma:=0.15; % half the dash skip
2410 z14=point (1-3gamma) of p2; z24=point (1-3gamma) of p3;
2411 z15=point (1-gamma) of p2; z25=point (1-gamma) of p3;
2412 z16=point (1+gamma) of p2; z26=point (1+gamma) of p3;
2413 z17=point (1+3gamma) of p2; z27=point (1+3gamma) of p3;
2414 beta:=0.5tiny;
2415 z14''= z14 shifted (beta*SE); z14'=z14 shifted (beta*NW);
2416 z24''= z24 shifted (beta*SE); z24'=z24 shifted (beta*NW);
2417 z15''= z15 shifted (beta*SE); z15'=z15 shifted (beta*NW);
2418 z25''= z25 shifted (beta*SE); z25'=z25 shifted (beta*NW);
2419 z16''= z16 shifted (beta*SE); z16'=z16 shifted (beta*NW);
2420 z26''= z26 shifted (beta*SE); z26'=z26 shifted (beta*NW);
2421 z17''= z17 shifted (beta*SE); z17'=z17 shifted (beta*NW);
2422 z27''= z27 shifted (beta*SE); z27'=z27 shifted (beta*NW);
2423 draw p1; % the ellipse
2424 draw z14'--z14''; draw z24'--z24''; % the dashes
2425 draw z15'--z15''; draw z25'--z25'';
2426 draw z16'--z16''; draw z26'--z26'';
2427 draw z17'--z17''; draw z27'--z27'';
2428 labels(0,1,1',2,2',3,3',4,4',5,6,7,8,10,11,12,13,14,15,16,17,24,25,26,27); endchar;
2429
2430 % \end{macrocode}
2431 % \end{routine}
2432 %
2433 % \begin{routine}{unknown 10}
2434 % The 10th unknown character. Like a dome with a weathervane on top.
2435 % \jurgen{} changes the weather vane to a line with curls at each end.
2436 % \begin{verbatim}
2437 % cmchar "Linear B unknown 10 (original)";
2438 % beginglyph(oct"046", 0.8);
2439 % x1=leftloc; x7=rightloc; y1=y7=0; % outside base points
2440 % x4=midloc; y4=2/3h;
2441 % z8=0.15[z1,z7]; z9=0.85[z1,z7];
2442 % x3=x8; x5=x9; y3=y5=y4-small;
2443 % x10=x4; y10=2/3[y4,h]; % weathervane
2444 % x11=x8; x12=x9; y11=y12=y10;
2445 % z15=0.75[z10,z12];
2446 % numeric beta; beta:=(h-y10);
2447 % z13=z11 shifted (beta*SE); z14=z11 shifted (beta*NE); % arrow
2448 % draw z1{up}..z3..z4{right}..z5..{down}z7; % dome
2449 % draw z8--z3; draw z9--z5;
2450 % draw z4--z10; % weathervane support
2451 % draw z11--z12; % arrow shaft
2452 % draw z13--z11--z14; % arrow head
2453 % draw_vdash(15,2beta); draw_vdash(12,2beta); % feathers
2454 % labels(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,24,25,26,27); endchar;
2455 % \end{verbatim}
2456 %
2457 % \begin{macrocode}
2458 cmchar "Linear B unknown 10";
2459 beginglyph(oct"046", 0.8);
2460 numeric rad; rad:=1/16h;
2461 x1=leftloc; x7=rightloc; y1=y7=0; % dome outside base points
2462 x4=midloc; y4=h-6rad; % center top
2463 z8=0.15[z1,z7]; z9=0.85[z1,z7]; % internal uprights
2464 x3=x8; x5=x9; y3=y5=y4-small;
2465 x22=x4; y22=h-2rad; % stem
2466 x24=x26=x8; y24=y22+rad; y26=y22-rad; % left curls
2467 x23=x25=x27=x24+rad; y23=y24+rad; y25=y22; y27=y26-rad;
2468 z13=z23 reflectedabout (z4,z22); % right curls
2469 z14=z24 reflectedabout (z4,z22);
2470 z15=z25 reflectedabout (z4,z22);
2471 z16=z26 reflectedabout (z4,z22);
2472 z17=z27 reflectedabout (z4,z22);
2473 draw z1{up}..z3..z4{right}..z5..{down}z7; % dome
2474 draw z8--z3; draw z9--z5; % internal uprights
2475 draw z4--z22; % stem
2476 draw z25--z15; % crossbar
2477 draw z23..z24..z25; draw z25..z26..z27; % left curls
2478 draw z13..z14..z15; draw z15..z16..z17; % right curls
2479 labels(1,2,3,4,5,6,7,8,9,13,14,15,16,17,22,23,24,25,26,27); endchar;
2480
2481
2482 % \end{macrocode}
2483 % \end{routine}
2484 %
2485 % \begin{routine}{unknown 11}
2486 % The 11th unknown character. Like a scythe.
2487 % \begin{macrocode}
2488 cmchar "Linear B unknown 11";
2489 beginglyph(oct"047", 0.8);
2490 x1=x5=x2=leftloc; y1=0; y2=h; y5= 0.2h; % vertical handle
2491 x7=rightloc; y7-y5 = y5-y1; % rightmost point
2492 x4=0.9[x1,x7]; y7-y4=0.5(y5-y1);
2493 x3=x6=0.5[x1,x7]; y3-y1 = 0.25(y4-y1); y6-y3=y5-y1;
2494 draw z1--z2; % handle
2495 draw z1{right}..z3..z4; draw z4--z7; % the blade
2496 draw z5{right}..z6..z7;
2497 draw z3--z6;
2498 labels(1,2,3,4,5,6,7); endchar;
2499
2500 % \end{macrocode}
2501 % \end{routine}
2502 %
2503 % \begin{routine}{unknown 12}
2504 % The last unknown character. Like a capital letter B. \jurgen{} suggested
2505 % that it should be narrower, and also said that it was the \textit{twe} sign.
2506 % \begin{macrocode}
2507 cmchar "Linear B unknown 12 (or twe)";
2508 beginglyph(oct"177", 0.35);
2509 numeric beta; beta:=2.0; % tension
2510 x1=x3=leftloc; y1=0; y3=h; z2=0.5[z1,z3]; % upright
2511 x4=x5=rightloc;
2512 y4=0.5[y1,y2];
2513 y5=0.5[y2,y3];
2514 draw z1--z3;
2515 %%draw z1..tension beta..z4..tension beta..z2; % lower bowl
2516 %%draw z2..tension beta..z5..tension beta..z3; % lower bowl
2517 %%draw z1{right}..z4..{left}z2;
2518 %%draw z2{right}..z5..{left}z3;
2519 draw z1{(2,1)}..z4..{(-2,1)}z2;
2520 draw z2{(2,1)}..z5..{(-2,1)}z3;
2521 labels(1,2,3,4,5,6,7); endchar;
2522
2523 % \end{macrocode}
2524 % \end{routine}
2525 %
2526 % \subsection{The optional signs}
2527 %
2528 % There are 16 optional signs. There is also a word divider.
2529 % Hyphenation was, of course, unknown but it might be useful to
2530 % leave the normal character position for the hyphen (i.e., octal 055)
2531 % empty allowing, perhaps, \TeX{} to perform hyphenation but without
2532 % marking it.
2533 %
2534 % \begin{routine}{,}
2535 % A word divider coded as a comma. It is a short vertical line above the
2536 % text baseline.
2537 % \begin{macrocode}
2538 cmchar "Linear B word divider (1)";
2539 beginglyph(",",0.1);
2540 x1=x2=midloc; y1=0.2h; y2=0.4h;
2541 draw z1--z2;
2542 labels(1,2); endchar;
2543
2544 % \end{macrocode}
2545 % \end{routine}
2546 %
2547 % \begin{routine}{:}
2548 % A word divider coded as a colon. It is a short vertical line above the
2549 % text baseline.
2550 % \begin{macrocode}
2551 cmchar "Linear B word divider (2)";
2552 beginglyph(":",0.1);
2553 x1=x2=midloc; y1=0.2h; y2=0.4h;
2554 draw z1--z2;
2555 labels(1,2); endchar;
2556
2557 % \end{macrocode}
2558 % \end{routine}
2559 %
2560 % \begin{routine}{/}
2561 % A word divider coded as a forward slash. It is a short vertical line above the
2562 % text baseline.
2563 % \begin{macrocode}
2564 cmchar "Linear B word divider (3)";
2565 beginglyph("/",0.1);
2566 x1=x2=midloc; y1=0.2h; y2=0.4h;
2567 draw z1--z2;
2568 labels(1,2); endchar;
2569
2570 % \end{macrocode}
2571 % \end{routine}
2572 %
2573 % \begin{routine}{a2}
2574 % Optional character \textit{a2}. Like a T with two loops under the crossbar.
2575 % \begin{macrocode}
2576 cmchar "Linear B optional sign a2";
2577 beginglyph(oct"073",0.8);
2578 x1=x2=midloc; y1=0; y2=h; % upright
2579 x3=leftloc; x4=rightloc; y3=y4=y2; % crossbar
2580 x5=0.1[x3,x2]; x7=0.6[x3,x2]; y5=y7=y2-tiny; % left loop
2581 x6=0.5[x5,x7]; y6=y5-small;
2582 z8=z7 reflectedabout (z1,z2);
2583 z9=z6 reflectedabout (z1,z2);
2584 z10=z5 reflectedabout (z1,z2);
2585 draw z1--z2; draw z3--z4; % stem and crossbar
2586 draw z5..z6..z7; % loops
2587 draw z8..z9..z10;
2588 labels(1,2,3,4,5,6,7,8,9,10); endchar;
2589
2590 % \end{macrocode}
2591 % \end{routine}
2592 %
2593 % \begin{routine}{a3}
2594 % Optional character \textit{a3}. Like a crown on bowed legs.
2595 % \begin{macrocode}
2596 cmchar "Linear B optional sign a3";
2597 beginglyph(oct"074",0.8);
2598 x5=leftloc; x10=rightloc; y5=y10=h; % top left & right
2599 x4=0.1[x5,x10]; x9=0.9[x5,x10]; y4=y9=0.75h; % ends of crossbar
2600 z11=1/3[z4,z9]; z13=2/3[z4,z9]; % vertical dashes
2601 x11=x12; y12=y5; x14=x13; y14=y12;
2602 z3=0.5[z4,z11]; x2=leftloc; y2=0.5[y1,y3]; % left leg
2603 x1=0.5[x2,x3]; y1=0;
2604 z8=0.5[z13,z9]; x7=rightloc; y7=y2; % right leg
2605 x6=0.5[x8,x7]; y6=0;
2606 x15=x16=midloc; y15=y2; y16=0.5[y15,y4]; % central dash
2607 draw z1..z2{up}..z3; draw z6..z7{up}..z8; % legs
2608 draw z4--z9; draw z11--z12; draw z13--z14; % crown
2609 draw z4{up}..z5; draw z9{up}..z10;
2610 draw z15--z16; % central dash
2611 labels(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16); endchar;
2612
2613 % \end{macrocode}
2614 % \end{routine}
2615 %
2616 % \begin{routine}{au}
2617 % Optional character \textit{au}. Like an antelope's head.
2618 % \begin{macrocode}
2619 cmchar "Linear B optional sign au";
2620 beginglyph(oct"075",0.8);
2621 numeric alpha; alpha:=0.1h;
2622 x1=x2=x3=leftloc+alpha; y1=0; y2=0.33h; y3=h-3alpha; % neck
2623 x5=leftloc; y5=h-small; % bottom of ear
2624 x4=0.5[x5,x3]; y4=0.5[y5,y3] - tiny;
2625 x6=x5+small; y6=h; % top of ear
2626 x8-x6=x3-x5; y6-y8=y5-y3;
2627 x7=0.5[x8,x6]; y7=0.5[y8,y6] + tiny;
2628 x9=x10=rightloc; y10=1/3[y2,y8]; y9=2/3[y2,y8]; % head
2629 x12=x8; y12=y3; x11=0.3[x8,x9]; y11=0.5[y10,y9]; % eye
2630 draw z1--z3; % neck
2631 draw z3..z4..{up}z5; % ear
2632 draw z6{right}..z7..z8;
2633 draw z8--z9--z10--z2; % head
2634 draw z11--z12; % eye
2635 labels(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16); endchar;
2636
2637 % \end{macrocode}
2638 % \end{routine}
2639 %
2640 % \begin{routine}{dwe}
2641 % Optional character \textit{dwe}. A man with outstretched arms.
2642 % \begin{macrocode}
2643 cmchar "Linear B optional sign dwe";
2644 beginglyph(oct"076",0.8);
2645 numeric rad; rad:=1/6h;
2646 numeric alpha; alpha:=0.1h;
2647 x1=leftloc; x4=rightloc; x2=x1+rad; x3=x4-rad; % arms
2648 y2=y3=1/3h; y1=y4=y2+rad;
2649 x0=midloc; y0=h-rad; % center of head
2650 x5=x0-1/2rad; x7=x0+1/2rad; % body
2651 y5=y7=0;
2652 x0'=x0-rad; x0''=x0; x0'''=x0+rad;
2653 y0'=y0'''=y0; y0''=y0-rad;
2654 path p;
2655 p=z0'{down}..z0''{right}..{up}z0''';
2656 z5'=z5 shifted (h*up); z7'=z7 shifted (h*up);
2657 z6= (z5--z5') intersectionpoint p;
2658 z8= (z7--z7') intersectionpoint p;
2659 draw fullcircle scaled (2rad) shifted z0; % head
2660 draw z6--z5--z7--z8; % body
2661 draw z1{right}..{down}z2--z3{up}..{right}z4; % arms
2662 labels(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16); endchar;
2663
2664 % \end{macrocode}
2665 % \end{routine}
2666 %
2667 % \begin{routine}{dwo}
2668 % Optional character \textit{dwo}. Two curved posts with dashes between at the
2669 % top. \jurgen{} suggested that the posts be tapered with two 3 between them.
2670 % \begin{verbatim}
2671 % cmchar "Linear B optional sign dwo (original)";
2672 % beginglyph(oct"077",1.0);
2673 % numeric beta; beta:=0.15h; % dash length
2674 % numeric alpha; alpha:=(rightloc-leftloc);
2675 % x1=leftloc; x9=rightloc; y1=y9=0; % extreme base points
2676 % x4=x1+0.4alpha; x6=x9-0.4alpha; y4=y6=0; % inner base points
2677 % x3=0.5[x1,x4]; x5=x4; x8=0.5[x6,x9]; x10=x9; y3=y5=y8=y10=(h - 1.5beta);
2678 % x21=x22=1/3[x5,x8]; x23=x24=2/3[x5,x8];
2679 % y22=y24=h-0.5beta; y21=y23=y22-2beta;
2680 % draw z1..{up}z3--z5--z4; % left half
2681 % draw z6..{up}z8--z10--z9; % right half
2682 % draw_vdash(21,beta); draw_vdash(22,beta); % dashes
2683 % draw_vdash(23,beta); draw_vdash(24,beta);
2684 % labels(1,2,3,4,5,6,7,8,9,10,21,22,23,24); endchar;
2685 % \end{verbatim}
2686 %
2687 % \begin{macrocode}
2688 cmchar "Linear B optional sign dwo";
2689 beginglyph(oct"077",1.1);
2690 numeric alpha; alpha:=(rightloc-leftloc);
2691 numeric beta; beta:=0.2alpha; % dash length
2692 numeric gap; gap:=3/2tiny;
2693 x0=x0'=midloc; y0=0; y0'=h; % axis of symmetry
2694 x1=leftloc; x3=x0-0.5gap; y1=y3=0; % left base points
2695 x2=0.5[x1,x3]; y2=0.9h; % top point
2696 x4=x1+gap; x5=x3-gap; y4=y5=0; % base line
2697 %%x9=x10=0.5[x5,x3]; x6=x7=x8=0.5[(x2+0.5beta),x9]; % points for the 3
2698 x9=x10=x3; x6=x7=x8=0.5[(x2+0.5beta),x9]; % points for the 3
2699 y6=h; y7=y2; y7-y8=y6-y7;
2700 y10=0.5[y6,y7]; y9=0.5[y7,y8];
2701 z11=z1 reflectedabout (z0,z0'); % the symmetric right hand side
2702 z12=z2 reflectedabout (z0,z0');
2703 z13=z3 reflectedabout (z0,z0');
2704 z14=z4 reflectedabout (z0,z0');
2705 z15=z5 reflectedabout (z0,z0');
2706 z16=z6 reflectedabout (z0,z0');
2707 z17=z7 reflectedabout (z0,z0');
2708 z18=z8 reflectedabout (z0,z0');
2709 z19=z9 reflectedabout (z0,z0');
2710 z20=z10 reflectedabout (z0,z0');
2711 draw z1--z2--z3; draw z4--z5; % triangle
2712 draw_hdash(2,beta); % dash at the top
2713 draw z6..z10..z7; % 3
2714 draw z7..z9..z8;
2715 draw z11--z12--z13; draw z14--z15; % and for the RHS
2716 draw_hdash(12,beta);
2717 draw z16..z20..z17;
2718 draw z17..z19..z18;
2719 labels(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20); endchar;
2720
2721 % \end{macrocode}
2722 % \end{routine}
2723 %
2724 % \begin{routine}{nwa}
2725 % Optional character \textit{nwa}. Two rakes with crossed curved handles.
2726 % \begin{macrocode}
2727 cmchar "Linear B optional sign nwa";
2728 beginglyph(oct"100",1.0);
2729 numeric beta; beta:=0.15h; % dash length
2730 numeric alpha; alpha:=0.5beta;
2731 x1=x11=leftloc; x6=x16=rightloc; y1=y6=h-beta; % extreme points
2732 z3=0.4[z1,z6]; z4=0.6[z1,z6];
2733 z2=0.5[z1,z3]; z5=0.5[z4,z6];
2734 x7=x2; x8=x5; y7=y8=0; % base points
2735 x21=x1; x22=x2; x23=x3; x24=x4; x25=x5; x26=x6;
2736 y21=y22=y23=y24=y25=y26=h-alpha;
2737 draw z7{up}..z5; draw z8{up}..z2; % legs
2738 draw z1--z3; draw z4--z6; %
2739 draw_vdash(21,beta); draw_vdash(22,beta); draw_vdash(23,beta);
2740 draw_vdash(24,beta); draw_vdash(25,beta); draw_vdash(26,beta);
2741 labels(1,2,3,4,5,6,7,8,9,10,21,22,23,24,25,26); endchar;
2742
2743 % \end{macrocode}
2744 % \end{routine}
2745 %
2746 % \begin{routine}{pa3}
2747 % Optional character \textit{pa3}. A ladder with three rungs.
2748 % \begin{macrocode}
2749 cmchar "Linear B optional sign pa3";
2750 beginglyph(oct"133",0.6);
2751 x1=x2=leftloc; x3=x4=rightloc; y1=y3=0; y2=y4=h; % corner points
2752 z11=0.25[z1,z2]; z12=0.5[z1,z2]; z13=0.75[z1,z2]; % left
2753 z21=0.25[z3,z4]; z22=0.5[z3,z4]; z23=0.75[z3,z4]; % right
2754 draw z1--z2; draw z3--z4; % uprights
2755 draw z11--z21; draw z12--z22; draw z13--z23; % crossbars
2756 labels(1,2,3,4,5,6,7,8,9,10,21,22,23,24,25,26); endchar;
2757
2758 % \end{macrocode}
2759 % \end{routine}
2760 %
2761 % \begin{routine}{pu2}
2762 % Optional character \textit{pu2}.
2763 % \begin{macrocode}
2764 cmchar "Linear B optional sign pu2";
2765 beginglyph(oct"134",0.8);
2766 numeric alpha; alpha:=small; % length of dashes
2767 x1=leftloc; x2=rightloc; y1=y2=0.6h; % crossbar
2768 x3=x4=x5=midloc; y3=0; y4=y1; y5=h; % upright
2769 x11=0.5[x1,x4]; x21=0.5[x4,x2]; y11=y21=y4; % base of spikes
2770 x14=x1; x24=x2; y14=y24=y5; % top of spikes
2771 z12=1/3[z11,z14]; z13=2/3[z11,z14]; % left dash centers
2772 z22=1/3[z21,z24]; z23=2/3[z21,z24]; % right dash centers
2773 z32=1/3[z4,z5]; z33=2/3[z4,z5]; % middle dash centers
2774 draw z3--z5; draw z1--z2; % upright and crossbar
2775 draw z11--z14; draw z21--z24; % angled stems
2776 draw_hdash(32,alpha); draw_hdash(33,alpha); % middle dashes
2777 draw_hdash(12,alpha); draw_hdash(13,alpha); % left dashes
2778 draw_hdash(22,alpha); draw_hdash(23,alpha); % right dashes
2779 labels(1,2,3,4,5,6,7,8,9,10,21,22,23,24,25,26); endchar;
2780
2781 % \end{macrocode}
2782 % \end{routine}
2783 %
2784 % \begin{routine}{pte}
2785 % Optional character \textit{pte}. A box with a sunken top.
2786 % \begin{macrocode}
2787 cmchar "Linear B optional sign pte";
2788 beginglyph(oct"135",0.8);
2789 numeric rad; rad:=small; % radius
2790 x1=x2=leftloc; x3=x4=rightloc; y1=y3=0; y2=y4=h; % straight exterior
2791 x13=x14=0.2[x2,x4]; x19=x20=0.8[x2,x4];
2792 x11=x13-rad; x22=x20+rad; y11=y22=h;
2793 y13=y20=y11-rad;
2794 x16=x14+rad; x17=x19-rad; y16=y17=0.6h;
2795 y14=y19=y16+rad;
2796 draw z2--z1--z3--z4; % straight exterior
2797 draw z2--z11{right}..{down}z13--z14{down}..{right}z16--z17{right}..{up}z19
2798 --z20{up}..{right}z22--z4; % top dish
2799 labels(1,2,3,4,11,12,13,14,15,16,17,18,19,20,21,22); endchar;
2800
2801 % \end{macrocode}
2802 % \end{routine}
2803 %
2804 % \begin{routine}{ra2}
2805 % Optional character \textit{ra2}, like two lightning flashes.
2806 % \begin{macrocode}
2807 cmchar "Linear B optional sign ra2";
2808 beginglyph(oct"136",0.6);
2809 numeric rad; % radius
2810 numeric alpha; alpha:=(rightloc-leftloc);
2811 numeric beta, eta;
2812 rad:=0.1alpha;
2813 x1=x5=x6=leftloc; y1=0; y6=h; % left stroke leftmost points
2814 x12=rightloc; y12=h-2rad-rad; % right stroke rightmost point
2815 y13=y14=y12+rad; y15=y14+rad; y16=h; % other right stroke points
2816 x13=x12-rad;
2817 x11=x16=x15=1/4[x1,x12]; y11=0; % right stroke leftmost points
2818 x14=x15+rad;
2819 y6-y5=2*(y16-y15) + tiny; % left stroke y coords
2820 y4=y3=y5-rad; y2=y3-rad;
2821 z2-z1=whatever*(z12-z11); % left and right strokes are parallel
2822 x4=x5+rad; x3=x2-rad;
2823 draw z1---z2..z3..z4..z5---z6; % left stroke
2824 draw z11---z12..z13..z14..z15---z16; % right stroke
2825 labels(1,2,3,4,5,6,11,12,13,14,15,16); endchar;
2826
2827 % \end{macrocode}
2828 % \end{routine}
2829 %
2830 % \begin{routine}{ra3}
2831 % Optional character \textit{ra3}.
2832 % \begin{macrocode}
2833 cmchar "Linear B optional sign ra3";
2834 beginglyph(oct"137",0.8);
2835 numeric alpha; alpha:=0.15*(rightloc-leftloc); % dash length
2836 numeric beta; beta:=tiny; % small arc center offset
2837 x1=leftloc; x6=rightloc; y1=y6=h; % top boundary points
2838 x7=x8=midloc; y7=0; y8=0.6h; % stem
2839 x3=x1+alpha; x4=x6-alpha; y3=y4=y1; % inner ends of top dashes
2840 z2=0.5[z1,z3]; z5=0.5[z4,z6]; % dash midpoints
2841 path p[];
2842 p1=z2{down}..z8{right}..{up}z5; % bowl
2843 p2=z5{down}..z8{left}..{up}z2;
2844 z11=point 0.3 of p1; z21=point 0.3 of p2; % end points of the small arcs
2845 z13=point 0.7 of p1; z23=point 0.7 of p2;
2846 z12'=0.5[z11,z13]; z22'=0.5[z21,z23];
2847 z12=z12' shifted (beta*(1,1)); z22=z22' shifted (beta*(-1,1));
2848 x31=x32=x33=x7-2alpha; % left stem dash centers
2849 y31=1/4[y7,y8]; y32=1/2[y7,y8]; y33=3/4[y7,y8];
2850 z41=z31 reflectedabout (z7,z8); % right stem dash centers
2851 z42=z32 reflectedabout (z7,z8);
2852 z43=z33 reflectedabout (z7,z8);
2853 draw p1; draw z1--z3; draw z4--z6; % bowl and top
2854 draw z11..z12..z13; draw z21..z22..z23; % small arcs
2855 draw z7--z8; % stem
2856 draw_hdash(31,alpha); draw_hdash(32,alpha); draw_hdash(33,alpha);
2857 draw_hdash(41,alpha); draw_hdash(42,alpha); draw_hdash(43,alpha);
2858 labels(1,2,3,4,5,6,7,8,11,12,13,21,22,23,31,32,33,41,42,43); endchar;
2859
2860 % \end{macrocode}
2861 % \end{routine}
2862 %
2863 % \begin{routine}{ro2}
2864 % Optional character \textit{ro2}. A deep dish with a cross.
2865 % \jurgen's version is like a cherry with a cross on the long stalk.
2866 % \begin{verbatim}
2867 % cmchar "Linear B optional sign ro2 (original)";
2868 % beginglyph(oct"140",0.8);
2869 % numeric rad; % radius
2870 % numeric beta;
2871 % x1=x3=midloc; y1=0; y3=h; % axis of symmetry
2872 % x2=leftloc; x4=rightloc; y2=y4=0.8h; % extreme bowl points
2873 % rad:=(x4-x2)/8;
2874 % x11=x2+rad; y11=y2; % finish off left points
2875 % x13=x11+rad; y13=y11-rad;
2876 % x14=x13; y14=rad;
2877 % x16=x14+rad; y16=0;
2878 % z17=z16 reflectedabout (z1,z3); % and right points
2879 % z19=z14 reflectedabout (z1,z3);
2880 % z20=z13 reflectedabout (z1,z3);
2881 % z22=z11 reflectedabout (z1,z3);
2882 % x31=x32=midloc; y32=h; y31=0.3h; % vertical
2883 % x33=x31; y33=0.5[y2,y32];
2884 % beta:=0.5(x20-x13);
2885 % draw z2--z11{right}..{down}z13--z14{down}..{right}z16--z17{right}..{up}z19
2886 % --z20{up}..{right}z22--z4; % dish
2887 % draw z31--z32; % vertical
2888 % draw_hdash(33,beta); % crossbar
2889 % labels(1,2,3,4,11,12,13,14,15,16,17,18,19,20,21,22,31,32,33); endchar;
2890 % \end{verbatim}
2891 %
2892 % \begin{macrocode}
2893 cmchar "Linear B optional sign ro2";
2894 beginglyph(oct"140",0.6);
2895 numeric gap; gap=tiny;
2896 numeric alpha; alpha:=(rightloc-leftloc);
2897 numeric beta, eta;
2898 rad:=0.1alpha;
2899 x1=x2=midloc; y1=h; y2=0; % middle points
2900 x5=x2-gap; y5=h/2; % curve points
2901 x3=leftloc; y3=0.75[y2,y5];
2902 x4=0.3[x3,x5]; y4=y5;
2903 x6=x1; y6=y5+3/2gap;
2904 z13=z3 reflectedabout (z2,z1);
2905 z14=z4 reflectedabout (z2,z1);
2906 z15=z5 reflectedabout (z2,z1);
2907 draw z1--z2; % vertical
2908 draw_hdash(6,4gap); % crossbar
2909 draw z5---z4..z3..z2..z13..z14---z15; % curve
2910 labels(1,2,3,4,5,6,11,12,13,14,15,16); endchar;
2911
2912
2913 % \end{macrocode}
2914 % \end{routine}
2915 %
2916 % \begin{routine}{swa}
2917 % Optional character \textit{swa}.
2918 % \begin{macrocode}
2919 cmchar "Linear B optional sign swa";
2920 beginglyph(oct"173",0.6);
2921 numeric beta; beta:=2; % tension value
2922 numeric eta; eta:=small; % dash size
2923 x1=leftloc; x1'=rightloc; y1=y1'=h/2; % axis of symmetry
2924 x2=leftloc; y2=0;
2925 x3=leftloc; y3=h/5;
2926 x5=0.75[x1,x1']; y5=y3;
2927 x7=0.875[x1,x5]; y7=y1;
2928 z12=z2 reflectedabout (z1,z1');
2929 z13=z3 reflectedabout (z1,z1');
2930 z15=z5 reflectedabout (z1,z1');
2931 z21=1/3[z1,z7]; z22=2/3[z1,z7];
2932 y23=y5+0.5eta; x23=rightloc;
2933 z24=z23 reflectedabout (z1,z1');
2934 draw z2..tension beta..z3..tension beta..z5..tension 0.5beta..z7
2935 ..tension 0.5beta..z15..tension beta..z13..tension beta..z12;
2936 draw_vdash(21,eta); draw_vdash(22,eta);
2937 draw_vdash(23,eta); draw_vdash(24,eta);
2938 labels(1,2,3,4,5,6,7,8,12,13,14,15,16,17,18,21,22,23,24); endchar;
2939
2940 % \end{macrocode}
2941 % \end{routine}
2942 %
2943 % \begin{routine}{swi}
2944 % Optional character \textit{swi}. An X inside brackets.
2945 % \begin{macrocode}
2946 cmchar "Linear B optional sign swi";
2947 beginglyph(oct"174",0.8);
2948 numeric beta, eta, wid;
2949 wid:=(rightloc-leftloc);
2950 x0=x0'=midloc; y0=0; y0'=h; % axis of symmetry
2951 x1=x2=leftloc; y1=0; y2=h; % left bracket
2952 x3=x4=x1+0.1wid; y3=y1; y4=y2;
2953 x5=x7=x0-0.3wid; y5=0.3h; y7=0.7h; % left of bars
2954 x6=x8=0.2[x5,x0]; y6=y5; y8=y7; % left of X
2955 z21=z1 reflectedabout (z0,z0'); % the right half points
2956 z22=z2 reflectedabout (z0,z0');
2957 z23=z3 reflectedabout (z0,z0');
2958 z24=z4 reflectedabout (z0,z0');
2959 z25=z5 reflectedabout (z0,z0');
2960 z26=z6 reflectedabout (z0,z0');
2961 z27=z7 reflectedabout (z0,z0');
2962 z28=z8 reflectedabout (z0,z0');
2963 draw z3--z1--z2--z4; draw z23--z21--z22--z24; % brackets
2964 draw z5--z25; draw z7--z27; % bars
2965 draw z26--z8; draw z6--z28; % the X
2966 labels(1,2,3,4,5,6,7,8,21,22,23,24,25,26,27,28); endchar;
2967
2968 % \end{macrocode}
2969 % \end{routine}
2970 %
2971 % \begin{routine}{ta2}
2972 % Optional character \textit{ta2}.
2973 % \begin{macrocode}
2974 cmchar "Linear B optional sign ta2";
2975 beginglyph(oct"175",0.8);
2976 numeric beta, eta, wid;
2977 wid:=(rightloc-leftloc);
2978 eta:= 1/7h; % dash length and vertical space
2979 beta:= 0.2wid; % dash horizontal seperation
2980 x0=x0'=midloc; y0=0; y0'=h; % axis of symmetry
2981 x1=leftloc; x2=rightloc; y1=y2=h; % top
2982 x3=1/4[x1,x2]; y3=0; % bottom left
2983 z4=z3 reflectedabout (z0,z0'); % bottom right
2984 x11=x0; y11=3/2eta; % bottom dash
2985 x12=x0-1/2beta; y12=y11+2eta; % middle dashes
2986 z13=z12 reflectedabout (z0,z0');
2987 x15=x0; y15=y12+2eta; % top dashes
2988 x14=x15-beta; y14=y15;
2989 z16=z14 reflectedabout (z0,z0');
2990 draw z1--z2; % top
2991 draw z3{up}..z1; draw z4{up}..z2; % sides
2992 draw_vdash(11,eta); % dashes
2993 draw_vdash(12,eta); draw_vdash(13,eta);
2994 draw_vdash(14,eta); draw_vdash(15,eta); draw_vdash(16,eta);
2995 labels(1,2,3,4,5,6,7,8,11,12,13,14,15,16); endchar;
2996
2997 % \end{macrocode}
2998 % \end{routine}
2999 %
3000 % \begin{routine}{two}
3001 % Optional character \textit{two}. A bit like a bird house.
3002 % \begin{macrocode}
3003 cmchar "Linear B optional sign two";
3004 beginglyph(oct"176",0.8);
3005 numeric beta, eta, wid;
3006 wid:=(rightloc-leftloc);
3007 eta:= 0.2wid; % dash length and vertical space
3008 x0=x0'=midloc; y0=0; y0'=h; % axis of symmetry
3009 x1=leftloc; x2=midloc; y1=2/3h; y2=h; % the roof
3010 z3=z1 reflectedabout (z0,z0');
3011 z4=0.2[z1,z2]; % top of sides
3012 z5=z4 reflectedabout (z0,z0');
3013 x6=0.4[x1,x3]; y6=0; % bottom of sides
3014 z7=z6 reflectedabout (z0,z0');
3015 x8=0.5[x6,x7]; y8=(x0-x6); % top of base
3016 x11=x12=x0; y11=y4-1/2eta; y12=y11+eta; % dash centers
3017 draw z1--z2--z3; % roof
3018 draw z6{up}..z4; draw z7{up}..z5; % sides
3019 draw z6..z8..z7; % base
3020 draw_hdash(11,eta); draw_hdash(12,eta); % dashes
3021 labels(1,2,3,4,5,6,7,8,11,12,13,14,15,16); endchar;
3022
3023 % \end{macrocode}
3024 % \end{routine}
3025 %
3026 %
3027 %
3028 % \subsection{The numerals}
3029 %
3030 % There are different signs for digits, tens, hundreds, and one thousand.
3031 % That is, 28 characters. I will put these into the positions normally
3032 % occupied by the lower case Greek letters and variants.
3033 % \changes{v1.2}{2005/06/22}{Rordered the numerals}
3034 %
3035 %
3036 % The digits are composed of vertical dashes.
3037 % \begin{routine}{9}
3038 % The numeral \textit{9}.
3039 % \begin{macrocode}
3040 cmchar "Linear B numeral sign 9";
3041 beginglyph(oct"011",4digwd);
3042 numeric alpha; alpha:=digsz*h;
3043 x1=x6=leftloc; y1=y2=y3=y4=y5=(1-digsz/2)*h;
3044 x5=rightloc; y6=y7=y8=y9=(digsz/2)*h;
3045 x2=x7=1/4[leftloc,rightloc];
3046 x3=x8=1/2[leftloc,rightloc];
3047 x4=x9=3/4[leftloc,rightloc];
3048 % top row
3049 draw_vdash(1,alpha);
3050 draw_vdash(2,alpha);
3051 draw_vdash(3,alpha);
3052 draw_vdash(4,alpha);
3053 draw_vdash(5,alpha);
3054 % bottom row
3055 draw_vdash(6,alpha);
3056 draw_vdash(7,alpha);
3057 draw_vdash(8,alpha);
3058 draw_vdash(9,alpha);
3059 labels(1,2,3,4,5,6,7,8,9); endchar;
3060
3061 % \end{macrocode}
3062 % \end{routine}
3063 %
3064 % \begin{routine}{8}
3065 % The numeral \textit{8}.
3066 % \begin{macrocode}
3067 cmchar "Linear B numeral sign 8";
3068 beginglyph(oct"010",3digwd);
3069 numeric alpha; alpha:=digsz*h;
3070 x1=x6=leftloc; y1=y2=y3=y4=y5=(1-digsz/2)*h;
3071 x5=rightloc; y6=y7=y8=y9=(digsz/2)*h;
3072 x2=x7=1/3[leftloc,rightloc];
3073 x3=x8=2/3[leftloc,rightloc];
3074 x4=x9=rightloc;
3075 % top row
3076 draw_vdash(1,alpha);
3077 draw_vdash(2,alpha);
3078 draw_vdash(3,alpha);
3079 draw_vdash(4,alpha);
3080 % bottom row
3081 draw_vdash(6,alpha);
3082 draw_vdash(7,alpha);
3083 draw_vdash(8,alpha);
3084 draw_vdash(9,alpha);
3085 labels(1,2,3,4,5,6,7,8,9); endchar;
3086
3087 % \end{macrocode}
3088 % \end{routine}
3089 %
3090 % \begin{routine}{7}
3091 % The numeral \textit{7}.
3092 % \begin{macrocode}
3093 cmchar "Linear B numeral sign 7";
3094 beginglyph(oct"007",3digwd);
3095 numeric alpha; alpha:=digsz*h;
3096 x1=x6=leftloc; y1=y2=y3=y4=y5=(1-digsz/2)*h;
3097 x5=rightloc; y6=y7=y8=y9=(digsz/2)*h;
3098 x2=x7=1/3[leftloc,rightloc];
3099 x3=x8=2/3[leftloc,rightloc];
3100 x4=x9=rightloc;
3101 % top row
3102 draw_vdash(1,alpha);
3103 draw_vdash(2,alpha);
3104 draw_vdash(3,alpha);
3105 draw_vdash(4,alpha);
3106 % bottom row
3107 draw_vdash(6,alpha);
3108 draw_vdash(7,alpha);
3109 draw_vdash(8,alpha);
3110 labels(1,2,3,4,5,6,7,8,9); endchar;
3111
3112 % \end{macrocode}
3113 % \end{routine}
3114 %
3115 % \begin{routine}{6}
3116 % The numeral \textit{6}.
3117 % \begin{macrocode}
3118 cmchar "Linear B numeral sign 6";
3119 beginglyph(oct"006",2digwd);
3120 numeric alpha; alpha:=digsz*h;
3121 x1=x6=leftloc; y1=y2=y3=y4=y5=(1-digsz/2)*h;
3122 x5=rightloc; y6=y7=y8=y9=(digsz/2)*h;
3123 x2=x7=1/2[leftloc,rightloc];
3124 x3=x8=rightloc;
3125 x4=x9=rightloc;
3126 % top row
3127 draw_vdash(1,alpha);
3128 draw_vdash(2,alpha);
3129 draw_vdash(3,alpha);
3130 % bottom row
3131 draw_vdash(6,alpha);
3132 draw_vdash(7,alpha);
3133 draw_vdash(8,alpha);
3134 labels(1,2,3,4,5,6,7,8,9); endchar;
3135
3136 % \end{macrocode}
3137 % \end{routine}
3138 %
3139 % \begin{routine}{5}
3140 % The numeral \textit{5}.
3141 % \begin{macrocode}
3142 cmchar "Linear B numeral sign 5";
3143 beginglyph(oct"005",2digwd);
3144 numeric alpha; alpha:=digsz*h;
3145 x1=x6=leftloc; y1=y2=y3=y4=y5=(1-digsz/2)*h;
3146 x5=rightloc; y6=y7=y8=y9=(digsz/2)*h;
3147 x2=x7=1/2[leftloc,rightloc];
3148 x3=x8=rightloc;
3149 x4=x9=rightloc;
3150 % top row
3151 draw_vdash(1,alpha);
3152 draw_vdash(2,alpha);
3153 draw_vdash(3,alpha);
3154 % bottom row
3155 draw_vdash(6,alpha);
3156 draw_vdash(7,alpha);
3157 labels(1,2,3,4,5,6,7,8,9); endchar;
3158
3159 % \end{macrocode}
3160 % \end{routine}
3161 %
3162 % \begin{routine}{4}
3163 % The numeral \textit{4}.
3164 % \begin{macrocode}
3165 cmchar "Linear B numeral sign 4";
3166 beginglyph(oct"004",digwd);
3167 numeric alpha; alpha:=digsz*h;
3168 x1=x6=leftloc; y1=y2=y3=y4=y5=(1-digsz/2)*h;
3169 x5=rightloc; y6=y7=y8=y9=(digsz/2)*h;
3170 x2=x7=rightloc;
3171 x3=x8=rightloc;
3172 x4=x9=rightloc;
3173 % top row
3174 draw_vdash(1,alpha);
3175 draw_vdash(2,alpha);
3176 % bottom row
3177 draw_vdash(6,alpha);
3178 draw_vdash(7,alpha);
3179 labels(1,2,3,4,5,6,7,8,9); endchar;
3180
3181 % \end{macrocode}
3182 % \end{routine}
3183 %
3184 % \begin{routine}{3}
3185 % The numeral \textit{3}.
3186 % \begin{macrocode}
3187 cmchar "Linear B numeral sign 3";
3188 beginglyph(oct"003",2digwd);
3189 numeric alpha; alpha:=digsz*h;
3190 x1=x6=leftloc; y1=y2=y3=y4=y5=(1-digsz/2)*h;
3191 x5=rightloc; y6=y7=y8=y9=(digsz/2)*h;
3192 x2=x7=1/2[leftloc,rightloc];
3193 x3=x8=rightloc;
3194 x4=x9=rightloc;
3195 % top row
3196 draw_vdash(1,alpha);
3197 draw_vdash(2,alpha);
3198 draw_vdash(3,alpha);
3199 labels(1,2,3,4,5,6,7,8,9); endchar;
3200
3201 % \end{macrocode}
3202 % \end{routine}
3203 %
3204 % \begin{routine}{2}
3205 % The numeral \textit{2}.
3206 % \begin{macrocode}
3207 cmchar "Linear B numeral sign 2";
3208 beginglyph(oct"002",digwd);
3209 numeric alpha; alpha:=digsz*h;
3210 x1=x6=leftloc; y1=y2=y3=y4=y5=(1-digsz/2)*h;
3211 x5=rightloc; y6=y7=y8=y9=(digsz/2)*h;
3212 x2=x7=rightloc;
3213 x3=x8=rightloc;
3214 x4=x9=rightloc;
3215 % top row
3216 draw_vdash(1,alpha);
3217 draw_vdash(2,alpha);
3218 labels(1,2,3,4,5,6,7,8,9); endchar;
3219
3220 % \end{macrocode}
3221 % \end{routine}
3222 %
3223 % \begin{routine}{1}
3224 % The numeral \textit{1}.
3225 % \begin{macrocode}
3226 cmchar "Linear B numeral sign 1";
3227 beginglyph(oct"001",digwd/2);
3228 numeric alpha; alpha:=digsz*h;
3229 x1=midloc; y1=(1-digsz/2)*h;
3230 draw_vdash(1,alpha);
3231 labels(1,2,3,4,5,6); endchar;
3232
3233 % \end{macrocode}
3234 % \end{routine}
3235 %
3236 % The tens are all composed of horizontal dashes.
3237 %
3238 % \begin{routine}{90}
3239 % The numeral \textit{90}.
3240 % \begin{macrocode}
3241 cmchar "Linear B numeral sign 90";
3242 beginglyph(oct"022",(2tenwd+tensep));
3243 numeric alpha; alpha:=tensz*h;
3244 x1=x2=x3=x4=x5=leftloc+alpha/2;
3245 x6=x7=x8=x9=rightloc-alpha/2;
3246 y1=y6=h;
3247 y2=y7=3/4h;
3248 y3=y8=1/2h;
3249 y4=y9=1/4h;
3250 y5=0;
3251 % left column
3252 draw_hdash(1,alpha);
3253 draw_hdash(2,alpha);
3254 draw_hdash(3,alpha);
3255 draw_hdash(4,alpha);
3256 draw_hdash(5,alpha);
3257 % right column
3258 draw_hdash(6,alpha);
3259 draw_hdash(7,alpha);
3260 draw_hdash(8,alpha);
3261 draw_hdash(9,alpha);
3262 labels(1,2,3,4,5,6,7,8,9); endchar;
3263
3264 % \end{macrocode}
3265 % \end{routine}
3266 %
3267 % \begin{routine}{80}
3268 % The numeral \textit{80}.
3269 % \begin{macrocode}
3270 cmchar "Linear B numeral sign 80";
3271 beginglyph(oct"021",(2tenwd+tensep));
3272 numeric alpha; alpha:=tensz*h;
3273 x1=x2=x3=x4=x5=leftloc+alpha/2;
3274 x6=x7=x8=x9=rightloc-alpha/2;
3275 y1=y6=h;
3276 y2=y7=3/4h;
3277 y3=y8=1/2h;
3278 y4=y9=1/4h;
3279 y5=0;
3280 % left column
3281 draw_hdash(1,alpha);
3282 draw_hdash(2,alpha);
3283 draw_hdash(3,alpha);
3284 draw_hdash(4,alpha);
3285 % right column
3286 draw_hdash(6,alpha);
3287 draw_hdash(7,alpha);
3288 draw_hdash(8,alpha);
3289 draw_hdash(9,alpha);
3290 labels(1,2,3,4,5,6,7,8,9); endchar;
3291
3292 % \end{macrocode}
3293 % \end{routine}
3294 %
3295 % \begin{routine}{70}
3296 % The numeral \textit{70}.
3297 % \begin{macrocode}
3298 cmchar "Linear B numeral sign 70";
3299 beginglyph(oct"020",(2tenwd+tensep));
3300 numeric alpha; alpha:=tensz*h;
3301 x1=x2=x3=x4=x5=leftloc+alpha/2;
3302 x6=x7=x8=x9=rightloc-alpha/2;
3303 y1=y6=h;
3304 y2=y7=3/4h;
3305 y3=y8=1/2h;
3306 y4=y9=1/4h;
3307 y5=0;
3308 % left column
3309 draw_hdash(1,alpha);
3310 draw_hdash(2,alpha);
3311 draw_hdash(3,alpha);
3312 draw_hdash(4,alpha);
3313 % right column
3314 draw_hdash(6,alpha);
3315 draw_hdash(7,alpha);
3316 draw_hdash(8,alpha);
3317 labels(1,2,3,4,5,6,7,8,9); endchar;
3318
3319 % \end{macrocode}
3320 % \end{routine}
3321 %
3322 % \begin{routine}{60}
3323 % The numeral \textit{60}.
3324 % \begin{macrocode}
3325 cmchar "Linear B numeral sign 60";
3326 beginglyph(oct"017",(2tenwd+tensep));
3327 numeric alpha; alpha:=tensz*h;
3328 x1=x2=x3=x4=x5=leftloc+alpha/2;
3329 x6=x7=x8=x9=rightloc-alpha/2;
3330 y1=y6=h;
3331 y2=y7=3/4h;
3332 y3=y8=1/2h;
3333 y4=y9=1/4h;
3334 y5=0;
3335 % left column
3336 draw_hdash(1,alpha);
3337 draw_hdash(2,alpha);
3338 draw_hdash(3,alpha);
3339 % right column
3340 draw_hdash(6,alpha);
3341 draw_hdash(7,alpha);
3342 draw_hdash(8,alpha);
3343 labels(1,2,3,4,5,6,7,8,9); endchar;
3344
3345 % \end{macrocode}
3346 % \end{routine}
3347 %
3348 % \begin{routine}{50}
3349 % The numeral \textit{50}.
3350 % \begin{macrocode}
3351 cmchar "Linear B numeral sign 50";
3352 beginglyph(oct"016",(2tenwd+tensep));
3353 numeric alpha; alpha:=tensz*h;
3354 x1=x2=x3=x4=x5=leftloc+alpha/2;
3355 x6=x7=x8=x9=rightloc-alpha/2;
3356 y1=y6=h;
3357 y2=y7=3/4h;
3358 y3=y8=1/2h;
3359 y4=y9=1/4h;
3360 y5=0;
3361 % left column
3362 draw_hdash(1,alpha);
3363 draw_hdash(2,alpha);
3364 draw_hdash(3,alpha);
3365 % right column
3366 draw_hdash(6,alpha);
3367 draw_hdash(7,alpha);
3368 labels(1,2,3,4,5,6,7,8,9); endchar;
3369
3370 % \end{macrocode}
3371 % \end{routine}
3372 %
3373 % \begin{routine}{40}
3374 % The numeral \textit{40}.
3375 % \begin{macrocode}
3376 cmchar "Linear B numeral sign 40";
3377 beginglyph(oct"015",(2tenwd+tensep));
3378 numeric alpha; alpha:=tensz*h;
3379 x1=x2=x3=x4=x5=leftloc+alpha/2;
3380 x6=x7=x8=x9=rightloc-alpha/2;
3381 y1=y6=h;
3382 y2=y7=3/4h;
3383 y3=y8=1/2h;
3384 y4=y9=1/4h;
3385 y5=0;
3386 % left column
3387 draw_hdash(1,alpha);
3388 draw_hdash(2,alpha);
3389 % right column
3390 draw_hdash(6,alpha);
3391 draw_hdash(7,alpha);
3392 labels(1,2,3,4,5,6,7,8,9); endchar;
3393
3394 % \end{macrocode}
3395 % \end{routine}
3396 %
3397 % \begin{routine}{30}
3398 % The numeral \textit{30}.
3399 % \begin{macrocode}
3400 cmchar "Linear B numeral sign 30";
3401 beginglyph(oct"014",(tenwd));
3402 numeric alpha; alpha:=tensz*h;
3403 x1=x2=x3=x4=x5=leftloc+alpha/2;
3404 x6=x7=x8=x9=rightloc-alpha/2;
3405 y1=y6=h;
3406 y2=y7=3/4h;
3407 y3=y8=1/2h;
3408 y4=y9=1/4h;
3409 y5=0;
3410 % left column
3411 draw_hdash(1,alpha);
3412 draw_hdash(2,alpha);
3413 draw_hdash(3,alpha);
3414 labels(1,2,3,4,5,6,7,8,9); endchar;
3415
3416 % \end{macrocode}
3417 % \end{routine}
3418 %
3419 % \begin{routine}{20}
3420 % The numeral \textit{20}.
3421 % \begin{macrocode}
3422 cmchar "Linear B numeral sign 20";
3423 beginglyph(oct"013",(tenwd));
3424 numeric alpha; alpha:=tensz*h;
3425 x1=x2=x3=x4=x5=leftloc+alpha/2;
3426 x6=x7=x8=x9=rightloc-alpha/2;
3427 y1=y6=h;
3428 y2=y7=3/4h;
3429 y3=y8=1/2h;
3430 y4=y9=1/4h;
3431 y5=0;
3432 % left column
3433 draw_hdash(1,alpha);
3434 draw_hdash(2,alpha);
3435 labels(1,2,3,4,5,6,7,8,9); endchar;
3436
3437 % \end{macrocode}
3438 % \end{routine}
3439 %
3440 % \begin{routine}{10}
3441 % The numeral \textit{10}.
3442 % \begin{macrocode}
3443 cmchar "Linear B numeral sign 10";
3444 beginglyph(oct"012",(tenwd));
3445 numeric alpha; alpha:=tensz*h;
3446 x1=x2=x3=x4=x5=leftloc+alpha/2;
3447 x6=x7=x8=x9=rightloc-alpha/2;
3448 y1=y6=h;
3449 y2=y7=3/4h;
3450 y3=y8=1/2h;
3451 y4=y9=1/4h;
3452 y5=0;
3453 % left column
3454 draw_hdash(1,alpha);
3455 labels(1,2,3,4,5,6,7,8,9); endchar;
3456
3457 % \end{macrocode}
3458 % \end{routine}
3459 %
3460 % The hundreds are composed of circles.
3461 %
3462 % \begin{routine}{900}
3463 % The numeral \textit{900}.
3464 % \begin{macrocode}
3465 cmchar "Linear B numeral sign 900";
3466 beginglyph(oct"033",(5hunwd+4hunsep));
3467 numeric diam, rad; diam:=hunsz*h; rad:=diam/2;
3468 x1=x6=leftloc+rad; y1=y2=y3=y4=y5=h-rad;
3469 x5=rightloc-rad; y6=y7=y8=y9=rad;
3470 x2=x7=1/4[x1,x5];
3471 x3=x8=1/2[x1,x5];
3472 x4=x9=3/4[x1,x5];
3473 % top row
3474 draw fullcircle scaled diam shifted z1;
3475 draw fullcircle scaled diam shifted z2;
3476 draw fullcircle scaled diam shifted z3;
3477 draw fullcircle scaled diam shifted z4;
3478 draw fullcircle scaled diam shifted z5;
3479 % bottom row
3480 draw fullcircle scaled diam shifted z6;
3481 draw fullcircle scaled diam shifted z7;
3482 draw fullcircle scaled diam shifted z8;
3483 draw fullcircle scaled diam shifted z9;
3484 labels(1,2,3,4,5,6,7,8,9); endchar;
3485
3486 % \end{macrocode}
3487 % \end{routine}
3488 %
3489 % \begin{routine}{800}
3490 % The numeral \textit{800}.
3491 % \begin{macrocode}
3492 cmchar "Linear B numeral sign 800";
3493 beginglyph(oct"032",(4hunwd+3hunsep));
3494 numeric diam, rad; diam:=hunsz*h; rad:=diam/2;
3495 x1=x6=leftloc+rad; y1=y2=y3=y4=y5=h-rad;
3496 x5=rightloc-rad; y6=y7=y8=y9=rad;
3497 x4=x9=rightloc-rad;
3498 x2=x7=1/3[x1,x5];
3499 x3=x8=2/3[x1,x5];
3500 % top row
3501 draw fullcircle scaled diam shifted z1;
3502 draw fullcircle scaled diam shifted z2;
3503 draw fullcircle scaled diam shifted z3;
3504 draw fullcircle scaled diam shifted z4;
3505 % bottom row
3506 draw fullcircle scaled diam shifted z6;
3507 draw fullcircle scaled diam shifted z7;
3508 draw fullcircle scaled diam shifted z8;
3509 draw fullcircle scaled diam shifted z9;
3510 labels(1,2,3,4,5,6,7,8,9); endchar;
3511
3512 % \end{macrocode}
3513 % \end{routine}
3514 %
3515 % \begin{routine}{700}
3516 % The numeral \textit{700}.
3517 % \begin{macrocode}
3518 cmchar "Linear B numeral sign 700";
3519 beginglyph(oct"031",(4hunwd+3hunsep));
3520 numeric diam, rad; diam:=hunsz*h; rad:=diam/2;
3521 x1=x6=leftloc+rad; y1=y2=y3=y4=y5=h-rad;
3522 x5=rightloc-rad; y6=y7=y8=y9=rad;
3523 x4=x9=rightloc-rad;
3524 x2=x7=1/3[x1,x5];
3525 x3=x8=2/3[x1,x5];
3526 % top row
3527 draw fullcircle scaled diam shifted z1;
3528 draw fullcircle scaled diam shifted z2;
3529 draw fullcircle scaled diam shifted z3;
3530 draw fullcircle scaled diam shifted z4;
3531 % bottom row
3532 draw fullcircle scaled diam shifted z6;
3533 draw fullcircle scaled diam shifted z7;
3534 draw fullcircle scaled diam shifted z8;
3535 labels(1,2,3,4,5,6,7,8,9); endchar;
3536
3537 % \end{macrocode}
3538 % \end{routine}
3539 %
3540 %
3541 % \begin{routine}{600}
3542 % The numeral \textit{600}.
3543 % \begin{macrocode}
3544 cmchar "Linear B numeral sign 600";
3545 beginglyph(oct"030",(3hunwd+2hunsep));
3546 numeric diam, rad; diam:=hunsz*h; rad:=diam/2;
3547 x1=x6=leftloc+rad; y1=y2=y3=y4=y5=h-rad;
3548 x5=rightloc-rad; y6=y7=y8=y9=rad;
3549 x2=x7=1/2[x1,x5];
3550 x3=x8=rightloc-rad;
3551 x4=x9=rightloc-rad;
3552 % top row
3553 draw fullcircle scaled diam shifted z1;
3554 draw fullcircle scaled diam shifted z2;
3555 draw fullcircle scaled diam shifted z3;
3556 % bottom row
3557 draw fullcircle scaled diam shifted z6;
3558 draw fullcircle scaled diam shifted z7;
3559 draw fullcircle scaled diam shifted z8;
3560 labels(1,2,3,4,5,6,7,8,9); endchar;
3561
3562 % \end{macrocode}
3563 % \end{routine}
3564 %
3565 % \begin{routine}{500}
3566 % The numeral \textit{500}.
3567 % \begin{macrocode}
3568 cmchar "Linear B numeral sign 500";
3569 beginglyph(oct"027",(3hunwd+2hunsep));
3570 numeric diam, rad; diam:=hunsz*h; rad:=diam/2;
3571 x1=x6=leftloc+rad; y1=y2=y3=y4=y5=h-rad;
3572 x5=rightloc-rad; y6=y7=y8=y9=rad;
3573 x2=x7=1/2[x1,x5];
3574 x3=x8=rightloc-rad;
3575 x4=x9=rightloc-rad;
3576 % top row
3577 draw fullcircle scaled diam shifted z1;
3578 draw fullcircle scaled diam shifted z2;
3579 draw fullcircle scaled diam shifted z3;
3580 % bottom row
3581 draw fullcircle scaled diam shifted z6;
3582 draw fullcircle scaled diam shifted z7;
3583 labels(1,2,3,4,5,6,7,8,9); endchar;
3584
3585 % \end{macrocode}
3586 % \end{routine}
3587 %
3588 %
3589 % \begin{routine}{400}
3590 % The numeral \textit{400}.
3591 % \begin{macrocode}
3592 cmchar "Linear B numeral sign 400";
3593 beginglyph(oct"026",(2hunwd+hunsep));
3594 numeric diam, rad; diam:=hunsz*h; rad:=diam/2;
3595 x1=x6=leftloc+rad; y1=y2=y3=y4=y5=h-rad;
3596 x5=rightloc-rad; y6=y7=y8=y9=rad;
3597 x2=x7=rightloc-rad;
3598 x3=x8=rightloc-rad;
3599 x4=x9=rightloc-rad;
3600 % top row
3601 draw fullcircle scaled diam shifted z1;
3602 draw fullcircle scaled diam shifted z2;
3603 % bottom row
3604 draw fullcircle scaled diam shifted z6;
3605 draw fullcircle scaled diam shifted z7;
3606 labels(1,2,3,4,5,6,7,8,9); endchar;
3607
3608 % \end{macrocode}
3609 % \end{routine}
3610 %
3611 % \begin{routine}{300}
3612 % The numeral \textit{400}.
3613 % \begin{macrocode}
3614 cmchar "Linear B numeral sign 300";
3615 beginglyph(oct"025",(2hunwd+hunsep));
3616 numeric diam, rad; diam:=hunsz*h; rad:=diam/2;
3617 x1=x6=leftloc+rad; y1=y2=y3=y4=y5=h-rad;
3618 x5=rightloc-rad; y6=y7=y8=y9=rad;
3619 x2=x7=rightloc-rad;
3620 x3=x8=rightloc-rad;
3621 x4=x9=rightloc-rad;
3622 % top row
3623 draw fullcircle scaled diam shifted z1;
3624 draw fullcircle scaled diam shifted z2;
3625 % bottom row
3626 draw fullcircle scaled diam shifted z6;
3627 labels(1,2,3,4,5,6,7,8,9); endchar;
3628
3629 % \end{macrocode}
3630 % \end{routine}
3631 %
3632 % \begin{routine}{200}
3633 % The numeral \textit{200}.
3634 % \begin{macrocode}
3635 cmchar "Linear B numeral sign 200";
3636 beginglyph(oct"024",hunwd);
3637 numeric diam, rad; diam:=hunsz*h; rad:=diam/2;
3638 x1=x6=leftloc+rad; y1=y2=y3=y4=y5=h-rad;
3639 x5=rightloc-rad; y6=y7=y8=y9=rad;
3640 x2=x7=rightloc-rad;
3641 x3=x8=rightloc-rad;
3642 x4=x9=rightloc-rad;
3643 % top row
3644 draw fullcircle scaled diam shifted z1;
3645 % bottom row
3646 draw fullcircle scaled diam shifted z6;
3647 labels(1,2,3,4,5,6,7,8,9); endchar;
3648
3649 % \end{macrocode}
3650 % \end{routine}
3651 %
3652 % \begin{routine}{100}
3653 % The numeral \textit{100}.
3654 % \begin{macrocode}
3655 cmchar "Linear B numeral sign 100";
3656 beginglyph(oct"023",hunwd);
3657 numeric diam, rad; diam:=hunsz*h; rad:=diam/2;
3658 x1=x6=leftloc+rad; y1=y2=y3=y4=y5=h-rad;
3659 x5=rightloc-rad; y6=y7=y8=y9=rad;
3660 x2=x7=rightloc-rad;
3661 x3=x8=rightloc-rad;
3662 x4=x9=rightloc-rad;
3663 % top row
3664 draw fullcircle scaled diam shifted z1;
3665 labels(1,2,3,4,5,6,7,8,9); endchar;
3666
3667 % \end{macrocode}
3668 % \end{routine}
3669 %
3670 %
3671 % \begin{routine}{1000}
3672 % The numeral \textit{1000}. It is a circle with spikes.
3673 % \begin{macrocode}
3674 cmchar "Linear B numeral sign 1000";
3675 beginglyph(oct"034",1.0);
3676 numeric diam, rad; diam:=h/2; rad:=diam/2;
3677 x0=midloc; y0=h/2; % circle center
3678 x5=leftloc; x1=x0-rad; x3=x0+rad; x7=rightloc; y5=y1=y3=y7=y0;
3679 x8=x4=x2=x6=x0; y8=0; y4=y0-rad; y2=y0+rad; y6=h;
3680 draw fullcircle scaled diam shifted z0;
3681 draw z5--z1; draw z6--z2; draw z7--z3; draw z8--z4;
3682 labels(0,1,2,3,4,5,6,7,8,9); endchar;
3683
3684 % \end{macrocode}
3685 % \end{routine}
3686 %
3687 % \subsection{Weights and measures}
3688 %
3689 % Chadwick shows 9 glyphs for weight and volume measures: 5 for weights
3690 % and 4 for volumes.
3691 % \changes{v1.2}{2005/06/22}{Added 9 weights and measures glyphs}
3692 %
3693 % \begin{routine}{wta}
3694 % The lowest weight unit. A shepherd's crook with a cross-bar.
3695 % \begin{macrocode}
3696 cmchar "Linear B smallest weight (wta)";
3697 beginglyph(oct"200",0.4);
3698 x5=leftloc; x6=rightloc;
3699 x1=x2=x4=1/2[x5,x6]; x3=x5;
3700 y1=0; y4=h; y2=15/20[y1,y4]; y3=1/2[y2,y4]; y5=y6=15/20[y1,y2];
3701 draw z1--z2{left}..z3{up}..{right}z4;
3702 draw z5--z6;
3703 labels(1,2,3,4,5,6,7); endchar;
3704
3705 % \end{macrocode}
3706 % \end{routine}
3707 %
3708 % \begin{routine}{wtb}
3709 % The second lowest weight unit. A reversed S with a slash and dots.
3710 % \begin{macrocode}
3711 cmchar "Linear B second smallest weight (wtb)";
3712 beginglyph(oct"201",0.4);
3713 numeric alpha; alpha:=0.5*(rightloc-leftloc);
3714 x1=x5=leftloc; x6=x4=x2=midloc; x7=x3=rightloc;
3715 y6=0; y5=y7=y6+alpha; y4=h/2; y1=y3=y2-alpha; y2=h;
3716 draw z1..z2..z3..z4..z5..z6..z7;
3717 z11=1/2[z4,z1]; z12=1/2[z4,z7];
3718 z13=1/2[z1,z3]; z14=1/2[z5,z7];
3719 draw z11--z12; draw z13; draw z14;
3720 labels(1,2,3,4,5,6,7,8,9); endchar;
3721
3722 % \end{macrocode}
3723 % \end{routine}
3724 %
3725 % \begin{routine}{wtc}
3726 % The third lowest weight unit. An octothorpe.
3727 % \begin{macrocode}
3728 cmchar "Linear B third smallest weight(wtd)";
3729 beginglyph(oct"202",1.0);
3730 x1=x2=leftloc; x3=x4=rightloc;
3731 y5=y7=0; y6=y8=h;
3732 y1=y3=1/4[y5,y6]; y2=y4=3/4[y5,y6];
3733 x5=x6=0.25[x1,x3]; x7=x8=3/4[x1,x3];
3734 draw z1--z3; draw z2--z4;
3735 draw z5--z6; draw z7--z8;
3736 labels(1,2,3,4,5,6,7,8);
3737 endchar;
3738
3739 % \end{macrocode}
3740 % \end{routine}
3741 %
3742 % \begin{routine}{wtd}
3743 % The fourth lowest weight unit. Two reversed S's.
3744 % \begin{macrocode}
3745 cmchar "Linear B fourth smallest weight (wtd)";
3746 beginglyph(oct"203",0.2);
3747 numeric alpha; alpha:=0.5*(rightloc-leftloc);
3748 x1=x5=leftloc; x6=x4=x2=midloc; x7=x3=rightloc;
3749 y6=11/20h; y2=h; y4=1/2[y6,y2]; y5=y7=1/2[y6,y4]; y1=y3=1/2[y4,y2];
3750 draw z1..z2..z3..z4..z5..z6..z7;
3751
3752 x11=x15=x1; x16=x14=x12=x6; x17=x13=x7;
3753 y16=0; y12=9/20h; y14=1/2[y16,y12]; y15=y17=1/2[y16,y14]; y11=y13=1/2[y14,y12];
3754 draw z11..z12..z13..z14..z15..z16..z17;
3755 labels(1,2,3,4,5,6,7,8,9,11,12,13,14,15,16,17); endchar;
3756
3757 % \end{macrocode}
3758 % \end{routine}
3759 %
3760 % \begin{routine}{talent}
3761 % The symbol for weights; Chadwick suggests it might be a talent, the most
3762 % common weight in antiquity.
3763 % A pair of scales.
3764 % \begin{macrocode}
3765 cmchar "Linear B highest weight symbol (talent)";
3766 beginglyph(oct"204",1.1);
3767 numeric alpha; alpha:=(rightloc-leftloc);
3768 numeric beta; beta:=0.2alpha; % dash length
3769 numeric gap; gap:=3/2tiny;
3770 x0=x0'=midloc; y0=0; y0'=h; % axis of symmetry
3771 x1=leftloc; x3=x0-0.5gap; y1=y3=0; % left base points
3772 x2=0.5[x1,x3]; y2=0.9h; % top point
3773 x4=x1+gap; x5=x3-gap; y4=y5=0; % base line
3774 %%x9=x10=0.5[x5,x3]; x6=x7=x8=0.5[(x2+0.5beta),x9]; % points for the 3
3775 x9=x10=x3; x6=x7=x8=0.5[(x2+0.5beta),x9]; % points for the 3
3776 y6=h; y7=y2; y7-y8=y6-y7;
3777 y10=0.5[y6,y7]; y9=0.5[y7,y8];
3778 z11=z1 reflectedabout (z0,z0'); % the symmetric right hand side
3779 z12=z2 reflectedabout (z0,z0');
3780 z13=z3 reflectedabout (z0,z0');
3781 z14=z4 reflectedabout (z0,z0');
3782 z15=z5 reflectedabout (z0,z0');
3783 z16=z6 reflectedabout (z0,z0');
3784 z17=z7 reflectedabout (z0,z0');
3785 z18=z8 reflectedabout (z0,z0');
3786 z19=z9 reflectedabout (z0,z0');
3787 z20=z10 reflectedabout (z0,z0');
3788 %%draw z1--z2--z3; draw z4--z5; % triangle
3789 draw z4--z2--z5--cycle;
3790 draw_hdash(2,beta); % dash at the top
3791 %%draw z6..z10..z7; % 3
3792 %%draw z7..z9..z8;
3793 %%draw z11--z12--z13; draw z14--z15; % and for the RHS
3794 draw z14--z12--z15--cycle;
3795 draw_hdash(12,beta);
3796 %%draw z16..z20..z17;
3797 %%draw z17..z19..z18;
3798 draw z2--z12;
3799 x21=x22=1/2[x2,x12]; y21=0; y22=h;
3800 draw z21--z22; % upright
3801 labels(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22); endchar;
3802
3803 % \end{macrocode}
3804 % \end{routine}
3805 %
3806 %
3807 % \begin{routine}{vola}
3808 % The lowest volume unit. A cup.
3809 % \begin{macrocode}
3810 cmchar "Linear B lowest volume unit (vola)";
3811 beginglyph(oct"210",1.0);
3812 x11=leftloc; x2=rightloc; x1=3/20[x11,x2]; x3=1/2[x1,x2];
3813 y1=y2=1/3h; y3=0; y11=y1+1/2(x1-x11);
3814 draw z1--z2..z3..cycle;
3815 draw z1..z11..cycle;
3816 labels(1,2,3,11); endchar;
3817
3818 % \end{macrocode}
3819 % \end{routine}
3820 %
3821 %
3822 % \begin{routine}{volb}
3823 % The second lowest volume unit. A triangular P.
3824 % \begin{macrocode}
3825 cmchar "Linear B second lowest volume unit (volb)";
3826 beginglyph(oct"211",0.6);
3827 x1=x2=midloc; y1=0; y2=h;
3828 x3=leftloc; x4=rightloc; y3=y4=0.6h;
3829 z5=0.5[z1,z2]; z6=0.8[z1,z2];
3830 x7=rightloc; y7=0.5[y5,y6];
3831 draw z1--z2; %% draw z3--z4;
3832 draw z5--z4; draw z6--z7;
3833 labels(1,2,3,4,5,6,7,8); endchar;
3834
3835 % \end{macrocode}
3836 % \end{routine}
3837 %
3838 %
3839 % \begin{routine}{volcd}
3840 % The highest dry volume unit. A T.
3841 % \begin{macrocode}
3842 cmchar "Linear B highest dry volume unit (volcd)";
3843 beginglyph(oct"212",0.6);
3844 x1=x3=leftloc; x4=midloc; x6=x8=rightloc;
3845 y1=y6=3/4h; y3=y8=h; y4=0;
3846 z2=0.5[z1,z3]; z7=0.5[z6,z8]; z5=0.5[z2,z7];
3847 %%draw z1--z3; % left vertical
3848 draw z4--z5; % centre vertical
3849 %%draw z6--z8; % right vertical
3850 draw z2--z7; % bar
3851 labels(1,2,3,4,5,6,7,8); endchar;
3852
3853 % \end{macrocode}
3854 % \end{routine}
3855 %
3856 %
3857 % \begin{routine}{volcf}
3858 % The highest fluid volume unit. A turn left sign.
3859 % \begin{macrocode}
3860 cmchar "Linear B highest fluid volume unit (volcf)";
3861 beginglyph(oct"213",0.5);
3862 x1=x2=rightloc; x4=leftloc; x3=2/3[x4,x2]; x5=x6=1/2[x4,x3];
3863 y1=0; y4=y3=18/20h; y6=h; y2=y3 - (x2-x3); y4-y5=y6-y4;
3864 draw z1--z2{up}..{left}z3--z4; % stem
3865 draw z5--z4--z6; % arrowhead
3866 labels(1,2,3,4,5,6,7); endchar;
3867
3868 % \end{macrocode}
3869 % \end{routine}
3870 %
3871 % \subsection{Commodities}
3872 %
3873 % A selection of pictograms for commodities.
3874 % \changes{v1.2}{2005/06/22}{Added 8 commodity glyphs}
3875 %
3876 %
3877 % \begin{routine}{cloth}
3878 % Cloth. Rectangle with four threads hanging down.
3879 % \begin{macrocode}
3880 cmchar "Linear B cloth pictogram";
3881 beginglyph(oct"220",0.8);
3882 x1=x2=x3=leftloc; x6=x7=x8=rightloc;
3883 y1=y6=0; y2=y7=1/4h; y3=y8=3/4h;
3884 %x4=x5=midloc; y4=y1; y5=y2;
3885 %y6=y1; y7=y2; y8=y3;
3886 z11=1/3[z1,z6]; z13=2/3[z1,z6];
3887 z12=1/3[z2,z7]; z14=2/3[z2,z7];
3888 draw z2--z3--z8--z7--cycle; % box
3889 %draw z1--z2; draw z4--z5; draw z6--z7; % legs
3890 draw z1--z2; draw z11--z12; draw z13--z14; draw z6--z7; % legs
3891 labels(1,2,3,4,5,6,7,8,9,10,11,12,13,14); endchar;
3892
3893 % \end{macrocode}
3894 % \end{routine}
3895 %
3896 %
3897 % \begin{routine}{wool}
3898 % Wool. A bit like an M with squiggles.
3899 % \begin{macrocode}
3900 cmchar "Linear B wool pictogram";
3901 beginglyph(oct"221",0.8);
3902 numeric alpha, beta;
3903 alpha:=0.2; beta:=tiny;
3904 x1=leftloc; x2=midloc; x3=rightloc; y1=y3=h;
3905 % y2=0; % V
3906 y2 = 2/10h;
3907 path p[];
3908 p1=z1{(1,-1)}...{down}z2;
3909 p2=z3{(-1,-1)}...{down}z2;
3910 z5 = point alpha of p1;
3911 z8 = point alpha of p2;
3912 z4=z5 shifted (beta*(-1,-1)); z6=z5 shifted (beta*(1,1));
3913 z7=z8 shifted (beta*(-1,1)); z9=z8 shifted (beta*(1,-1));
3914 draw p1; draw p2; % V
3915 %%draw z4--z6; draw z7--z9; % dashes
3916 x15=x1; x18=x3; y15=y18=y2;
3917 draw z5..{down}z15; draw z8..{down}z18; % legs
3918
3919 x21=x5; x23=x8; x22=x2; y21=y23=y1; y22=y5;
3920 draw z21--z22--z23; % upper V
3921
3922 x31=x33=x5; y31=0; y33=y2;
3923 draw z31{left}..{right}z33;
3924
3925 x41=x43=x8; y41=y31; y43=y33;
3926 draw z41{right}..{left}z43;
3927 labels(1,2,3,4,5,6,7,8,9,15,18,21,22,23,31,33,41,43); endchar;
3928
3929 % \end{macrocode}
3930 % \end{routine}
3931 %
3932 %
3933 % \begin{routine}{wheat}
3934 % Wheat. Upward pointing full arrow.
3935 % \begin{macrocode}
3936 cmchar "Linear B wheat pictogram";
3937 beginglyph(oct"222",0.6);
3938 x1=x2=midloc; y1=0; y2=h; % stem
3939 x5=leftloc; x6=rightloc; y5=y6=13/20h;
3940 %%x3=leftloc; x4=rightloc; y3=y4=1/4h; % bar (original)
3941 %%x3=0.2[x5,x6]; x4=0.2[x6,x5]; y3=y4=1/4h; % bar (jurgen)
3942 draw z1--z2; % stem
3943 %%draw z3--z4; % bar
3944 draw z5--z2--z6--cycle; % arrowhead
3945 x11=leftloc; x12=rightloc; y11=y12=y2;
3946 draw z11--z12;
3947 labels(1,2,3,4,5,6); endchar;
3948
3949 % \end{macrocode}
3950 % \end{routine}
3951 %
3952 %
3953 % \begin{routine}{barley}
3954 % Barley. Sort of turn left sign.
3955 % \begin{macrocode}
3956 cmchar "Linear B barley pictogram";
3957 beginglyph(oct"223",0.4);
3958 x7=leftloc; x4=rightloc; x6= 3/8[x7,x4]; x1=1/3[x6,x4];
3959 y7=h; y1=0; y6=9/10h; y4=8/10h;
3960 x2=x1; y2=1/3h; x5=7/8[x6,x4]; y5=y6;
3961 draw z1--z2{up}..{up}z4..{left}z5..{left}z6; % stem
3962 x14=leftloc; y14=h;
3963 x11=1/3[x6,x4]; y6-y11 = 3/2(y14-y6);
3964 x13=x14; y13=y6;
3965 draw z14{down}..{right}z11; % C at top left of stem
3966 labels(1,2,3,4,5,6,7,8,9,10,11,12,13,14); endchar;
3967
3968 % \end{macrocode}
3969 % \end{routine}
3970 %
3971 %
3972 % \begin{routine}{wine}
3973 % Wine.
3974 % \begin{macrocode}
3975 cmchar "Linear B wine pictogram";
3976 beginglyph(oct"224",0.8);
3977 x1=x3=leftloc; x7=x4=rightloc; y1=y7=0; y3=y4=h;
3978 z2=3/4[z1,z3]; z8=3/4[z7,z4]; z5=1/2[z1,z7]; z6=1/2[z2,z8];
3979 draw z1--z3--z4;
3980 draw z2--z8--z7;
3981 draw z5--z6;
3982 %%%%% the dashes
3983 x21=x22=1/4[x1,x5]; x23=x24=3/4[x1,x5];
3984 y22=3/4[y1,y2]; y23=1/4[y1,y2];
3985 y21=1/4[y23,y22]; y24=3/4[y23,y22];
3986 draw z21--z23; draw z22--z24;
3987 x31=x32=1/4[x5,x7]; x33=x34=3/4[x5,x7];
3988 y31=y21; y32=y22; y33=y23; y34=y24;
3989 draw z31--z33; draw z32--z34;
3990 labels(1,2,3,4,5,6,7,8,9,10,11,12,13,14,21,22,23,24,31,32,33,34); endchar;
3991
3992 % \end{macrocode}
3993 % \end{routine}
3994 %
3995 %
3996 % \begin{routine}{olive-oil}
3997 % Olive oil. Question mark overlain with a reversed S.
3998 % \begin{macrocode}
3999 cmchar "Linear B olive oil pictogram";
4000 beginglyph(oct"225",0.4);
4001 x6=x7=leftloc; x4=rightloc; x1=1/3[x6,x4];
4002 y7=h; y1=0; y6=9/10h; y4=8/10h;
4003 x2=x1; y2=1/3h; x5=7/8[x6,x4]; y5=y6;
4004 draw z1--z2{up}..{up}z4..{left}z5--z6--z7;
4005
4006 x25=1/4[x6,x4]; y6-y25 = 3/2(y7-y6);
4007 x21=1/2[x2,x4]; y21=3/4[y1,y2];
4008 z23=1/2[z25,z21];
4009 y24=1/2[y23,y25]; x24=x4 + (x4-x5);
4010 x22=1/4[x6,x25]; y22=1/2[y21,y23];
4011 draw z25{right}..z24..{left}z23..z22..{right}z21;
4012 labels(1,2,3,4,5,6,7,8,9,10,11,12,13,14,21,22,23,24,25); endchar;
4013
4014 % \end{macrocode}
4015 % \end{routine}
4016 %
4017 %
4018 % \begin{routine}{bronze}
4019 % Bronze. Two boxes hung on a wall.
4020 % \begin{macrocode}
4021 cmchar "Linear B bronze pictogram";
4022 beginglyph(oct"226",0.6);
4023 x1=x2=leftloc; y1=0; y2=h;
4024 z3=1/4[z1,z2]; z4=1/2[z1,z2]; z5=3/4[z1,z2];
4025 x6=x7=x8=rightloc; y6=y3; y7=y4; y8=y5;
4026 draw z1--z2; % wall
4027 draw z3--z6--z8--z5; % box outside
4028 draw z4--z7; % box interior
4029 labels(1,2,3,4,5,6,7,8,9,10,11,12,13,14); endchar;
4030
4031 % \end{macrocode}
4032 % \end{routine}
4033 %
4034 %
4035 % \begin{routine}{gold}
4036 % Gold. Small folding table with a box on top.
4037 % \begin{macrocode}
4038 cmchar "Linear B gold pictogram";
4039 beginglyph(oct"227",0.6);
4040 numeric alpha;
4041 x1=x4=leftloc; x3=x2=rightloc; y1=y3=0; y2=y4=9/10h; % leg points
4042 path p[];
4043 p1=z1{up}..z2; p2=z3{up}..z4;
4044 z0 = p1 intersectionpoint p2;
4045 %%alpha:=0.5*(x0-x4);
4046 alpha:=0.75*(x0-x4);
4047 x5=x0-alpha; x7=x0+alpha; y5=y7=y0;
4048 x6=x8=x0; y8=y0-alpha; y6=y0+alpha;
4049 draw p1; draw p2; % the legs
4050 %%draw z5--z6--z7--z8--cycle; % the square
4051 p5=z5--z6; p7=z7--z6;
4052 z15 = p5 intersectionpoint p2; z17 = p7 intersectionpoint p1;
4053 draw z15--z5--z8--z7--z17;
4054 draw z2--z4; % table top
4055 z21=1/4[z4,z2]; z24=3/4[z4,z2];
4056 x22=x21; x23=x24; y22 = y23 = y21 + 1/2(x24-x21);
4057 draw z21--z22--z23--z24--cycle; % box
4058 labels(1,2,3,4,5,6,7,8,9,10,11,12,13,14); endchar;
4059
4060 % \end{macrocode}
4061 % \end{routine}
4062 %
4063 % \subsection{Vessels}
4064 %
4065 % Pictograms of various kinds of vessels for liquids.
4066 % \changes{v1.2}{2005/06/22}{Added 8 jar/cup/cauldron glyphs}
4067 %
4068 %
4069 % \begin{routine}{cup}
4070 % \begin{macrocode}
4071 cmchar "Linear B cup";
4072 beginglyph(oct"230",1.0);
4073 x1=2/16[leftloc,rightloc]; x2=3/16[rightloc,leftloc];
4074 y1=y2=13/20h;
4075 y4=y6=0; y5=y7=8/20y1;
4076 x4=6/20[x1,x2]; x6=6/20[x2,x1]; x5=2/8[x4,x6]; x7=2/8[x6,x4];
4077 draw z5--z4--z6--z7; % stem
4078 draw z1{down}..z5..z7..{up}z2; draw z1--z2; % bowl
4079 x21=x1; y21=8/20[y1,h]; draw z1{left}..{right}z21; % left handle
4080 x22=rightloc; y22=y2; draw z2..{down}z22; % right handle
4081 labels(1,2,3,4,5,6,7,8,9,10,11,12,21,22); endchar;
4082
4083 % \end{macrocode}
4084 % \end{routine}
4085 %
4086 % \begin{routine}{goblet}
4087 % \begin{macrocode}
4088 cmchar "Linear B goblet";
4089 beginglyph(oct"231",0.6);
4090 x2=leftloc; x5=rightloc; x1=1/3[x2,x5]; x4=2/3[x2,x5]; x3=2/8[x2,x5]; x6=6/8[x2,x5];
4091 y1=y4=0; y3=y6=17/20h; y2=y5=3/4[y1,y3];
4092 draw z1{up}..z2; draw z2..{up}z3; draw z3--z6; draw z6{down}..z5; draw z5..{down}z4; draw z4--z1;
4093 labels(1,2,3,4,5,6,7,8,9,10,11,12,13,14); endchar;
4094
4095 % \end{macrocode}
4096 % \end{routine}
4097 %
4098 %
4099 % \begin{routine}{amphora}
4100 % \begin{macrocode}
4101 cmchar "Linear B amphora";
4102 beginglyph(oct"232",0.5);
4103 x2=leftloc; x12=rightloc; x1=1/4[x2,x12]; x11=3/4[x2,x12]; x4=1/3[x2,x12]; x14=2/3[x2,x12];
4104 x3=x4; x13=x14;
4105 y1=y11=0; y4=y14=h;
4106 y2=y12=5/8[y1,y4];
4107 y3=y13=1/2[y2,y4];
4108 draw z1..{up}z2..{up}z3..{up}z4;
4109 draw z11..{up}z12..{up}z13..{up}z14;
4110 draw z4--z14; draw z1--z11;
4111 x5=x2; x15=x12;
4112 y5=y15=1/2[y3,y4];
4113 draw z3{left}..z5..{right}z4; draw z13{right}..z15..{left}z14;
4114 labels(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15); endchar;
4115
4116 % \end{macrocode}
4117 % \end{routine}
4118 %
4119 %
4120 % \begin{routine}{wine jar}
4121 % \begin{macrocode}
4122 cmchar "Linear B wine jar";
4123 beginglyph(oct"233",0.6);
4124 x2=leftloc; x5=rightloc; x1=1/3[x2,x5]; x4=2/3[x2,x5]; x3=2/8[x2,x5]; x6=6/8[x2,x5];
4125 y1=y4=0; y3=y6=17/20h; y2=y5=3/4[y1,y3];
4126 draw z1{up}..z2; draw z2..{up}z3; draw z3--z6; draw z6{down}..z5; draw z5..{down}z4; draw z4--z1;
4127 x12=x2; x15=x5; y12=y15=2/3[y2,y3];
4128 draw z2..{left}z12..z2; draw z5..{left}z15..z5;
4129 labels(1,2,3,4,5,6,7,8,9,10,11,12,13,14); endchar;
4130
4131 % \end{macrocode}
4132 % \end{routine}
4133 %
4134 %
4135 % \begin{routine}{wine jar (3 handles)}
4136 % \begin{macrocode}
4137 cmchar "Linear B 3 handled wine jar";
4138 beginglyph(oct"234",0.8);
4139 save P; P:=0.75;
4140 x2=leftloc; x5=rightloc; x1=1/3[x2,x5]; x4=2/3[x2,x5]; x3=1/8[x2,x5]; x6=7/8[x2,x5];
4141 y1=y4=0; y3=y6=17/20h; y2=y5=3/4[y1,y3];
4142 draw z1{up}..z2; draw z2..{up}z3; draw z3--z6; draw z6{down}..z5; draw z5..{down}z4; draw z4--z1;
4143 z11=1/2[z3,z6]; z12=2/3[z3,z6];
4144 x13=x3; x16=x6; y13=y16=h;
4145 z21=1/2[z13,z16]; z22=2/3[z13,z16];
4146 draw_vloop(3, 13, P);
4147 draw_vloop(11, 21, P);
4148 draw_vloop(16, 6, P);
4149 labels(1,2,3,4,5,6,7,8,9,10,11,12,13,14,21,22); endchar;
4150
4151 % \end{macrocode}
4152 % \end{routine}
4153 %
4154 %
4155 % \begin{routine}{wine jar (4 handles)}
4156 % \begin{macrocode}
4157 cmchar "Linear B 4 handled wine jar";
4158 beginglyph(oct"235",0.8);
4159 save Q;
4160 x2=leftloc; x5=rightloc; x1=1/3[x2,x5]; x4=2/3[x2,x5]; x3=1/8[x2,x5]; x6=7/8[x2,x5];
4161 y1=y4=0; y3=y6=17/20h; y2=y5=3/4[y1,y3];
4162 draw z1{up}..z2; draw z2..{up}z3; draw z3--z6;
4163 draw z6{down}..z5; draw z5..{down}z4; draw z4--z1;
4164 z11=1/3[z3,z6]; z12=2/3[z3,z6];
4165 x13=1/2[x2,x3]; x16=1/2[x6,x5]; y13=y16=h;
4166 z21=1/3[z13,z16]; z22=2/3[z13,z16];
4167 Q:=0.75;
4168 draw_vloop(3,13,Q); draw_vloop(11,21,Q);
4169 draw_vloop(12,22,Q); draw_vloop(6,16,Q);
4170 labels(1,2,3,4,5,6,7,8,9,10,11,12,13,14,21,22); endchar;
4171
4172 % \end{macrocode}
4173 % \end{routine}
4174 %
4175 %
4176 % \begin{routine}{cauldron type 1}
4177 % \begin{macrocode}
4178 cmchar "Linear B cauldron type 1";
4179 beginglyph(oct"236",1.0);
4180 save Q; Q:=0.75;
4181 path p[];
4182 x1=1/16[leftloc,rightloc]; x2=15/16[leftloc,rightloc]; y1=y2=18/20h;
4183 y6=0; y5=y7=10/20y1;
4184 x6=10/20[x1,x2]; x5=9/20[x1,x2]; x7-x6=x6-x5;
4185 p1 := z1{down}..z5..z7..{up}z2;
4186 draw p1; draw z1--z2; % bowl
4187 draw z5--z6--z7; % middle leg
4188 x11=leftloc; y11=y12=h; x12=rightloc;
4189 draw_vloop(1,11,Q); draw_vloop(2,12,Q); % handles
4190 z0=1/2[z1,z2];
4191 x16=x1; y16=0; p2=z16--z0; z15=p2 intersectionpoint p1;
4192 x17-x15=x5-x7; y17=y15;
4193 draw z15--z16--z17; % left leg
4194 x26=x2; y26=0; p3=z26--z0; z25=p3 intersectionpoint p1;
4195 x25-x27=x5-x7; y27=y25;
4196 draw z25--z26--z27; % right leg
4197 labels(1,2,3,4,5,6,7,11,12,15,16,17,21,22,25,26,27); endchar;
4198 % \end{macrocode}
4199 % \end{routine}
4200 %
4201 %
4202 % \begin{routine}{cauldron type 2}
4203 % \begin{macrocode}
4204 cmchar "Linear B cauldron type 2";
4205 beginglyph(oct"237",1.0);
4206 save Q; Q:=0.75;
4207 path p[];
4208 x1=3/32[leftloc,rightloc]; x2=3/32[rightloc,leftloc]; y1=y2=18/20h;
4209 y6=0; y5=y7=6/20y1;
4210 x6=10/20[x1,x2]; x5=9/20[x1,x2]; x7-x6=x6-x5;
4211 p1 := z1{down}..z5..z7..{up}z2;
4212 %%draw p1; draw z1--z2; % bowl
4213 draw z5--z6--z7; % middle leg
4214 x11=leftloc; y11=y12=h; x12=rightloc;
4215 draw_vloop(1,11,Q); draw_vloop(2,12,Q); % handles
4216 x21=x11; y11-y1=y1-y21;
4217 x22=x12; y12-y2=y2-y22;
4218 z31=z1; z32=z2;
4219 draw_vloop(31,21,Q); draw_vloop(32,22,Q); % second handles
4220
4221 z0=1/2[z1,z2];
4222 x16=x1; y16=0; p2=z16--z0; z15=p2 intersectionpoint p1;
4223 x17-x15=x5-x7; y17=y15;
4224 draw z15--z16--z17; % left leg
4225 x26=x2; y26=0; p3=z26--z0; z25=p3 intersectionpoint p1;
4226 x25-x27=x5-x7; y27=y25;
4227 draw z25--z26--z27; % right leg
4228 z157=3/4[z17,z15]; z257=3/4[z27,z25];
4229 draw z1{down}..z157..z5..z7..z257..{up}z2; draw z2--z1; % bowl
4230 labels(1,2,3,4,5,6,7,11,12,15,16,17,21,22,25,26,27,157,257); endchar;
4231 % \end{macrocode}
4232 % \end{routine}
4233 %
4234 % \subsection{Men and horses}
4235 %
4236 % \changes{v1.2}{2005/06/22}{Added 4 man, woman and horse glyphs}
4237 %
4238 %
4239 % \begin{routine}{man}
4240 % \begin{macrocode}
4241 cmchar "Linear B man";
4242 beginglyph(oct"240",0.5);
4243 x1=1/8[leftloc,rightloc]; x3=1/8[rightloc,leftloc]; y1=y3=16/20h; % shoulders
4244 z2=1/2[z1,z3]; x12=x2; y12=h; % head
4245 x4=1/10[leftloc,rightloc]; y4=0; z5= z4 reflectedabout (z2,z12); % feet
4246 x6=leftloc; y6=1/3[y2,y4]; z7= z6 reflectedabout (z2,z12); % hands
4247 draw z6--z1--z3--z7; % arms and shoulders
4248 draw z1--z5; draw z3--z4; % body
4249 draw z2{left}..{right}z12..cycle; % head
4250 labels(1,2,3,4,5,6,7,8,9,10,11,12); endchar;
4251
4252 % \end{macrocode}
4253 % \end{routine}
4254 %
4255 %
4256 % \begin{routine}{woman}
4257 % \begin{macrocode}
4258 cmchar "Linear B woman";
4259 beginglyph(oct"241",0.5);
4260 x1=1/8[leftloc,rightloc]; x3=1/8[rightloc,leftloc]; y1=y3=16/20h; % shoulders
4261 z2=1/2[z1,z3]; x12=x2; y12=h; % head
4262 x4=1/10[leftloc,rightloc]; y4=0; z5= z4 reflectedabout (z2,z12); % feet
4263 x6=leftloc; y6=1/3[y2,y4]; z7= z6 reflectedabout (z2,z12); % hands
4264 draw z6--z2--z7; % arms and shoulders
4265 draw z4--z2--z5--cycle;; % body
4266 y13=1/2[y2,y12]; x13 - x2 = y13 - y2;
4267 draw z2{left}..z12..z13; % head
4268 labels(1,2,3,4,5,6,7,8,9,10,11,12); endchar;
4269
4270 % \end{macrocode}
4271 % \end{routine}
4272 %
4273 % \begin{routine}{horse}
4274 % \begin{macrocode}
4275 cmchar "Linear B horse";
4276 beginglyph(oct"244", 1.0);
4277 numeric eye; eye = 1/30h;
4278 pair mane; mane = (-8/40h, 6/40h);
4279 x1=leftloc; y1=0; x17=1/2[leftloc,rightloc]; y17=0; % base of neck
4280 x10=rightloc; y10=1/4h; % tip of nose
4281 x4=1/4[x1,x10]; y4=h; % top left ear
4282 x15=1/3[x1,x10]; y15=9/20[y10,y4]; % neck/chin
4283 x2=1/4[x1,x4]; y2=1/2[y1,y4]; x3=2/3[x1,x4]; y3 = 17/20h; % back of neck
4284 x5-x4=x4-x3; x6-x5=1/2(x5-x4); x7-x6=x4-x3; x8-x7=x7-x6; % ears
4285 y5=y6=y8=y3; y7=y4;
4286 x9=2/3[x8,x10]; y9=2/3[y10,y8];
4287 x13=1/3[x10,x15]; y13=y10;
4288
4289 x16=2/3[x3,x15]; y16=1/2[y17,y15]; % mid neck
4290
4291 x11=8/20[x10,x13]; y11=y10-1/20h; % nose/mouth
4292 x12=12/20[x10,x13]; y12=y11;
4293 y23=y10 + 1/20h; x23=3/4[x11,x12]; % mouth
4294 draw z11--z23--z12;
4295
4296 draw z1..z2..z3--z4--z5--z6--z7--z8..z9..{down}z10..z11..z12..z13..z15..z3;
4297 draw z15..z16..z17; % mouth
4298 z30=1/2[z15,z8];
4299 z31 = z30 shifted (-eye,eye); z32=z30 shifted (eye,-eye);
4300 draw z31--z32; % eye
4301 z42=4/20[z2,z3]; z44=1/2[z2,z3]; z46=16/20[z2,z3]; % mane
4302 z41=z42 shifted mane; z43=z44 shifted mane; z45 = z46 shifted mane;
4303 draw z41--z42; draw z43--z44; draw z45--z46;
4304 labels(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,30,31,32,41,42,43,44,45,46); endchar;
4305
4306 % \end{macrocode}
4307 % \end{routine}
4308 %
4309 % \begin{routine}{foal}
4310 % \begin{macrocode}
4311 cmchar "Linear B foal";
4312 beginglyph(oct"245", 1.0);
4313 numeric eye; eye = 1/30h;
4314 pair mane; mane = (-4/40h, 3/40h);
4315 x1=leftloc; y1=0; x17=1/2[leftloc,rightloc]; y17=0; % base of neck
4316 x10=rightloc; y10=1/4h; % tip of nose
4317 x4=1/4[x1,x10]; y4=h; % top left ear
4318 x15=1/3[x1,x10]; y15=9/20[y10,y4]; % neck/chin
4319 x2=1/4[x1,x4]; y2=1/2[y1,y4]; x3=2/3[x1,x4]; y3 = 17/20h; % back of neck
4320 x5-x4=x4-x3; x6-x5=1/2(x5-x4); x7-x6=x4-x3; x8-x7=x7-x6; % ears
4321 y5=y6=y8=y3; y7=y4;
4322 x9=2/3[x8,x10]; y9=2/3[y10,y8];
4323 x13=1/3[x10,x15]; y13=y10;
4324
4325 x16=2/3[x3,x15]; y16=1/2[y17,y15]; % mid neck
4326
4327 x11=8/20[x10,x13]; y11=y10-1/20h; % nose/mouth
4328 x12=12/20[x10,x13]; y12=y11;
4329 y23=y10 + 1/20h; x23=3/4[x11,x12]; % mouth
4330 draw z11--z23--z12;
4331
4332 draw z1..z2..z3--z4--z5--z6--z7--z8..z9..{down}z10..z11..z12..z13..z15..z3;
4333 draw z15..z16..z17; % mouth
4334 z30=1/2[z15,z8];
4335 z31 = z30 shifted (-eye,eye); z32=z30 shifted (eye,-eye);
4336 draw z31--z32; % eye
4337 %z42=1/4[z2,z3]; z44=1/2[z2,z3]; z46=3/4[z2,z3]; % mane
4338 % z41=z42 shifted mane; z43=z44 shifted mane; z45 = z46 shifted mane;
4339 %draw z41--z42; draw z43--z44; draw z45--z46;
4340 labels(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,30,31,32,41,42,43,44,45,46); endchar;
4341
4342 % \end{macrocode}
4343 % \end{routine}
4344 %
4345 % \subsection{Livestock}
4346 %
4347 % \changes{v1.2}{2005/06/22}{Added 12 livestock glyphs}
4348 %
4349 % \begin{routine}{pig}
4350 % This is also the \texttt{au} glyph but I have modified that slightly to get a
4351 % longer neck..
4352 % \begin{macrocode}
4353 cmchar "Linear B pig";
4354 beginglyph(oct"250",0.8);
4355 numeric alpha; alpha:=0.1h;
4356 x1=x2=x3=leftloc+alpha; y1=0; y2=8/20h; y3=h-2alpha; % neck
4357 x5=leftloc; y5=h-small; % top of left ear
4358 x4=0.5[x5,x3]; y4=0.5[y5,y3]-tiny;
4359 x6=x5+small; y6=h; % top of right ear
4360 x8-x6=x3-x5; y6-y8=y5-y3;
4361 x7=1/2[x8,x6]; y7=1/2[y8,y6] + tiny;
4362 x9=x10=rightloc; y10=1/3[y2,y8]; y9=2/3[y2,y8]; % nose
4363 x12=x8; y12=y3; x11=0.3[x8,x9]; y11=1/2[y10,y9]; % eye
4364 draw z1--z3; % neck
4365 draw z3..z4..{up}z5; % left ear
4366 draw z6{right}..z7..z8;% right ear
4367 draw z8--z9--z10--z2; % head
4368 draw z11--z12; % eye
4369 labels(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16); endchar;
4370
4371 % \end{macrocode}
4372 % \end{routine}
4373 %
4374 % \begin{routine}{boar}
4375 % A male pig.
4376 % \begin{macrocode}
4377 cmchar "Linear B boar";
4378 beginglyph(oct"251",0.8);
4379 numeric alpha; alpha:=0.1h;
4380 x1=x2=x3=leftloc+alpha; y1=0;
4381 y2=10/20h; y3=h-2alpha; % neck
4382 x5=leftloc; y5=h-small; % top of left ear
4383 x4=0.5[x5,x3]; y4=0.5[y5,y3]-tiny;
4384 x6=x5+small; y6=h; % top of right ear
4385 x8-x6=x3-x5; y6-y8=y5-y3;
4386 x7=1/2[x8,x6]; y7=1/2[y8,y6] + tiny;
4387 x9=x10=rightloc; y10=1/3[y2,y8]; y9=2/3[y2,y8]; % nose
4388 x12=x8; y12=y3; x11=0.3[x8,x9]; y11=1/2[y10,y9]; % eye
4389 draw z1--z3; % neck
4390 draw z3..z4..{up}z5; draw z6{right}..z7..z8; % ears
4391 draw z8--z9--z10--z2; % head
4392 draw z11--z12; % eye
4393 x21=x23=leftloc; y21=1/3[y1,y2]; y23=2/3[y1,y2]; % bars
4394 z22=z21 reflectedabout (z1,z2);
4395 z24=z23 reflectedabout (z1,z2);
4396 draw z21--z22; draw z23--z24;
4397 labels(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16); endchar;
4398
4399 % \end{macrocode}
4400 % \end{routine}
4401 %
4402 % \begin{routine}{sow}
4403 % A female pig.
4404 % \begin{macrocode}
4405 cmchar "Linear B sow";
4406 beginglyph(oct"252",0.8);
4407 numeric alpha; alpha:=0.1h;
4408 x1=x2=x3=leftloc+alpha; y1=0;
4409 y2=10/20h; y3=h-2alpha; % neck
4410 x5=leftloc; y5=h-small; % left ear
4411 x4=0.5[x5,x3]; y4=0.5[y5,y3]-tiny;
4412 x6=x5+small; y6=h; % right ear
4413 x8-x6=x3-x5; y6-y8=y5-y3;
4414 x7=1/2[x8,x6]; y7=1/2[y8,y6] + tiny;
4415 x9=x10=rightloc; y10=1/3[y2,y8]; y9=2/3[y2,y8]; % nose
4416 x12=x8; y12=y3; x11=0.3[x8,x9]; y11=1/2[y10,y9]; % eye
4417 draw z2--z3; % neck
4418 draw z3..z4..{up}z5; draw z6{right}..z7..z8; % ears
4419 draw z8--z9--z10--z2; % head
4420 draw z11--z12; % eye
4421 x21=leftloc; y21=0; % female neck
4422 z22 = z21 reflectedabout (z1,z2);
4423 draw z21--z2--z22;
4424 labels(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16); endchar;
4425
4426 % \end{macrocode}
4427 % \end{routine}
4428 %
4429 % \begin{routine}{ox}
4430 % This is the same as the \texttt{mu} glyph.
4431 % \begin{macrocode}
4432 cmchar "Linear B ox (mu)";
4433 beginglyph(oct"253",0.8);
4434 numeric rad; rad:=small;
4435 x1=x2=leftloc+2rad; y1=0; y2=h-rad; % stem
4436 x3=x5=leftloc+rad; y3=h; y5=y3-2rad;
4437 x4=leftloc; y4=y2;
4438 x6=x8=rightloc; y6=y5; y8=y3; % bar and curve
4439 x7=x6-rad; y7=0.5[y6,y8];
4440 x9=x7-1/2rad; y9=y6;
4441 x10=x9; y10=y9-2rad;
4442 x11=x1; y11=y5; %
4443 draw z1--z2{up}..z3{left}..z4{down}..{right}z5--z6; % stem and bar
4444 draw z6{left}..z7{up}..{right}z8; % curve
4445 draw z9--z10;
4446 labels(1,2,3,4,5,6,7,8,9,10,11,12); endchar;
4447
4448 % \end{macrocode}
4449 % \end{routine}
4450 %
4451 % \begin{routine}{bull}
4452 % A male ox.
4453 % \begin{macrocode}
4454 cmchar "Linear B bull";
4455 beginglyph(oct"254",0.8);
4456 numeric rad; rad:=small;
4457 x1=x2=leftloc+2rad; y1=0; y2=h-rad; % stem
4458 x3=x5=leftloc+rad; y3=h; y5=y3-2rad;
4459 x4=leftloc; y4=y2;
4460 x6=x8=rightloc; y6=y5; y8=y3; % bar and curve
4461 x7=x6-rad; y7=0.5[y6,y8];
4462 x9=x7-1/2rad; y9=y6;
4463 x10=x9; y10=y9-2rad;
4464 x11=x1; y11=y5; %
4465 draw z1--z2{up}..z3{left}..z4{down}..{right}z5--z6; % stem and bar
4466 draw z6{left}..z7{up}..{right}z8; % curve
4467 draw z9--z10;
4468 x21=x23=leftloc; y21=1/3[y1,y11]; y23=2/3[y1,y11];
4469 z22=z21 reflectedabout (z1,z11); z24=z23 reflectedabout (z1,z11);
4470 draw z21--z22; draw z23--z24;
4471 labels(1,2,3,4,5,6,7,8,9,10,11,12); endchar;
4472
4473 % \end{macrocode}
4474 % \end{routine}
4475 %
4476 % \begin{routine}{cow}
4477 % A female ox.
4478 % \begin{macrocode}
4479 cmchar "Linear B cow (mu)";
4480 beginglyph(oct"255",0.8);
4481 numeric rad; rad:=small;
4482 x1=x2=leftloc+2rad; y1=0; y2=h-rad; % stem
4483 x3=x5=leftloc+rad; y3=h; y5=y3-2rad;
4484 x4=leftloc; y4=y2;
4485 x6=x8=rightloc; y6=y5; y8=y3; % bar and curve
4486 x7=x6-rad; y7=0.5[y6,y8];
4487 x9=x7-1/2rad; y9=y6;
4488 x10=x9; y10=y9-2rad;
4489 x11=x1; y11=y5; %
4490 draw z11--z2{up}..z3{left}..z4{down}..{right}z5--z6; % stem and bar
4491 draw z6{left}..z7{up}..{right}z8; % curve
4492 draw z9--z10;
4493 x21=leftloc; y21=0;
4494 z22=z21 reflectedabout (z1,z11);
4495 draw z21--z11--z22;
4496 labels(1,2,3,4,5,6,7,8,9,10,11,12); endchar;
4497
4498 % \end{macrocode}
4499 % \end{routine}
4500 %
4501 %
4502 % \begin{routine}{sheep}
4503 % \begin{macrocode}
4504 cmchar "Linear B sheep";
4505 beginglyph(oct"260",0.8);
4506 x1=x2=16/20[leftloc,rightloc]; y1=0; y2=17/20h; % upright
4507 x3=x8=rightloc; y8=h; y8-y2=y2-y3; % tail
4508 x5=leftloc; y5=y2; % nose
4509 x6=x4=10/20[x2,x5]; y4=y8; y6=y3; % middle of body
4510 draw z1--z2; % upright
4511 draw z3..z2..z4..z5..z6..z2..z8;
4512 labels(1,2,3,4,5,6,7,8); endchar;
4513
4514 % \end{macrocode}
4515 % \end{routine}
4516 %
4517 %
4518 % \begin{routine}{ram}
4519 % Male sheep;
4520 % \begin{macrocode}
4521 cmchar "Linear B ram";
4522 beginglyph(oct"261",0.8);
4523 x1=x2=16/20[leftloc,rightloc]; y1=0; y2=17/20h; % upright
4524 x3=x8=rightloc; y8=h; y8-y2=y2-y3; % tail
4525 x5=leftloc; y5=y2; % nose
4526 x6=x4=10/20[x2,x5]; y4=y8; y6=y3; % middle of body
4527 draw z1--z2; % upright
4528 draw z3..z2..z4..z5..z6..z2..z8;
4529 x22=x24=rightloc; y22=1/3[y1,y2]; y24=2/3[y1,y2];
4530 z21 = z22 reflectedabout (z1,z2);
4531 z23 = z24 reflectedabout (z1,z2);
4532 draw z21--z22; draw z23--z24; % bars
4533 labels(1,2,3,4,5,6,7,8); endchar;
4534
4535 % \end{macrocode}
4536 % \end{routine}
4537 %
4538 %
4539 % \begin{routine}{ewe}
4540 % Female sheep;
4541 % \begin{macrocode}
4542 cmchar "Linear B ewe";
4543 beginglyph(oct"262",0.8);
4544 x1=x2=16/20[leftloc,rightloc]; y1=0; y2=17/20h; % upright
4545 x3=x8=rightloc; y8=h; y8-y2=y2-y3; % tail
4546 x5=leftloc; y5=y2; % nose
4547 x6=x4=10/20[x2,x5]; y4=y8; y6=y3; % middle of body
4548 %draw z1--z2; % upright
4549 draw z3..z2..z4..z5..z6..z2..z8;
4550 x22=rightloc; y22=0;
4551 z21 = z22 reflectedabout (z1,z2);
4552 draw z21--z2--z22; % legs
4553 labels(1,2,3,4,5,6,7,8); endchar;
4554
4555 % \end{macrocode}
4556 % \end{routine}
4557 %
4558 %
4559 % \begin{routine}{goat}
4560 % \begin{macrocode}
4561 cmchar "Linear B goat";
4562 beginglyph(oct"263",0.8);
4563 x1=x2= 16/20[leftloc,rightloc]; y1=0; y2=20/20h; % upright
4564 x3=rightloc; y3=17/20h; % tail
4565 x6=leftloc; y6=y3;
4566 x5=1/3[x6,x2]; x4=2/3[x6,x2]; y5=h; y4=y6;
4567 draw z1--z2; % upright
4568 draw z3{left}..z2; draw z2..z4..z5..z6;
4569 labels(1,2,3,4,5,6,7,8); endchar;
4570
4571 % \end{macrocode}
4572 % \end{routine}
4573 %
4574 %
4575 % \begin{routine}{billy}
4576 % Male goat.
4577 % \begin{macrocode}
4578 cmchar "Linear B billy";
4579 beginglyph(oct"264",0.8);
4580 x1=x2= 16/20[leftloc,rightloc]; y1=0; y2=20/20h; % upright
4581 x3=rightloc; y3=17/20h; % tail
4582 x6=leftloc; y6=y3;
4583 x5=1/3[x6,x2]; x4=2/3[x6,x2]; y5=h; y4=y6;
4584 draw z1--z2; % upright
4585 draw z3{left}..z2; draw z2..z4..z5..z6;
4586 x22=x24=rightloc; y22=1/3[y1,y2]; y24=2/3[y1,y2];
4587 z21 = z22 reflectedabout (z1,z2);
4588 z23 = z24 reflectedabout (z1,z2);
4589 draw z21--z22; draw z23--z24; % bars
4590 labels(1,2,3,4,5,6,7,8); endchar;
4591
4592 % \end{macrocode}
4593 % \end{routine}
4594 %
4595 %
4596 % \begin{routine}{nanny}
4597 % Female goat.
4598 % \begin{macrocode}
4599 cmchar "Linear B nanny";
4600 beginglyph(oct"265",0.8);
4601 x1=x2= 16/20[leftloc,rightloc]; y1=0; y2=20/20h; % upright
4602 x3=rightloc; y3=17/20h; % tail
4603 x6=leftloc; y6=y3;
4604 x5=1/3[x6,x2]; x4=2/3[x6,x2]; y5=h; y4=y6;
4605 %draw z1--z2; % upright
4606 draw z3{left}..z2; draw z2..z4..z5..z6;
4607 x22=rightloc; y22=0;
4608 z21 = z22 reflectedabout (z1,z2);
4609 draw z21--z2--z22; % legs
4610 labels(1,2,3,4,5,6,7,8); endchar;
4611
4612 % \end{macrocode}
4613 % \end{routine}
4614 %
4615 % \subsection{Weapons}
4616 %
4617 % \changes{v1.2}{2005/06/22}{Added 6 weapon glyphs}
4618 %
4619 %
4620 % \begin{routine}{chariot}
4621 % \begin{macrocode}
4622 cmchar "Linear B chariot";
4623 beginglyph(oct"270", 1.2);
4624 x1=leftloc; x2=1/20[rightloc,leftloc]; % chariot ends
4625 y5=13/20h; % chariot height
4626 x3=x4=x5=1/3[x1,x2]; y3=0; y4=1/2[y3,y5]; % wheel locations
4627 y1=y2=1/2[y4,y5];
4628 draw z2..z5..z1..z4..z2; % body
4629 y13=1/2[y3,y4]; y14=1/2[y4,y5];
4630 x3-x13=1/2(y4-y3); x14=x13;
4631 z23=z13 reflectedabout (z3,z5); z24=z14 reflectedabout (z3,z5);
4632 draw z3..z13..z4..z23..cycle; draw z3--z4; draw z13--z23; % lower wheel
4633 draw z4..z14..z5..z24..cycle; draw z4--z5; draw z14--z24; % upper wheel
4634 x32=rightloc; y32-y2 = y5-y24; % upper harness
4635 x31=x32; y2-y31=y32-y2; z200=z2; % lower harness
4636 draw_vloop(2,32,0.75); draw_vloop(200,31,0.75); % harness
4637 labels(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20); endchar;
4638
4639 % \end{macrocode}
4640 % \end{routine}
4641 %
4642 % \begin{routine}{chariot chassis}
4643 % \begin{macrocode}
4644 cmchar "Linear B chariot chassis";
4645 beginglyph(oct"271", 1.2);
4646 x1=leftloc; x2=1/20[rightloc,leftloc]; % chariot ends
4647 y5=13/20h; % chariot height
4648 x3=x4=x5=1/3[x1,x2]; y3=0; y4=1/2[y3,y5]; % wheel locations
4649 y1=y2=1/2[y4,y5];
4650 y13=1/2[y3,y4]; y14=1/2[y4,y5];
4651 x3-x13=1/2(y4-y3); x14=x13;
4652 x100=x3; y100=y13;
4653 draw z2..z5..z1..z100..z2; % body
4654 draw z100--z5;
4655 z23=z13 reflectedabout (z3,z5); z24=z14 reflectedabout (z3,z5);
4656 %draw z3..z13..z4..z23..cycle; draw z3--z4; draw z13--z23; % lower wheel
4657 %draw z4..z14..z5..z24..cycle; draw z4--z5; draw z14--z24; % upper wheel
4658 x32=rightloc; y32-y2 = y5-y24; % upper harness
4659 x31=x32; y2-y31=y32-y2; z200=z2; % lower harness
4660 draw_vloop(2,32,0.75); draw_vloop(200,31,0.75); % harness
4661 labels(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,100); endchar;
4662
4663 % \end{macrocode}
4664 % \end{routine}
4665 %
4666 % \begin{routine}{chariot wheel}
4667 % \begin{macrocode}
4668 cmchar "Linear B wheel";
4669 beginglyph(oct"272", 0.6);
4670 x1=leftloc; x3=rightloc; y4=0; x0=x4=x2=1/2[x1,x3];
4671 y0-y4=x0-x1; y1=y3=y0; y2-y0=y0-y4;
4672 draw z1..z2..z3..z4..cycle; % rim
4673 draw z1--z3; draw z2--z4; % 4 spokes
4674 z11=z1 rotatedaround (z0,45); % draw z11--z0;
4675 z12=z2 rotatedaround (z0,45); % draw z12--z0;
4676 z13=z3 rotatedaround (z0,45); % draw z13--z0;
4677 z14=z4 rotatedaround (z0,45); % draw z14--z0;
4678 draw z11--z13; draw z12--z14;
4679 labels(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18); endchar;
4680
4681 % \end{macrocode}
4682 % \end{routine}
4683 %
4684 % \begin{routine}{sword}
4685 % \begin{macrocode}
4686 cmchar "Linear B sword";
4687 beginglyph(oct"273", 0.3);
4688 x1=x2=midloc; y1=0; y2=h;
4689 x3=x5=leftloc; x4=x7=rightloc; y3=y4=0; y5=y7=1/4h;
4690 draw z3--z4; % handle
4691 draw z5--z2--z7--cycle; % blade
4692 draw z1--z2;
4693 labels(1,2,3,4,5,6,7); endchar;
4694
4695 % \end{macrocode}
4696 % \end{routine}
4697 %
4698 %
4699 % \begin{routine}{arrow}
4700 % \begin{macrocode}
4701 cmchar "Linear B arrow";
4702 beginglyph(oct"274", 0.8);
4703 numeric alpha, beta; alpha=4/20h;
4704 x1=leftloc+alpha; x3=rightloc; y1=y3=alpha; % shaft
4705 z2=5/20[z1,z3];
4706 beta=x2-x1;
4707 z11=(leftloc,0); x21=x11; y21-y1=y1-y11; % fletches
4708 z12=z11 shifted (beta,0); z22=z21 shifted (beta,0);
4709 x13=x23 = x3-alpha; y13=y11; y23=y21; % head
4710 draw z1--z3; draw z11--z1--z21; draw z12--z2--z22; draw z13--z3--z23;
4711 labels(1,2,3,11,12,13,21,22,23); endchar;
4712
4713 % \end{macrocode}
4714 % \end{routine}
4715 %
4716 %
4717 % \begin{routine}{spear}
4718 % \begin{macrocode}
4719 cmchar "Linear B spear";
4720 beginglyph(oct"275", 0.8);
4721 numeric alpha; alpha=4/20h;
4722 pair SH, HS;
4723 z1=(leftloc,h); z2=(rightloc,0); % shaft
4724 SH = (x2-x1, y2-y1);
4725 HS = (y2-y1, x1-x2);
4726 z4=12/20[z1,z2];
4727 x6=1/3[x4,x2]; y6=0;
4728 z9 = 1/3[z4,z2]; z7=z9 shifted -0.1HS;
4729 draw z1--z2;
4730 draw z4..z6; draw z6..{SH}z2;
4731 draw z4..z7..z2;
4732 labels(1,2,3,4,4,6,7,8,9); endchar;
4733
4734 % \end{macrocode}
4735 % \end{routine}
4736 %
4737 %
4738 % The end of this file
4739 % \begin{macrocode}
4740 end
4741
4742 %</up>
4743 % \end{macrocode}
4744 %
4745 %
4746 %
4747 % \section{The font definition files} \label{sec:fd}
4748 %
4749 % \begin{macrocode}
4750 %<*fdot1>
4751 \ProvidesFile{ot1linb.fd}[1999/06/20 v1.0 Linear B font definition]
4752 \DeclareFontFamily{OT1}{linb}{}
4753 \DeclareFontShape{OT1}{linb}{m}{n}{ <-> linb10 }{}
4754 \DeclareFontShape{OT1}{linb}{bx}{n}{ <-> sub linb/m/n }{}
4755 \DeclareFontShape{OT1}{linb}{b}{n}{ <-> sub linb/m/n }{}
4756 \DeclareFontShape{OT1}{linb}{m}{sl}{ <-> sub linb/m/n }{}
4757 \DeclareFontShape{OT1}{linb}{m}{it}{ <-> sub linb/m/n }{}
4758 %</fdot1>
4759 % \end{macrocode}
4760 %
4761 %
4762 % \begin{macrocode}
4763 %<*fdt1>
4764 \ProvidesFile{t1linb.fd}[1999/06/20 v1.0 Linear B font definition]
4765 \DeclareFontFamily{T1}{linb}{}
4766 \DeclareFontShape{T1}{linb}{m}{n}{ <-> linb10 }{}
4767 \DeclareFontShape{T1}{linb}{bx}{n}{ <-> sub linb/m/n }{}
4768 \DeclareFontShape{T1}{linb}{b}{n}{ <-> sub linb/m/n }{}
4769 \DeclareFontShape{T1}{linb}{m}{sl}{ <-> sub linb/m/n }{}
4770 \DeclareFontShape{T1}{linb}{m}{it}{ <-> sub linb/m/n }{}
4771 %</fdt1>
4772 % \end{macrocode}
4773 %
4774 % \section{The \Lpack{linearb} package code} \label{sec:code}
4775 %
4776 % Announce the name and version of the package, which requires
4777 % \LaTeXe{}.
4778 % \begin{macrocode}
4779 %<*usc>
4780 \NeedsTeXFormat{LaTeX2e}
4781 \ProvidesPackage{linearb}[2005/06/22 v1.2 package for Linear B font]
4782 % \end{macrocode}
4783 %
4784 % We need to check the encoding default for the document.
4785 % \begin{macro}{\Tienc}
4786 % \begin{macrocode}
4787 \providecommand{\Tienc}{T1}
4788 % \end{macrocode}
4789 % \end{macro}
4790 %
4791 %
4792 % \begin{macro}{\linbfamily}
4793 % Selects the Linear B font family in the T1 encoding if this
4794 % is the document's default encoding. With the extended glyphs I think
4795 % that T1 should be used in any case.
4796 % \changes{v1.2}{2005/06/22}{Only select the T1 encoding}
4797 % \begin{macrocode}
4798 %%%\ifx\Tienc\encodingdefault
4799 %%% \newcommand{\linbfamily}{\usefont{T1}{linb}{m}{n}}
4800 %%%\else
4801 %%% \newcommand{\linbfamily}{\usefont{OT1}{linb}{m}{n}}
4802 %%%\fi
4803 \newcommand{\linbfamily}{\usefont{T1}{linb}{m}{n}}
4804 % \end{macrocode}
4805 % \end{macro}
4806 %
4807 % \begin{macro}{\textlinb}
4808 % Text command for the Linear B font family.
4809 % \begin{macrocode}
4810 \DeclareTextFontCommand{\textlinb}{\linbfamily}
4811 % \end{macrocode}
4812 % \end{macro}
4813 %
4814 % The commands for the basic signs.
4815 % \begin{macro}{\Ba}
4816 % \begin{macro}{\Be}
4817 % \begin{macro}{\Bi}
4818 % \begin{macro}{\Bo}
4819 % \begin{macro}{\Bu}
4820 % The 5 vowels.
4821 % \begin{macrocode}
4822 \chardef\Ba=`a
4823 \chardef\Be=`e
4824 \chardef\Bi=`i
4825 \chardef\Bo=`o
4826 \chardef\Bu=`u
4827 % \end{macrocode}
4828 % \end{macro}
4829 % \end{macro}
4830 % \end{macro}
4831 % \end{macro}
4832 % \end{macro}
4833 %
4834 % \begin{macro}{\Bda}
4835 % \begin{macro}{\Bde}
4836 % \begin{macro}{\Bdi}
4837 % \begin{macro}{\Bdo}
4838 % \begin{macro}{\Bdu}
4839 % The 5 D syllables.
4840 % \begin{macrocode}
4841 \chardef\Bda=`d
4842 \chardef\Bde=`D
4843 \chardef\Bdi=`f
4844 \chardef\Bdo=`g
4845 \chardef\Bdu=`x
4846 % \end{macrocode}
4847 % \end{macro}
4848 % \end{macro}
4849 % \end{macro}
4850 % \end{macro}
4851 % \end{macro}
4852 %
4853 %
4854 % \begin{macro}{\Bja}
4855 % \begin{macro}{\Bje}
4856 % \begin{macro}{\Bjo}
4857 % \begin{macro}{\Bju}
4858 % The 4 J syllables.
4859 % \begin{macrocode}
4860 \chardef\Bja=`j
4861 \chardef\Bje=`J
4862 \chardef\Bjo=`b
4863 \chardef\Bju=`L
4864 % \end{macrocode}
4865 % \end{macro}
4866 % \end{macro}
4867 % \end{macro}
4868 % \end{macro}
4869 %
4870 %
4871 % \begin{macro}{\Bka}
4872 % \begin{macro}{\Bke}
4873 % \begin{macro}{\Bki}
4874 % \begin{macro}{\Bko}
4875 % \begin{macro}{\Bku}
4876 % The 5 K syllables.
4877 % \begin{macrocode}
4878 \chardef\Bka=`k
4879 \chardef\Bke=`K
4880 \chardef\Bki=`c
4881 \chardef\Bko=`h
4882 \chardef\Bku=`v
4883 % \end{macrocode}
4884 % \end{macro}
4885 % \end{macro}
4886 % \end{macro}
4887 % \end{macro}
4888 % \end{macro}
4889 %
4890 %
4891 % \begin{macro}{\Bma}
4892 % \begin{macro}{\Bme}
4893 % \begin{macro}{\Bmi}
4894 % \begin{macro}{\Bmo}
4895 % \begin{macro}{\Bmu}
4896 % The 5 M syllables.
4897 % \begin{macrocode}
4898 \chardef\Bma=`m
4899 \chardef\Bme=`M
4900 \chardef\Bmi=`y
4901 \chardef\Bmo=`A
4902 \chardef\Bmu=`B
4903 % \end{macrocode}
4904 % \end{macro}
4905 % \end{macro}
4906 % \end{macro}
4907 % \end{macro}
4908 % \end{macro}
4909 %
4910 %
4911 % \begin{macro}{\Bna}
4912 % \begin{macro}{\Bne}
4913 % \begin{macro}{\Bni}
4914 % \begin{macro}{\Bno}
4915 % \begin{macro}{\Bnu}
4916 % The 5 N syllables.
4917 % \begin{macrocode}
4918 \chardef\Bna=`n
4919 \chardef\Bne=`N
4920 \chardef\Bni=`C
4921 \chardef\Bno=`E
4922 \chardef\Bnu=`F
4923 % \end{macrocode}
4924 % \end{macro}
4925 % \end{macro}
4926 % \end{macro}
4927 % \end{macro}
4928 % \end{macro}
4929 %
4930 % \begin{macro}{\Bpa}
4931 % \begin{macro}{\Bpe}
4932 % \begin{macro}{\Bpi}
4933 % \begin{macro}{\Bpo}
4934 % \begin{macro}{\Bpu}
4935 % The 5 P syllables.
4936 % \begin{macrocode}
4937 \chardef\Bpa=`p
4938 \chardef\Bpe=`P
4939 \chardef\Bpi=`G
4940 \chardef\Bpo=`H
4941 \chardef\Bpu=`I
4942 % \end{macrocode}
4943 % \end{macro}
4944 % \end{macro}
4945 % \end{macro}
4946 % \end{macro}
4947 % \end{macro}
4948 %
4949 %
4950 % \begin{macro}{\Bqa}
4951 % \begin{macro}{\Bqe}
4952 % \begin{macro}{\Bqi}
4953 % \begin{macro}{\Bqo}
4954 % The 4 Q syllables.
4955 % \begin{macrocode}
4956 \chardef\Bqa=`q
4957 \chardef\Bqe=`Q
4958 \chardef\Bqi=`X
4959 \chardef\Bqo=`8
4960 % \end{macrocode}
4961 % \end{macro}
4962 % \end{macro}
4963 % \end{macro}
4964 % \end{macro}
4965 %
4966 %
4967 % \begin{macro}{\Bra}
4968 % \begin{macro}{\Bre}
4969 % \begin{macro}{\Bri}
4970 % \begin{macro}{\Bro}
4971 % \begin{macro}{\Bru}
4972 % The 5 R syllables.
4973 % \begin{macrocode}
4974 \chardef\Bra=`r
4975 \chardef\Bre=`R
4976 \chardef\Bri=`O
4977 \chardef\Bro=`U
4978 \chardef\Bru=`V
4979 % \end{macrocode}
4980 % \end{macro}
4981 % \end{macro}
4982 % \end{macro}
4983 % \end{macro}
4984 % \end{macro}
4985 %
4986 % \begin{macro}{\Bsa}
4987 % \begin{macro}{\Bse}
4988 % \begin{macro}{\Bsi}
4989 % \begin{macro}{\Bso}
4990 % \begin{macro}{\Bsu}
4991 % The 5 S syllables.
4992 % \begin{macrocode}%
4993 \chardef\Bsa=`s
4994 \chardef\Bse=`S
4995 \chardef\Bsi=`Y
4996 \chardef\Bso=`1
4997 \chardef\Bsu=`2
4998 % \end{macrocode}
4999 % \end{macro}
5000 % \end{macro}
5001 % \end{macro}
5002 % \end{macro}
5003 % \end{macro}
5004 %
5005 % \begin{macro}{\Bta}
5006 % \begin{macro}{\Bte}
5007 % \begin{macro}{\Bti}
5008 % \begin{macro}{\Bto}
5009 % \begin{macro}{\Btu}
5010 % The 5 T syllables.
5011 % \begin{macrocode}
5012 \chardef\Bta=`t
5013 \chardef\Bte=`T
5014 \chardef\Bti=`3
5015 \chardef\Bto=`4
5016 \chardef\Btu=`5
5017 % \end{macrocode}
5018 % \end{macro}
5019 % \end{macro}
5020 % \end{macro}
5021 % \end{macro}
5022 % \end{macro}
5023 %
5024 % \begin{macro}{\Bwa}
5025 % \begin{macro}{\Bwe}
5026 % \begin{macro}{\Bwi}
5027 % \begin{macro}{\Bwo}
5028 % The 4 W syllables.
5029 % \begin{macrocode}
5030 \chardef\Bwa=`w
5031 \chardef\Bwe=`W
5032 \chardef\Bwi=`6
5033 \chardef\Bwo=`7
5034 % \end{macrocode}
5035 % \end{macro}
5036 % \end{macro}
5037 % \end{macro}
5038 % \end{macro}
5039 %
5040 % \begin{macro}{\Bza}
5041 % \begin{macro}{\Bze}
5042 % \begin{macro}{\Bzo}
5043 % The 3 Z syllables.
5044 % \begin{macrocode}
5045 \chardef\Bza=`z
5046 \chardef\Bze=`Z
5047 \chardef\Bzo=`9
5048 % \end{macrocode}
5049 % \end{macro}
5050 % \end{macro}
5051 % \end{macro}
5052 %
5053 %
5054 % \begin{macro}{\Baii}
5055 % \begin{macro}{\Baiii}
5056 % \begin{macro}{\Bau}
5057 % \begin{macro}{\Bdwe}
5058 % \begin{macro}{\Bdwo}
5059 % \begin{macro}{\Bnwa}
5060 % \begin{macro}{\Bpaiii}
5061 % \begin{macro}{\Bpuii}
5062 % \begin{macro}{\Bpte}
5063 % \begin{macro}{\Braii}
5064 % \begin{macro}{\Braiii}
5065 % \begin{macro}{\Boii}
5066 % \begin{macro}{\Bswa}
5067 % \begin{macro}{\Bswi}
5068 % \begin{macro}{\Btaii}
5069 % \begin{macro}{\Btwo}
5070 % The commands for the 16 optional characters.
5071 % \begin{macrocode}
5072 \chardef\Baii='073
5073 \chardef\Baiii='074
5074 \chardef\Bau='075
5075 \chardef\Bdwe='076
5076 \chardef\Bdwo='077
5077 \chardef\Bnwa='100
5078 \chardef\Bpaiii='133
5079 \chardef\Bpuii='134
5080 \chardef\Bpte='135
5081 \chardef\Braii='136
5082 \chardef\Braiii='137
5083 \chardef\Broii='140
5084 \chardef\Bswa='173
5085 \chardef\Bswi='174
5086 \chardef\Btaii='175
5087 \chardef\Btwo='176
5088 % \end{macrocode}
5089 % \end{macro}
5090 % \end{macro}
5091 % \end{macro}
5092 % \end{macro}
5093 % \end{macro}
5094 % \end{macro}
5095 % \end{macro}
5096 % \end{macro}
5097 % \end{macro}
5098 % \end{macro}
5099 % \end{macro}
5100 % \end{macro}
5101 % \end{macro}
5102 % \end{macro}
5103 % \end{macro}
5104 % \end{macro}
5105 %
5106 %
5107 % \begin{macro}{\BUi}
5108 % \begin{macro}{\BUii}
5109 % \begin{macro}{\BUiii}
5110 % \begin{macro}{\BUiv}
5111 % \begin{macro}{\BUv}
5112 % \begin{macro}{\BUvi}
5113 % \begin{macro}{\BUvii}
5114 % \begin{macro}{\BUviii}
5115 % \begin{macro}{\BUix}
5116 % \begin{macro}{\BUx}
5117 % \begin{macro}{\BUxi}
5118 % The commands for the 11 unidentified characters.
5119 % \changes{v1.2}{2005/06/22}{Changed the macros for unidentified glyphs}
5120 % \begin{macrocode}
5121 %%%\chardef\BUi='000
5122 %%%\chardef\BUii='001
5123 %%%\chardef\BUiii='002
5124 %%%\chardef\BUiv='003
5125 %%%\chardef\BUv='004
5126 %%%\chardef\BUvi='005
5127 %%%\chardef\BUvii='006
5128 %%%\chardef\BUviii='007
5129 %%%\chardef\BUix='010
5130 %%%\chardef\BUx='011
5131 %%%\chardef\BUxi='012
5132 \chardef\BUi='035
5133 \chardef\BUii='036
5134 \chardef\BUiii='037
5135 \chardef\BUiv='040
5136 \chardef\BUv='041
5137 \chardef\BUvi='042
5138 \chardef\BUvii='043
5139 \chardef\BUviii='044
5140 \chardef\BUix='045
5141 \chardef\BUx='046
5142 \chardef\BUxi='047
5143 % \end{macrocode}
5144 % \end{macro}
5145 % \end{macro}
5146 % \end{macro}
5147 % \end{macro}
5148 % \end{macro}
5149 % \end{macro}
5150 % \end{macro}
5151 % \end{macro}
5152 % \end{macro}
5153 % \end{macro}
5154 % \end{macro}
5155 %
5156 % \begin{macro}{\BUxii}
5157 % \begin{macro}{\Btwe}
5158 % My last unidentified character which \jurgen{} says is the \textit{twe}
5159 % syllable.
5160 % \begin{macrocode}
5161 \chardef\BUxii='177
5162 \chardef\Btwe='177
5163 % \end{macrocode}
5164 % \end{macro}
5165 % \end{macro}
5166 %
5167 % Now the commands for numerals.
5168 % \begin{macro}{\BNi}
5169 % \begin{macro}{\BNii}
5170 % \begin{macro}{\BNiii}
5171 % \begin{macro}{\BNiv}
5172 % \begin{macro}{\BNv}
5173 % \begin{macro}{\BNvi}
5174 % \begin{macro}{\BNvii}
5175 % \begin{macro}{\BNviii}
5176 % \begin{macro}{\BNix}
5177 % Commands for numbers from 1 to 9.
5178 % \changes{v1.2}{2005/06/22}{Changed the macros for the numerals}
5179 %
5180 % \begin{macrocode}
5181 %%%\chardef\BNi='013
5182 %%%\chardef\BNii='014
5183 %%%\chardef\BNiii='015
5184 %%%\chardef\BNiv='016
5185 %%%\chardef\BNv='017
5186 %%%\chardef\BNvi='020
5187 %%%\chardef\BNvii='021
5188 %%%\chardef\BNviii='022
5189 %%%\chardef\BNix='023
5190 \chardef\BNi='001
5191 \chardef\BNii='002
5192 \chardef\BNiii='003
5193 \chardef\BNiv='004
5194 \chardef\BNv='005
5195 \chardef\BNvi='006
5196 \chardef\BNvii='007
5197 \chardef\BNviii='010
5198 \chardef\BNix='011
5199 % \end{macrocode}
5200 % \end{macro}
5201 % \end{macro}
5202 % \end{macro}
5203 % \end{macro}
5204 % \end{macro}
5205 % \end{macro}
5206 % \end{macro}
5207 % \end{macro}
5208 % \end{macro}
5209 %
5210 % \begin{macro}{\BNx}
5211 % \begin{macro}{\BNxx}
5212 % \begin{macro}{\BNxxx}
5213 % \begin{macro}{\BNxl}
5214 % \begin{macro}{\BNl}
5215 % \begin{macro}{\BNlx}
5216 % \begin{macro}{\BNlxx}
5217 % \begin{macro}{\BNlxxx}
5218 % \begin{macro}{\BNxc}
5219 % Commands for the tens, 10 to 90
5220 % \begin{macrocode}
5221 %%%\chardef\BNx='024
5222 %%%\chardef\BNxx='025
5223 %%%\chardef\BNxxx='026
5224 %%%\chardef\BNxl='027
5225 %%%\chardef\BNl='030
5226 %%%\chardef\BNlx='031
5227 %%%\chardef\BNlxx='032
5228 %%%\chardef\BNlxxx='033
5229 %%%\chardef\BNxc='034
5230 \chardef\BNx='012
5231 \chardef\BNxx='013
5232 \chardef\BNxxx='014
5233 \chardef\BNxl='015
5234 \chardef\BNl='016
5235 \chardef\BNlx='017
5236 \chardef\BNlxx='020
5237 \chardef\BNlxxx='021
5238 \chardef\BNxc='022
5239 % \end{macrocode}
5240 % \end{macro}
5241 % \end{macro}
5242 % \end{macro}
5243 % \end{macro}
5244 % \end{macro}
5245 % \end{macro}
5246 % \end{macro}
5247 % \end{macro}
5248 % \end{macro}
5249 %
5250 % \begin{macro}{\BNc}
5251 % \begin{macro}{\BNcc}
5252 % \begin{macro}{\BNccc}
5253 % \begin{macro}{\BNcd}
5254 % \begin{macro}{\BNd}
5255 % \begin{macro}{\BNdc}
5256 % \begin{macro}{\BNdcc}
5257 % \begin{macro}{\BNdccc}
5258 % \begin{macro}{\BNcm}
5259 % Commands for the hundreds, 100 to 900
5260 % \begin{macrocode}
5261 %%%\chardef\BNc='035
5262 %%%\chardef\BNcc='036
5263 %%%\chardef\BNccc='037
5264 %%%\chardef\BNcd='040
5265 %%%\chardef\BNd='041
5266 %%%\chardef\BNdc='042
5267 %%%\chardef\BNdcc='043
5268 %%%\chardef\BNdccc='044
5269 %%%\chardef\BNcm='045
5270 \chardef\BNc='023
5271 \chardef\BNcc='024
5272 \chardef\BNccc='025
5273 \chardef\BNcd='026
5274 \chardef\BNd='027
5275 \chardef\BNdc='030
5276 \chardef\BNdcc='031
5277 \chardef\BNdccc='032
5278 \chardef\BNcm='033
5279 % \end{macrocode}
5280 % \end{macro}
5281 % \end{macro}
5282 % \end{macro}
5283 % \end{macro}
5284 % \end{macro}
5285 % \end{macro}
5286 % \end{macro}
5287 % \end{macro}
5288 % \end{macro}
5289 %
5290 % \begin{macro}{\BNm}
5291 % Command for 1000.
5292 % \begin{macrocode}
5293 %%\chardef\BNm='046
5294 \chardef\BNm='034
5295
5296 % \end{macrocode}
5297 % \end{macro}
5298 %
5299 % \begin{macro}{\BPwta}
5300 % \begin{macro}{\BPwtb}
5301 % \begin{macro}{\BPwtc}
5302 % \begin{macro}{\BPwtd}
5303 % \begin{macro}{\BPtalent}
5304 % \begin{macro}{\BPvola}
5305 % \begin{macro}{\BPvolb}
5306 % \begin{macro}{\BPvolcd}
5307 % \begin{macro}{\BPvolcf}
5308 % Macros for the weights and measures pictograms.
5309 % \changes{v1.2}{2005/06/22}{Added macros for weights and measures}
5310 % \begin{macrocode}
5311 \chardef\BPwta='200
5312 \chardef\BPwtb='201
5313 \chardef\BPwtc='202
5314 \chardef\BPwtd='203
5315 \chardef\BPtalent='204
5316 \chardef\BPvola='210
5317 \chardef\BPvolb='211
5318 \chardef\BPvolcd='212
5319 \chardef\BPvolcf='213
5320
5321 % \end{macrocode}
5322 % \end{macro}
5323 % \end{macro}
5324 % \end{macro}
5325 % \end{macro}
5326 % \end{macro}
5327 % \end{macro}
5328 % \end{macro}
5329 % \end{macro}
5330 % \end{macro}
5331 %
5332 % \begin{macro}{BPcloth}
5333 % \begin{macro}{BPwool}
5334 % \begin{macro}{BPwheat}
5335 % \begin{macro}{BPbarley}
5336 % \begin{macro}{BPwine}
5337 % \begin{macro}{BPolive}
5338 % \begin{macro}{BPbronze}
5339 % \begin{macro}{BPgold}
5340 % Macros for commodities.
5341 % \changes{v1.2}{2005/06/22}{Added macros for commodities}
5342 % \begin{macrocode}
5343 \chardef\BPcloth='220
5344 \chardef\BPwool='221
5345 \chardef\BPwheat='222
5346 \chardef\BPbarley='223
5347 \chardef\BPwine='224
5348 \chardef\BPolive='225
5349 \chardef\BPbronze='226
5350 \chardef\BPgold='227
5351
5352 % \end{macrocode}
5353 % \end{macro}
5354 % \end{macro}
5355 % \end{macro}
5356 % \end{macro}
5357 % \end{macro}
5358 % \end{macro}
5359 % \end{macro}
5360 % \end{macro}
5361 %
5362 % \begin{macro}{\BPcup}
5363 % \begin{macro}{\BPgoblet}
5364 % \begin{macro}{\BPamphora}
5365 % \begin{macro}{\BPwineiih}
5366 % \begin{macro}{\BPwineiiih}
5367 % \begin{macro}{\BPwineivh}
5368 % \begin{macro}{\BPcauldroni}
5369 % \begin{macro}{\BPcauldronii}
5370 % Macros for vessels for holding liquid.
5371 % \changes{v1.2}{2005/06/22}{Added macros for vessels}
5372 % \begin{macrocode}
5373 \chardef\BPcup='230
5374 \chardef\BPgoblet='231
5375 \chardef\BPamphora='232
5376 \chardef\BPwineiih='233
5377 \chardef\BPwineiiih='234
5378 \chardef\BPwineivh='235
5379 \chardef\BPcauldroni='236
5380 \chardef\BPcauldronii='237
5381
5382 % \end{macrocode}
5383 % \end{macro}
5384 % \end{macro}
5385 % \end{macro}
5386 % \end{macro}
5387 % \end{macro}
5388 % \end{macro}
5389 % \end{macro}
5390 % \end{macro}
5391 %
5392 % \begin{macro}{\BPman}
5393 % \begin{macro}{\BPwoman}
5394 % \begin{macro}{\BPhorse}
5395 % \begin{macro}{\BPfoal}
5396 % Macros for man, woman, and horses.
5397 % \changes{v1.2}{2005/06/22}{Added macros for humans and horses}
5398 % \begin{macrocode}
5399 \chardef\BPman='240
5400 \chardef\BPwoman='241
5401 \chardef\BPhorse='244
5402 \chardef\BPfoal='245
5403
5404 % \end{macrocode}
5405 % \end{macro}
5406 % \end{macro}
5407 % \end{macro}
5408 % \end{macro}
5409 %
5410 % \begin{macro}{\BPpig}
5411 % \begin{macro}{\BPboar}
5412 % \begin{macro}{\BPsow}
5413 % \begin{macro}{\BPox}
5414 % \begin{macro}{\BPbull}
5415 % \begin{macro}{\BPcow}
5416 % Macros for pigs and oxen.
5417 % \changes{v1.2}{2005/06/22}{Added macros for livestock}
5418 % \begin{macrocode}
5419 \chardef\BPpig='250
5420 \chardef\BPboar='251
5421 \chardef\BPsow='252
5422 \chardef\BPox='253
5423 \chardef\BPbull='254
5424 \chardef\BPcow='255
5425
5426 % \end{macrocode}
5427 % \end{macro}
5428 % \end{macro}
5429 % \end{macro}
5430 % \end{macro}
5431 % \end{macro}
5432 % \end{macro}
5433 %
5434 % \begin{macro}{\BPsheep}
5435 % \begin{macro}{\BPram}
5436 % \begin{macro}{\BPewe}
5437 % \begin{macro}{\BPgoat}
5438 % \begin{macro}{\BPbilly}
5439 % \begin{macro}{\BPnanny}
5440 % Macros for sheep and goats.
5441 % \begin{macrocode}
5442 \chardef\BPsheep='260
5443 \chardef\BPram='261
5444 \chardef\BPewe='262
5445 \chardef\BPgoat='263
5446 \chardef\BPbilly='264
5447 \chardef\BPnanny='265
5448
5449 % \end{macrocode}
5450 % \end{macro}
5451 % \end{macro}
5452 % \end{macro}
5453 % \end{macro}
5454 % \end{macro}
5455 % \end{macro}
5456 %
5457 % \begin{macro}{\BPchariot}
5458 % \begin{macro}{\BPchassis}
5459 % \begin{macro}{\BPwheel}
5460 % \begin{macro}{\BPsword}
5461 % \begin{macro}{\BParrow}
5462 % \begin{macro}{\BPspear}
5463 % Weapons of war.
5464 % \changes{v1.2}{2005/06/22}{Added macros for weapons}
5465 % \begin{macrocode}
5466 \chardef\BPchariot='270
5467 \chardef\BPchassis='271
5468 \chardef\BPwheel='272
5469 \chardef\BPsword='273
5470 \chardef\BParrow='274
5471 \chardef\BPspear='275
5472
5473 % \end{macrocode}
5474 % \end{macro}
5475 % \end{macro}
5476 % \end{macro}
5477 % \end{macro}
5478 % \end{macro}
5479 % \end{macro}
5480 %
5481 %
5482 % \begin{macro}{\translitlinbfont}
5483 % \begin{macro}{\translitlinb}
5484 % |\translitlinb{|\meta{char-commands}|}| transliterates Linear B character
5485 % commands into distinguished syllables; these are typeset using the
5486 % |\translitlinbfont| font specification.
5487 % \begin{macrocode}
5488 \newcommand{\translitlinbfont}{\itshape}
5489 \newcommand{\translitlinb}[1]{{%
5490 \@translitB\translitlinbfont #1}}
5491 % \end{macrocode}
5492 % \end{macro}
5493 % \end{macro}
5494 %
5495 % \begin{macro}{\@translitB}
5496 % This macro redefines all the character producing commands for use
5497 % in |\translitlinb|.
5498 %
5499 % Start with the 5 vowels. We have to make sure that there are no extraneous
5500 % spaces within the command.
5501 % \begin{macrocode}
5502 \newcommand{\@translitB}{%
5503 \def\Ba{a-}\def\Be{e-}\def\Bi{i-}\def\Bo{o-}\def\Bu{u-}%
5504 % \end{macrocode}
5505 %
5506 % The 5 D syllables.
5507 % \begin{macrocode}
5508 \def\Bda{da-}\def\Bde{de-}\def\Bdi{di-}\def\Bdo{do-}\def\Bdu{du-}%
5509 % \end{macrocode}
5510 %
5511 % The 4 J syllables.
5512 % \begin{macrocode}
5513 \def\Bja{ja-}\def\Bje{je-}\def\Bjo{jo-}\def\Bju{ju-}%
5514 % \end{macrocode}
5515 %
5516 % The 5 K syllables.
5517 % \begin{macrocode}
5518 \def\Bka{ka-}\def\Bke{ke-}\def\Bki{ki-}\def\Bko{ko-}\def\Bku{ku-}%
5519 % \end{macrocode}
5520 %
5521 % The 5 M syllables.
5522 % \begin{macrocode}
5523 \def\Bma{ma-}\def\Bme{me-}\def\Bmi{mi-}\def\Bmo{mo-}\def\Bmu{mu-}%
5524 % \end{macrocode}
5525 %
5526 % The 5 N syllables.
5527 % \begin{macrocode}
5528 \def\Bna{na-}\def\Bne{ne-}\def\Bni{ni-}\def\Bno{no-}\def\Bnu{nu-}%
5529 % \end{macrocode}
5530 %
5531 % The 5 P syllables.
5532 % \begin{macrocode}
5533 \def\Bpa{pa-}\def\Bpe{pe-}\def\Bpi{pi-}\def\Bpo{po-}\def\Bpu{pu-}%
5534 % \end{macrocode}
5535 %
5536 % The 4 Q syllables.
5537 % \begin{macrocode}
5538 \def\Bqa{qa-}\def\Bqe{qe-}\def\Bqi{qi-}\def\Bqo{qo-}%
5539 % \end{macrocode}
5540 %
5541 % The 5 R syllables.
5542 % \begin{macrocode}
5543 \def\Bra{ra-}\def\Bre{re-}\def\Bri{ri-}\def\Bro{ro-}\def\Bru{ru-}%
5544 % \end{macrocode}
5545 %
5546 % The 5 S syllables.
5547 % \begin{macrocode}
5548 \def\Bsa{sa-}\def\Bse{se-}\def\Bsi{si-}\def\Bso{so-}\def\Bsu{su-}%
5549 % \end{macrocode}
5550 %
5551 % The 5 T syllables.
5552 % \begin{macrocode}
5553 \def\Bta{ta-}\def\Bte{te-}\def\Bti{ti-}\def\Bto{to-}\def\Btu{tu-}%
5554 % \end{macrocode}
5555 %
5556 % The 4 W syllables.
5557 % \begin{macrocode}
5558 \def\Bwa{wa-}\def\Bwe{we-}\def\Bwi{wi-}\def\Bwo{wo-}%
5559 % \end{macrocode}
5560 %
5561 % The 3 Z syllables.
5562 % \begin{macrocode}
5563 \def\Bza{za-}\def\Bze{ze-}\def\Bzo{zo-}%
5564 % \end{macrocode}
5565 %
5566 % The 16 optional signs.
5567 % \begin{macrocode}
5568 \def\Baii{a2-}\def\Baiii{a3-}\def\Bau{au-}%
5569 \def\Bdwe{dwe-}\def\Bdwo{dwo-}%
5570 \def\Bnwa{nwa-}%
5571 \def\Bpaiii{pa3-}\def\Bpuii{pu2-}\def\Bpte{pte-}%
5572 \def\Braii{ra2-}\def\Braiii{ra3-}\def\Broii{ro2-}%
5573 \def\Bswa{swa-}\def\Bswi{swi-}%
5574 \def\Btaii{ta2-}\def\Btwo{two-}%
5575 % \end{macrocode}
5576 %
5577 % The numbers.
5578 % \begin{macrocode}
5579 \def\BNi{1-}\def\BNii{2-}\def\BNiii{3-}\def\BNiv{4-}\def\BNv{5-}%
5580 \def\BNvi{6-}\def\BNvii{7-}\def\BNviii{8-}\def\BNix{9-}%
5581 \def\BNx{10-}\def\BNxx{20-}\def\BNxxx{30-}\def\BNxl{40-}\def\BNl{50-}%
5582 \def\BNlx{60-}\def\BNlxx{70-}\def\BNlxxx{80-}\def\BNxc{90-}%
5583 \def\BNc{100-}\def\BNcc{200-}\def\BNccc{300-}\def\BNcd{400-}\def\BNd{500-}%
5584 \def\BNdc{600-}\def\BNdcc{700-}\def\BNdccc{800-}\def\BNcm{900-}%
5585 \def\BNm{1000-}%
5586 % \end{macrocode}
5587 %
5588 % The 11 unidentified signs. These all map to `?-'.
5589 % \begin{macrocode}
5590 \def\BUi{?-}\def\BUii{?-}\def\BUiii{?-}\def\BUiv{?-}\def\BUv{?-}\def\BUvi{?-}%
5591 \def\BUvii{?-}\def\BUviii{?-}\def\BUix{?-}\def\BUx{?-}\def\BUxi{?-}%
5592 % \end{macrocode}
5593 %
5594 % The unidentified sign looking like a B, which \jurgen says is the \textit{twe}
5595 % syllable.
5596 % \begin{macrocode}
5597 \def\BUxii{?-}\def\Btwe{twe-}%
5598 % \end{macrocode}
5599 %
5600 % Weights and measures.
5601 % \begin{macrocode}
5602 \def\BPwta{ /weightA/ }\def\BPwtb{ /weightB/ }\def\BPwtc{ /weightC/ }%
5603 \def\BPwtd{ /weightC/ }\def\BPtalent{ /talent/ }%
5604 % \end{macrocode}
5605 % Volumetric measures.
5606 % \begin{macrocode}
5607 \def\BPvola{ /volumeA/ }\def\BPvolb{ /volumeB/ }\def\BPvolcd{ /volumeC/ }%
5608 \def\BPvolcf{ /volumeC/ }%
5609 % \end{macrocode}
5610 %
5611 % Commodities.
5612 % \begin{macrocode}
5613 \def\BPcloth{ /cloth/ }\def\BPwool{ /wool/ }\def\BPwheat{ /wheat/ }%
5614 \def\BPbarley{ /barley/ }\def\BPwine{ /wine/ }\def\BPolive{ /olive oil/ }%
5615 \def\BPbronze{ /bronze/ }\def\BPgold{ /gold/ }%
5616 % \end{macrocode}
5617 %
5618 % Vessels
5619 % \begin{macrocode}
5620 \def\BPcup{ /cup/ }\def\BPgoblet{ /goblet/ }\def\BPamphora{ /amphora/ }%
5621 \def\BPwineiih{ /wine jar/ }\def\BPwineiiih{ /wine jar/ }\def\BPwineivh{ /wine jar/ }%
5622 \def\BPcauldroni{ /cauldron/ }\def\BPcauldronii{ /cauldron/ }%
5623 % \end{macrocode}
5624 %
5625 % Humans and horses
5626 % \begin{macrocode}
5627 \def\BPman{ /man/ }\def\BPwoman{ /woman/ }\def\BPhorse{ /horse/ }\def\BPfoal{ /foal/ }%
5628 % \end{macrocode}
5629 %
5630 % Livestock.
5631 % \begin{macrocode}
5632 \def\BPpig{ /pig/ }\def\BPboar{ /boar/ }\def\BPsow{ /sow/ }%
5633 \def\BPox{ /ox/ }\def\BPbull{ /bull/ }\def\BPcow{ /cow/ }%
5634 \def\BPsheep{ /sheep/ }\def\BPram{ /ram/ }\def\BPewe{ /ewe/ }%
5635 \def\BPgoat{ /goat/ }\def\BPbilly{ /billy/ }\def\BPnanny{ /nanny/ }%
5636 % \end{macrocode}
5637 %
5638 % Weapons
5639 % \begin{macrocode}
5640 \def\BPchariot{ /chariot/ }\def\BPchassis{ /chassis/ }\def\BPwheel{ /wheel/ }%
5641 \def\BPsword{ /sword/ }\def\BParrow{ /arrow/ }\def\BPspear{ /spear/ }%
5642 % \end{macrocode}
5643 %
5644 % Close the macro definition.
5645 % \begin{macrocode}
5646 } % end of \@translitB
5647 % \end{macrocode}
5648 % \end{macro}
5649 %
5650 %
5651 % The end of this package.
5652 % \begin{macrocode}
5653 %</usc>
5654 % \end{macrocode}
5655 %
5656 % \section{Map file}
5657 %
5658 % A short map file.
5659 % \changes{v1.2}{2005/06/22}{Added map file}
5660 %
5661 % \begin{macrocode}
5662 %<*map>
5663 linb10 Archaic-Linear-B <linb10.pfb
5664 %</map>
5665 % \end{macrocode}
5666 %
5667 % That's it.
5668 %
5669 %
5670 % \Finale
5671 %
5672 \endinput
5673
5674 %% \CharacterTable
5675 %% {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
5676 %% 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
5677 %% Digits \0\1\2\3\4\5\6\7\8\9
5678 %% Exclamation \! Double quote \" Hash (number) \#
5679 %% Dollar \$ Percent \% Ampersand \&
5680 %% Acute accent \' Left paren \( Right paren \)
5681 %% Asterisk \* Plus \+ Comma \,
5682 %% Minus \- Point \. Solidus \/
5683 %% Colon \: Semicolon \; Less than \<
5684 %% Equals \= Greater than \> Question mark \?
5685 %% Commercial at \@ Left bracket \[ Backslash \\
5686 %% Right bracket \] Circumflex \^ Underscore \_
5687 %% Grave accent \` Left brace \{ Vertical bar \|
5688 %% Right brace \} Tilde \~}
5689
5690