🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text.tex
Article #872

Summary: How to \upcase in an 8-bit font

#872
From: Rolf Lindgren
Date: Wed, 05 Aug 1992 19:03
37 lines
1825 bytes
The problem with the upper half of the fonts not being capitalized has
been solved. 

The problem may have been one out of two:

1. I tried to be clever and set the catcode to 13, so as to avoid having
to place ` in front of every character. This was pointed out by several
persons, but I don't think that was the real cause of the problem because
I set the catcode to 11 after the assignments was finished.

2. The characters did't have a matchode. In Latin1, å and Å have matchodes
of "70E5 and "70C5, respectively. This works for å and Å:

\defå{}\defÅ{} 				% Get rid of cmr's definotion

\lccode`å=`å\uccode`å=`Å 
\lccode`Å=`å\uccode`Å=`Å 

\sfcode`å=1000\sfcode`Å=999

\mathcode`å="70E5\mathcode`Å="70C5	% Let TeX know where å and Å are
					% We don't use \chardef at all!

\catcode`å=11\catcode`Å=11		% cmr wants 13, now we want 11

Anyway, I think it was the mathcodes that satisfied my TeX.

Thanks to the following for telling me that it could be done and in
particular to Frank Jensen, whose scheme I have adopted.

mnikunen@cc.helsinki.fi (Martti Nikunen)
Frank Jensen <fj@iesd.auc.dk>
Donald Arseneau <asnd@erich.triumf.ca>
--
       Rolf Lindgren           |       "The opinions expressed above are
       616 Bjerke Studentheim  |        not necessarily those of anyone"
       N-0589 OSLO 5           |           rolfl.lindgren@usit.uio.no 
Technical Details
Message-ID: <ROLFL.92Aug5200302@karl.uio.no>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sunic!aun.uninett.no!nuug!nntp.uio.no!rolfl

Show Full Headers
Complete Article Headers
Newsgroups: comp.text.tex
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sunic!aun.uninett.no!nuug!nntp.uio.no!rolfl
From: rolfl@karl.uio.no (Rolf Lindgren)
Subject: Summary: How to \upcase in an 8-bit font
Message-ID: <ROLFL.92Aug5200302@karl.uio.no>
Sender: news@ulrik.uio.no (Mr News)
Nntp-Posting-Host: karl.uio.no
Organization: Institutt for Humanistisk Informatikk, Blindern, Oslo, Norway
Date: Wed, 5 Aug 1992 19:03:02 GMT
Lines: 37