chiark / gitweb /
This is useless now that I no longer have a hermes account.
[bin.git] / sops-virginizer
old mode 100644 (file)
new mode 100755 (executable)
index ee7be17..6b35fb1
@@ -1,85 +1,5 @@
-Article: 37376 of riva.lists.debian.user
-Path: riva.ucam.org!gateway
-X-Envelope-Sender: kmself@ix.netcom.com
-From: kmself@ix.netcom.com
-Date: Tue, 28 Nov 2000 19:37:02 -0800
-To: debian-user@lists.debian.org
-Subject: Re: mpage & PS docs -- 1-up => 2-up fsckups.  StarOffice?
-Message-ID: <20001128193702.D19274@ix.netcom.com>
-References: <20001128170849.B16364@ix.netcom.com> <E140w77-0004fQ-00@riva.ucam.org>
-Mime-Version: 1.0
-Content-Type: multipart/signed; micalg=pgp-sha1;
-       protocol="application/pgp-signature"; boundary="9crTWz/Z+Zyzu20v"
-Content-Disposition: inline
-User-Agent: Mutt/1.2.5i
-In-Reply-To: <E140w77-0004fQ-00@riva.ucam.org>; from cjw44@flatline.org.uk on Wed, Nov 29, 2000 at 01:32:49AM +0000
-X-Debian-GNU-Linux: Rocks
-X-Kuro5hin-cabal: There is no K5 cabal
-X-GPG-Fingerprint: F932 8B25 5FDD 2528 D595  DC61 3847 889F 55F2 B9B0
-Resent-Message-ID: <TIJEP.A.DEC.loHJ6@murphy>
-Resent-From: debian-user@lists.debian.org
-X-Mailing-List: <debian-user@lists.debian.org> archive/latest/119890
-X-Loop: debian-user@lists.debian.org
-Precedence: list
-Resent-Sender: debian-user-request@lists.debian.org
-Resent-Bcc: 
-Resent-Date: Wed, 29 Nov 2000 03:50:06 +0000
-Newsgroups: riva.lists.debian.user
-Approved: cjw44@riva.ucam.org
-Lines: 96
-Xref: riva.ucam.org riva.lists.debian.user:37376
-
-
---9crTWz/Z+Zyzu20v
-Content-Type: multipart/mixed; boundary="uxuisgdDHaNETlh8"
-Content-Disposition: inline
-
-
---uxuisgdDHaNETlh8
-Content-Type: text/plain; charset=us-ascii
-Content-Disposition: inline
-Content-Transfer-Encoding: quoted-printable
-
-on Wed, Nov 29, 2000 at 01:32:49AM +0000, Colin Watson (cjw44@flatline.org.=
-uk) wrote:
-> kmself@ix.netcom.com wrote:
-> >Specific instance is an Excel spreadsheet, printed to file from
-> >StarOffice (that bloated stuck pig of an office suite), then attempting
-> >to convert the file with mpage to a two-pages-per-sheet with:
-> >
-> >    mpage -dp -2 < soffice.ps > soffice-2up.ps
-> >
-> >Viewing (or printing) the results with gv flashes up the rendered
-> >content for a moment, then blanks the page.  'gs' has similar results.
-> >This appears to be a problem noted by others (Google, Deja turn up some
-> >references), but I can't seem to find a fix.
->=20
-> Hm. I can't help with mpage, I'm afraid. As a workaround, have you tried
-> psnup (from the psutils package)? Of course, you'll have to cause the
-> PostScript file to contain its original self twice, perhaps using
-> psmerge. Sorry if a workaround wasn't what you were after.
-
-Thanks, psnup *does* do the trick.  I've been using mpage for a few
-years, so it's going to tough to kick the habit, but that's a good one
-to know.
-
-The problem, according to web searches, is broken PS output by
-StarOffice.  One fix is to use a set of ps2ps commands to produce
-rectified, Level-1 postscript.  From a set of commands found online,
-I've created the attached 'sopsvirginizer' script -- it un-fscks
-StarOffice postscript output.=20
-
---=20
-Karsten M. Self <kmself@ix.netcom.com>     http://www.netcom.com/~kmself
- Evangelist, Zelerate, Inc.                      http://www.zelerate.org
-  What part of "Gestalt" don't you understand?      There is no K5 cabal
-   http://gestalt-system.sourceforge.net/        http://www.kuro5hin.org
-
---uxuisgdDHaNETlh8
-Content-Type: text/plain; charset=us-ascii
-Content-Disposition: attachment; filename=sopsvirginizer
-
 #!/bin/sh
 #!/bin/sh
+# Depends: gs
 
 # This script virginizes (de-fucks) StarOffice postscript, for use in
 # mpage and other tools.
 
 # This script virginizes (de-fucks) StarOffice postscript, for use in
 # mpage and other tools.
@@ -101,29 +21,3 @@ trap 'rm -f $TMPFILE; exit 1' 1 2 3 13 15
 
 ps2ps $1 $TMPFILE && ps2ps -dLanguageLevel=1 $TMPFILE $2
 rm -f $TMPFILE
 
 ps2ps $1 $TMPFILE && ps2ps -dLanguageLevel=1 $TMPFILE $2
 rm -f $TMPFILE
-
---uxuisgdDHaNETlh8--
-
---9crTWz/Z+Zyzu20v
-Content-Type: application/pgp-signature
-Content-Disposition: inline
-
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.0.4 (GNU/Linux)
-Comment: For info see http://www.gnupg.org
-
-iD8DBQE6JHncOEeIn1XyubARAn4OAJ9SJctkxOTl64vF3fMOkWzJScToCgCfa4KK
-3zCwRibuVRWTOZPNVhiLwbA=
-=RPmJ
------END PGP SIGNATURE-----
-
---9crTWz/Z+Zyzu20v--
-
-
--- 
-To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
-with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
-
-
-
-