diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2014-04-28 13:32:45 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2014-04-28 13:32:45 +0000 |
commit | 9ef0ad52f596026c1e545be621232e76cf2ef45a (patch) | |
tree | 3a47769ca0e2ad17fbf55c8a79950e79a023e4ee /Master/texmf-dist/scripts/psutils/fixwfwps.pl | |
parent | e6fefd95977da2f1aa1a512a3fcc871681deb59c (diff) |
Update scripts from source tree
git-svn-id: svn://tug.org/texlive/trunk@33721 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts/psutils/fixwfwps.pl')
-rwxr-xr-x | Master/texmf-dist/scripts/psutils/fixwfwps.pl | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/Master/texmf-dist/scripts/psutils/fixwfwps.pl b/Master/texmf-dist/scripts/psutils/fixwfwps.pl deleted file mode 100755 index 92d88443fe1..00000000000 --- a/Master/texmf-dist/scripts/psutils/fixwfwps.pl +++ /dev/null @@ -1,33 +0,0 @@ -#!/usr/bin/env perl -# fixwfwps: fix Word for windows PostScript for printing. -# -# Copyright (C) Angus J. C. Duggan 1991-1995 -# See file LICENSE for details. - -$nesting = 0; -while (<>) { - tr/\000-\010\012-\014\016-\037//d; - foreach (grep($_ ne "", split("\015"))) { - s!/SVDoc\s+save\s+def!!g; - s!SVDoc\s+restore!!g; - if (/^(%!PS-Adobe-\d*\.\d*) EPSF-/ && !$nesting) { - print "$1\n"; - $wfwepsf = 1; - } elsif (/^SS\s*$/ && $wfwepsf) { - print "%%Page: $wfwepsf $wfwepsf\n"; - $wfwepsf++; - print "$_\n"; - } elsif (/^%MSEPS Preamble/) { - print "%%BeginDocument: (Included EPSF)\n"; - print "$_\n"; - $nesting++; - } elsif (/^%MSEPS Trailer/) { - $nesting--; - print "$_\n"; - print "%%EndDocument\n"; - } elsif (! /^%%BoundingBox/) { - print "$_\n"; - } - } -} - |