home *** CD-ROM | disk | FTP | other *** search
/ Whiteline: delta / whiteline CD Series - delta.iso / tex / cstex / disk1 / cstexdoc.lzh / TEX_DOC / CORK.TEX < prev    next >
Encoding:
Text File  |  1990-09-25  |  9.1 KB  |  287 lines

  1. %format plain
  2. %%%%%%%%% ------  CORK Tabelle -----------%%%%%%%%%%%%%%%%%%
  3. %  This is the final definition of a 256 character code set for
  4. %  TeX prepared by the TEX-CHAR working group, discussed at
  5. %  the TeX conference at Cork.
  6. %
  7. %  Cork, September 12, 1990
  8. %
  9. % -----------------------------------------------------------------------
  10. %
  11. %
  12.  
  13. \advance\voffset by -1.5truecm
  14. \advance\vsize by 3truecm
  15. %
  16.  
  17. \nopagenumbers
  18.  
  19. \leftline{\bf Extended \TeX\ Font Encoding Scheme --- Latin }
  20. \medskip
  21. \hrule height 1pt
  22. \medskip
  23. \medskip
  24. \leftline{finished in Cork, September 12, 1990 (corrected a typo in
  25. text)}
  26. \bigskip
  27. %
  28. %
  29. %
  30. \newcount\m \newcount\n \newdimen\dim
  31.  
  32. \def\oct#1{\hbox{\rm\'{}\kern-.2em\it#1\/\kern.05em}} % octal constant
  33. \def\hex#1{\hbox{\rm\H{}\tt#1}} % hexadecimal constant
  34. \def\setdigs#1"#2{\gdef\h{#2}% \h=hex prefix; \0\1=corresponding octal
  35.  \m=\n \divide\m by 64 \xdef\0{\the\m}%
  36.  \multiply\m by-64 \advance\m by\n \divide\m by 8 \xdef\1{\the\m}}
  37. \def\oddline{\cr
  38.   \noalign{\nointerlineskip}
  39.   \multispan{19}\hrulefill&
  40.   \setbox0=\hbox{\lower 2.3pt\hbox{\hex{\h x}}}\smash{\box0}\cr
  41.   \noalign{\nointerlineskip}}
  42. \def\evenline{
  43.  \ifnum\n<256 \m=\n \divide\m 16 \chardef\next=\m
  44.  \expandafter\setdigs\meaning\next\fi
  45.  \ifnum\n=256 \let\next=\endchart\else\let\next=\morechart\fi
  46.  \next}
  47. \def\morechart{\cr\noalign{\hrule\penalty5000}
  48.  \chartline \oddline \m=\1 \advance\m 1 \xdef\1{\the\m}
  49.  \chartline \evenline}
  50. \def\chartline{&\oct{\0\1x}&&\:&&\:&&\:&&\:&&\:&&\:&&\:&&\:&&}
  51. \def\chartstrut{\lower4.5pt\vbox to14pt{}}
  52. \def\table{$$\global\n=0
  53.   \halign to\hsize\bgroup
  54.     \chartstrut##\tabskip0pt plus10pt&
  55.     &\hfil##\hfil&\vrule##\cr
  56.     \lower6.5pt\null
  57.     &&&\oct0&&\oct1&&\oct2&&\oct3&&\oct4&&\oct5&&\oct6&&\oct7&\evenline}
  58. \def\endchart{\cr\noalign{\hrule}
  59.   \raise11.5pt\null&&&\hex 8&&\hex 9&&\hex A&&\hex B&
  60.   &\hex C&&\hex D&&\hex E&&\hex F&\cr\egroup$$\par}
  61. \def\:{\setbox0=\hbox{\csname ec\number\n\endcsname}%
  62.   \ifdim\ht0>7.5pt\reposition
  63.   \else\ifdim\dp0>2.5pt\reposition\fi\fi
  64.   \box0\global\advance\n 1 }
  65. \def\reposition{\setbox0=\vbox{\kern2pt\box0}\dim=\dp0
  66.   \advance\dim 2pt \dp0=\dim}
  67. \def\centerlargechars{
  68.   \def\reposition{\setbox0=\hbox{$\vcenter{\kern2pt\box0\kern2pt}$}}}
  69.  
  70. \font\minisan=cmss10
  71. \font\san=cmss10 scaled \magstep1
  72. \font\San=cmss10 scaled \magstep2
  73. \def\eng{{\san r \hskip-6pt\j}}
  74. \def\Eng{{\San r \hskip-7pt\j}}
  75. \def\Thorn{{\San\lower4pt\hbox{l} \hskip-8.5pt\relax b}}
  76. \def\thorn{{\san\lower3pt\hbox{l} \hskip-7pt\relax b}}
  77. \def\eth{{\minisan \raise4pt\hbox{$\times$} \hskip-8.5pt\relax o}}
  78. %
  79. \def\ogonek#1{\setbox0=\hbox{`}\ooalign{%
  80.   \hidewidth\lower\ht0\copy0\hidewidth\crcr#1\crcr}}
  81. \font\tenu=cmu10
  82. \def\ec#1{\expandafter\def\csname ec\number\n\endcsname{#1}\advance\n by 1{}}
  83. \n=0
  84. %
  85. %
  86. % accents
  87. %
  88. %  '000-'015
  89. %
  90. \ec{\`{}} \ec{\'{}} \ec{\^{}}    \ec{\~{}}
  91. \ec{\"{}} \ec{\H{}} \ec{\char23} \ec{\v{}}
  92. %
  93. \ec{\u{}} \ec{\={}} \ec{\.{}}    \ec{\c{}}
  94. \ec{\ogonek{\ }}
  95. %
  96. % quotation marks
  97. %
  98. %  '016-'024
  99. \ec{,} \ec{$\scriptstyle<$} \ec{$\scriptstyle>$} \ec{``} \ec{''}
  100. \ec{,\hskip-1pt ,} \ec{$\scriptstyle\ll$} \ec{$\scriptstyle\gg$}
  101. % dashes
  102. \ec{--}\ec{---}
  103. %
  104. % compound word mark
  105. %
  106. \ec{{\tt<\san cwm\tt>}}
  107. %
  108. % a small 0, to extend % into 0/00 and 0/000
  109. \ec{$_0$}
  110. % dotless i and j
  111. \ec{\i}\ec{\j}
  112. % f ligatures
  113. \ec{ff}\ec{fi}\ec{fl}\ec{ffi}\ec{ffl}
  114. % visible space
  115. \ec{{\tt\char32}}
  116. % the ASCII character set
  117. \ec{!}\ec{{\tt"}}\ec{\#}\ec{\$}\ec{\%}\ec{\&}\ec{'}
  118. \ec{(}\ec{)}\ec{*}\ec{+}\ec{,}\ec{-}\ec{.}\ec{/}
  119. \n=48
  120. \ec{0}\ec{1}\ec{2}\ec{3}\ec{4}\ec{5}\ec{6}\ec{7}\ec{8}\ec{9}
  121. \ec{:}\ec{;}\ec{$<$}\ec{=}\ec{$>$}\ec{?}
  122. \n=64
  123. \ec{@}
  124. \ec{A}\ec{B}\ec{C}\ec{D}\ec{E}\ec{F}\ec{G}\ec{H}\ec{I}\ec{J}\ec{K}\ec{L}\ec{M}
  125. \ec{N}\ec{O}\ec{P}\ec{Q}\ec{R}\ec{S}\ec{T}\ec{U}\ec{V}\ec{W}\ec{X}\ec{Y}\ec{Z}
  126. \ec{\lbrack}
  127. \ec{$\backslash$}
  128. \ec{\rbrack}
  129. \ec{{\tt\^{}}}
  130. \ec{{\tt\char`\_}}
  131. \n=96
  132. \ec{`}
  133. \ec{a}\ec{b}\ec{c}\ec{d}\ec{e}\ec{f}\ec{g}\ec{h}\ec{i}\ec{j}\ec{k}\ec{l}\ec{m}
  134. \ec{n}\ec{o}\ec{p}\ec{q}\ec{r}\ec{s}\ec{t}\ec{u}\ec{v}\ec{w}\ec{x}\ec{y}\ec{z}
  135. \ec{$\{$}
  136. \ec{$|$}
  137. \ec{$\}$}
  138. \ec{{\tt\~{}}}
  139. \n=127
  140. % hyphenation character
  141. \ec{{\sevenrm (hyph.char) }-}
  142. %
  143. % accented letters, mainly from ISO Latin 2 (8859/2), and some more
  144. %
  145. %  '200-'237  uppercase
  146. %
  147. \ec{\u A} \ec{\ogonek{A}} \ec{\'C}        \ec{\v C}
  148. \ec{\v D} \ec{\v E}       \ec{\ogonek{E}} \ec{\u G}
  149. %
  150. \ec{\'L}  \ec{L\kern-2pt'} \ec{\L}   \ec{\'N}
  151. \ec{\v N} \ec{Eng/\Eng}         \ec{\H O} \ec{\'R}
  152. %
  153. \ec{\v R} \ec{\'S}         \ec{\v S} \ec{\c S}
  154. \ec{\v T} \ec{\c T}        \ec{\H U} \ec{\accent 23U}
  155. %
  156. \ec{\"Y}  \ec{\'Z}  \ec{\v Z}                          \ec{\.Z}
  157. \ec{IJ}   \ec{\.I}  \ec{d\llap{\raise0.7ex\hbox{--}}}  \ec{\S}
  158. %
  159. %  '240-'277
  160. %
  161. \ec{\u a}        \ec{\ogonek{a}} \ec{\'c}        \ec{\v c}
  162. \ec{d\kern-1pt'} \ec{\v e}       \ec{\ogonek{e}} \ec{\u g}
  163. %
  164. \ec{\'l} \ec{l\kern-1pt'} \ec{\l} \ec{\'n}
  165. \ec{\v n} \ec{eng/\eng} \ec{\H o} \ec{\'r}
  166. %
  167. \ec{\v r} \ec{\'s}         \ec{\v s} \ec{\c s}
  168. \ec{t\kern-1pt'} \ec{\c t} \ec{\H u} \ec{\accent 23u}
  169. %
  170. \ec{\"y} \ec{\'z} \ec{\v z} \ec{\.z}
  171. \ec{ij}  \ec{!`}  \ec{?`}  \ec{{\tenu\$}}
  172. %
  173. % accented letters, mainly from ISO Latin 1
  174. %
  175. % '300-'337   uppercase characters
  176. %
  177. \ec{\`A} \ec{\'A} \ec{\^A} \ec{\~A}
  178. \ec{\"A} \ec{\AA} \ec{\AE} \ec{\c C}
  179. %
  180. \ec{\`E} \ec{\'E} \ec{\^E} \ec{\"E}
  181. \ec{\`I} \ec{\'I} \ec{\^I} \ec{\"I}
  182. %
  183. \ec{Eth/\rlap{\raise0.3ex\hbox{--}}D} \ec{\~N} \ec{\`O} \ec{\'O}
  184. \ec{\^O} \ec{\~O} \ec{\"O} \ec{\OE}
  185. %
  186. \ec{\O}  \ec{\`U} \ec{\'U}    \ec{\^U}
  187. \ec{\"U} \ec{\'Y} \ec{Thorn/\Thorn}  \ec{SS}
  188. %
  189. %  '340-'377   lowercase characters
  190. %
  191. \ec{\`a} \ec{\'a} \ec{\^a} \ec{\~a}
  192. \ec{\"a} \ec{\aa} \ec{\ae} \ec{\c c}
  193. %
  194. \ec{\`e}  \ec{\'e}  \ec{\^e}  \ec{\"e}
  195. \ec{\`\i} \ec{\'\i} \ec{\^\i} \ec{\"\i}
  196. %
  197. \ec{eth/\eth} \ec{\~n} \ec{\`o} \ec{\'o}
  198. \ec{\^o} \ec{\~o} \ec{\"o} \ec{\oe}
  199. %
  200. \ec{\o}  \ec{\`u} \ec{\'u}   \ec{\^u}
  201. \ec{\"u} \ec{\'y} \ec{thorn/\thorn} \ec{\ss}
  202. %
  203. \table
  204.  
  205. \noindent{\bf A few words of explanation:}
  206. \medskip
  207.  
  208. \noindent
  209. \oct{000}--\oct{014} are accents. \oct{014} is an ogonek.
  210. \oct{015}--\oct{024} are quotation marks.
  211. \oct{030} is a small 0 to put after the per cent sign, to turn it into
  212. a per thousand (\%$_0$) or per million (\%$_{00}$) sign.
  213. \oct{027} ({\san cwm}) is a compound word mark
  214. (a zero-width invisible character) used e.g.\ for avoiding ligatures.
  215. \oct{040} is a visible space.
  216. \oct{042} is a {\it straight} double quotation mark.
  217.  
  218. \noindent \oct{041}--\oct{176} is like the 7 bit ASCII code.
  219. Some characters that --- at first glance --- appear duplicated as accent
  220. characters usually have a different shape.
  221.  
  222. \noindent \oct{177} is the hyphen character (that may be different from
  223. the dash (\oct{055})).
  224. \oct{201}, \oct{206}, \oct{241}, and \oct{246} are A's and E's with
  225. ogonek accents.
  226. \medskip
  227. \noindent The table has been sorted to reflect {\tt\string\uppercase}
  228. {\tt\string\lowercase} mechanism for all characters.
  229.  
  230. \medskip
  231. \noindent This table shows the character codes positions, but the
  232. shapes are only approximations.
  233. % \bye
  234. %%%%%%%%% ------ ENDE CORK TABELLE -------%%%%%%%%%%%%%%%%%%
  235.  
  236. \vskip4cm
  237.  
  238. % Ab hier einige Umlaute hinzugef\"ugt etc ... VAB
  239.  
  240. \noindent Einige zus\"atzliche Anmerkungen:
  241. \item{$\bullet$}Es sind die fehlenden deutschen Anf\"uhrungszeichen inklusive
  242.   Umlaute jetzt vorhanden.
  243.  
  244. \item{$\bullet$}Der $<cwm>$ dient im Deutschen insbesondere dazu, ungew\"unschte
  245.   Ligaturen aufzul\"osen, z. B. {\tt Auf\string\|lage} (falls {\tt\string\|}
  246.   geeignet definiert ist.)
  247.   Damit kann man auch sehr nette Sachen mit Ligatur-Programmen
  248.   durch die neuen M\"oglichkeiten von TeX 3.0 durchziehen.
  249.  
  250. \item{$\bullet$}Die Funktion "Trennsymbol" (hyphen char) und "dash" wurde auf
  251.   separate Zeichen gelegt:
  252.   Damit werden zum einen (bei geeignetem {\tt\string\catcode}) Woerter
  253.   wie Donau-Dampf-Schiff-Unterabteilung zus\"atzlich trennbar.
  254.   Auf der anderen Seite ist bei geeigneten Fonts "hanging hyphenation"
  255.   m\"oglich und es kann auch ein anderes Trennzeichen verwendet werden.
  256.  
  257. \item{$\bullet$}Im Bereich "00-0C sind die Akzentzeichen zu finden.
  258.   Zus\"atzlich ist jetzt das polnische Ogonek zu finden.
  259.  
  260. \item{$\bullet$}"0D ist das einfache deutsche Anf\"uhrungszeichen unten ("12 das
  261. doppelte)
  262.  
  263. \item{$\bullet$}"0E "0F sind einfache franz\"osische Anf\"uhrungszeichen, nicht
  264.   zu verwechseln mit den Kleiner-Gr\"o\"ss er-Zeichen im Font auf "3C /"3E.
  265.  
  266. \item{$\bullet$}Der Kodeteil "21 bis "7E entspricht den klassischen ASCII 7 Bit
  267. Kode.
  268.  
  269. \item{$\bullet$}Der Kodeteil "80-"BF entspricht den osteurop\"aischen Zeichen
  270.   ISO Latin 2 (plus einiger zus\"atzlicher Zeichen \item{$\bullet$}f\"ur die noch
  271.   Platz war.)
  272.  
  273. \item{$\bullet$}Ab "C0 sind die Zeichen des ISO Latin 1 Kodes (Westeuropa) zu finden.
  274.  
  275.   Der Vollst\"andigkeit halber sowohl in {\tt\string\uppercase} als auch in
  276.   den {\tt\string\lowercase} Formen.
  277.  
  278. {\narrower \noindent \bf
  279.        Nicht verwechseln:  Dies ist der interne Kode f\"ur die
  280.        Fontbelegung. Er hat nichts  mit dem Eingabekode zu tun.}
  281.  
  282. \vfill
  283. \noindent Eine vollst\" andige Dokumentation, welche Spachen alle
  284.           erfa\ss t sind etc.\ erscheint im TUGboat.
  285. \eject
  286. \end
  287.