| 1 |
%% \CharacterTable |
| 2 |
%% {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 |
| 3 |
%% 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 |
| 4 |
%% Digits \0\1\2\3\4\5\6\7\8\9 |
| 5 |
%% Exclamation \! Double quote \" Hash (number) \# |
| 6 |
%% Dollar \$ Percent \% Ampersand \& |
| 7 |
%% Acute accent \' Left paren \( Right paren \) |
| 8 |
%% Asterisk \* Plus \+ Comma \, |
| 9 |
%% Minus \- Point \. Solidus \/ |
| 10 |
%% Colon \: Semicolon \; Less than \< |
| 11 |
%% Equals \= Greater than \> Question mark \? |
| 12 |
%% Commercial at \@ Left bracket \[ Backslash \\ |
| 13 |
%% Right bracket \] Circumflex \^ Underscore \_ |
| 14 |
%% Grave accent \` Left brace \{ Vertical bar \| |
| 15 |
%% Right brace \} Tilde \~} |
| 16 |
%\iffalse |
| 17 |
% |
| 18 |
% (c) Copyright 2004 Apostolos Syropoulos |
| 19 |
% This program can be redistributed and/or modified under the terms |
| 20 |
% of the LaTeX Project Public License Distributed from CTAN |
| 21 |
% archives in directory macros/latex/base/lppl.txt; either |
| 22 |
% version 1 of the License, or any later version. |
| 23 |
% |
| 24 |
% Please report errors or suggestions for improvement to |
| 25 |
% |
| 26 |
% Apostolos Syropoulos |
| 27 |
% 366, 28th October Str. |
| 28 |
% GR-671 00 Xanthi, GREECE |
| 29 |
% [email protected] or [email protected] |
| 30 |
% |
| 31 |
%\fi |
| 32 |
% \CheckSum{193} |
| 33 |
% \iffalse This is a Metacomment |
| 34 |
% |
| 35 |
%<phaistos, >\ProvidesFile{phaistos.sty} |
| 36 |
%<phaistos, > [2004/04/23 v1.0 Package `phaistos.sty'] |
| 37 |
% |
| 38 |
% \begin{macrocode} |
| 39 |
%<*driver> |
| 40 |
\documentclass{ltxdoc} |
| 41 |
\usepackage{url} |
| 42 |
\GetFileInfo{phaistos.drv} |
| 43 |
\begin{document} |
| 44 |
\DocInput{phaistos.dtx} |
| 45 |
\end{document} |
| 46 |
%</driver> |
| 47 |
% \end{macrocode} |
| 48 |
% \fi |
| 49 |
% |
| 50 |
% \title{The \textsf{phaistos} package} |
| 51 |
% \author{Apostolos Syropoulos\\366, 28th October Str.\\ |
| 52 |
% GR-671 00 Xanthi, HELLAS\\ |
| 53 |
% Email:\texttt{[email protected]}} |
| 54 |
% \date{2004/04/23} |
| 55 |
% \maketitle |
| 56 |
% |
| 57 |
%\MakeShortVerb{\|} |
| 58 |
%\StopEventually{} |
| 59 |
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 60 |
% \section{Introduction} |
| 61 |
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 62 |
% |
| 63 |
% The \textsf{phaistos} package defines the necessary \LaTeX\ interface to |
| 64 |
% the phaistos font, which consists of all symbols found on the well-known |
| 65 |
% disk of Phaistos. To the best of our knowledge, the script has not been |
| 66 |
% deciphered yet and probably |
| 67 |
% it will never be deciphered. The font was designed by Stratos Doumanis |
| 68 |
% and the author of this package with help from Zoi Amanatidou and Panagiotis |
| 69 |
% Koudas. In order to design the glyphs we used the excellent booklet |
| 70 |
% ``Le Disque de Phaistos'' by Jean-Pierre Olivier, Diffusion de Boccard, |
| 71 |
% Paris, 1992. The booklet contains many images of the various symbols as well |
| 72 |
% as many drawings. The font was created using a methodology that was developed |
| 73 |
% for the creation of the Epi-Olmec font. |
| 74 |
% |
| 75 |
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 76 |
% \section{The Source Code} |
| 77 |
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 78 |
% |
| 79 |
% The first thing we need to define is a new local font encoding. The |
| 80 |
% following code is not much of a font encoding, nevertheless it is |
| 81 |
% required to have these minimum declarations in order to use the |
| 82 |
% ``font encoding.'' |
| 83 |
% \begin{macrocode} |
| 84 |
%<*phaistos> |
| 85 |
\DeclareFontEncoding{LPH}{}{} |
| 86 |
\DeclareFontSubstitution{LPH}{cmr}{m}{n} |
| 87 |
\DeclareFontFamily{LPH}{cmr}{\hyphenchar\font=-1} |
| 88 |
% \end{macrocode} |
| 89 |
% Clearly, it makes no sense to have any series other than normal. So all |
| 90 |
% of the following definitions default to the first case. |
| 91 |
% \begin{macrocode} |
| 92 |
\DeclareFontShape{LPH}{cmr}{m}{n}{% |
| 93 |
<-> phaistos }{} |
| 94 |
|
| 95 |
\DeclareFontShape{LPH}{cmr}{m}{sc}{% |
| 96 |
<-> ssub * cmr/m/n}{} |
| 97 |
|
| 98 |
\DeclareFontShape{LPH}{cmr}{m}{sl}{% |
| 99 |
<-> ssub * cmr/m/n}{} |
| 100 |
|
| 101 |
\DeclareFontShape{LPH}{cmr}{m}{it}{% |
| 102 |
<-> ssub * cmr/m/n}{} |
| 103 |
|
| 104 |
\DeclareFontShape{LPH}{cmr}{bx}{n}{% |
| 105 |
<-> ssub * cmr/m/n}{} |
| 106 |
|
| 107 |
\DeclareFontShape{LPH}{cmr}{bx}{sc}{% |
| 108 |
<-> ssub * cmr/m/n}{} |
| 109 |
|
| 110 |
\DeclareFontShape{LPH}{cmr}{bx}{sl}{% |
| 111 |
<-> ssub * cmr/m/n}{} |
| 112 |
|
| 113 |
\DeclareFontShape{LPH}{cmr}{bx}{it}{% |
| 114 |
<-> ssub * cmr/m/n}{} |
| 115 |
% \end{macrocode} |
| 116 |
% Let us now proceed with the definition of the various glyph access commands. |
| 117 |
% The names of the glyph access commands are those of the ``{\em Phaistos |
| 118 |
% ConScript Unicode Standard}'' |
| 119 |
% (see \url{http://www.evertype.com/standards/csur/phaistos.html}). |
| 120 |
% \begin{macrocode} |
| 121 |
|
| 122 |
\DeclareTextSymbol{\PHpedestrian}{LPH}{"41} |
| 123 |
\DeclareTextSymbolDefault{\PHpedestrian}{LPH} |
| 124 |
|
| 125 |
\DeclareTextSymbol{\PHplumedHead}{LPH}{"42} |
| 126 |
\DeclareTextSymbolDefault{\PHplumedHead}{LPH} |
| 127 |
|
| 128 |
\DeclareTextSymbol{\PHtattooedHead}{LPH}{"43} |
| 129 |
\DeclareTextSymbolDefault{\PHtattooedHead}{LPH} |
| 130 |
|
| 131 |
\DeclareTextSymbol{\PHcaptive}{LPH}{"44} |
| 132 |
\DeclareTextSymbolDefault{\PHcaptive}{LPH} |
| 133 |
|
| 134 |
\DeclareTextSymbol{\PHchild}{LPH}{"45} |
| 135 |
\DeclareTextSymbolDefault{\PHchild}{LPH} |
| 136 |
|
| 137 |
\DeclareTextSymbol{\PHwoman}{LPH}{"46} |
| 138 |
\DeclareTextSymbolDefault{\PHwoman}{LPH} |
| 139 |
|
| 140 |
\DeclareTextSymbol{\PHhelmet}{LPH}{"47} |
| 141 |
\DeclareTextSymbolDefault{\PHhelmet}{LPH} |
| 142 |
|
| 143 |
\DeclareTextSymbol{\PHgaunlet}{LPH}{"48} |
| 144 |
\DeclareTextSymbolDefault{\PHgaunlet}{LPH} |
| 145 |
|
| 146 |
\DeclareTextSymbol{\PHtiara}{LPH}{"49} |
| 147 |
\DeclareTextSymbolDefault{\PHtiara}{LPH} |
| 148 |
|
| 149 |
\DeclareTextSymbol{\PHarrow}{LPH}{"4A} |
| 150 |
\DeclareTextSymbolDefault{\PHarrow}{LPH} |
| 151 |
|
| 152 |
\DeclareTextSymbol{\PHbow}{LPH}{"4B} |
| 153 |
\DeclareTextSymbolDefault{\PHbow}{LPH} |
| 154 |
|
| 155 |
\DeclareTextSymbol{\PHshield}{LPH}{"4C} |
| 156 |
\DeclareTextSymbolDefault{\PHshield}{LPH} |
| 157 |
|
| 158 |
\DeclareTextSymbol{\PHclub}{LPH}{"4D} |
| 159 |
\DeclareTextSymbolDefault{\PHclub}{LPH} |
| 160 |
|
| 161 |
\DeclareTextSymbol{\PHmanacles}{LPH}{"4E} |
| 162 |
\DeclareTextSymbolDefault{\PHmanacles}{LPH} |
| 163 |
|
| 164 |
\DeclareTextSymbol{\PHmattock}{LPH}{"4F} |
| 165 |
\DeclareTextSymbolDefault{\PHmattock}{LPH} |
| 166 |
|
| 167 |
\DeclareTextSymbol{\PHsaw}{LPH}{"50} |
| 168 |
\DeclareTextSymbolDefault{\PHsaw}{LPH} |
| 169 |
|
| 170 |
\DeclareTextSymbol{\PHlid}{LPH}{"51} |
| 171 |
\DeclareTextSymbolDefault{\PHlid}{LPH} |
| 172 |
|
| 173 |
\DeclareTextSymbol{\PHboomerang}{LPH}{"52} |
| 174 |
\DeclareTextSymbolDefault{\PHboomerang}{LPH} |
| 175 |
|
| 176 |
\DeclareTextSymbol{\PHcarpentryPlane}{LPH}{"53} |
| 177 |
\DeclareTextSymbolDefault{\PHcarpentryPlane}{LPH} |
| 178 |
|
| 179 |
\DeclareTextSymbol{\PHdolium}{LPH}{"54} |
| 180 |
\DeclareTextSymbolDefault{\PHdolium}{LPH} |
| 181 |
|
| 182 |
\DeclareTextSymbol{\PHcomb}{LPH}{"55} |
| 183 |
\DeclareTextSymbolDefault{\PHcomb}{LPH} |
| 184 |
|
| 185 |
\DeclareTextSymbol{\PHsling}{LPH}{"56} |
| 186 |
\DeclareTextSymbolDefault{\PHsling}{LPH} |
| 187 |
|
| 188 |
\DeclareTextSymbol{\PHcolumn}{LPH}{"57} |
| 189 |
\DeclareTextSymbolDefault{\PHcolumn}{LPH} |
| 190 |
|
| 191 |
\DeclareTextSymbol{\PHbeehive}{LPH}{"58} |
| 192 |
\DeclareTextSymbolDefault{\PHbeehive}{LPH} |
| 193 |
|
| 194 |
\DeclareTextSymbol{\PHship}{LPH}{"59} |
| 195 |
\DeclareTextSymbolDefault{\PHship}{LPH} |
| 196 |
|
| 197 |
\DeclareTextSymbol{\PHhorn}{LPH}{"5A} |
| 198 |
\DeclareTextSymbolDefault{\PHhorn}{LPH} |
| 199 |
|
| 200 |
\DeclareTextSymbol{\PHhide}{LPH}{"61} |
| 201 |
\DeclareTextSymbolDefault{\PHhide}{LPH} |
| 202 |
|
| 203 |
\DeclareTextSymbol{\PHbullLeg}{LPH}{"62} |
| 204 |
\DeclareTextSymbolDefault{\PHbullLeg}{LPH} |
| 205 |
|
| 206 |
\DeclareTextSymbol{\PHcat}{LPH}{"63} |
| 207 |
\DeclareTextSymbolDefault{\PHcat}{LPH} |
| 208 |
|
| 209 |
\DeclareTextSymbol{\PHram}{LPH}{"64} |
| 210 |
\DeclareTextSymbolDefault{\PHram}{LPH} |
| 211 |
|
| 212 |
\DeclareTextSymbol{\PHeagle}{LPH}{"65} |
| 213 |
\DeclareTextSymbolDefault{\PHeagle}{LPH} |
| 214 |
|
| 215 |
\DeclareTextSymbol{\PHdove}{LPH}{"66} |
| 216 |
\DeclareTextSymbolDefault{\PHdove}{LPH} |
| 217 |
|
| 218 |
\DeclareTextSymbol{\PHtunny}{LPH}{"67} |
| 219 |
\DeclareTextSymbolDefault{\PHtunny}{LPH} |
| 220 |
|
| 221 |
\DeclareTextSymbol{\PHbee}{LPH}{"68} |
| 222 |
\DeclareTextSymbolDefault{\PHbee}{LPH} |
| 223 |
|
| 224 |
\DeclareTextSymbol{\PHplaneTree}{LPH}{"69} |
| 225 |
\DeclareTextSymbolDefault{\PHplaneTree}{LPH} |
| 226 |
|
| 227 |
\DeclareTextSymbol{\PHvine}{LPH}{"6A} |
| 228 |
\DeclareTextSymbolDefault{\PHvine}{LPH} |
| 229 |
|
| 230 |
\DeclareTextSymbol{\PHpapyrus}{LPH}{"6B} |
| 231 |
\DeclareTextSymbolDefault{\PHpapyrus}{LPH} |
| 232 |
|
| 233 |
\DeclareTextSymbol{\PHrosette}{LPH}{"6C} |
| 234 |
\DeclareTextSymbolDefault{\PHrosette}{LPH} |
| 235 |
|
| 236 |
\DeclareTextSymbol{\PHlily}{LPH}{"6D} |
| 237 |
\DeclareTextSymbolDefault{\PHlily}{LPH} |
| 238 |
|
| 239 |
\DeclareTextSymbol{\PHoxBack}{LPH}{"6E} |
| 240 |
\DeclareTextSymbolDefault{\PHoxBack}{LPH} |
| 241 |
|
| 242 |
\DeclareTextSymbol{\PHflute}{LPH}{"6F} |
| 243 |
\DeclareTextSymbolDefault{\PHflute}{LPH} |
| 244 |
|
| 245 |
\DeclareTextSymbol{\PHgrater}{LPH}{"70} |
| 246 |
\DeclareTextSymbolDefault{\PHgrater}{LPH} |
| 247 |
|
| 248 |
\DeclareTextSymbol{\PHstrainer}{LPH}{"71} |
| 249 |
\DeclareTextSymbolDefault{\PHstrainer}{LPH} |
| 250 |
|
| 251 |
\DeclareTextSymbol{\PHsmallAxe}{LPH}{"72} |
| 252 |
\DeclareTextSymbolDefault{\PHsmallAxe}{LPH} |
| 253 |
|
| 254 |
\DeclareTextSymbol{\PHwavyBand}{LPH}{"73} |
| 255 |
\DeclareTextSymbolDefault{\PHwavyBand}{LPH} |
| 256 |
%</phaistos> |
| 257 |
% \end{macrocode} |
| 258 |
% That is all! But this is not all we can do with the font. |
| 259 |
% I believe that the design of a macro package |
| 260 |
% that would allow people to replicate the disk is a really challenging |
| 261 |
% idea. Indeed, we are working towards this direction, and we hope to |
| 262 |
% be able to produce some results in near future. Of course, this isn't |
| 263 |
% much of a project, but it is definetely fun! |
| 264 |
%\Finale |