| 1 |
% Encoding definition of fonts by Storm Type Foundry |
| 2 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 3 |
% Jun 2001 Petr Olsak |
| 4 |
% Feb 2004 |
| 5 |
|
| 6 |
% See stormtex.html and ofsdoc.tex manuals for more details. |
| 7 |
|
| 8 |
\ifx \characterdef \undefined \input ofs \fi |
| 9 |
\protectreading ofs-6s.tex % This is part of OFS package |
| 10 |
|
| 11 |
\ifx \characterdef \undefined \input ofs \fi |
| 12 |
|
| 13 |
\fontmessage {\ofsmessageheader |
| 14 |
Characters + accents of fonts by Storm Type Foundry defined.} |
| 15 |
|
| 16 |
%% Extra encoding, characters %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 17 |
|
| 18 |
\characterdef \onesuperior 6s 1 |
| 19 |
\characterdef \twosuperior 6s 2 |
| 20 |
\characterdef \threesuperior 6s 3 |
| 21 |
\characterdef \textleq 6s 4 |
| 22 |
\characterdef \textneq 6s 5 |
| 23 |
\characterdef \textgeq 6s 6 |
| 24 |
\characterdef \textpm 6s 7 |
| 25 |
\characterdef \onequarter 6s 8 |
| 26 |
\characterdef \onehalf 6s 9 |
| 27 |
\characterdef \threequarters 6s 10 |
| 28 |
\characterdef \fraction 6s 11 |
| 29 |
\characterdef \degree 6s 12 |
| 30 |
\characterdef \brokenbar 6s 13 |
| 31 |
\characterdef \fullbar 6s 124 |
| 32 |
\characterdef \textsum 6s 16 |
| 33 |
|
| 34 |
\characterdef \textOmega 6s 17 |
| 35 |
\characterdef \textminus 6s 0 |
| 36 |
\characterdef \textmu 6s 19 |
| 37 |
\characterdef \textDelta 6s 20 |
| 38 |
\characterdef \textneg 6s 21 |
| 39 |
\characterdef \textinfty 6s 22 |
| 40 |
\characterdef \textradical 6s 23 |
| 41 |
\characterdef \textbackslash 6s 92 |
| 42 |
\characterdef \textbraceleft 6s 123 |
| 43 |
\characterdef \textbraceright 6s 125 |
| 44 |
\characterdef \textless 6s 60 |
| 45 |
\characterdef \textgreater 6s 62 |
| 46 |
\characterdef \texttimes 6s 14 |
| 47 |
\characterdef \textdiv 6s 15 |
| 48 |
|
| 49 |
\characterdef \quotedbl 6s 34 |
| 50 |
\characterdef \asciicircum 6s 94 |
| 51 |
\characterdef \underscore 6s 95 |
| 52 |
\characterdef \asciitilde 6s 126 |
| 53 |
\characterdef \periodcentered 6s 127 |
| 54 |
|
| 55 |
\characterdef \ordfeminine 6s 24 |
| 56 |
\characterdef \ordmasculine 6s 25 |
| 57 |
|
| 58 |
\characterdef \vargrave 6s 26 |
| 59 |
\characterdef \varacute 6s 27 |
| 60 |
\characterdef \varcaron 6s 28 |
| 61 |
\characterdef \varcircumflex 6s 29 |
| 62 |
\characterdef \varbreve 6s 30 |
| 63 |
\characterdef \varring 6s 31 |
| 64 |
\characterdef \varmacron 6s 35 |
| 65 |
\characterdef \vardotaccent 6s 36 |
| 66 |
\characterdef \varhungarumlaut 6s 37 |
| 67 |
\characterdef \varogonek 6s 38 |
| 68 |
\characterdef \varcedilla 6s 39 |
| 69 |
\characterdef \vartilde 6s 40 |
| 70 |
\characterdef \vardieresis 6s 41 |
| 71 |
\characterdef \commaaccent 6s 42 |
| 72 |
|
| 73 |
\characterdef \euro 6s 136 \let\Euro=\euro |
| 74 |
|
| 75 |
\characterdef \franc 6s 137 |
| 76 |
\characterdef \cent 6s 168 |
| 77 |
\characterdef \yen 6s 169 |
| 78 |
|
| 79 |
\characterdef \varv 6s 18 % This character has a bad internal |
| 80 |
% Type1 name: pi, sometimes it looks |
| 81 |
% as pi, sometimes as varv :-( |
| 82 |
\characterdef \ligct 6s 128 |
| 83 |
\characterdef \ligst 6s 129 |
| 84 |
\characterdef \ligft 6s 130 |
| 85 |
\characterdef \longst 6s 131 |
| 86 |
\characterdef \longs 6s 132 |
| 87 |
\characterdef \florin 6s 134 |
| 88 |
|
| 89 |
\characterdef \dag 6s 160 |
| 90 |
\characterdef \ddag 6s 161 |
| 91 |
\characterdef \textbullet 6s 162 |
| 92 |
\characterdef \paragraph 6s 163 |
| 93 |
\characterdef \ellipsis 6s 164 |
| 94 |
\characterdef \trademark 6s 165 |
| 95 |
\let\copyright=\relax |
| 96 |
\characterdef \copyright * {\ofscopyright} |
| 97 |
\characterdef \copyright 6s 166 |
| 98 |
\characterdef \registered 6s 167 |
| 99 |
\characterdef \currency 6s 168 % Does not work in Storm fonts |
| 100 |
|
| 101 |
\characterdef \varzero 6s 48 |
| 102 |
\characterdef \varone 6s 49 |
| 103 |
\characterdef \vartwo 6s 50 |
| 104 |
\characterdef \varthree 6s 51 |
| 105 |
\characterdef \varfour 6s 52 |
| 106 |
\characterdef \varfive 6s 53 |
| 107 |
\characterdef \varsix 6s 54 |
| 108 |
\characterdef \varseven 6s 55 |
| 109 |
\characterdef \vareight 6s 56 |
| 110 |
\characterdef \varnine 6s 57 |
| 111 |
|
| 112 |
\characterdef \Eth 6s 144 |
| 113 |
\characterdef \eth 6s 176 |
| 114 |
\characterdef \Thorn 6s 145 |
| 115 |
\characterdef \thorn 6s 177 |
| 116 |
\characterdef \IJ 6s 156 |
| 117 |
\characterdef \ij 6s 188 |
| 118 |
\characterdef \O 6s 216 |
| 119 |
\characterdef \o 6s 248 |
| 120 |
|
| 121 |
%%% Extra encoding, accented letters %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 122 |
|
| 123 |
\accentdef \~ A 6s 195 |
| 124 |
\accentdef \= A 6s 196 |
| 125 |
\accentdef \r A 6s 197 |
| 126 |
\accentdef \~ a 6s 227 |
| 127 |
\accentdef \= a 6s 228 |
| 128 |
\accentdef \r a 6s 229 |
| 129 |
\accentdef \^ C 6s 198 |
| 130 |
\accentdef \. C 6s 199 |
| 131 |
\accentdef \^ c 6s 230 |
| 132 |
\accentdef \. c 6s 231 |
| 133 |
\accentdef \= d 6s 135 |
| 134 |
\accentdef \` E 6s 200 |
| 135 |
\accentdef \u E 6s 201 |
| 136 |
\accentdef \^ E 6s 202 |
| 137 |
\accentdef \= E 6s 203 |
| 138 |
\accentdef \. E 6s 193 |
| 139 |
\accentdef \` e 6s 232 |
| 140 |
\accentdef \u e 6s 233 |
| 141 |
\accentdef \^ e 6s 234 |
| 142 |
\accentdef \= e 6s 235 |
| 143 |
\accentdef \. e 6s 225 |
| 144 |
\accentdef \u G 6s 154 |
| 145 |
\accentdef \^ G 6s 218 |
| 146 |
\accentdef \. G 6s 219 |
| 147 |
\accentdef \c G 6s 220 |
| 148 |
\accentdef \u g 6s 186 |
| 149 |
\accentdef \^ g 6s 250 |
| 150 |
\accentdef \. g 6s 251 |
| 151 |
\accentdef \c g 6s 252 |
| 152 |
\accentdef \' g 6s 185 |
| 153 |
\accentdef \^ H 6s 222 |
| 154 |
\accentdef \= H 6s 223 |
| 155 |
\accentdef \^ h 6s 254 |
| 156 |
\accentdef \= h 6s 255 |
| 157 |
\accentdef \. I 6s 157 |
| 158 |
\accentdef \` I 6s 204 |
| 159 |
\accentdef \~ I 6s 205 |
| 160 |
\accentdef \= I 6s 206 |
| 161 |
\accentdef \" I 6s 207 |
| 162 |
\accentdef \k I 6s 208 |
| 163 |
\accentdef \. i 6s `\i |
| 164 |
\accentdef \` i 6s 236 |
| 165 |
\accentdef \~ i 6s 237 |
| 166 |
\accentdef \= i 6s 238 |
| 167 |
\accentdef \" i 6s 239 |
| 168 |
\accentdef \k i 6s 240 |
| 169 |
\accentdef \^ J 6s 155 |
| 170 |
\accentdef \^ j 6s 187 |
| 171 |
\accentdef \c K 6s 215 |
| 172 |
\accentdef \c k 6s 247 |
| 173 |
\accentdef \c L 6s 158 |
| 174 |
\accentdef \. L 6s 159 |
| 175 |
\accentdef \c l 6s 190 |
| 176 |
\accentdef \. l 6s 191 |
| 177 |
\accentdef \~ N 6s 209 |
| 178 |
\accentdef \c N 6s 214 |
| 179 |
\accentdef \m n 6s 184 |
| 180 |
\accentdef \~ n 6s 241 |
| 181 |
\accentdef \c n 6s 246 |
| 182 |
\accentdef \` O 6s 210 |
| 183 |
\accentdef \= O 6s 211 |
| 184 |
\accentdef \u O 6s 212 |
| 185 |
\accentdef \~ O 6s 213 |
| 186 |
\accentdef \` o 6s 242 |
| 187 |
\accentdef \= o 6s 243 |
| 188 |
\accentdef \u o 6s 244 |
| 189 |
\accentdef \~ o 6s 245 |
| 190 |
\accentdef \c R 6s 147 |
| 191 |
\accentdef \c r 6s 179 |
| 192 |
\accentdef \m S 6s 221 |
| 193 |
\accentdef \^ S 6s 148 |
| 194 |
\accentdef \m s 6s 253 |
| 195 |
\accentdef \^ s 6s 180 |
| 196 |
\accentdef \= T 6s 140 |
| 197 |
\accentdef \m T 6s 141 |
| 198 |
\accentdef \= t 6s 172 |
| 199 |
\accentdef \m t 6s 173 |
| 200 |
\accentdef \= U 6s 142 |
| 201 |
\accentdef \u U 6s 143 |
| 202 |
\accentdef \^ U 6s 149 |
| 203 |
\accentdef \k U 6s 150 |
| 204 |
\accentdef \~ U 6s 151 |
| 205 |
\accentdef \` U 6s 217 |
| 206 |
\accentdef \= u 6s 174 |
| 207 |
\accentdef \u u 6s 175 |
| 208 |
\accentdef \^ u 6s 181 |
| 209 |
\accentdef \k u 6s 182 |
| 210 |
\accentdef \~ u 6s 183 |
| 211 |
\accentdef \` u 6s 249 |
| 212 |
\accentdef \^ W 6s 192 |
| 213 |
\accentdef \^ w 6s 224 |
| 214 |
\accentdef \^ Y 6s 194 |
| 215 |
\accentdef \" Y 6s 146 |
| 216 |
\accentdef \^ y 6s 226 |
| 217 |
\accentdef \" y 6s 178 |
| 218 |
|
| 219 |
%%% Extra characters from StormL2Encoding (no present in 8z standard) |
| 220 |
|
| 221 |
\modifydef 8z:storm; {% |
| 222 |
\characterdef \degree 8z 176 |
| 223 |
\characterdef \euro 8z 134 |
| 224 |
\characterdef \trademark 8z 136 |
| 225 |
\characterdef \copyright 8z 137 |
| 226 |
\characterdef \registered 8z 138 |
| 227 |
\characterdef \flq 8z 142 |
| 228 |
\characterdef \frq 8z 143 |
| 229 |
\characterdef \clq 8z 154 |
| 230 |
\characterdef \crq 8z 155 |
| 231 |
\characterdef \ligct 8z 145 |
| 232 |
\characterdef \ligst 8z 146 |
| 233 |
\characterdef \ligft 8z 147 |
| 234 |
\characterdef \longst 8z 148 |
| 235 |
\characterdef \longs 8z 149 |
| 236 |
\characterdef \varv 8z 144 |
| 237 |
\characterdef \florin 8z 151 |
| 238 |
} |
| 239 |
|
| 240 |
%%% Differences between StormT1Encoding and standard T1 encoding %%%%% |
| 241 |
|
| 242 |
\modifydef 8t:storm;{% |
| 243 |
\characterdel \promile 8t {\%\char 24 } |
| 244 |
\characterdef \promile 8t 24 % the "perzero" is missing in Storm fonts |
| 245 |
\characterdel \textpertenthousand 8t {\%\char 24\char 24 } |
| 246 |
\characterdel \dotlessj 8t 26 |
| 247 |
\characterdef \varv 8t 26 % dotlessj is missing in Storm fonts |
| 248 |
} |
| 249 |
\modifydef 6s:noligs; {% |
| 250 |
\characterdel \ligct 6s 128 |
| 251 |
\characterdel \ligst 6s 129 |
| 252 |
\characterdel \ligft 6s 130 |
| 253 |
} |
| 254 |
|
| 255 |
\modifydef 6s:vardigits;{% |
| 256 |
\characterdef \vardigits * {\setextrafont} |
| 257 |
} |
| 258 |
|
| 259 |
%%% The \CAP? macros %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 260 |
|
| 261 |
% variant accents for capital letters |
| 262 |
|
| 263 |
\def\CAP#1{\csname CAP\string#1\endcsname} |
| 264 |
\def\CAPdef #1 {\expandafter\def\csname CAP\string#1\endcsname} |
| 265 |
|
| 266 |
\def\CAPv {\aboveCAP \varcaron \v} |
| 267 |
\def\CAPu {\aboveCAP \varbreve \u} |
| 268 |
\def\CAPr {\aboveCAP \varring \r} |
| 269 |
\def\CAPH {\aboveCAP \varhungarumlaut \H} |
| 270 |
\CAPdef ` {\aboveCAP \vargrave \`} |
| 271 |
\CAPdef ' {\aboveCAP \varacute \'} |
| 272 |
\CAPdef = {\aboveCAP \varmacron \=} |
| 273 |
\CAPdef ^ {\aboveCAP \varcircumflex \^} |
| 274 |
\CAPdef . {\aboveCAP \vardotaccent \.} |
| 275 |
\CAPdef " {\aboveCAP \vardieresis \"} |
| 276 |
\CAPdef ~ {\aboveCAP \vartilde \~} |
| 277 |
|
| 278 |
\def\aboveCAP #1#2{% |
| 279 |
\ifx\expandaction\noexpand |
| 280 |
\noexpand\aboveCAP \noexpand#1\noexpand#2% |
| 281 |
\else |
| 282 |
\csname fragilecommand!\endcsname |
| 283 |
\setbox2=\hbox{X}\dimen4=\ht2 |
| 284 |
\setbox0=\hbox{#1}\dimen0=\ht0 \advance\dimen0 by-.2ex |
| 285 |
\ifdim\dimen4>\dimen0 \def\tmpa{#2}% |
| 286 |
\else \def\tmpa{\accentabove {#1}{-\dimen4}}% |
| 287 |
\fi \expandafter \tmpa |
| 288 |
\fi |
| 289 |
} |
| 290 |
|
| 291 |
%%% \stmath sets some math characters from extra encoding %%%%%% |
| 292 |
|
| 293 |
% use in this order: \setfonts [Family/] \stmath \setmath[//] |
| 294 |
|
| 295 |
\def\stmath{\ifx\extraenc\stextraenc |
| 296 |
\def\mathfonts{\defaultmathfonts |
| 297 |
\csname st\mathversion math\endcsname}% |
| 298 |
\def\mathchars{\defaultmathchars \stmathchars \let\mathchars=\relax}% |
| 299 |
\else \displaymessage{\ofsmessageheader WARNING. |
| 300 |
No extra enc 6s defined. \noexpand\stmath ignored.}% |
| 301 |
\fi |
| 302 |
} |
| 303 |
\def\stextraenc{6s} |
| 304 |
|
| 305 |
\def\stnormalmath{% |
| 306 |
\newmathfam \Xrmfam |
| 307 |
\loadmathfam \Xrmfam [Xtenrm/]% |
| 308 |
} |
| 309 |
\def\stboldmath{% |
| 310 |
\newmathfam \Xrmfam |
| 311 |
\loadmathfam \Xrmfam [Xtenbf/]% |
| 312 |
} |
| 313 |
\def\stmathchars{% |
| 314 |
\mathcode`\- "2\hex\Xrmfam 00 |
| 315 |
\mathcode`\< "3\hex\Xrmfam 3C |
| 316 |
\mathcode`\> "3\hex\Xrmfam 3E |
| 317 |
% |
| 318 |
\edef\lbrace{\delimiter"4\hex\Xrmfam 7B308 }\let\{=\lbrace |
| 319 |
\edef\vert {\delimiter"2\hex\Xrmfam 7C30C }\let\|=\vert |
| 320 |
\edef\rbrace{\delimiter"5\hex\Xrmfam 7D309 }\let\}=\rbrace |
| 321 |
% |
| 322 |
\mathchardef \leq "3\hex\Xrmfam 04 \let\le=\leq |
| 323 |
\mathchardef \neq "3\hex\Xrmfam 05 \let\ne=\neq |
| 324 |
\mathchardef \geq "3\hex\Xrmfam 06 \let\ge=\geq |
| 325 |
\mathchardef \neg "3\hex\Xrmfam 15 \let\lnot=\neg |
| 326 |
\mathchardef \pm "2\hex\Xrmfam 07 |
| 327 |
\mathchardef \times "2\hex\Xrmfam 0E |
| 328 |
\mathchardef \div "2\hex\Xrmfam 0F |
| 329 |
\mathchardef \infty "2\hex\Xrmfam 16 |
| 330 |
% |
| 331 |
\safemathchardef \onesuperior "\hex\Xrmfam 01 |
| 332 |
\safemathchardef \twosuperior "\hex\Xrmfam 02 |
| 333 |
\safemathchardef \threesuperior "\hex\Xrmfam 03 |
| 334 |
\safemathchardef \onequarter "\hex\Xrmfam 08 |
| 335 |
\safemathchardef \onehalf "\hex\Xrmfam 09 |
| 336 |
\safemathchardef \threequarters "\hex\Xrmfam 0A |
| 337 |
\safemathchardef \fraction "\hex\Xrmfam 0B |
| 338 |
\mathchardef \dagger "2\hex\Xrmfam A0 |
| 339 |
\mathchardef \ddagger "2\hex\Xrmfam A1 |
| 340 |
\safemathchardef \dag "\hex\Xrmfam A0 |
| 341 |
\safemathchardef \ddag "\hex\Xrmfam A1 |
| 342 |
\let\bullet=\textbullet |
| 343 |
\safemathchardef \bullet "2\hex\Xrmfam A2 |
| 344 |
} |
| 345 |
|
| 346 |
%%% eof |
| 347 |
|
| 348 |
\endinput %%% the following macros will be included in LANG style files |
| 349 |
|
| 350 |
%%% Macros for quotes %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 351 |
|
| 352 |
\def\singleuv#1{\clq#1\crq} |
| 353 |
\def\doubleuv#1{\clqq#1\crqq} |
| 354 |
\def\singlefuv#1{\frq#1\flq} |
| 355 |
\def\doublefuv#1{\frqq#1\flqq} |
| 356 |
\let\uv=\doubleuv |
| 357 |
\let\fuv=\doublefuv |
| 358 |
|