[comp.text.tex] TeX V3 and 8-bits chars

picheral@cicb.fr (Eric Picheral - CICB Rennes 99.36.20.00) (02/14/91)

Could someone help me with TeX V3, about 8-bits characters in the input file?

Here is an input file including the definition of the '231 character as a
letter (catcode=11) and its use with a virtual PostScript font which
defines this character as "a umlaut" (from dvips 5.47)

I made and installed the standard plain TeX on a Sparc station under SunOS
4.0.3c, using the Unix labrea distribution, and compiling it with cc.
I only changed #define EDITOR in the standard site.h to allow the use
of micro-emacs instead of gnu-emacs.

The idea is to allow 8-bits chars in input files (for accented letters).
When .tfm files for Extended TeX Font Encoding will be available,
w'll use TeX V3 exactly as we used MLTeX V2 for hyphenation of words
with accented letters.

When I replace (in my test file tt6.tex) the one 8-bits char by its
equivalent form \char'231 or (in \catcode) by ^^99, it works fine.
But when trying a single 8-bits char, I got a catcode of 5 (return?)!
and \ps is no more understood.
On the other side, if I write
{\ps

}
no more error message, but I find a space in place of "a umlaut" in the
.dvi file .
I am sure my input file is right (I dumped it and saw the actual 8-bits
characters), so I don't know what mistake I could make ...
N.B. As the actual 8bit codes in tt6.tex will be lost when sent via
electronic mail, let me say that after every `\ an eight bit ('231)
char is found.
-------------------------- tt6.tex -------------------------
\font\ps=ptmr at 10 pt
\catcode`\=11\lccode`\=`\
\showthe\catcode`\
{\ps }
\bye
-------------------------- tt6.log --------------------------
This is TeX, C Version 3.0 (format=plain 91.2.5)  12 FEB 1991 11:36
**&tex tt6
(tt6.tex
> 5.
<to be read again> 
                   {
l.4 {
     \ps  }
? 
! Undefined control sequence.
l.4 {\ps  
          }
? 
 )
No pages of output.

-------------------------------------------------------------

I'll appreciate any contribution,
thanks in advance.
---------------------------------------------------------------------------
Eric Picheral   CICB Campus de Beaulieu         35042 Rennes Cedex   France
Phone:  99 36 20 00     Fax:    99 38 38 32     Telex:  UNIRISA 950 473F
E-mail: picheral@cicb.fr        picheral@frcicb81.bitnet