DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download
Index: U

⟦9880826d9⟧

    Length: 28672 (0x7000)
    Notes: Uncompressed file

Derivation

└─⟦52210d11f⟧ Bits:30007239 EUUGD2: TeX 3 1992-12
    └─⟦87f627614⟧ »utils/texify.tar.Z« 
        └─⟦this⟧ 

Hex Dump

0x0000…0020 74 65 78 69 66 79 2e 52 45 41 44 4d 45 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ┆texify.README                   ┆
0x0020…0040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ┆                                ┆
        […0x1…]
0x0060…0080 00 00 00 00 30 30 30 36 34 34 20 00 30 30 30 31 34 34 20 00 30 30 30 30 31 34 20 00 30 30 30 30   ┆    000644  000144  000014  0000┆
0x0080…00a0 30 30 30 34 32 37 30 20 30 34 37 34 37 36 33 33 36 35 36 20 30 31 33 35 30 37 20 00 30 00 00 00   ┆0004270 04747633656 013507  0   ┆
0x00a0…00c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ┆                                ┆
        […0x2…]
0x0100…0120 00 75 73 74 61 72 00 30 30 68 61 6e 63 68 65 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ┆ ustar 00hanche                 ┆
0x0120…0140 00 00 00 00 00 00 00 00 00 6e 6f 6e 65 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ┆         none                   ┆
0x0140…0160 00 00 00 00 00 00 00 00 00 30 30 30 30 30 30 20 00 30 30 30 30 30 30 20 00 00 00 00 00 00 00 00   ┆         000000  000000         ┆
0x0160…0180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ┆                                ┆
        […0x4…]
0x0200…0220 54 68 65 20 6c 69 74 74 6c 65 20 70 72 6f 67 72 61 6d 20 74 65 78 69 66 79 20 69 73 20 61 20 71   ┆The little program texify is a q┆
0x0220…0240 75 69 63 6b 20 68 61 63 6b 20 66 6f 72 20 63 6f 6e 76 65 72 74 69 6e 67 20 76 61 72 69 6f 75 73   ┆uick hack for converting various┆
0x0240…0260 20 38 2d 62 69 74 0a 54 65 58 20 66 69 6c 65 73 20 69 6e 74 6f 20 61 20 6d 6f 72 65 20 70 6f 72   ┆ 8-bit TeX files into a more por┆
0x0260…0280 74 61 62 6c 65 20 37 2d 62 69 74 20 66 6f 72 6d 61 74 2e 20 20 49 74 20 68 61 73 20 73 65 72 76   ┆table 7-bit format.  It has serv┆
0x0280…02a0 65 64 20 6d 79 20 6e 65 65 64 73 0a 66 6f 72 20 61 20 66 65 77 20 79 65 61 72 73 20 6e 6f 77 2c   ┆ed my needs for a few years now,┆
0x02a0…02c0 20 61 6e 64 20 74 68 6f 75 67 68 20 69 74 20 68 61 73 20 73 65 76 65 72 61 6c 20 73 68 6f 72 74   ┆ and though it has several short┆
0x02c0…02e0 63 6f 6d 69 6e 67 73 20 49 20 68 61 76 65 20 6e 6f 74 0a 66 65 6c 74 20 73 75 66 66 69 63 69 65   ┆comings I have not felt sufficie┆
0x02e0…0300 6e 74 20 6e 65 65 64 20 74 6f 20 72 65 61 6c 6c 79 20 67 6f 20 69 6e 20 61 6e 64 20 63 6c 65 61   ┆nt need to really go in and clea┆
0x0300…0320 6e 20 75 70 20 74 68 65 20 63 6f 64 65 20 61 6e 64 20 67 65 74 20 72 69 64 0a 6f 66 20 69 74 73   ┆n up the code and get rid of its┆
0x0320…0340 20 6d 61 6e 79 20 69 72 72 69 74 61 74 69 6e 67 20 6c 69 74 74 6c 65 20 71 75 69 72 6b 73 2e 20   ┆ many irritating little quirks. ┆
0x0340…0360 20 49 20 61 6d 20 6d 61 6b 69 6e 67 20 69 74 20 61 76 61 69 6c 61 62 6c 65 0a 62 65 63 61 75 73   ┆ I am making it available becaus┆
0x0360…0380 65 20 6f 74 68 65 72 73 20 68 61 76 65 20 61 73 6b 65 64 20 66 6f 72 20 69 74 3b 20 69 66 20 49   ┆e others have asked for it; if I┆
0x0380…03a0 20 68 61 64 20 61 20 63 68 6f 69 63 65 2c 20 49 20 77 6f 75 6c 64 20 73 70 65 6e 64 0a 6d 6f 72   ┆ had a choice, I would spend mor┆
0x03a0…03c0 65 20 74 69 6d 65 20 70 6f 6c 69 73 68 69 6e 67 20 69 74 20 66 69 72 73 74 2e 20 20 28 52 65 61   ┆e time polishing it first.  (Rea┆
0x03c0…03e0 64 3a 20 20 74 68 65 72 65 20 61 72 65 20 6f 74 68 65 72 20 74 68 69 6e 67 73 20 49 27 64 0a 72   ┆d:  there are other things I'd r┆
0x03e0…0400 61 74 68 65 72 20 73 70 65 6e 64 20 6d 79 20 74 69 6d 65 20 6f 6e 29 2e 0a 0a 54 68 65 20 69 6e   ┆ather spend my time on).  The in┆
0x0400…0420 63 6c 75 64 65 64 20 66 69 6c 65 73 20 61 72 65 3a 0a 0a 74 65 78 69 66 79 2e 52 45 41 44 4d 45   ┆cluded files are:  texify.README┆
0x0420…0440 09 54 68 69 73 20 66 69 6c 65 2e 0a 74 65 78 69 66 79 2e 63 09 54 68 65 20 73 6f 75 72 63 65 20   ┆ This file. texify.c The source ┆
0x0440…0460 63 6f 64 65 2e 0a 74 65 78 69 66 79 2e 31 09 54 68 65 20 75 6e 66 6f 72 6d 61 74 74 65 64 20 6d   ┆code. texify.1 The unformatted m┆
0x0460…0480 61 6e 75 61 6c 20 70 61 67 65 2c 20 66 6f 72 20 74 68 65 20 55 6e 69 78 20 66 6f 6c 6b 73 2e 0a   ┆anual page, for the Unix folks. ┆
0x0480…04a0 74 65 78 69 66 79 2e 64 6f 63 09 54 68 65 20 66 6f 72 6d 61 74 74 65 64 20 6d 61 6e 75 61 6c 20   ┆texify.doc The formatted manual ┆
0x04a0…04c0 70 61 67 65 2c 20 66 6f 72 20 74 68 6f 73 65 20 77 68 6f 20 64 6f 6e 27 74 20 68 61 76 65 20 55   ┆page, for those who don't have U┆
0x04c0…04e0 6e 69 78 2e 0a 0a 54 68 65 20 70 72 6f 67 72 61 6d 20 69 73 20 66 61 69 72 6c 79 20 70 6f 72 74   ┆nix.  The program is fairly port┆
0x04e0…0500 61 62 6c 65 20 41 4e 53 49 20 43 2c 20 6f 72 20 61 74 20 6c 65 61 73 74 20 49 20 68 6f 70 65 20   ┆able ANSI C, or at least I hope ┆
0x0500…0520 73 6f 2e 20 20 54 6f 0a 63 6f 6d 70 69 6c 65 20 75 6e 64 65 72 20 55 6e 69 78 2c 20 73 61 79 20   ┆so.  To compile under Unix, say ┆
0x0520…0540 73 6f 6d 65 74 68 69 6e 67 20 6c 69 6b 65 0a 0a 63 63 20 2d 6f 20 74 65 78 69 66 79 20 74 65 78   ┆something like  cc -o texify tex┆
0x0540…0560 69 66 79 2e 63 0a 0a 61 6e 64 20 69 6e 73 74 61 6c 6c 20 74 68 65 20 65 78 65 63 75 74 61 62 6c   ┆ify.c  and install the executabl┆
0x0560…0580 65 20 69 6e 20 79 6f 75 72 20 70 61 74 68 20 73 6f 6d 65 20 70 6c 61 63 65 2e 20 20 54 68 65 6e   ┆e in your path some place.  Then┆
0x0580…05a0 2c 20 73 74 69 6c 6c 20 69 66 20 79 6f 75 0a 61 72 65 20 72 75 6e 6e 69 6e 67 20 55 6e 69 78 2c   ┆, still if you are running Unix,┆
0x05a0…05c0 20 69 6e 73 74 61 6c 6c 20 74 65 78 69 66 79 2e 31 20 69 6e 20 2f 75 73 72 2f 6d 61 6e 2f 6d 61   ┆ install texify.1 in /usr/man/ma┆
0x05c0…05e0 6e 31 20 6f 72 20 77 68 65 72 65 76 65 72 20 74 68 65 0a 6d 61 6e 20 70 72 6f 67 72 61 6d 20 63   ┆n1 or wherever the man program c┆
0x05e0…0600 61 6e 20 67 65 74 20 61 74 20 69 74 2c 20 70 65 72 68 61 70 73 20 72 75 6e 20 6d 61 6b 65 77 68   ┆an get at it, perhaps run makewh┆
0x0600…0620 61 74 69 73 2c 20 61 6e 64 20 79 6f 75 27 72 65 20 63 6f 6f 6c 2e 0a 49 66 20 79 6f 75 20 61 72   ┆atis, and you're cool. If you ar┆
0x0620…0640 65 20 6e 6f 74 20 72 75 6e 6e 69 6e 67 20 55 6e 69 78 2c 20 79 6f 75 20 68 61 76 65 20 74 6f 20   ┆e not running Unix, you have to ┆
0x0640…0660 66 69 67 75 72 65 20 74 68 65 73 65 20 74 68 69 6e 67 73 20 6f 75 74 0a 79 6f 75 72 73 65 6c 66   ┆figure these things out yourself┆
0x0660…0680 2e 20 20 49 66 20 79 6f 75 72 20 63 6f 6d 70 69 6c 65 72 20 69 73 20 6e 6f 74 20 41 4e 53 49 20   ┆.  If your compiler is not ANSI ┆
0x0680…06a0 63 6f 6d 70 61 74 69 62 6c 65 2c 20 79 6f 75 20 77 69 6c 6c 20 68 61 76 65 20 74 6f 0a 74 77 65   ┆compatible, you will have to twe┆
0x06a0…06c0 61 6b 20 74 68 65 20 63 6f 64 65 20 28 6f 72 20 67 65 74 20 61 20 62 65 74 74 65 72 20 63 6f 6d   ┆ak the code (or get a better com┆
0x06c0…06e0 70 69 6c 65 72 29 2e 20 20 49 6e 20 70 61 72 74 69 63 75 6c 61 72 2c 20 61 6c 6c 20 74 68 65 0a   ┆piler).  In particular, all the ┆
0x06e0…0700 66 75 6e 63 74 69 6f 6e 20 64 65 63 6c 61 72 61 74 69 6f 6e 73 20 77 69 6c 6c 20 68 61 76 65 20   ┆function declarations will have ┆
0x0700…0720 74 6f 20 62 65 20 72 65 77 72 69 74 74 65 6e 2e 0a 0a 53 6f 6d 65 20 62 75 67 73 20 61 6e 64 20   ┆to be rewritten.  Some bugs and ┆
0x0720…0740 6c 69 6d 69 74 61 74 69 6f 6e 73 20 61 72 65 20 6c 69 73 74 65 64 20 69 6e 20 74 68 65 20 6d 61   ┆limitations are listed in the ma┆
0x0740…0760 6e 75 61 6c 20 70 61 67 65 2e 20 20 53 6f 6d 65 20 6f 66 20 74 68 65 6d 0a 77 6f 75 6c 64 20 62   ┆nual page.  Some of them would b┆
0x0760…0780 65 20 72 65 61 6c 6c 79 20 73 69 6d 70 6c 65 20 74 6f 20 63 6f 72 72 65 63 74 3b 20 49 20 6a 75   ┆e really simple to correct; I ju┆
0x0780…07a0 73 74 20 68 61 76 65 6e 27 74 20 74 68 65 20 74 69 6d 65 20 61 6e 64 0a 69 6e 63 6c 69 6e 61 74   ┆st haven't the time and inclinat┆
0x07a0…07c0 69 6f 6e 20 66 6f 72 20 69 74 2e 20 20 49 20 79 6f 75 20 77 69 73 68 20 74 6f 20 69 6d 70 72 6f   ┆ion for it.  I you wish to impro┆
0x07c0…07e0 76 65 20 6f 6e 20 74 68 65 20 70 72 6f 67 72 61 6d 2c 20 66 69 6e 65 2e 20 20 53 65 6e 64 0a 6d   ┆ve on the program, fine.  Send m┆
0x07e0…0800 65 20 79 6f 75 72 20 66 69 78 65 73 2c 20 62 75 67 20 72 65 70 6f 72 74 73 2c 20 73 75 67 67 65   ┆e your fixes, bug reports, sugge┆
0x0800…0820 73 74 69 6f 6e 73 2c 20 61 6e 64 20 49 20 6d 61 79 20 67 65 74 20 61 72 6f 75 6e 64 20 74 6f 0a   ┆stions, and I may get around to ┆
0x0820…0840 69 6e 63 6f 72 70 6f 72 61 74 69 6e 67 20 74 68 65 6d 2c 20 66 69 78 69 6e 67 20 74 68 65 6d 2c   ┆incorporating them, fixing them,┆
0x0840…0860 20 6f 72 20 69 67 6e 6f 72 69 6e 67 20 74 68 65 6d 2e 20 20 52 65 61 64 79 20 6d 61 64 65 20 63   ┆ or ignoring them.  Ready made c┆
0x0860…0880 68 61 6e 67 65 73 0a 73 6d 61 6c 6c 20 65 6e 6f 75 67 68 20 66 6f 72 20 6d 65 20 74 6f 20 75 6e   ┆hanges small enough for me to un┆
0x0880…08a0 64 65 72 73 74 61 6e 64 20 69 6e 20 68 61 6c 66 20 61 6e 20 68 6f 75 72 20 61 72 65 20 62 65 73   ┆derstand in half an hour are bes┆
0x08a0…08c0 74 2e 20 20 49 20 77 69 6c 6c 0a 6e 6f 74 20 69 6e 74 72 6f 64 75 63 65 20 61 20 63 68 61 6e 67   ┆t.  I will not introduce a chang┆
0x08c0…08e0 65 20 69 6e 20 74 68 65 20 70 72 6f 67 72 61 6d 20 74 68 61 74 20 49 20 64 6f 6e 27 74 20 75 6e   ┆e in the program that I don't un┆
0x08e0…0900 64 65 72 73 74 61 6e 64 3b 20 77 68 61 74 0a 79 6f 75 20 64 6f 20 77 69 74 68 20 79 6f 75 72 20   ┆derstand; what you do with your ┆
0x0900…0920 6f 77 6e 20 63 6f 70 79 2c 20 68 6f 77 65 76 65 72 2c 20 69 73 20 79 6f 75 72 20 6f 77 6e 20 62   ┆own copy, however, is your own b┆
0x0920…0940 75 73 69 6e 65 73 73 2e 20 20 4a 75 73 74 20 6d 61 6b 65 0a 73 75 72 65 20 74 6f 20 63 72 65 64   ┆usiness.  Just make sure to cred┆
0x0940…0960 69 74 20 79 6f 75 72 73 65 6c 66 20 66 6f 72 20 61 6e 79 20 63 68 61 6e 67 65 73 2c 20 61 73 20   ┆it yourself for any changes, as ┆
0x0960…0980 49 20 64 6f 20 6e 6f 74 20 77 61 6e 74 20 74 6f 20 62 65 20 62 6c 61 6d 65 64 0a 66 6f 72 20 6f   ┆I do not want to be blamed for o┆
0x0980…09a0 74 68 65 72 20 70 65 6f 70 6c 65 27 73 20 60 60 69 6d 70 72 6f 76 65 6d 65 6e 74 73 27 27 20 74   ┆ther people's ``improvements'' t┆
0x09a0…09c0 6f 20 74 68 65 20 63 6f 64 65 2e 20 20 50 6c 65 61 73 65 20 72 65 61 64 20 74 68 65 0a 63 6f 70   ┆o the code.  Please read the cop┆
0x09c0…09e0 79 72 69 67 68 74 20 6e 6f 74 69 63 65 20 61 74 20 74 68 65 20 62 65 67 69 6e 6e 69 6e 67 20 6f   ┆yright notice at the beginning o┆
0x09e0…0a00 66 20 74 68 65 20 63 6f 64 65 2c 20 61 6e 64 20 6e 6f 74 65 20 74 68 65 20 64 69 73 63 6c 61 69   ┆f the code, and note the disclai┆
0x0a00…0a20 6d 65 72 0a 74 68 65 72 65 69 6e 2e 20 20 45 6e 64 20 6f 66 20 73 65 72 6d 6f 6e 2e 20 20 45 6e   ┆mer therein.  End of sermon.  En┆
0x0a20…0a40 6a 6f 79 21 0a 0a 2d 20 48 61 72 61 6c 64 20 48 61 6e 63 68 65 2d 4f 6c 73 65 6e 20 3c 68 61 6e   ┆joy!  - Harald Hanche-Olsen <han┆
0x0a40…0a60 63 68 65 40 69 6d 66 2e 75 6e 69 74 2e 6e 6f 3e 0a 20 20 44 69 76 69 73 69 6f 6e 20 6f 66 20 4d   ┆che@imf.unit.no>   Division of M┆
0x0a60…0a80 61 74 68 65 6d 61 74 69 63 61 6c 20 53 63 69 65 6e 63 65 73 0a 20 20 54 68 65 20 4e 6f 72 77 65   ┆athematical Sciences   The Norwe┆
0x0a80…0aa0 67 69 61 6e 20 49 6e 73 74 69 74 75 74 65 20 6f 66 20 54 65 63 68 6e 6f 6c 6f 67 79 0a 20 20 4e   ┆gian Institute of Technology   N┆
0x0aa0…0ac0 2d 37 30 33 34 20 54 72 6f 6e 64 68 65 69 6d 2c 20 4e 4f 52 57 41 59 0a 00 00 00 00 00 00 00 00   ┆-7034 Trondheim, NORWAY         ┆
0x0ac0…0ae0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ┆                                ┆
        […0x9…]
0x0c00…0c20 74 65 78 69 66 79 2e 63 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ┆texify.c                        ┆
0x0c20…0c40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ┆                                ┆
        […0x1…]
0x0c60…0c80 00 00 00 00 30 30 30 36 34 34 20 00 30 30 30 31 34 34 20 00 30 30 30 30 31 34 20 00 30 30 30 30   ┆    000644  000144  000014  0000┆
0x0c80…0ca0 30 30 33 37 33 30 33 20 30 35 30 31 34 30 34 30 33 34 31 20 30 31 32 37 34 32 20 00 30 00 00 00   ┆0037303 05014040341 012742  0   ┆
0x0ca0…0cc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ┆                                ┆
        […0x2…]
0x0d00…0d20 00 75 73 74 61 72 00 30 30 68 61 6e 63 68 65 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ┆ ustar 00hanche                 ┆
0x0d20…0d40 00 00 00 00 00 00 00 00 00 6e 6f 6e 65 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ┆         none                   ┆
0x0d40…0d60 00 00 00 00 00 00 00 00 00 30 30 30 30 30 30 20 00 30 30 30 30 30 30 20 00 00 00 00 00 00 00 00   ┆         000000  000000         ┆
0x0d60…0d80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ┆                                ┆
        […0x4…]
0x0e00…0e20 2f 2a 20 24 48 65 61 64 65 72 3a 20 2f 2f 68 75 66 73 61 2f 75 31 2f 68 61 6e 63 68 65 2f 73 72   ┆/* $Header: //hufsa/u1/hanche/sr┆
0x0e20…0e40 63 2f 52 43 53 2f 74 65 78 69 66 79 2e 63 2c 76 20 31 2e 36 20 39 31 2f 30 35 2f 31 34 20 32 31   ┆c/RCS/texify.c,v 1.6 91/05/14 21┆
0x0e40…0e60 3a 33 39 3a 33 36 20 68 61 6e 63 68 65 20 45 78 70 20 24 20 2a 2f 0a 2f 2a 09 74 65 78 69 66 79   ┆:39:36 hanche Exp $ */ /* texify┆
0x0e60…0e80 2e 63 0a 0a 09 43 6f 70 79 72 69 67 68 74 20 28 63 29 20 31 39 38 38 2c 20 31 39 39 30 2c 20 31   ┆.c   Copyright (c) 1988, 1990, 1┆
0x0e80…0ea0 39 39 31 20 48 61 72 61 6c 64 20 48 61 6e 63 68 65 2d 4f 6c 73 65 6e 0a 0a 09 54 68 65 20 61 75   ┆991 Harald Hanche-Olsen   The au┆
0x0ea0…0ec0 74 68 6f 72 20 6f 66 20 74 68 69 73 20 70 72 6f 67 72 61 6d 20 68 61 73 20 72 65 74 61 69 6e 65   ┆thor of this program has retaine┆
0x0ec0…0ee0 64 20 74 68 65 20 63 6f 70 79 72 69 67 68 74 20 6f 6e 6c 79 20 73 6f 20 74 68 61 74 0a 09 6f 74   ┆d the copyright only so that  ot┆
0x0ee0…0f00 68 65 72 73 20 6d 61 79 20 6e 6f 74 20 63 6c 61 69 6d 20 69 74 2e 20 20 55 73 65 72 73 20 61 72   ┆hers may not claim it.  Users ar┆
0x0f00…0f20 65 20 67 72 61 6e 74 65 64 20 74 68 65 20 72 69 67 68 74 20 74 6f 20 64 6f 20 77 68 61 74 65 76   ┆e granted the right to do whatev┆
0x0f20…0f40 65 72 0a 09 74 68 65 79 20 70 6c 65 61 73 65 20 77 69 74 68 20 74 68 65 20 70 72 6f 67 72 61 6d   ┆er  they please with the program┆
0x0f40…0f60 20 75 6e 64 65 72 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 72 65 73 74 72 69 63 74 69 6f 6e   ┆ under the following restriction┆
0x0f60…0f80 73 3a 0a 0a 09 44 6f 20 6e 6f 74 20 72 65 6d 6f 76 65 20 74 68 69 73 20 63 6f 70 79 72 69 67 68   ┆s:   Do not remove this copyrigh┆
0x0f80…0fa0 74 20 6e 6f 74 69 63 65 2e 20 20 49 66 20 79 6f 75 20 64 6f 20 6d 6f 64 69 66 79 20 74 68 65 20   ┆t notice.  If you do modify the ┆
0x0fa0…0fc0 70 72 6f 67 72 61 6d 2c 0a 09 63 6f 6d 6d 65 6e 74 73 20 74 6f 20 74 68 61 74 20 65 66 66 65 63   ┆program,  comments to that effec┆
0x0fc0…0fe0 74 20 73 68 6f 75 6c 64 20 62 65 20 69 6e 63 6c 75 64 65 64 20 69 6e 20 74 68 65 20 73 6f 75 72   ┆t should be included in the sour┆
0x0fe0…1000 63 65 20 63 6f 64 65 2e 0a 0a 09 50 6c 65 61 73 65 20 61 6c 73 6f 20 6e 6f 74 65 20 74 68 61 74   ┆ce code.   Please also note that┆
0x1000…1020 20 74 68 65 20 70 72 6f 67 72 61 6d 20 69 73 20 73 75 70 70 6c 69 65 64 20 61 73 20 69 73 2c 20   ┆ the program is supplied as is, ┆
0x1020…1040 77 69 74 68 6f 75 74 20 61 6e 79 0a 09 77 61 72 72 61 6e 74 79 2e 20 20 54 68 65 20 61 75 74 68   ┆without any  warranty.  The auth┆
0x1040…1060 6f 72 20 77 69 6c 6c 20 6e 6f 74 20 61 63 63 65 70 74 20 6c 69 61 62 69 6c 69 74 79 20 66 6f 72   ┆or will not accept liability for┆
0x1060…1080 20 61 6e 79 20 6c 6f 73 73 20 6f 66 20 64 61 74 61 0a 09 6f 72 20 6f 74 68 65 72 20 64 69 72 65   ┆ any loss of data  or other dire┆
0x1080…10a0 63 74 20 6f 72 20 69 6e 64 69 72 65 63 74 20 64 61 6d 61 67 65 73 20 63 61 75 73 65 64 20 62 79   ┆ct or indirect damages caused by┆
0x10a0…10c0 20 74 68 65 20 70 72 6f 67 72 61 6d 2e 0a 2a 2f 0a 0a 2f 2a 09 54 68 69 73 20 70 72 6f 67 72 61   ┆ the program. */  /* This progra┆
0x10c0…10e0 6d 20 77 61 73 20 63 61 6c 6c 65 64 20 38 74 6f 37 62 69 74 20 62 65 66 6f 72 65 2e 20 20 2a 2f   ┆m was called 8to7bit before.  */┆
0x10e0…1100 0a 23 64 65 66 69 6e 65 20 50 52 4f 47 4e 41 4d 45 20 22 74 65 78 69 66 79 22 0a 23 64 65 66 69   ┆ #define PROGNAME "texify" #defi┆
0x1100…1120 6e 65 20 56 45 52 53 49 4f 4e 20 20 22 31 2e 36 2c 20 31 39 39 31 2d 30 35 2d 31 34 22 0a 0a 2f   ┆ne VERSION  "1.6, 1991-05-14"  /┆
0x1120…1140 2a 20 24 4c 6f 67 3a 09 74 65 78 69 66 79 2e 63 2c 76 20 24 0a 2a 20 52 65 76 69 73 69 6f 6e 20   ┆* $Log: texify.c,v $ * Revision ┆
0x1140…1160 31 2e 36 20 20 39 31 2f 30 35 2f 31 34 20 20 32 31 3a 33 39 3a 33 36 20 20 68 61 6e 63 68 65 0a   ┆1.6  91/05/14  21:39:36  hanche ┆
0x1160…1180 2a 20 43 6f 72 72 65 63 74 65 64 20 61 20 66 65 77 20 62 75 67 73 20 69 6e 20 74 68 65 20 4d 61   ┆* Corrected a few bugs in the Ma┆
0x1180…11a0 63 69 6e 74 6f 73 68 20 74 61 62 6c 65 2e 20 20 41 6c 73 6f 20 61 64 64 65 64 20 61 20 66 65 77   ┆cintosh table.  Also added a few┆
0x11a0…11c0 20 63 6f 64 65 73 2e 0a 2a 20 0a 2a 20 0a 2a 20 52 65 76 69 73 69 6f 6e 20 31 2e 35 2e 31 2e 32   ┆ codes. *  *  * Revision 1.5.1.2┆
0x11c0…11e0 20 20 31 39 39 31 2f 30 35 2f 31 33 20 20 30 38 3a 33 38 3a 34 39 20 20 61 6e 75 6e 64 0a 2a 20   ┆  1991/05/13  08:38:49  anund * ┆
0x11e0…1200 45 6e 64 72 65 74 20 73 7d 20 70 72 6f 67 72 61 6d 6d 65 74 20 66 75 6e 67 65 72 65 72 20 6d 65   ┆Endret s} programmet fungerer me┆
0x1200…1220 64 20 6b 6f 6d 70 69 6c 61 74 6f 72 65 72 20 73 6f 6d 20 67 6a 7c 72 20 73 74 72 65 6e 67 6b 6f   ┆d kompilatorer som gj|r strengko┆
0x1220…1240 6e 73 74 61 6e 74 65 72 0a 2a 20 69 6b 6b 65 2d 73 6b 72 69 76 62 61 72 65 2e 0a 2a 0a 2a 20 52   ┆nstanter * ikke-skrivbare. * * R┆
0x1240…1260 65 76 69 73 69 6f 6e 20 31 2e 35 2e 31 2e 31 20 20 31 39 39 31 2f 30 34 2f 31 30 20 20 30 37 3a   ┆evision 1.5.1.1  1991/04/10  07:┆
0x1260…1280 35 33 3a 30 35 20 20 61 6e 75 6e 64 0a 2a 20 52 65 6d 6f 76 65 64 20 61 20 66 65 77 20 63 6f 6d   ┆53:05  anund * Removed a few com┆
0x1280…12a0 70 69 6c 61 74 69 6f 6e 20 77 61 72 6e 69 6e 67 73 2e 0a 2a 0a 2a 20 52 65 76 69 73 69 6f 6e 20   ┆pilation warnings. * * Revision ┆
0x12a0…12c0 31 2e 35 20 20 39 31 2f 30 31 2f 32 32 20 20 31 32 3a 32 33 3a 32 39 20 20 68 61 6e 63 68 65 0a   ┆1.5  91/01/22  12:23:29  hanche ┆
0x12c0…12e0 2a 20 54 77 6f 20 6e 65 77 20 74 72 61 6e 73 6c 61 74 69 6f 6e 20 74 61 62 6c 65 73 3a 20 22 4e   ┆* Two new translation tables: "N┆
0x12e0…1300 6f 72 77 65 67 69 61 6e 22 20 61 6e 64 20 49 53 4f 38 38 35 39 2d 31 20 74 61 62 6c 65 73 2e 0a   ┆orwegian" and ISO8859-1 tables. ┆
0x1300…1320 2a 20 41 6c 73 6f 20 66 69 78 65 64 20 61 20 6d 69 6e 6f 72 20 62 75 67 20 69 6e 20 6f 6e 65 20   ┆* Also fixed a minor bug in one ┆
0x1320…1340 6f 66 20 74 68 65 20 74 72 61 6e 73 6c 61 74 69 6f 6e 20 74 61 62 6c 65 73 2e 0a 2a 20 54 68 65   ┆of the translation tables. * The┆
0x1340…1360 73 65 20 63 68 61 6e 67 65 73 20 64 75 65 20 74 6f 20 41 6e 75 6e 64 20 4c 69 65 20 28 74 68 61   ┆se changes due to Anund Lie (tha┆
0x1360…1380 6e 6b 73 2c 20 41 6e 75 6e 64 29 2e 0a 2a 20 0a 2a 20 0a 2a 20 52 65 76 69 73 69 6f 6e 20 31 2e   ┆nks, Anund). *  *  * Revision 1.┆
0x1380…13a0 34 20 20 39 30 2f 30 39 2f 30 33 20 20 31 36 3a 35 34 3a 30 31 20 20 68 61 6e 63 68 65 0a 2a 20   ┆4  90/09/03  16:54:01  hanche * ┆
0x13a0…13c0 43 6f 72 72 65 63 74 65 64 20 74 68 65 20 4d 61 63 69 6e 74 6f 73 68 20 74 72 61 6e 73 6c 61 74   ┆Corrected the Macintosh translat┆
0x13c0…13e0 69 6f 6e 20 74 61 62 6c 65 3a 20 20 41 76 6f 69 64 20 77 72 6f 6e 67 20 75 73 65 20 6f 66 20 7b   ┆ion table:  Avoid wrong use of {┆
0x13e0…1400 7d 20 6f 66 0a 2a 20 6d 61 74 68 20 6d 6f 64 65 20 6f 70 65 72 61 74 6f 72 73 2e 20 20 46 6f 72   ┆} of * math mode operators.  For┆
0x1400…1420 20 65 78 61 6d 70 6c 65 2c 20 24 61 7b 5c 6c 65 7d 62 24 20 79 69 65 6c 64 73 20 74 68 65 20 77   ┆ example, $a{\le}b$ yields the w┆
0x1420…1440 72 6f 6e 67 20 73 70 61 63 69 6e 67 2e 0a 2a 20 0a 2a 20 52 65 76 69 73 69 6f 6e 20 31 2e 33 20   ┆rong spacing. *  * Revision 1.3 ┆
0x1440…1460 20 39 30 2f 30 38 2f 32 34 20 20 31 39 3a 32 33 3a 32 32 20 20 68 61 6e 63 68 65 0a 2a 20 4d 61   ┆ 90/08/24  19:23:22  hanche * Ma┆
0x1460…1480 63 20 74 72 61 6e 73 6c 61 74 69 6f 6e 20 74 61 62 6c 65 73 20 73 75 63 63 65 73 66 75 6c 6c 79   ┆c translation tables succesfully┆
0x1480…14a0 20 61 64 64 65 64 2e 20 20 4e 6f 77 20 68 6f 70 65 66 75 6c 6c 79 20 41 4e 53 49 20 63 6f 6d 70   ┆ added.  Now hopefully ANSI comp┆
0x14a0…14c0 61 74 69 62 6c 65 2e 0a 2a 20 0a 2a 20 52 65 76 69 73 69 6f 6e 20 31 2e 32 20 20 39 30 2f 30 38   ┆atible. *  * Revision 1.2  90/08┆
0x14c0…14e0 2f 32 34 20 20 31 33 3a 34 30 3a 31 31 20 20 68 61 6e 63 68 65 0a 2a 20 54 68 69 73 20 69 73 20   ┆/24  13:40:11  hanche * This is ┆
0x14e0…1500 61 6e 20 61 74 74 65 6d 70 74 20 61 74 20 67 65 74 74 69 6e 67 20 74 68 65 20 70 72 6f 67 72 61   ┆an attempt at getting the progra┆
0x1500…1520 6d 20 72 65 61 64 79 20 66 6f 72 20 41 4e 53 49 2c 20 0a 2a 20 70 6c 75 73 20 67 65 74 74 69 6e   ┆m ready for ANSI,  * plus gettin┆
0x1520…1540 67 20 69 74 20 72 65 61 64 79 20 74 6f 20 73 75 70 70 6f 72 74 20 6d 6f 72 65 20 62 75 69 6c 74   ┆g it ready to support more built┆
0x1540…1560 2d 69 6e 20 74 72 61 6e 73 6c 61 74 69 6f 6e 20 74 61 62 6c 65 73 2e 0a 2a 20 0a 2a 2f 0a 0a 23   ┆-in translation tables. *  */  #┆
0x1560…1580 69 6e 63 6c 75 64 65 20 3c 73 74 64 6c 69 62 2e 68 3e 0a 23 69 6e 63 6c 75 64 65 20 3c 73 74 64   ┆include <stdlib.h> #include <std┆
0x1580…15a0 69 6f 2e 68 3e 0a 0a 23 69 66 64 65 66 20 4e 4f 49 4d 50 4c 49 43 49 54 0a 2f 2a 20 64 65 66 69   ┆io.h>  #ifdef NOIMPLICIT /* defi┆
0x15a0…15c0 6e 65 20 6f 74 68 65 72 77 69 73 65 20 69 6d 70 6c 69 63 69 74 6c 79 20 64 65 66 69 6e 65 64 20   ┆ne otherwise implicitly defined ┆
0x15c0…15e0 66 75 6e 63 74 69 6f 6e 73 20 2a 2f 0a 69 6e 74 20 66 70 72 69 6e 74 66 28 29 2c 70 72 69 6e 74   ┆functions */ int fprintf(),print┆
0x15e0…1600 66 28 29 2c 66 63 6c 6f 73 65 28 29 2c 5f 66 69 6c 62 75 66 28 29 2c 5f 66 6c 73 62 75 66 28 29   ┆f(),fclose(),_filbuf(),_flsbuf()┆
0x1600…1620 2c 20 66 73 63 61 6e 66 28 29 3b 0a 69 6e 74 20 75 6e 6c 69 6e 6b 28 29 2c 72 65 6e 61 6d 65 28   ┆, fscanf(); int unlink(),rename(┆
0x1620…1640 29 3b 0a 69 6e 74 20 73 74 72 6c 65 6e 28 29 2c 73 74 72 63 70 79 28 29 3b 0a 23 65 6e 64 69 66   ┆); int strlen(),strcpy(); #endif┆
0x1640…1660 0a 23 64 65 66 69 6e 65 20 54 52 55 45 20 20 31 0a 23 64 65 66 69 6e 65 20 46 41 4c 53 45 20 30   ┆ #define TRUE  1 #define FALSE 0┆
0x1660…1680 0a 23 64 65 66 69 6e 65 20 75 63 68 72 20 75 6e 73 69 67 6e 65 64 20 63 68 61 72 0a 0a 2f 2a 2a   ┆ #define uchr unsigned char  /**┆
0x1680…16a0 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2f 0a 2f 2a 20 47 6c 6f 62 61 6c 20 76   ┆*******************/ /* Global v┆
0x16a0…16c0 61 72 69 61 62 6c 65 73 3a 20 2a 2f 0a 2f 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a   ┆ariables: */ /******************┆
0x16c0…16e0 2a 2a 2a 2f 0a 0a 23 64 65 66 69 6e 65 20 43 50 20 28 75 63 68 72 20 2a 29 0a 0a 2f 2a 20 44 65   ┆***/  #define CP (uchr *)  /* De┆
0x16e0…1700 66 61 75 6c 74 20 74 72 61 6e 73 6c 61 74 69 6f 6e 20 74 61 62 6c 65 20 2a 2f 0a 75 63 68 72 20   ┆fault translation table */ uchr ┆
0x1700…1720 2a 64 6f 73 5f 74 72 61 6e 73 5b 5d 20 3d 20 7b 0a 43 50 22 5c 32 32 31 7b 5c 5c 61 65 7d 22 2c   ┆*dos_trans[] = { CP"\221{\\ae}",┆
0x1720…1740 20 20 20 20 43 50 22 5c 32 33 33 7b 5c 5c 6f 7d 22 2c 20 20 20 20 20 43 50 22 5c 32 30 36 7b 5c   ┆    CP"\233{\\o}",     CP"\206{\┆
0x1740…1760 5c 61 61 7d 22 2c 20 20 20 43 50 22 5c 32 32 32 7b 5c 5c 41 45 7d 22 2c 0a 43 50 22 5c 32 33 35   ┆\aa}",   CP"\222{\\AE}", CP"\235┆
0x1760…1780 7b 5c 5c 4f 7d 22 2c 20 20 20 20 20 43 50 22 5c 32 31 37 7b 5c 5c 41 41 7d 22 2c 20 20 20 20 43   ┆{\\O}",     CP"\217{\\AA}",    C┆
0x1780…17a0 50 22 5c 32 30 30 5c 5c 63 20 43 22 2c 20 20 20 20 43 50 22 5c 32 30 31 5c 5c 5c 22 75 22 2c 0a   ┆P"\200\\c C",    CP"\201\\\"u", ┆
0x17a0…17c0 43 50 22 5c 32 30 32 5c 5c 5c 27 65 22 2c 20 20 20 20 20 43 50 22 5c 32 30 33 5c 5c 5e 61 22 2c   ┆CP"\202\\\'e",     CP"\203\\^a",┆
0x17c0…17e0 20 20 20 20 20 20 43 50 22 5c 32 30 34 5c 5c 5c 22 61 22 2c 20 20 20 20 43 50 22 5c 32 30 35 5c   ┆      CP"\204\\\"a",    CP"\205\┆
0x17e0…1800 5c 60 61 22 2c 0a 43 50 22 5c 32 30 37 5c 5c 63 20 63 22 2c 20 20 20 20 20 43 50 22 5c 32 31 30   ┆\`a", CP"\207\\c c",     CP"\210┆
0x1800…1820 5c 5c 5e 65 22 2c 20 20 20 20 20 20 43 50 22 5c 32 31 31 5c 5c 5c 22 65 22 2c 20 20 20 20 43 50   ┆\\^e",      CP"\211\\\"e",    CP┆
0x1820…1840 22 5c 32 31 32 5c 5c 60 65 22 2c 0a 43 50 22 5c 32 31 33 7b 5c 5c 5c 22 5c 5c 69 7d 22 2c 20 43   ┆"\212\\`e", CP"\213{\\\"\\i}", C┆
0x1840…1860 50 22 5c 32 31 34 7b 5c 5c 5e 5c 5c 69 7d 22 2c 20 20 43 50 22 5c 32 31 36 5c 5c 5c 22 41 22 2c   ┆P"\214{\\^\\i}",  CP"\216\\\"A",┆
0x1860…1880 20 20 20 20 43 50 22 5c 32 32 30 5c 5c 5c 27 45 22 2c 0a 43 50 22 5c 32 32 33 5c 5c 5e 6f 22 2c   ┆    CP"\220\\\'E", CP"\223\\^o",┆
0x1880…18a0 20 20 20 20 20 20 43 50 22 5c 32 32 34 5c 5c 5c 22 6f 22 2c 20 20 20 20 20 43 50 22 5c 32 32 35   ┆      CP"\224\\\"o",     CP"\225┆
0x18a0…18c0 5c 5c 60 6f 22 2c 20 20 20 20 20 43 50 22 5c 32 32 36 5c 5c 5e 75 22 2c 0a 43 50 22 5c 32 32 37   ┆\\`o",     CP"\226\\^u", CP"\227┆
0x18c0…18e0 5c 5c 60 75 22 2c 20 20 20 20 20 20 43 50 22 5c 32 33 30 5c 5c 5c 22 79 22 2c 20 20 20 20 20 43   ┆\\`u",      CP"\230\\\"y",     C┆
0x18e0…1900 50 22 5c 32 33 31 5c 5c 5c 22 4f 22 2c 20 20 20 20 43 50 22 5c 32 33 32 5c 5c 5c 22 55 22 2c 0a   ┆P"\231\\\"O",    CP"\232\\\"U", ┆
0x1900…1920 43 50 22 5c 32 34 30 5c 5c 5c 27 61 22 2c 20 20 20 20 20 43 50 22 5c 32 34 31 7b 5c 5c 5c 27 5c   ┆CP"\240\\\'a",     CP"\241{\\\'\┆
0x1920…1940 5c 69 7d 22 2c 20 43 50 22 5c 32 34 32 5c 5c 5c 27 6f 22 2c 20 20 20 20 43 50 22 5c 32 34 33 5c   ┆\i}", CP"\242\\\'o",    CP"\243\┆
0x1940…1960 5c 5c 27 75 22 2c 0a 43 50 22 5c 32 34 34 5c 5c 7e 6e 22 2c 20 20 20 20 20 20 43 50 22 5c 32 34   ┆\\'u", CP"\244\\~n",      CP"\24┆
0x1960…1980 35 5c 5c 7e 4e 22 2c 20 20 20 20 20 20 43 50 22 5c 32 35 30 3f 60 22 2c 20 20 20 20 20 20 20 43   ┆5\\~N",      CP"\250?`",       C┆
0x1980…19a0 50 22 5c 32 35 35 21 60 22 2c 0a 43 50 22 22 20 7d 3b 0a 0a 75 63 68 72 20 2a 6d 61 63 5f 74 72   ┆P"\255!`", CP"" };  uchr *mac_tr┆
0x19a0…19c0 61 6e 73 5b 5d 20 3d 20 0a 7b 0a 20 20 43 50 22 5c 32 37 36 7b 5c 5c 61 65 7d 22 2c 20 20 20 20   ┆ans[] =  {   CP"\276{\\ae}",    ┆
0x19c0…19e0 43 50 22 5c 32 37 37 7b 5c 5c 6f 7d 22 2c 20 20 20 20 20 43 50 22 5c 32 31 34 7b 5c 5c 61 61 7d   ┆CP"\277{\\o}",     CP"\214{\\aa}┆
0x19e0…1a00 22 2c 20 20 20 43 50 22 5c 32 35 36 7b 5c 5c 41 45 7d 22 2c 0a 20 20 43 50 22 5c 32 35 37 7b 5c   ┆",   CP"\256{\\AE}",   CP"\257{\┆
0x1a00…1a20 5c 4f 7d 22 2c 20 20 20 20 20 43 50 22 5c 32 30 31 7b 5c 5c 41 41 7d 22 2c 20 20 20 20 43 50 22   ┆\O}",     CP"\201{\\AA}",    CP"┆
0x1a20…1a40 5c 33 31 37 7b 5c 5c 6f 65 7d 22 2c 20 20 20 43 50 22 5c 33 31 36 7b 5c 5c 4f 45 7d 22 2c 0a 20   ┆\317{\\oe}",   CP"\316{\\OE}",  ┆
0x1a40…1a60 20 43 50 22 5c 32 31 30 5c 5c 60 61 22 2c 20 20 20 20 20 20 43 50 22 5c 32 31 37 5c 5c 60 65 22   ┆ CP"\210\\`a",      CP"\217\\`e"┆
0x1a60…1a80 2c 20 20 20 20 20 20 43 50 22 5c 32 32 33 7b 5c 5c 60 5c 5c 69 7d 22 2c 20 43 50 22 5c 32 33 30   ┆,      CP"\223{\\`\\i}", CP"\230┆
0x1a80…1aa0 5c 5c 60 6f 22 2c 0a 20 20 43 50 22 5c 32 33 35 5c 5c 60 75 22 2c 20 20 20 20 20 20 43 50 22 5c   ┆\\`o",   CP"\235\\`u",      CP"\┆
0x1aa0…1ac0 32 30 33 5c 5c 60 45 22 2c 0a 20 20 43 50 22 5c 32 30 37 5c 5c 27 61 22 2c 20 20 20 20 20 20 43   ┆203\\`E",   CP"\207\\'a",      C┆
0x1ac0…1ae0 50 22 5c 32 31 36 5c 5c 27 65 22 2c 20 20 20 20 20 20 43 50 22 5c 32 32 32 7b 5c 5c 27 5c 5c 69   ┆P"\216\\'e",      CP"\222{\\'\\i┆
0x1ae0…1b00 7d 22 2c 20 43 50 22 5c 32 32 37 5c 5c 27 6f 22 2c 0a 20 20 43 50 22 5c 32 33 34 5c 5c 27 75 22   ┆}", CP"\227\\'o",   CP"\234\\'u"┆
0x1b00…1b20 2c 20 20 20 20 20 20 43 50 22 5c 32 30 33 5c 5c 27 45 22 2c 0a 20 20 43 50 22 5c 33 31 33 5c 5c   ┆,      CP"\203\\'E",   CP"\313\\┆
[…truncated at 200 lines…]