Path: utzoo!utgpu!attcan!uunet!husc6!mailrus!ncar!boulder!fesk!sverre From: sverre@fesk.UUCP (Sverre Froyen) Newsgroups: comp.sources.d Subject: Re: troff2lj problems Message-ID: <169@fesk.UUCP> Date: 15 Aug 88 17:37:11 GMT References: <171@rocky8.rockefeller.edu> Organization: SERI, Golden, CO Lines: 27 From article <171@rocky8.rockefeller.edu>, by edf@rocky2.rockefeller.edu (David MacKenzie): > Comp.sources.unix volume 3 (ends feb 86) contains a ditroff to LaserJet > translator. I haven't tried it (I don't have ditroff). Sverre Froyen, > troff2lj's other author, is now using a ditroff to LaserJet translator > also. I don't know if it is the above one or a modification of troff2lj. I will try to get ditroff2lj in a form suitable for posting to comp.sources.misc. It may take a couple of weeks. This version is not a modification of troff2lj, but rather a rewrite of the mod.sources vol. 3 version mentioned above. Like the original version of troff2lj it only works with font cartridges. It works quite well with the K-cartridge and reasonable well with the Z-cartridge. I use it with the K- and J-cartridges and use the J-cartridge for the CW fonts. Sverre PS. Somebody was wondering if there was a better way to do ligatures with the troff2lj program. An easy way to include ligatures would be to redo the character translation tables to use strings instead of single characters. The ligature positions could then be coded as "ff", "fi", etc. You would also need to figure out the widths and code these into the font description files. -- Sverre Froyen UUCP: boulder!fesk!sverre, sunpeaks!seri!fesk!sverre ARPA: froyen@nmfecc.arpa BITNET: froyen@csugold.bitnet