Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!caen!ox.com!math.fu-berlin.de!unido!infbs!bredex!uwe From: uwe@bredex.UUCP ( BREDEX GmbH) Newsgroups: comp.text.tex Subject: tgrind and printing in duplex mode Message-ID: <2864@bredex.UUCP> Date: 24 May 91 12:45:17 GMT Reply-To: uwe@bredex.UUCP (Uwe Faustmann - BREDEX GmbH) Organization: BREDEX GmbH, Braunschweig, F.R.Germany Lines: 34 Dear TeXperts, I need some help (cause I'm not a TeXpert:-(. I've modified the tgrind utility to add a clear page if a file has an odd number of pages. I've done this because we usually are printing in duplex mode and it doesn't look fine if the first page of a file starts on the reverse page of the previous file. I got it to work, but not without TeX warnings. What I have done: ~~~~~~~~~~~~~~~~ I modified tfontedpr.c to print a "\Trailor{}" line after ervery file being processed. In the tgrindmac.tex macro package I've added the follwing: \def\newpage{\par\vfil\penalty-10000} \def\clearpage{\newpage \write-1{}\vbox{}\penalty-10001} \def\Trailor{\ifodd\pageno\clearpage\headline={}\footline={}\fi} I took this from the latex.tex package and modified it with some trial and error until it works (yeah!). But I get TeX warning messages for underfull \hboxes. Any ideas how to avoid this warnings? Thanks in advance uwe -- \|||/ Uwe Faustmann, BREDEX GmbH phone: +49 531 75480 o o Kastanienallee 2a fax: +49 531 796358 > D-3300 Braunschweig, Germany email: uwe@bredex.uucp