summaryrefslogtreecommitdiff
path: root/Master/bin/win32/fixwfwps.bat
diff options
context:
space:
mode:
authorStaszek Wawrykiewicz <staw@gust.org.pl>2006-12-18 03:35:02 +0000
committerStaszek Wawrykiewicz <staw@gust.org.pl>2006-12-18 03:35:02 +0000
commitecb7a4e0b6c82b917815412a2589cb3f373f23d4 (patch)
treeea6f22e273116b6777be7fa3f65474ef61ccb06a /Master/bin/win32/fixwfwps.bat
parentfbf4a6e8014789c67a381e0b4f05de5bdadbce24 (diff)
old win32 deleted
git-svn-id: svn://tug.org/texlive/trunk@2779 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/bin/win32/fixwfwps.bat')
-rwxr-xr-xMaster/bin/win32/fixwfwps.bat33
1 files changed, 0 insertions, 33 deletions
diff --git a/Master/bin/win32/fixwfwps.bat b/Master/bin/win32/fixwfwps.bat
deleted file mode 100755
index 3e0f2a39852..00000000000
--- a/Master/bin/win32/fixwfwps.bat
+++ /dev/null
@@ -1,33 +0,0 @@
-@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";
- }
- }
-}
-@END@