From owner-freebsd-questions Sat Jul 8 9:40:39 2000 Delivered-To: freebsd-questions@freebsd.org Received: from theory1.physics.iisc.ernet.in (theory1.physics.iisc.ernet.in [144.16.71.20]) by hub.freebsd.org (Postfix) with SMTP id 265E537BF5A for ; Sat, 8 Jul 2000 09:40:29 -0700 (PDT) (envelope-from rsidd@physics.iisc.ernet.in) Received: (qmail 8958 invoked from network); 8 Jul 2000 16:40:23 -0000 Received: from theory8.physics.iisc.ernet.in (144.16.71.128) by theory1.physics.iisc.ernet.in with SMTP; 8 Jul 2000 16:40:23 -0000 Received: (qmail 496 invoked by uid 211); 8 Jul 2000 16:40:20 -0000 Date: Sat, 8 Jul 2000 22:10:19 +0530 From: Rahul Siddharthan To: "Richard E. Hawkins" Cc: David@SkytrackerCanada.com, Lowell Gilbert , freebsd-questions@FreeBSD.ORG Subject: Re: way to pipe latex files to printer? Message-ID: <20000708221019.A491@physics.iisc.ernet.in> Mail-Followup-To: "Richard E. Hawkins" , David@SkytrackerCanada.com, Lowell Gilbert , freebsd-questions@FreeBSD.ORG References: <3966CA73.18B2819C@www3.pacific-pages.com> <200007081626.MAA06431@fac13.ds.psu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <200007081626.MAA06431@fac13.ds.psu.edu>; from hawk@fac13.ds.psu.edu on Sat, Jul 08, 2000 at 12:26:13PM -0400 X-Operating-System: Linux 2.0.32 i486 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Richard E. Hawkins said on Jul 8, 2000 at 12:26:13: > > 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. > > It will work fine within limits. If you see [??] or similar things in > your output, it is because tex needed to run more than once, which will > be the case if you have cross-references. In fact there are occasions when you need to run it three times. But running it three times on every document via your script would be overdoing it. And then when you're latex'ing other peoples' documents, you may run into problems with missing style files and so on. I'd stick to running latex manually. But maybe that's just me: if you're mainly doing letters and such things which don't have cross-references, your way may make more sense. Rahul. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message