Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!clyde!cbatt!ucbvax!CS.UCLA.EDU!srt From: srt@CS.UCLA.EDU Newsgroups: comp.sys.apollo Subject: TeX font file problem Message-ID: <8705020142.AA26478@zeus.CS.UCLA.EDU> Date: Fri, 1-May-87 21:42:38 EDT Article-I.D.: zeus.8705020142.AA26478 Posted: Fri May 1 21:42:38 1987 Date-Received: Sun, 3-May-87 04:21:28 EDT Sender: daemon@ucbvax.BERKELEY.EDU Distribution: world Organization: The ARPA Internet Lines: 33 > I've been trying to get TeX up on our Apollo network, > and I'm using the Apollo mods from srt. Everything is > fine, except that the program can't read the font files > in the form I got them off the Stanford distribution tape. > Apollo Pascal returns an error when trying to open them, > because they are of type 'uasc' when they should be type > 'rec'. This is the way 'tar' created them. I've tried > changing the type of the file with 'obty', I've tried > a program that read the files as characters, and then > wrote them as 'file of integer', nothing seems to work. Aaah. I'd forgotten about this (and I've forgotten how I fixed it). I believe the trick I used was to create a 0 length file of the appropriate type (rec) by writing a little Pascal program (or maybe by using obty). Then I'd do the following (using trip.tfm as an example): % mv trip.tfm trip.tfm.old ; rename UASC % cp foo trip.tfm ; copy 0 length rec file ; to the correct name % cat trip.tfm.old >> trip.tfm ; dump UASC -> REC Strangely enough, this works. You'll note that the file changes sizes when it gets turned into a REC, which seems quite reasonable. I thought I wrote a shell script to do this, but I can't find it so you'll have to recreate it. Hope this helps! -- Scott Turner