Subject: Re: flyer.tex diffs (and a plea for TeX assistance)
To: Hubert Feyrer <hubert@feyrer.de>
From: Jeff Rizzo <riz@netbsd.org>
List: netbsd-docs
Date: 07/20/2005 17:15:49
--Yylu36WmvOXNoKYn
Content-Type: multipart/mixed; boundary="Dxnq1zWXvFF0Q93v"
Content-Disposition: inline


--Dxnq1zWXvFF0Q93v
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Jul 21, 2005 at 01:25:09AM +0200, Hubert Feyrer wrote:
> On Wed, 20 Jul 2005, Jeff Rizzo wrote:
> >If the A4 definitions are missing, then they're missing from the reposit=
ory
> >version...  and it wasn't my fault!  :)
>=20
> As far as I understood, your patch removed two blocks of PSTOPS_FRNT/BACK=
=20
> settings, but only put one block back. If that's not the case, fine with=
=20
> me. Maybe add a few comments what is what (A4, legal/whatever).

OK, I went back and looked more closely at the Makefile - if anyone
bothered trying to generate flugblatt.pdf or depliant.pdf, you'd notice
it doesn't actually work correctly - the last revision made some
dimensional changes that were not applied to those versions correctly.

With the attached patch to Makefile, I can generate what looks to me
like good A4 and Letter versions of flyer.pdf, and good A4 versions of
flugblatt.pdf and depliant.pdf.  I added 'flyer-a4.ps' and 'flyer-a4.pdf'
targets so that no Makefile editing is necessary to create a4 versions, and
made creating all 4 versions the default.

+j

--Dxnq1zWXvFF0Q93v
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="Makefile.diff"
Content-Transfer-Encoding: quoted-printable

Index: Makefile
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /cvsroot/htdocs/gallery/advocacy/Makefile,v
retrieving revision 1.7
diff -u -r1.7 Makefile
--- Makefile	18 Jul 2005 22:52:54 -0000	1.7
+++ Makefile	21 Jul 2005 00:15:11 -0000
@@ -38,23 +38,22 @@
 #LL=3Dleaflet
 #LL=3Ddepliant
 LL=3Dflyer
-PSTOPS_FRNT=3D1L(1w,0.000000h)+2L(1w,0.333333h)+3L(1w,0.666667h)
-PSTOPS_BACK=3D4R(0w,1.000000h)+5R(0w,0.666667h)+0R(0w,0.333333h)
-PSTOPS=3D6:$(PSTOPS_FRNT),$(PSTOPS_BACK)
-
-PSTOPS_FRNT=3D1L(1h,0in)+2L(1h,3.6in)+3L(1h,7.2in)
-PSTOPS_BACK=3D4R(0h,1w)+5R(0h,7.4in)+0R(0h,3.8in)
+PSTOPS_FRNT=3D1L(1h,0.000000w)+2L(1h,0.333333w)+3L(1h,0.666667w)
+PSTOPS_BACK=3D4R(0h,1.000000w)+5R(0h,0.666667w)+0R(0h,0.333333w)
 PSTOPS=3D6:$(PSTOPS_FRNT),$(PSTOPS_BACK)
=20
 .SUFFIXES=3D	.tex .dvi .ps .pdf
=20
-all: flyer.pdf flugblatt.pdf depliant.pdf
+all: flyer.pdf flyer-a4.pdf flugblatt.pdf depliant.pdf
=20
 #####
=20
 flyer.pdf: flyer.ps
 	ps2pdf -sPAPERSIZE=3Dletter flyer.ps flyer.pdf
=20
+flyer-a4.pdf: flyer-a4.ps
+	ps2pdf -sPAPERSIZE=3Da4 flyer-a4.ps flyer-a4.pdf
+
 flugblatt.pdf: flugblatt.ps
 	ps2pdf -sPAPERSIZE=3Da4 flugblatt.ps flugblatt.pdf
=20
@@ -65,17 +64,21 @@
 	dvips -o flyer.tmp.ps flyer.dvi
 	pstops -w11in -h8.5in "$(PSTOPS)" flyer.tmp.ps flyer.ps
=20
+flyer-a4.ps: flyer.dvi
+	dvips -o flyer-a4.tmp.ps flyer.dvi
+	pstops -w29.7cm -h21cm "$(PSTOPS)" flyer-a4.tmp.ps flyer-a4.ps
+
 depliant.ps: depliant.dvi
 	dvips -t landscape -o depliant.tmp.ps depliant.dvi
 	#	psselect 2,3,4,5,6,1 $(LL).tmp.ps $(LL).tmp2.ps
 	#psnup -w21cm -h29.7cm -W9.9cm -H21cm -s1 -3 $(LL).tmp2.ps $(LL).ps
-	pstops -w21cm -h29.7cm "$(PSTOPS)" depliant.tmp.ps depliant.ps
+	pstops -w29.7cm -h21cm "$(PSTOPS)" depliant.tmp.ps depliant.ps
=20
 flugblatt.ps: flugblatt.dvi
 	dvips -t landscape -o flugblatt.tmp.ps flugblatt.dvi
 	#	psselect 2,3,4,5,6,1 $(LL).tmp.ps $(LL).tmp2.ps
 	#psnup -w21cm -h29.7cm -W9.9cm -H21cm -s1 -3 $(LL).tmp2.ps $(LL).ps
-	pstops -w21cm -h29.7cm "$(PSTOPS)" flugblatt.tmp.ps flugblatt.ps
+	pstops -w29.7cm -h21cm "$(PSTOPS)" flugblatt.tmp.ps flugblatt.ps
=20
 flugblatt.dvi: flugblatt.tex netbsd.ps
 	latex flugblatt.tex

--Dxnq1zWXvFF0Q93v--

--Yylu36WmvOXNoKYn
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (NetBSD)

iQCVAwUBQt7pNbOuUtxCgar5AQKBVgP/QFwZHfK44Kg3d6evqMYWCHAxP1EqGP3D
R1vPKs7W1uvQs0GFoq3cN1/kgith0+9jaHRgQezfgtqZ8nVtGn16XeVBsLvm1tm0
XgonYR71gC/LHrrUXHyvbYkkkT75Bno4uh/XXGhRT9xIwhgui/+4XU/eToSWQRy7
9pwpbIoumyE=
=9zwm
-----END PGP SIGNATURE-----

--Yylu36WmvOXNoKYn--