% OFS: Declaration of TS1 extra encoding
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Feb 2004                    Petr Olsak

% See ofsdoc.tex manual for more details.

\protectreading ofs-8c.tex % This is part of OFS package

\ifx \characterdef \undefined \input ofs \fi

\fontmessage {\ofsmessageheader 
   Extra characters + accents of 8c encoding defined.}

\accentdef \capitalgrave         * 8c  {\accent0 }
\accentdef \capitalacute         * 8c  {\accent1 }
\accentdef \capitalcircumflex    * 8c  {\accent2 }
\accentdef \capitaltilde         * 8c  {\accent3 }
\accentdef \capitaldieresis      * 8c  {\accent4 }
\accentdef \capitalhungarumlaut  * 8c  {\accent5 }
\accentdef \capitalring          * 8c  {\accent6 }
\accentdef \capitalcaron         * 8c  {\accent7 }
\accentdef \capitalbreve         * 8c  {\accent8 }
\accentdef \capitalmacron        * 8c  {\accent9 }
\accentdef \capitaldotaccent     * 8c  {\accent10 }
\accentdef \t                    * 8c  {\accent26 }
\accentdef \capitaltie           * 8c  {\accent27 }
\accentdef \newtie               * 8c  {\accent28 }
\accentdef \capitalnewtie        * 8c  {\accent29 }

% the \text... prefix is used only for names where math-character
% with the same name is defined in plain.tex

\characterdef \capitalcompwordmark   8c  23
\characterdef \ascendercompwordmark  8c  31
\characterdef \quotestraightbase     8c  13
\characterdef \quotestraightdblbase  8c  18
\characterdef \twelveudash           8c  21
\characterdef \threequartersemdash   8c  22
\characterdef \textleftarrow         8c  24
\characterdef \textrightarrow        8c  25
\characterdef \blank                 8c  32
\characterdef \dollar                8c  36
\characterdef \quotesingle           8c  39
\characterdef \asteriskcentered      8c  42
\characterdef \dblhyphen             8c  45
\characterdef \fractionsolidus       8c  47
\characterdef \textlangle            8c  60
\characterdef \textminus             8c  61
\characterdef \textrangle            8c  62
\characterdef \mho                   8c  77
\characterdef \bigcircle             8c  79
\characterdef \ohm                   8c  87
\characterdef \lbrackdbl             8c  91
\characterdef \rbrackdbl             8c  93
\characterdef \textuparrow           8c  94
\characterdef \textdownarrow         8c  95
\characterdef \asciigrave            8c  96
\characterdef \born                  8c  98
\characterdef \divorced              8c  99
\characterdef \died                  8c  100
\characterdef \leaf                  8c  108
\characterdef \married               8c  109
\characterdef \musicalnote           8c  110
\characterdef \tildelow              8c  126
\characterdef \dblhyphenchar         8c  127
\characterdef \asciibreve            8c  128
\characterdef \asciicaron            8c  129
\characterdef \acutedbl              8c  130
\characterdef \gravedbl              8c  131
\let\dag=\relax \let\ddag=\relax
\characterdef \dag                   8c  132
\characterdef \ddag                  8c  133
\characterdef \bardbl                8c  134
\characterdef \perthousand           8c  135
\characterdef \textbullet            8c  136
\characterdef \celsius               8c  137
\characterdef \dollaroldstyle        8c  138
\characterdef \centoldstyle          8c  139
\characterdef \florin                8c  140
\characterdef \colonmonetary         8c  141
\characterdef \won                   8c  142
\characterdef \naira                 8c  143
\characterdef \guarani               8c  144
\characterdef \peso                  8c  145
\characterdef \lira                  8c  146
\characterdef \recipe                8c  147
\characterdef \interrobang           8c  148
\characterdef \interrobangdown       8c  149
\characterdef \dong                  8c  150
\characterdef \trademark             8c  151
\characterdef \pertenthousand        8c  152
\characterdef \pilcrow               8c  153
\characterdef \baht                  8c  154
\characterdef \numero                8c  155
\characterdef \discount              8c  156
\characterdef \estimated             8c  157
\characterdef \openbullet            8c  158
\characterdef \servicemark           8c  159
\characterdef \lquill                8c  160
\characterdef \rquill                8c  161
\characterdef \cent                  8c  162
\characterdef \sterling              8c  163
\characterdef \currency              8c  164
\characterdef \yen                   8c  165
\characterdef \brokenbar             8c  166
\characterdef \section               8c  167
\characterdef \asciidieresis         8c  168
\let\copyright=\relax
\characterdef \copyright             *   {\ofscopyright}
\characterdef \copyright             8c  169
\characterdef \ordfeminine           8c  170
\characterdef \copyleft              8c  171
\characterdef \textlnot              8c  172
\characterdef \circledP              8c  173
\characterdef \registered            8c  174
\characterdef \asciimacron           8c  175
\characterdef \degree                8c  176
\characterdef \textpm                8c  177
\characterdef \twosuperior           8c  178
\characterdef \threesuperior         8c  179
\characterdef \asciiacute            8c  180
\characterdef \textmu                8c  181 % micro sign
\characterdef \paragraph             8c  182
\characterdef \periodcentered        8c  183
\characterdef \referencemark         8c  184
\characterdef \onesuperior           8c  185
\characterdef \ordmasculine          8c  186
\characterdef \textsurd              8c  187
\characterdef \onequarter            8c  188
\characterdef \onehalf               8c  189
\characterdef \threequarters         8c  190
\characterdef \euro                  8c  191
\characterdef \texttimes             8c  214
\characterdef \textdiv               8c  246

%%% Commands:

\characterdef \circled        8c  {\aftergroup\circledcmd}
\characterdef \capitalcedilla 8c  {\aftergroup\capitalcedillacmd}
\characterdef \capitalogonek  8c  {\aftergroup\capitalogonekcmd}

\def \circledcmd #1{{%
   \ooalign{%
      \hfil \raise .07ex\hbox {#1}\hfil \crcr
      {\setextrafont\char 79}% '117 = "4F
   }%
}}
\def \capitalcedillacmd #1{{\ooalign{\null#1\crcr
        \hidewidth{\setextrafont\char11}\hidewidth}}}
\def \capitalogonekcmd  #1{{\ooalign{\null#1\crcr
        \hidewidth\setextrafont{\char12}\hidewidth}}}

%%% Extensions / reductions

\modifydef 8c:vardigits;{%
   \characterdef \vardigits             *   {\setextrafont}
   \characterdef \zerooldstyle          8c  48
   \characterdef \oneoldstyle           8c  49
   \characterdef \twooldstyle           8c  50
   \characterdef \threeoldstyle         8c  51
   \characterdef \fouroldstyle          8c  52
   \characterdef \fiveoldstyle          8c  53
   \characterdef \sixoldstyle           8c  54
   \characterdef \sevenoldstyle         8c  55
   \characterdef \eightoldstyle         8c  56
   \characterdef \nineoldstyle          8c  57
}
\modifydef 8c:poor;{%
   \characterdel \capitalcompwordmark   8c  23
   \characterdel \ascendercompwordmark  8c  31
   \characterdel \twelveudash           8c  21
   \characterdel \textleftarrow         8c  24
   \characterdel \textrightarrow        8c  25
   \characterdel \blank                 8c  32
   \characterdel \asteriskcentered      8c  42
   \characterdel \dblhyphen             8c  45
   \characterdel \fractionsolidus       8c  47
   \characterdel \textlangle            8c  60
   \characterdel \textminus             8c  61
   \characterdel \textrangle            8c  62
   \characterdel \mho                   8c  77
   \characterdel \bigcircle             8c  79
   \characterdel \ohm                   8c  87
   \characterdel \lbrackdbl             8c  91
   \characterdel \rbrackdbl             8c  93
   \characterdel \textuparrow           8c  94
   \characterdel \textdownarrow         8c  95
   \characterdel \asciigrave            8c  96
   \characterdel \born                  8c  98
   \characterdel \divorced              8c  99
   \characterdel \died                  8c  100
   \characterdel \leaf                  8c  108
   \characterdel \married               8c  109
   \characterdel \musicalnote           8c  110
   \characterdel \dblhyphenchar         8c  127
   \characterdel \asciibreve            8c  128
   \characterdel \textbullet            8c  136
   \characterdel \dollaroldstyle        8c  138
   \characterdel \centoldstyle          8c  139
   \characterdel \colonmonetary         8c  141
   \characterdel \won                   8c  142
   \characterdel \naira                 8c  143
   \characterdel \guarani               8c  144
   \characterdel \peso                  8c  145
   \characterdel \lira                  8c  146
   \characterdel \recipe                8c  147
   \characterdel \interrobang           8c  148
   \characterdel \interrobangdown       8c  149
   \characterdel \dong                  8c  150
   \characterdel \pertenthousand        8c  152
   \characterdel \pilcrow               8c  153
   \characterdel \baht                  8c  154
   \characterdel \numero                8c  155
   \characterdel \discount              8c  156
   \characterdel \estimated             8c  157
   \characterdel \openbullet            8c  158
   \characterdel \servicemark           8c  159
   \characterdel \lquill                8c  160
   \characterdel \rquill                8c  161
   \characterdel \copyleft              8c  171
   \characterdel \circledP              8c  173
   \characterdel \referencemark         8c  184
   \characterdel \textsurd              8c  187
   \characterdel \euro                  8c  191
   \characterdel \circled               8c  {\aftergroup\circledcmd}
   %
   \accentdel \t                    * 8c  26
   \accentdel \capitaltie           * 8c  27
   \accentdel \newtie               * 8c  28
   \accentdel \capitalnewtie        * 8c  29
}

% For LaTeX name space compatibility:

\let \textcapitalcompwordmark   \capitalcompwordmark
\let \textascendercompwordmark  \ascendercompwordmark
\let \textquotestraightbase     \quotestraightbase
\let \textquotestraightdblbase  \quotestraightdblbase 
\let \texttwelveudash           \twelveudash
\let \textthreequartersemdash   \threequartersemdash
\let \textblank                 \blank
\let \textdollar                \dollar
\let \textquotesingle           \quotesingle
\let \textasteriskcentered      \asteriskcentered
\let \textdblhyphen             \dblhyphen
\let \textfractionsolidus       \fractionsolidus
\let \textzerooldstyle          \zerooldstyle
\let \textoneoldstyle           \oneoldstyle
\let \texttwooldstyle           \twooldstyle
\let \textthreeoldstyle         \threeoldstyle
\let \textfouroldstyle          \fouroldstyle
\let \textfiveoldstyle          \fiveoldstyle
\let \textsixoldstyle           \sixoldstyle
\let \textsevenoldstyle         \sevenoldstyle
\let \texteightoldstyle         \eightoldstyle
\let \textnineoldstyle          \nineoldstyle
\let \textmho                   \mho
\let \textbigcircle             \bigcircle
\let \textohm                   \ohm
\let \textlbrackdbl             \lbrackdbl
\let \textrbrackdbl             \rbrackdbl
\let \textasciigrave            \asciigrave
\let \textborn                  \born
\let \textdivorced              \divorced
\let \textdied                  \died
\let \textleaf                  \leaf
\let \textmarried               \married
\let \textmusicalnote           \musicalnote
\let \texttildelow              \tildelow
\let \textdblhyphenchar         \dblhyphenchar
\let \textasciibreve            \asciibreve
\let \textasciicaron            \asciicaron
\let \textacutedbl              \acutedbl
\let \textgravedbl              \gravedbl
\let \textdagger                \dag
\let \textdaggerdbl             \ddag
\let \textbardbl                \bardbl
\let \textperthousand           \perthousand
\let \textcelsius               \celsius
\let \textdollaroldstyle        \dollaroldstyle
\let \textcentoldstyle          \centoldstyle
\let \textflorin                \florin
\let \textcolonmonetary         \colonmonetary 
\let \textwon                   \won
\let \textnaira                 \naira
\let \textguarani               \guarani
\let \textpeso                  \peso
\let \textlira                  \lira
\let \textrecipe                \recipe
\let \textinterrobang           \interrobang
\let \textinterrobangdown       \interrobangdown 
\let \textdong                  \dong
\let \texttrademark             \trademark
\let \textpertenthousand        \pertenthousand
\let \textpilcrow               \pilcrow
\let \textbaht                  \baht
\let \textnumero                \numero
\let \textdiscount              \discount
\let \textestimated             \estimated
\let \textopenbullet            \openbullet
\let \textservicemark           \servicemark
\let \textlquill                \lquill
\let \textrquill                \rquill
\let \textcent                  \cent
\let \textsterling              \sterling 
\let \textcurrency              \currency
\let \textyen                   \yen
\let \textbrokenbar             \brokenbar
\let \textsection               \section
\let \textasciidieresis         \asciidieresis
\let \textcopyright             \copyright
\let \textordfeminine           \ordfeminine
\let \textcopyleft              \copyleft
\let \textcircledP              \circledP
\let \textregistered            \registered
\let \textasciimacron           \asciimacron
\let \textdegree                \degree
\let \texttwosuperior           \twosuperior
\let \textthreesuperior         \threesuperior
\let \textasciiacute            \asciiacute
\let \textparagraph             \paragraph
\let \textperiodcentered        \periodcentered 
\let \textreferencemark         \referencemark
\let \textonesuperior           \onesuperior
\let \textordmasculine          \ordmasculine
\let \textonequarter            \onequarter
\let \textonehalf               \onehalf
\let \textthreequarters         \threequarters
\let \texteuro                  \euro

\endinput

