From owner-freebsd-questions Fri Jul 7 23:31:13 2000 Delivered-To: freebsd-questions@freebsd.org Received: from www3.pacific-pages.com (www3.pacific-pages.com [192.41.48.219]) by hub.freebsd.org (Postfix) with ESMTP id 2278937B797 for ; Fri, 7 Jul 2000 23:31:08 -0700 (PDT) (envelope-from David@www3.pacific-pages.com) Received: from www3.pacific-pages.com ([216.191.74.211]) by www3.pacific-pages.com (8.8.5) id AAA13183; Sat, 8 Jul 2000 00:30:32 -0600 (MDT) Message-ID: <3966CA73.18B2819C@www3.pacific-pages.com> Date: Sat, 08 Jul 2000 02:30:11 -0400 From: David Banning Reply-To: David@SkytrackerCanada.com Organization: Sky-Tracker of Canada Inc. X-Mailer: Mozilla 4.72 [en] (X11; I; FreeBSD 4.0-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: Rahul Siddharthan Cc: Lowell Gilbert , freebsd-questions@FreeBSD.ORG Subject: Re: way to pipe latex files to printer? References: <39652CDF.F03FDB72@www3.pacific-pages.com> <20000707073243.C12789@physics.iisc.ernet.in> <44aefu3rv7.fsf@lowellg.ne.mediaone.net> <20000707235837.A937@physics.iisc.ernet.in> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In the end, I created a script like; cat $1 > /tmp/templatex.tex latex /tmp/templatex dvips templatex which I call "lat" - my report program creates the tex program, then pipes it into "lat" seems to work fine - thanks for your comments. Rahul Siddharthan wrote: > > > You can, in theory, set up a print filter that will recognize latex > > and run latex and dvips automatically. I seem to recall that > > apsfilter can set up such a filter for you, if you want, and I suspect > > that magicfilter can do so also. > > Well yes, it shouldn't be too difficult to configure things that way. > But I'd prefer to do the latex manually -- in case there are errors > (missing figures/style files/etc), in case I need to run it twice, and > so on. > > Rahul. -- Too often I find that the volume of paper expands to fill the available briefcases. -- Governor Jerry Brown To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message