From owner-freebsd-current Tue Apr 25 12:02:52 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id MAA08304 for current-outgoing; Tue, 25 Apr 1995 12:02:52 -0700 Received: from netcom9.netcom.com (bakul@netcom9.netcom.com [192.100.81.119]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id MAA08294 ; Tue, 25 Apr 1995 12:02:49 -0700 Received: from localhost by netcom9.netcom.com (8.6.12/Netcom) id MAA20277; Tue, 25 Apr 1995 12:01:31 -0700 Message-Id: <199504251901.MAA20277@netcom9.netcom.com> To: "Rodney W. Grimes" cc: nate@trout.sri.mt.net (Nate Williams), jkh@freefall.cdrom.com, current@freefall.cdrom.com Subject: Re: TeX support in bsd.doc.mk? In-reply-to: Your message of "Tue, 25 Apr 95 10:19:57 PDT." <199504251719.KAA10286@gndrsh.aac.dev.com> Date: Tue, 25 Apr 95 12:01:26 -0700 From: Bakul Shah Sender: current-owner@FreeBSD.org Precedence: bulk > > Ahh, gotcha. Do you want to go all the way to PS files, or just to .dvi > > files? Generally xdvi is installed, and there are lots of dvi->misc > > converters which do a better job than the dvi->PS->misc conversion. > > The resulting file type should depend on what ${PRINTER} is set to, > see 4.4 Lite bsd.doc.mk. IMHO .dvi being printer and resolution independent makes a better target because - if you have more than one printer or a PS/PCL printer or a printer and a fax modem, you can setup your print filters appropriately to translate dvi to the correct PDL (page descr. language), resolution, and any other printer peculiarities. - typically .dvi files are about 60% of the eventual .ps files. - if you are using metafont based fonts, xdvi output is far superior to what you can get with ghostscript/ghostview. This is partly because xdvi uses antialiased fonts. xdvi is also much faster and less of a resource hog compared to gs/ghostview. And BTW, it can deal with .eps just fine. Since xdvi output is so superior (and so much easier on eyes) and since .dvi files are only about 10% bigger on average than nroffed output, I use xdvi as my man page reader! Then there is hyperTeX and xhdvi. With suitable macros you can convert an ordinary latex file into a .dvi file with hyperlinks. With xhdvi you can follow any cross-references in an .dvi file by click of a button. Though, support for external URLs is not so well integrated. If groff tools (& man macros) are similarly enhanced, one can follow x-refs of ``see fcntl(2)'' style far more easily. xhdvi with such man macros would make a far better help tool than xman. Since it can also deal with .dvi from texinfo files, it has the potential of being one unified help tool. If interested, follow the links from http://xxx.lanl.gov/hypertex/ --bakul