diff options
author | Karl Berry <karl@freefriends.org> | 2006-12-31 00:15:55 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-12-31 00:15:55 +0000 |
commit | dffdff2b0eb1518256e1932afcdd930f17deb86f (patch) | |
tree | 0b0faea53c040f981d507fc6aba5e23b7698643e /Master/bin/powerpc-darwin | |
parent | 59b997297fe11b960137879b5afe192caa4d6ca1 (diff) |
new from gerben
git-svn-id: svn://tug.org/texlive/trunk@3043 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/bin/powerpc-darwin')
-rwxr-xr-x | Master/bin/powerpc-darwin/afm2pl | bin | 89328 -> 85236 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/afm2tfm | bin | 93536 -> 93536 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/aleph | bin | 529824 -> 529828 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/bbox | bin | 0 -> 13952 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/bg5conv | bin | 13732 -> 9636 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/bibtex | bin | 163940 -> 163944 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/bibtex8 | bin | 192716 -> 192720 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/cef5conv | bin | 13840 -> 13880 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/cefconv | bin | 13840 -> 13880 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/cefsconv | bin | 13840 -> 13880 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/cfftot1 | bin | 367924 -> 368104 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/ctangle | bin | 97640 -> 97684 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/ctie | bin | 72832 -> 72832 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/cweave | bin | 130556 -> 130600 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/detex | bin | 85216 -> 81124 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/devnag | bin | 34960 -> 34960 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/disdvi | bin | 18168 -> 18168 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/dmp | bin | 85396 -> 85400 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/dt2dv | bin | 38900 -> 38904 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/dv2dt | bin | 18164 -> 18168 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/dvi2tty | bin | 30876 -> 26780 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/dvibook | bin | 31296 -> 31296 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/dviconcat | bin | 31140 -> 31140 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/dvicopy | bin | 118440 -> 118440 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/dvidvi | bin | 26504 -> 26504 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/dvilj | bin | 105924 -> 101832 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/dvilj2p | bin | 105924 -> 105928 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/dvilj4 | bin | 110032 -> 110036 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/dvilj4l | bin | 110032 -> 110036 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/dvipdfm | bin | 352400 -> 348348 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/dvipdfmx | bin | 676244 -> 676288 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/dvipng | bin | 833860 -> 833900 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/dvips | bin | 238084 -> 238128 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/dviselect | bin | 31184 -> 31224 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/dvitodvi | bin | 35416 -> 35416 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/dvitomp | bin | 97640 -> 97640 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/dvitype | bin | 101856 -> 101860 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/ebb | bin | 171792 -> 171832 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/epsffit | bin | 18120 -> 14024 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/extconv | bin | 13732 -> 9636 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/gftodvi | bin | 110224 -> 106128 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/gftopk | bin | 89292 -> 85196 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/gftype | bin | 85172 -> 85176 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/gsftopk | bin | 85664 -> 81572 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/hbf2gf | bin | 93948 -> 93952 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/info | bin | 151736 -> 151780 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/infokey | bin | 26820 -> 26820 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/install-info | bin | 30992 -> 30992 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/kpseaccess | bin | 13768 -> 13768 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/kpsereadlink | bin | 13772 -> 13772 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/kpsestat | bin | 13800 -> 13800 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/kpsewhich | bin | 76860 -> 76860 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/lacheck | bin | 63392 -> 63392 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/mag | bin | 13864 -> 13864 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/makeindex | bin | 142828 -> 138772 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/makeinfo | bin | 216996 -> 217040 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/makempx | bin | 72912 -> 72912 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/mf | bin | 312784 -> 312788 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/mf-nowin | bin | 311744 -> 311748 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/mft | bin | 109800 -> 109804 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/mmafm | bin | 244972 -> 245152 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/mmpfb | bin | 314868 -> 315048 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/mpost | bin | 406176 -> 406216 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/mpto | bin | 18076 -> 18076 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/musixflx | bin | 22504 -> 22504 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/newer | bin | 13740 -> 13740 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/odvicopy | bin | 122548 -> 122548 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/odvitype | bin | 101856 -> 101860 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/omega | bin | 542080 -> 542084 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/omfonts | bin | 167748 -> 167748 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/otangle | bin | 55884 -> 55884 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/otfinfo | bin | 470320 -> 470500 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/otftotfm | bin | 779024 -> 779200 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/otp2ocp | bin | 85152 -> 85152 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/outocp | bin | 68540 -> 68544 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/patgen | bin | 47840 -> 47840 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/pdftex | bin | 1233136 -> 1233312 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/pfb2pfa | bin | 14084 -> 14084 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/pk2bm | bin | 18088 -> 18088 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/pktogf | bin | 85236 -> 85240 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/pktype | bin | 81036 -> 76944 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/pltotf | bin | 64168 -> 64168 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/pooltype | bin | 31084 -> 31084 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/ps2eps | 914 | ||||
-rwxr-xr-x | Master/bin/powerpc-darwin/ps2pk | bin | 183636 -> 183680 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/psbook | bin | 18504 -> 18504 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/psnup | bin | 26736 -> 26776 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/psresize | bin | 26736 -> 26776 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/psselect | bin | 22600 -> 22640 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/pstops | bin | 26736 -> 26776 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/sjisconv | bin | 13732 -> 13732 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/t1ascii | bin | 31000 -> 31040 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/t1asm | bin | 35284 -> 35328 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/t1binary | bin | 31000 -> 31040 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/t1disasm | bin | 35252 -> 35292 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/t1dotlessj | bin | 306704 -> 306880 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/t1lint | bin | 257444 -> 257624 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/t1mac | bin | 39316 -> 39360 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/t1reencode | bin | 302572 -> 302748 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/t1testpage | bin | 274060 -> 274236 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/t1unmac | bin | 35220 -> 35264 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/t4ht | bin | 89212 -> 85120 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/tangle | bin | 105776 -> 105780 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/tcdialog | bin | 130660 -> 130568 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/tex | bin | 336996 -> 336996 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/tex4ht | bin | 150648 -> 150652 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/texi2html | 8 | ||||
-rwxr-xr-x | Master/bin/powerpc-darwin/texindex | bin | 27200 -> 27240 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/tftopl | bin | 97552 -> 97556 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/tie | bin | 18024 -> 18024 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/ttf2afm | bin | 89320 -> 89324 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/ttf2pk | bin | 220784 -> 220824 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/ttf2tfm | bin | 237176 -> 237220 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/ttftotype42 | bin | 310564 -> 310744 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/vftovp | bin | 114064 -> 109972 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/vptovf | bin | 76572 -> 76572 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/weave | bin | 130400 -> 130404 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/xdvi-xaw.bin | bin | 828220 -> 828324 bytes | |||
-rwxr-xr-x | Master/bin/powerpc-darwin/xdvipdfmx | bin | 1165616 -> 1165660 bytes | |||
l--------- | Master/bin/powerpc-darwin/xeplain | 1 |
120 files changed, 918 insertions, 5 deletions
diff --git a/Master/bin/powerpc-darwin/afm2pl b/Master/bin/powerpc-darwin/afm2pl Binary files differindex 6e11c96c940..4a50b827c1a 100755 --- a/Master/bin/powerpc-darwin/afm2pl +++ b/Master/bin/powerpc-darwin/afm2pl diff --git a/Master/bin/powerpc-darwin/afm2tfm b/Master/bin/powerpc-darwin/afm2tfm Binary files differindex 17f440aeca1..4d58291eca4 100755 --- a/Master/bin/powerpc-darwin/afm2tfm +++ b/Master/bin/powerpc-darwin/afm2tfm diff --git a/Master/bin/powerpc-darwin/aleph b/Master/bin/powerpc-darwin/aleph Binary files differindex 8451f647f82..58a8b6bedba 100755 --- a/Master/bin/powerpc-darwin/aleph +++ b/Master/bin/powerpc-darwin/aleph diff --git a/Master/bin/powerpc-darwin/bbox b/Master/bin/powerpc-darwin/bbox Binary files differnew file mode 100755 index 00000000000..1b4d8e9fad1 --- /dev/null +++ b/Master/bin/powerpc-darwin/bbox diff --git a/Master/bin/powerpc-darwin/bg5conv b/Master/bin/powerpc-darwin/bg5conv Binary files differindex 6f559bbb19a..d6ab7ffd0d7 100755 --- a/Master/bin/powerpc-darwin/bg5conv +++ b/Master/bin/powerpc-darwin/bg5conv diff --git a/Master/bin/powerpc-darwin/bibtex b/Master/bin/powerpc-darwin/bibtex Binary files differindex 7e2de3f2d16..03e086742a5 100755 --- a/Master/bin/powerpc-darwin/bibtex +++ b/Master/bin/powerpc-darwin/bibtex diff --git a/Master/bin/powerpc-darwin/bibtex8 b/Master/bin/powerpc-darwin/bibtex8 Binary files differindex e9bcbcd2d7c..9d4b519ad43 100755 --- a/Master/bin/powerpc-darwin/bibtex8 +++ b/Master/bin/powerpc-darwin/bibtex8 diff --git a/Master/bin/powerpc-darwin/cef5conv b/Master/bin/powerpc-darwin/cef5conv Binary files differindex 61a8b767677..744c927b8d4 100755 --- a/Master/bin/powerpc-darwin/cef5conv +++ b/Master/bin/powerpc-darwin/cef5conv diff --git a/Master/bin/powerpc-darwin/cefconv b/Master/bin/powerpc-darwin/cefconv Binary files differindex 00fd69165ca..2e3cd47d8e6 100755 --- a/Master/bin/powerpc-darwin/cefconv +++ b/Master/bin/powerpc-darwin/cefconv diff --git a/Master/bin/powerpc-darwin/cefsconv b/Master/bin/powerpc-darwin/cefsconv Binary files differindex 26226e7ddbe..b3be17180f4 100755 --- a/Master/bin/powerpc-darwin/cefsconv +++ b/Master/bin/powerpc-darwin/cefsconv diff --git a/Master/bin/powerpc-darwin/cfftot1 b/Master/bin/powerpc-darwin/cfftot1 Binary files differindex e61096b2f42..026ac96fe9e 100755 --- a/Master/bin/powerpc-darwin/cfftot1 +++ b/Master/bin/powerpc-darwin/cfftot1 diff --git a/Master/bin/powerpc-darwin/ctangle b/Master/bin/powerpc-darwin/ctangle Binary files differindex 3c4182a653b..2f8d2b5a1eb 100755 --- a/Master/bin/powerpc-darwin/ctangle +++ b/Master/bin/powerpc-darwin/ctangle diff --git a/Master/bin/powerpc-darwin/ctie b/Master/bin/powerpc-darwin/ctie Binary files differindex 38c0bc75668..33699983e8f 100755 --- a/Master/bin/powerpc-darwin/ctie +++ b/Master/bin/powerpc-darwin/ctie diff --git a/Master/bin/powerpc-darwin/cweave b/Master/bin/powerpc-darwin/cweave Binary files differindex 914e0a3db18..f91fd5def6e 100755 --- a/Master/bin/powerpc-darwin/cweave +++ b/Master/bin/powerpc-darwin/cweave diff --git a/Master/bin/powerpc-darwin/detex b/Master/bin/powerpc-darwin/detex Binary files differindex c2a4cd99e30..d9ad8b4a773 100755 --- a/Master/bin/powerpc-darwin/detex +++ b/Master/bin/powerpc-darwin/detex diff --git a/Master/bin/powerpc-darwin/devnag b/Master/bin/powerpc-darwin/devnag Binary files differindex 9b7a9429302..936072d05b0 100755 --- a/Master/bin/powerpc-darwin/devnag +++ b/Master/bin/powerpc-darwin/devnag diff --git a/Master/bin/powerpc-darwin/disdvi b/Master/bin/powerpc-darwin/disdvi Binary files differindex 545c96eaeb1..fb9c78d612a 100755 --- a/Master/bin/powerpc-darwin/disdvi +++ b/Master/bin/powerpc-darwin/disdvi diff --git a/Master/bin/powerpc-darwin/dmp b/Master/bin/powerpc-darwin/dmp Binary files differindex 70c633b558f..c94eab8e09c 100755 --- a/Master/bin/powerpc-darwin/dmp +++ b/Master/bin/powerpc-darwin/dmp diff --git a/Master/bin/powerpc-darwin/dt2dv b/Master/bin/powerpc-darwin/dt2dv Binary files differindex 06ab7a4594c..8e4c9593dbb 100755 --- a/Master/bin/powerpc-darwin/dt2dv +++ b/Master/bin/powerpc-darwin/dt2dv diff --git a/Master/bin/powerpc-darwin/dv2dt b/Master/bin/powerpc-darwin/dv2dt Binary files differindex d1566cbed88..d42376d2a7f 100755 --- a/Master/bin/powerpc-darwin/dv2dt +++ b/Master/bin/powerpc-darwin/dv2dt diff --git a/Master/bin/powerpc-darwin/dvi2tty b/Master/bin/powerpc-darwin/dvi2tty Binary files differindex d92aeaccd5b..75067cce3b6 100755 --- a/Master/bin/powerpc-darwin/dvi2tty +++ b/Master/bin/powerpc-darwin/dvi2tty diff --git a/Master/bin/powerpc-darwin/dvibook b/Master/bin/powerpc-darwin/dvibook Binary files differindex f33784f53cc..3e39faa72d7 100755 --- a/Master/bin/powerpc-darwin/dvibook +++ b/Master/bin/powerpc-darwin/dvibook diff --git a/Master/bin/powerpc-darwin/dviconcat b/Master/bin/powerpc-darwin/dviconcat Binary files differindex e2063de506d..7ef3e4679f2 100755 --- a/Master/bin/powerpc-darwin/dviconcat +++ b/Master/bin/powerpc-darwin/dviconcat diff --git a/Master/bin/powerpc-darwin/dvicopy b/Master/bin/powerpc-darwin/dvicopy Binary files differindex 5f6aa1e291b..9f681fee65a 100755 --- a/Master/bin/powerpc-darwin/dvicopy +++ b/Master/bin/powerpc-darwin/dvicopy diff --git a/Master/bin/powerpc-darwin/dvidvi b/Master/bin/powerpc-darwin/dvidvi Binary files differindex c836e195821..6b92b7eac90 100755 --- a/Master/bin/powerpc-darwin/dvidvi +++ b/Master/bin/powerpc-darwin/dvidvi diff --git a/Master/bin/powerpc-darwin/dvilj b/Master/bin/powerpc-darwin/dvilj Binary files differindex b2c705863fa..b4cf70106e6 100755 --- a/Master/bin/powerpc-darwin/dvilj +++ b/Master/bin/powerpc-darwin/dvilj diff --git a/Master/bin/powerpc-darwin/dvilj2p b/Master/bin/powerpc-darwin/dvilj2p Binary files differindex 5b9baaca616..05d197fd82d 100755 --- a/Master/bin/powerpc-darwin/dvilj2p +++ b/Master/bin/powerpc-darwin/dvilj2p diff --git a/Master/bin/powerpc-darwin/dvilj4 b/Master/bin/powerpc-darwin/dvilj4 Binary files differindex f038306990d..726a57c7c8e 100755 --- a/Master/bin/powerpc-darwin/dvilj4 +++ b/Master/bin/powerpc-darwin/dvilj4 diff --git a/Master/bin/powerpc-darwin/dvilj4l b/Master/bin/powerpc-darwin/dvilj4l Binary files differindex 015d5753190..d69d57bc1a1 100755 --- a/Master/bin/powerpc-darwin/dvilj4l +++ b/Master/bin/powerpc-darwin/dvilj4l diff --git a/Master/bin/powerpc-darwin/dvipdfm b/Master/bin/powerpc-darwin/dvipdfm Binary files differindex ab832cf144d..01e368b47a1 100755 --- a/Master/bin/powerpc-darwin/dvipdfm +++ b/Master/bin/powerpc-darwin/dvipdfm diff --git a/Master/bin/powerpc-darwin/dvipdfmx b/Master/bin/powerpc-darwin/dvipdfmx Binary files differindex 13d4ad1dc23..b6e81c0006c 100755 --- a/Master/bin/powerpc-darwin/dvipdfmx +++ b/Master/bin/powerpc-darwin/dvipdfmx diff --git a/Master/bin/powerpc-darwin/dvipng b/Master/bin/powerpc-darwin/dvipng Binary files differindex 7eddf0c9e8f..4b1bae72977 100755 --- a/Master/bin/powerpc-darwin/dvipng +++ b/Master/bin/powerpc-darwin/dvipng diff --git a/Master/bin/powerpc-darwin/dvips b/Master/bin/powerpc-darwin/dvips Binary files differindex 03039886a93..c4d8a42c0ce 100755 --- a/Master/bin/powerpc-darwin/dvips +++ b/Master/bin/powerpc-darwin/dvips diff --git a/Master/bin/powerpc-darwin/dviselect b/Master/bin/powerpc-darwin/dviselect Binary files differindex 8340e89eb44..4432dd61d28 100755 --- a/Master/bin/powerpc-darwin/dviselect +++ b/Master/bin/powerpc-darwin/dviselect diff --git a/Master/bin/powerpc-darwin/dvitodvi b/Master/bin/powerpc-darwin/dvitodvi Binary files differindex 3fa7366eadc..bec6850e370 100755 --- a/Master/bin/powerpc-darwin/dvitodvi +++ b/Master/bin/powerpc-darwin/dvitodvi diff --git a/Master/bin/powerpc-darwin/dvitomp b/Master/bin/powerpc-darwin/dvitomp Binary files differindex 6d28c80db9d..0600eb2b23b 100755 --- a/Master/bin/powerpc-darwin/dvitomp +++ b/Master/bin/powerpc-darwin/dvitomp diff --git a/Master/bin/powerpc-darwin/dvitype b/Master/bin/powerpc-darwin/dvitype Binary files differindex c6758dd16eb..703aaa2f960 100755 --- a/Master/bin/powerpc-darwin/dvitype +++ b/Master/bin/powerpc-darwin/dvitype diff --git a/Master/bin/powerpc-darwin/ebb b/Master/bin/powerpc-darwin/ebb Binary files differindex 838ca8dab2b..01e992dacdf 100755 --- a/Master/bin/powerpc-darwin/ebb +++ b/Master/bin/powerpc-darwin/ebb diff --git a/Master/bin/powerpc-darwin/epsffit b/Master/bin/powerpc-darwin/epsffit Binary files differindex b425f4d1539..a5bd9a54aef 100755 --- a/Master/bin/powerpc-darwin/epsffit +++ b/Master/bin/powerpc-darwin/epsffit diff --git a/Master/bin/powerpc-darwin/extconv b/Master/bin/powerpc-darwin/extconv Binary files differindex 1337cbb0b2f..0c03e082bd6 100755 --- a/Master/bin/powerpc-darwin/extconv +++ b/Master/bin/powerpc-darwin/extconv diff --git a/Master/bin/powerpc-darwin/gftodvi b/Master/bin/powerpc-darwin/gftodvi Binary files differindex fdc5a061fb9..134bf210306 100755 --- a/Master/bin/powerpc-darwin/gftodvi +++ b/Master/bin/powerpc-darwin/gftodvi diff --git a/Master/bin/powerpc-darwin/gftopk b/Master/bin/powerpc-darwin/gftopk Binary files differindex dd0befb2356..2127f7c7146 100755 --- a/Master/bin/powerpc-darwin/gftopk +++ b/Master/bin/powerpc-darwin/gftopk diff --git a/Master/bin/powerpc-darwin/gftype b/Master/bin/powerpc-darwin/gftype Binary files differindex 3b2ed42f8a2..2c33771a43c 100755 --- a/Master/bin/powerpc-darwin/gftype +++ b/Master/bin/powerpc-darwin/gftype diff --git a/Master/bin/powerpc-darwin/gsftopk b/Master/bin/powerpc-darwin/gsftopk Binary files differindex 8178357d9e2..40631426a0a 100755 --- a/Master/bin/powerpc-darwin/gsftopk +++ b/Master/bin/powerpc-darwin/gsftopk diff --git a/Master/bin/powerpc-darwin/hbf2gf b/Master/bin/powerpc-darwin/hbf2gf Binary files differindex 6ba627aaef4..939e8588508 100755 --- a/Master/bin/powerpc-darwin/hbf2gf +++ b/Master/bin/powerpc-darwin/hbf2gf diff --git a/Master/bin/powerpc-darwin/info b/Master/bin/powerpc-darwin/info Binary files differindex 4e8d4a9c363..69d77c97cbe 100755 --- a/Master/bin/powerpc-darwin/info +++ b/Master/bin/powerpc-darwin/info diff --git a/Master/bin/powerpc-darwin/infokey b/Master/bin/powerpc-darwin/infokey Binary files differindex d401e51f13f..fd77000cbf4 100755 --- a/Master/bin/powerpc-darwin/infokey +++ b/Master/bin/powerpc-darwin/infokey diff --git a/Master/bin/powerpc-darwin/install-info b/Master/bin/powerpc-darwin/install-info Binary files differindex d846b2ba030..702315ed1af 100755 --- a/Master/bin/powerpc-darwin/install-info +++ b/Master/bin/powerpc-darwin/install-info diff --git a/Master/bin/powerpc-darwin/kpseaccess b/Master/bin/powerpc-darwin/kpseaccess Binary files differindex edbcfda4472..bf5a7d899d6 100755 --- a/Master/bin/powerpc-darwin/kpseaccess +++ b/Master/bin/powerpc-darwin/kpseaccess diff --git a/Master/bin/powerpc-darwin/kpsereadlink b/Master/bin/powerpc-darwin/kpsereadlink Binary files differindex aeab8d11755..5382587b56c 100755 --- a/Master/bin/powerpc-darwin/kpsereadlink +++ b/Master/bin/powerpc-darwin/kpsereadlink diff --git a/Master/bin/powerpc-darwin/kpsestat b/Master/bin/powerpc-darwin/kpsestat Binary files differindex b0928046e34..dec859f7bba 100755 --- a/Master/bin/powerpc-darwin/kpsestat +++ b/Master/bin/powerpc-darwin/kpsestat diff --git a/Master/bin/powerpc-darwin/kpsewhich b/Master/bin/powerpc-darwin/kpsewhich Binary files differindex 07473a29c5b..0c7957733fe 100755 --- a/Master/bin/powerpc-darwin/kpsewhich +++ b/Master/bin/powerpc-darwin/kpsewhich diff --git a/Master/bin/powerpc-darwin/lacheck b/Master/bin/powerpc-darwin/lacheck Binary files differindex 4e0ac0c3c41..c9fc313930d 100755 --- a/Master/bin/powerpc-darwin/lacheck +++ b/Master/bin/powerpc-darwin/lacheck diff --git a/Master/bin/powerpc-darwin/mag b/Master/bin/powerpc-darwin/mag Binary files differindex ab1647995f7..bd34994ac11 100755 --- a/Master/bin/powerpc-darwin/mag +++ b/Master/bin/powerpc-darwin/mag diff --git a/Master/bin/powerpc-darwin/makeindex b/Master/bin/powerpc-darwin/makeindex Binary files differindex 9db10bb6d1c..391875de2b0 100755 --- a/Master/bin/powerpc-darwin/makeindex +++ b/Master/bin/powerpc-darwin/makeindex diff --git a/Master/bin/powerpc-darwin/makeinfo b/Master/bin/powerpc-darwin/makeinfo Binary files differindex d7ae9f34419..9642ebd8a3f 100755 --- a/Master/bin/powerpc-darwin/makeinfo +++ b/Master/bin/powerpc-darwin/makeinfo diff --git a/Master/bin/powerpc-darwin/makempx b/Master/bin/powerpc-darwin/makempx Binary files differindex c6cba41b185..bbff1c7b24a 100755 --- a/Master/bin/powerpc-darwin/makempx +++ b/Master/bin/powerpc-darwin/makempx diff --git a/Master/bin/powerpc-darwin/mf b/Master/bin/powerpc-darwin/mf Binary files differindex 2595188972b..5c3034a8ce9 100755 --- a/Master/bin/powerpc-darwin/mf +++ b/Master/bin/powerpc-darwin/mf diff --git a/Master/bin/powerpc-darwin/mf-nowin b/Master/bin/powerpc-darwin/mf-nowin Binary files differindex b76b2986912..e0fdab9e4d7 100755 --- a/Master/bin/powerpc-darwin/mf-nowin +++ b/Master/bin/powerpc-darwin/mf-nowin diff --git a/Master/bin/powerpc-darwin/mft b/Master/bin/powerpc-darwin/mft Binary files differindex 3d36e7f2f53..8cd210a9618 100755 --- a/Master/bin/powerpc-darwin/mft +++ b/Master/bin/powerpc-darwin/mft diff --git a/Master/bin/powerpc-darwin/mmafm b/Master/bin/powerpc-darwin/mmafm Binary files differindex 6676f13a8b6..3191d4abb07 100755 --- a/Master/bin/powerpc-darwin/mmafm +++ b/Master/bin/powerpc-darwin/mmafm diff --git a/Master/bin/powerpc-darwin/mmpfb b/Master/bin/powerpc-darwin/mmpfb Binary files differindex f9f64ee74c5..1e7a6783405 100755 --- a/Master/bin/powerpc-darwin/mmpfb +++ b/Master/bin/powerpc-darwin/mmpfb diff --git a/Master/bin/powerpc-darwin/mpost b/Master/bin/powerpc-darwin/mpost Binary files differindex 5c0f73a5ceb..33733807f2e 100755 --- a/Master/bin/powerpc-darwin/mpost +++ b/Master/bin/powerpc-darwin/mpost diff --git a/Master/bin/powerpc-darwin/mpto b/Master/bin/powerpc-darwin/mpto Binary files differindex d8a1d6c1203..6f0bc69b90f 100755 --- a/Master/bin/powerpc-darwin/mpto +++ b/Master/bin/powerpc-darwin/mpto diff --git a/Master/bin/powerpc-darwin/musixflx b/Master/bin/powerpc-darwin/musixflx Binary files differindex 3fd6d3c564a..55bda6fa7b3 100755 --- a/Master/bin/powerpc-darwin/musixflx +++ b/Master/bin/powerpc-darwin/musixflx diff --git a/Master/bin/powerpc-darwin/newer b/Master/bin/powerpc-darwin/newer Binary files differindex da48d00bade..d780544c883 100755 --- a/Master/bin/powerpc-darwin/newer +++ b/Master/bin/powerpc-darwin/newer diff --git a/Master/bin/powerpc-darwin/odvicopy b/Master/bin/powerpc-darwin/odvicopy Binary files differindex e5768d2c46b..00ba3b612ef 100755 --- a/Master/bin/powerpc-darwin/odvicopy +++ b/Master/bin/powerpc-darwin/odvicopy diff --git a/Master/bin/powerpc-darwin/odvitype b/Master/bin/powerpc-darwin/odvitype Binary files differindex 35ae3f5f12f..edf2f65e495 100755 --- a/Master/bin/powerpc-darwin/odvitype +++ b/Master/bin/powerpc-darwin/odvitype diff --git a/Master/bin/powerpc-darwin/omega b/Master/bin/powerpc-darwin/omega Binary files differindex 8a067eadba7..ff90194d196 100755 --- a/Master/bin/powerpc-darwin/omega +++ b/Master/bin/powerpc-darwin/omega diff --git a/Master/bin/powerpc-darwin/omfonts b/Master/bin/powerpc-darwin/omfonts Binary files differindex 0b7f7efb27f..3cac289ca65 100755 --- a/Master/bin/powerpc-darwin/omfonts +++ b/Master/bin/powerpc-darwin/omfonts diff --git a/Master/bin/powerpc-darwin/otangle b/Master/bin/powerpc-darwin/otangle Binary files differindex 2475eae5c18..2efac68ad35 100755 --- a/Master/bin/powerpc-darwin/otangle +++ b/Master/bin/powerpc-darwin/otangle diff --git a/Master/bin/powerpc-darwin/otfinfo b/Master/bin/powerpc-darwin/otfinfo Binary files differindex d4822c0c348..f9d013fff62 100755 --- a/Master/bin/powerpc-darwin/otfinfo +++ b/Master/bin/powerpc-darwin/otfinfo diff --git a/Master/bin/powerpc-darwin/otftotfm b/Master/bin/powerpc-darwin/otftotfm Binary files differindex aeb676b3158..6d937b6f2f4 100755 --- a/Master/bin/powerpc-darwin/otftotfm +++ b/Master/bin/powerpc-darwin/otftotfm diff --git a/Master/bin/powerpc-darwin/otp2ocp b/Master/bin/powerpc-darwin/otp2ocp Binary files differindex 74db185103a..953f88bb02b 100755 --- a/Master/bin/powerpc-darwin/otp2ocp +++ b/Master/bin/powerpc-darwin/otp2ocp diff --git a/Master/bin/powerpc-darwin/outocp b/Master/bin/powerpc-darwin/outocp Binary files differindex b3f602eea1d..fd05dc9abbf 100755 --- a/Master/bin/powerpc-darwin/outocp +++ b/Master/bin/powerpc-darwin/outocp diff --git a/Master/bin/powerpc-darwin/patgen b/Master/bin/powerpc-darwin/patgen Binary files differindex da887ac2ff7..39201a70f52 100755 --- a/Master/bin/powerpc-darwin/patgen +++ b/Master/bin/powerpc-darwin/patgen diff --git a/Master/bin/powerpc-darwin/pdftex b/Master/bin/powerpc-darwin/pdftex Binary files differindex 704aa086614..c3316bedcb1 100755 --- a/Master/bin/powerpc-darwin/pdftex +++ b/Master/bin/powerpc-darwin/pdftex diff --git a/Master/bin/powerpc-darwin/pfb2pfa b/Master/bin/powerpc-darwin/pfb2pfa Binary files differindex 1e276999f46..db5fa6e592b 100755 --- a/Master/bin/powerpc-darwin/pfb2pfa +++ b/Master/bin/powerpc-darwin/pfb2pfa diff --git a/Master/bin/powerpc-darwin/pk2bm b/Master/bin/powerpc-darwin/pk2bm Binary files differindex 94278205559..cc697961d5a 100755 --- a/Master/bin/powerpc-darwin/pk2bm +++ b/Master/bin/powerpc-darwin/pk2bm diff --git a/Master/bin/powerpc-darwin/pktogf b/Master/bin/powerpc-darwin/pktogf Binary files differindex 8138469d54b..7d78946e7e9 100755 --- a/Master/bin/powerpc-darwin/pktogf +++ b/Master/bin/powerpc-darwin/pktogf diff --git a/Master/bin/powerpc-darwin/pktype b/Master/bin/powerpc-darwin/pktype Binary files differindex 64fca77c51b..5ca5f701705 100755 --- a/Master/bin/powerpc-darwin/pktype +++ b/Master/bin/powerpc-darwin/pktype diff --git a/Master/bin/powerpc-darwin/pltotf b/Master/bin/powerpc-darwin/pltotf Binary files differindex 29a3b5e924c..934c2fc8f11 100755 --- a/Master/bin/powerpc-darwin/pltotf +++ b/Master/bin/powerpc-darwin/pltotf diff --git a/Master/bin/powerpc-darwin/pooltype b/Master/bin/powerpc-darwin/pooltype Binary files differindex fbc6f534d85..eab50ddad95 100755 --- a/Master/bin/powerpc-darwin/pooltype +++ b/Master/bin/powerpc-darwin/pooltype diff --git a/Master/bin/powerpc-darwin/ps2eps b/Master/bin/powerpc-darwin/ps2eps new file mode 100755 index 00000000000..920e7398dd3 --- /dev/null +++ b/Master/bin/powerpc-darwin/ps2eps @@ -0,0 +1,914 @@ +eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' && eval 'exec perl -S $0 $argv:q' # -*-perl-*- + if 0; +# The expression in the previous line replaces the unix specific line +# {#!/usr/bin/perl}. +# ps2eps - convert PostScript to EPS (Encapsulated PostScript) files +# ------------------------------------------------------------------- +# $Id: ps2eps,v 1.54 2004/04/23 07:56:54 bless Exp $ +# ------------------------------------------------------- +# (C)opyright 1999-2004 Roland Bless +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# Author: Roland Bless +# Send bug reports to roland@bless.de +# ------------------------------------------------------------------- +# Additional filtering is performed when Windows generated PostScript files +# are processed. Some instructions will otherwise lead to bad output +# if EPS-file gets embedded into other PostScript files. +# +# Requirements: +# + perl +# + gs (ghostscript supporting pbm output) +# + bbox (a little C program [ANSI-C - should work on every platform] +# for calculation of the actual BoundingBox) + +use POSIX; + +#use warnings; + +#use Getopt package +use Getopt::Long; +Getopt::Long::Configure("no_ignore_case"); + +$prgname= "ps2eps"; +if ($^O =~ /MSWin32/i or $^O =~ /cygwin/i) +{ + $ghostscriptname = "gswin32c"; +} +else +{ + $ghostscriptname = "gs"; +} + +$bboxver=`bbox >/dev/null 2>&1 -V`; +$bboxname= ($?== -1) ? "" : "bbox"; +$version= '$Id: ps2eps,v 1.54 2004/04/23 07:56:54 bless Exp $'; #' +$insertPScode= 1; # Insert surrounding Postscript code +$infhandle = STDIN; # Standard input is the default input file +$outfhandle = STDOUT; # Standard output is default output if STDIN is input +$infname= '-'; +$outfname= '-'; +$forceoverwrite=0; # do not overwrite existing files +$ignoreBB= 0; # ignore existing Bounding Box comment +$removeDSC= 1; # remove Adobe document structure comments +$removeADO= 1; # remove Adobe printer Driver console Output [Page: ...] +$ignoreEOFDSC= 0; # ignore %%EOF DSC hint +$removePreview= 0; # remove preview +$quiet= 0; # write progress to stdout +$resolution= 144; # resolution for bounding box calculation is 2x72 dpi +$trytofixps= 1; # try to fix postscript code +$forcefixps= 0; # fix postscript code unconditionally if eq 1 +$filterorientation= 1;# filter Orientation line +$looseBB=''; # default: tight bounding box +$clip=0; # do not clip +$warnings=0; # do not print warnings concerning postscript sanity +$debuggs=0; # no debugging of ghostscript call, turn this on if you want to see the gs call +$inch=2.54; # one inch is 2.54cm +$fullcolors= 1; # use ppm format (24-bit full color) +$trailerseen= 0; # Trailer comment seen? +$PSversion="2.0"; # default Postscript Version +$PSDSCversion="2.0"; # default Postscript DSC Version +$translate_x= 0; # translate by x postscript points +$translate_y= 0; # translate by y postscript points + +$defaultext = '(ps|prn)'; # default extension +$defaultoutext = '.eps'; # default output extension +$envname_size = 'PS2EPS_SIZE'; +$envname_gsbbox = 'PS2EPS_GSBBOX'; + +$gpar=""; +$known_papersizes="11x17|ledger|legal|letter(small)?|arch[A-E]|a([0-9]|10)|isob[0-6]|b[0-5]|c[0-6]|jisb[0-6]|fls(a|e)|halfletter"; +$papersize_help="11x17,ledger,legal,letter,lettersmall,archA,archB,archC,archD,archE\ +a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,isob0,isob1,isob2,isob3,isob4,isob5,isob6,\ +b0,b1,b2,b3,b4,b5,c0,c1,c2,c3,c4,c5,c6,\ +jisb0,jisb1,jisb2,jisb3,jisb4,jisb5,jisb6,flsa,flse,halfletter\n"; +$trigger= 0; +$notsane= 0; +$dummy=""; + +@ver= split(/ /,$version); + +# filename for temporary files +if ($^O =~ /MSWin32/i or $^O =~ /cygwin/i) +{ + # it is less trouble to use the current directory if working on + # cygwin and nevertheless using gswin32c. + $tmpfname= "$prgname.$$"; + $win=1; +} +elsif (defined($ENV{'TMP'})) +{ + $tmpdir= $ENV{'TMP'}; + $filesep= ($tmpdir =~ /^?\:\\/) ? '\\' : '/'; + if ($tmpdir =~ /$filesep$/) + { $tmpfname= $tmpdir . "$prgname.$$"; } + else + { $tmpfname= $tmpdir . "$filesep$prgname.$$"; } + $win=1; +} +else #assume we're on a UNIXBOX +{ + $tmpfname= "/tmp/" . "$prgname.$$"; + $win=0; +} + + +$licensetxt= "\ + This program is free software; you can redistribute it and/or modify\ + it under the terms of the GNU General Public License as published by\ + the Free Software Foundation; either version 2 of the License, or\ + (at your option) any later version.\ +\ + This program is distributed in the hope that it will be useful,\ + but WITHOUT ANY WARRANTY; without even the implied warranty of\ + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\ + GNU General Public License for more details.\ +\ + You should have received a copy of the GNU General Public License\ + along with this program; if not, write to the Free Software\ + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n"; + +@prgidtxt= ( "$prgname - convert PostScript to EPS (Encapsulated PostScript) files\n", + "(C)opyright 1998-2004 Roland Bless\n\n" ); + +@helptxt= ("Version: $ver[2]\n", + "Operation:\n", + " Without any argument, $prgname reads from standard input\n", + " and writes to standard output.\n", + " If filenames are given as arguments they are processed\n", + " one by one and output files are written to filenames\n", + " with extension '$defaultoutext'. If input filenames have the extension\n", + " '.ps' or '.prn', this extension is replaced with '$defaultoutext'.\n", + " In all other cases '$defaultoutext' is appended to the input filename.\n", + " Please note that PostScript files for input should contain\n", + " only one single page.\n\n", + " If BoundingBox in output seems to be wrong, please try options --size or --ignoreBB.\n\n" ); + +@usagetxt= ("Syntax:\n", + " $prgname [-f] [-q] [-N] [-O] [-n] [-P] [-c] [-C] [-m] [-B] [-E] [-s <pagedim>] [-R +|-|^] [-t <x,y>] [-l] [-g] [-d] [-H] [-h|--help] [-g] [-W] [-L] [-V|--version] [--] [psfile1] [psfile2] [...]\n", + "Options:\n", + " -f, --force force overwriting existing files\n", + " -q, --quiet quiet operation (no output while processing files)\n", + " -N, --noinsert do not insert any postscript code\n", + " -O, --preserveorientation do not filter Orientation: header comment\n", + " -n, --nofix do not try to fix postscript code\n", + " -P, --removepreview remove preview image (smaller file, but no preview)\n", + " -F, --fixps fix postscript code unconditionally\n", + " -c, --comments preserve document structure comments\n", + " -C, --clip insert postscript code for clipping\n", + " -m, --mono use black/white bitmap as base for calculation\n", + " -s, --size=<pagedim> page size (a0-a10,letter,...) or in format XxY[cm|in] (default:cm), where X and Y are numbers\n", + " use --size=list to list pre-defined page sizes\n", + " -R, --rotate=<direction> rotate resulting EPS. <direction>: +=+90 (clockw.),-=-90 (counter-clockw.) ^=180 degrees\n", + " -t, --translate specify x,y offset (may be negative) in postscript points (1/72 dpi)\n", + " -l, --loose expand the original bounding box by one point in each direction\n", + " -B, --ignoreBB do not use existing bounding box as page size for rendering\n", + " -E, --ignoreEOF do not use %%EOF as hint for end of file\n", + " -g, --gsbbox use internal bbox device of ghostscript\n", + " -H, --no-hires do not use a HiResBoundingBox\n", + " -h, --help help information\n", + " -L, --license show licensing information\n", + " -V, --version show version information\n", + " -d, --debuggs show ghostscript call\n", + " -W, --warnings show warnings about sanity of generated eps file\n", + " -- all following arguments are treated as files\n", + " (allows filenames starting with -)\n", + "\n", + "Arguments:\n", + " One or more names of PostScript files for input\n"); + +## %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +## -- argument checking -- +## %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +#environment variable for papersize +if (defined($ENV{"$envname_size"})) +{ + $opt_s= $ENV{"$envname_size"}; +} +else +{ + $opt_s = ''; # for s-option +} + +if (defined($ENV{"$envname_gsbbox"})) +{ + $bboxname=""; +} + +$opt_t = ''; # for t-option +$opt_R = ''; # for R-option +$stopnow = 0; +die "Wrong option(s), please check usage with $prgname --help\n" unless +GetOptions('f|force' => \$forceoverwrite, + 'q|quiet' => \$quiet, + 'm|mono' => sub { $fullcolors = 0 }, + 'n|nofix' => sub { $trytofixps = 0 }, + 'F|fixps' => \$forcefixps, + 'N|noinsert' => sub { $insertPScode = 0 }, + 'O|preserveorientation' => sub { $filterorientation= 0 }, + 'P|removepreview' => \$removePreview, + 'c|comments' => sub { $removeDSC = 0 }, + 'C|clip' => \$clip, + 'l|loose' => sub { $looseBB = '-l' }, + 'B|ignoreBB' => \$ignoreBB, + 'E|ignoreEOF'=> \$ignoreEOFDSC, + 's|size=s' => \$opt_s, + 't|translate=s' => \$opt_t, + 'R|rotate=s' => \$opt_R, + 'g|gsbbox' => sub { $bboxname=""; }, + 'H|nohires' => \$nohires, + 'h|help' => sub { $stopnow = 1; print @prgidtxt,@helptxt,@usagetxt,"\nAuthor: Roland Bless (roland\@bless.de)\n\n"; }, + 'L|license' => sub { $stopnow = 1; print @prgidtxt,$licensetxt,"\nAuthor: Roland Bless (roland\@bless.de)\n\n"; }, + 'd|debuggs' => \$debuggs, + 'W|warnings' => \$warnings, + 'V|version' => sub { $stopnow = 1; print @prgidtxt,"Version: $ver[2]\n"; });exit if ($stopnow); + +## %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +## -- wildcard processing -- +## %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +## internal wildcard processing for current directory, +## only used for non UNIX-based OSs (which may lack shell wildcard expansion) +@filenames = (); +foreach $object (@ARGV) { + if ($win && $object =~ m/\*/o) # asterisk is present in filename + { + $wildcard = $object; + $wildcard =~ s/\./\\\./g; # replace . in pattern with \. + $wildcard =~ s/\*/\(\.\*\)/g; # replace * in pattern with (.*) + opendir(DIR,'.') || die 'Unable to open current directory, stopped'; # open current directory + print STDERR $wildcard; + @fid = grep { /$wildcard(\.$defaultext)?/i } readdir(DIR); + foreach (@fid) { push @filenames, $_; } + closedir DIR; + } + else { push @filenames, $object; } +} # end foreach +$filenames[0]= '-' if (scalar(@filenames) == 0); # no file arguments, use STDIN as input + +print STDERR "Input files: @filenames\n" if (!$quiet); + +# papersize stuff +if ($opt_s ne '') +{ + # if explicit size is given, ignore existing BoundingBox always + $ignoreBB = 1; + $pagedimension = $opt_s; + if ($opt_s eq "list") + { + print STDERR "Available paper sizes: $papersize_help"; + exit 0; + } + + #explicit format XxY[cm|in] + if ($pagedimension =~ /(\d*\.?\d+)x(\d*\.?\d+)/) + { + ($x_dim, $dummy, $y_dim, $unit)= split(/(x|cm|in)/,$pagedimension); + if ( $x_dim !~ /^\d*\.?\d+$/ ) + { die "$x_dim in $arg is not a valid number, stopped"; } + if ( $y_dim !~ /^\d*\.?\d+$/ ) + { die "$y_dim in $arg is not a valid number, stopped"; } + + #print STDERR "xdim: $x_dim ydim: $y_dim unit:$unit\n" ; + if (!defined($unit) ) + { + $unit='cm'; + $opt_s=$opt_s . $unit; + } + if ( $unit ne 'in' ) # assume centimeters + { # calculate dimension in pixels (remember: resolution is in dpi) + $xpixels= int(($x_dim * $resolution) / $inch)+1; + $ypixels= int(($y_dim * $resolution) / $inch)+1; + $gpar= "-g${xpixels}x${ypixels}"; + } + else + { + $xpixels= int($x_dim * $resolution)+1; + $ypixels= int($y_dim * $resolution)+1; + $gpar= "-g${xpixels}x${ypixels}"; + } + } #endif XxY in opt_s + else + { + if ($opt_s =~ /$known_papersizes/) + { + $gpar="-sPAPERSIZE=$opt_s"; + } + else + { + print STDERR "Error: Unknown paper size: $opt_s\n Acceptable papersizes are:$papersize_help\n"; + exit 1; + } + } +} + +#translate option +if ($opt_t ne '') +{ + ($translate_x,$translate_y)= split(/\,/,$opt_t); +} + +#rotate +$rotright='-90 rotate'; +$rotleft='90 rotate'; +$rotupsidedown='180 rotate'; +$rotate=''; +if ($opt_R ne '') +{ + if ($opt_R eq '+') { $rotate=$rotright; } + elsif ($opt_R eq '-') { $rotate=$rotleft; } + elsif ($opt_R eq '^') { $rotate=$rotupsidedown; } + else { die "Wrong parameter for option -R: Valid are only +,-,^\n"; }; +} + +$device= $fullcolors ? "ppmraw" : "pbmraw"; + +## %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +## -- iterate over different input files -- +## %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +PROCESSFILE: +while ($infname= (shift @filenames)) +{ + # reset filter definitions for each file + undef $linefilter; + undef $rangefilter_begin; + undef $rangefilter_end; + $fixthisps= $trytofixps; + $fixmsgprinted= 0; + + if (!$quiet) { print STDERR "Processing: $infname\n"; } + unless (open($infhandle,"<$infname")) + { # skip over this file + print STDERR "$prgname: Can't open $infname: $!\n"; + next PROCESSFILE; + } + + # buffer input from stdin into temporary file, because it has to be read twice + # one time for ghostscript processing, the second time for generating output + if ($infname eq '-') # input is stdin + { + $tmpfhandle=''; + open($tmpfhandle,">$tmpfname") or + die "Cannot open temporary file $tmpfname for writing: $!\n"; + } + else # input is not stdin + { + undef $tmpfhandle; + #if filename ends with $defaultext usually .ps or .prn, replace the extension with $defaultoutext + if ($infname =~ /\.$defaultext$/i) + { + $outfname= $infname; $outfname =~ s/\.$defaultext$/$defaultoutext/i; + } + else # otherwise simply append the extension $defaultoutext + { + $outfname= $infname . "$defaultoutext"; + } + if (!$forceoverwrite and -s "$outfname") + { + die "$prgname: Sorry, file named $outfname already exists,", + " will not overwrite it.\n", + " You will have to use the -f option, delete it or rename it", + " before running $prgname again.\n"; + } + else + { + open($outfhandle,">$outfname") or die "Can't open file $outfname for writing: $!\n"; + } + } #end else input is not stdin + + ## %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + ## -- process input file -- + ## %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + $linefilter= '^$'; #'# filter empty lines by default + while (<$infhandle>) + { + # get postscript and DSC version + if (/%!PS-Adobe-(\S+).*EPSF-(\S+)/) + { + $PSversion=$1; + $PSDSCversion=$2; + if (! ($PSversion =~ /\d+\.\d+/)) + { + $PSDSCversion="2.0"; + } + if (! ($PSDSCversion =~ /\d+\.\d+/)) + { + $PSDSCversion="2.0"; + } + } + + # check for existing BoundingBox parameters + if ( /^%%\s*BoundingBox:\s*(.*)/ && !defined($eBBllx) ) + { + $BBarg= $1; + # accept even negative and fractional BBs + if ( $BBarg =~ /(\-?\d+\.?\d*\s+){3,}\d+/ ) # ignore %% BoundingBox: (atend) comments + { + ($eBBllx,$eBBlly,$eBBurx,$eBBury,$dummy)= split /\s/,$BBarg; + #print STDERR "Existing BB: $eBBllx,$eBBlly,$eBBurx,$eBBury\n"; + if (int($eBBllx) < 0) { $translate_x= - int($eBBllx-0.5); } + if (int($eBBlly) < 0) { $translate_y= - int($eBBlly-0.5); } + + $xpixels= int((($eBBurx-$eBBllx) * $resolution)/72)+1; + $ypixels= int((($eBBury-$eBBlly) * $resolution)/72)+1; + if (!$ignoreBB) + { + $gpar= "-g${xpixels}x${ypixels}"; + # check for meaningful values + if (($xpixels <= 1) || ($ypixels <= 1)) + { + $gpar=""; undef $eBBllx; undef $eBBlly; + } + else + { + if (!$quiet) + { + print STDERR "Rendering with existing $_"; + if (int($eBBllx) < 0 || int($eBBlly) < 0) + { + print STDERR "WARNING: existing Bounding Box shows negative values - shifting\n"; + } + } + } + } #endif !$ignoreBB + } #endif $BBarg =~ + } + + + if ($fixthisps) # try to fix bad postscript code + { + # check for Windows 3.x output + if ( /^Win.*Dict/ ) + { + if (!$quiet && !$fixmsgprinted) + { print STDERR "Windows 3.5 generated Postscript file detected, fixing\n"; } + $linefilter= '^(EJ|RS)'; + $rangefilter_begin= '^statusdict'; + $rangefilter_end= 'cvx\ settransfer$'; #' + $fixmsgprinted= 1; # stop printing message + } + else + { + if ( /^%%Creator:\s*Wind.U\s*Xprinter/ ) + { + if (!$quiet && !$fixmsgprinted) + { print STDERR "Star/OpenOffice generated Postscript file detected, fixing\n"; } + $linefilter= '^rs'; + $fixmsgprinted= 1; # stop printing message + } + else + { + if ( $forcefixps || + /^\/NTPS/ || + /Creator:\s*(AdobePS|Pscript|.*Windows)/i ) #check for NT generated output + { + if (!$quiet && !$fixmsgprinted) + { + if ($forcefixps) + { + print STDERR "Postscript filtering requested, fixing\n"; + } + else + { + print STDERR "Windows generated Postscript file detected, fixing\n"; + } + } + $rangefilter_begin= '^((\[\{)|(featurebegin\{))$'; #' + $rangefilter_end= '^(\} stopped cleartomark|\}featurecleanup)'; + $exclude_rangefilter_begin= '^(?i)%%BeginNonPPDFeature'; #' + $exclude_rangefilter_end= '^(?i)%%EndNonPPDFeature'; + #$triggered_rangefilter_begin= ''; #' + #$triggered_rangefilter_end= ''; #' + $fixsearchpat='(^|\s)(initmatrix|initclip|initgraphics)(\s|$)'; + $fixreplacepat=' '; + $fixmsgprinted= 1; # stop printing message + } # end if NTPS + } #end else + } + } #end if trytofixps + + if (defined($tmpfhandle)) + { + print $tmpfhandle $_ or die "$prgname: Failure during writing to temporary file $tmpfname"; + } + + if (/^%%EOF\s*$/) + { + $totalEOFDSC++ + } + } #end while <$infhandle> + + if (defined($tmpfhandle)) + { + close($tmpfhandle); + } + else + { + $tmpfhandle= $infhandle; + $tmpfname= $infname; + } + + ## %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + ## -- calculate the bounding box -- + ## %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + if ($translate_x>0 || $translate_y>0) + { + $translation="$translate_x $translate_y translate"; + $translatecmd="-c \'$translation\'"; + } + else + { + $translation=""; + $translatecmd=""; + } + + if (!$quiet) + { + print STDERR "Calculating Bounding Box..."; + if ($opt_s) + { + print STDERR "using page size $opt_s..."; + } + } + + $rotatecmd=''; + if ($rotate ne '') + { + $rotatecmd="-c \"$rotate\"" + } + if ($bboxname ne '') + { + $cmdline="$ghostscriptname -dSAFER -dNOPAUSE -q $gpar -r$resolution -sDEVICE=$device -sOutputFile=- $translatecmd -f $tmpfname -c showpage -c quit | $bboxname -r $resolution"; + } + else + { + print STDERR "...using bbox device of $ghostscriptname..."; + $cmdline = "$ghostscriptname -dSAFER -dBATCH -dNOPAUSE -q $gpar -r$resolution -sDEVICE=bbox -sOutputFile=- -c \"/setpagedevice {pop} def\" $translatecmd -f $tmpfname -c quit 2>&1"; + } + + if ($debuggs) { print STDERR "\nCalling: $cmdline\n"; } + + # actual ghostscript call + $boundingbox=`$cmdline`; + if ($debuggs) { print STDERR "Call result: $boundingbox"; } + + # check result of gs call + if ($boundingbox !~ /^%%BoundingBox/) + { + print STDERR "Error: Could not determine bounding box!\n", + "I suppose $ghostscriptname had some trouble interpreting the postscript-file\n"; + } + + $boundingbox =~ /^%%HiResBoundingBox:\s*(.*)/m; + if (defined($1)) # HiResBoundingBox given + { + ($hcBBllx,$hcBBlly,$hcBBurx,$hcBBury,$dummy)= split(/\s/,$1); + $hiresboundingbox="%%HiResBoundingBox: $hcBBllx $hcBBlly $hcBBurx $hcBBury\n"; + $cBBllx = floor($hcBBllx); + $cBBlly = floor($hcBBlly); + $cBBurx = ceil($hcBBurx); + $cBBury = ceil($hcBBury); + } + else + { #use normal BoundingBox + $boundingbox =~ /^%%.*BoundingBox:\s*(.*)/; + ($cBBllx,$cBBlly,$cBBurx,$cBBury,$dummy)= split(/\s/,$1); + } + # if loose BB should be performed by ps2eps + # apply changes to resulting bounding box if needed + if ($looseBB ne '') + { + if ($cBBllx > 0) { $cBBllx--; } + if ($cBBlly > 0) { $cBBlly--; } + $cBBurx++; $cBBury++; + } + # extend clipping box by 1 point + if ($clip) + { + if ($cBBllx > 0) { $cBBllx--; } + if ($cBBlly > 0) { $cBBlly--; } + $cBBurx++; $cBBury++; + } + if (!$quiet && ($cBBllx < 0 || $cBBlly < 0 )) + { + print STDERR "WARNING! Your drawing had a negative Bounding Box which is deprecated and may cause problems!. I'll shift it.\n"; + $translate_x= -int($cBBllx); + $translate_y= -int($cBBlly); + $cBBllx=0; + $cBBurx= $cBBurx + $translate_x; + $cBBlly=0; + $cBBury= $cBBury + $translate_y; + + $hcBBurx= $hcBBurx + $hcBBllx; + $hcBBury= $hcBBury + $hcBBlly; + $hcBBllx= 0; + $hcBBlly= 0; + + $hiresboundingbox="%%HiResBoundingBox: $hcBBllx $hcBBlly $hcBBurx $hcBBury\n"; + + $translation="$translate_x $translate_y translate"; + $translatecmd="-c \'$translation\'"; + } + $boundingbox = "%%BoundingBox: $cBBllx $cBBlly $cBBurx $cBBury\n"; + + if (!$quiet) { print STDERR "ready. $boundingbox" }; + + $before_startps= 1; + $inserted_prolog= 0; + $prolog_passed= 0; + + ## %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + ## -- Create output file -- + ## %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + if (!$quiet) { print STDERR "Creating output file $outfname..."; } + + open($tmpfhandle,"<$tmpfname") or die "Cannot open file $tmpfname for reading"; + CREATEOUTPUT: + while (<$tmpfhandle>) + { + # check whether we are in a binary section + + $binarysection=(/^(%%BeginBinary)|(beginimage)\r?\n?$/ ... /^(%%EndBinary)|^(endimage)/) || + (/^(doNimage)|(doclutimage)\r?\n?$/ ... /(^|~> )Z\r?\n?$/) || # Pscript_Win_Dib_L2 5.0 0 + (/^beginjpeg / ... /~> endjpeg\r?\n?$/) || # Pscript_Win_Dib_L2 5.0 0 + (/^pdfIm/ ... /^%-EOD-/); + + if ( !$binarysection ) + { + s/\r?\n?$//; # remove CR and/or LF at end of line if not in binary section + } + + # check where magic Postscript header starts - skip leading binary stuff, e.g., HP PCL/PJL code + if ($before_startps) + { + if ( /%!/ ) # This is usually the smallest magic sequence + { # Note: Adobe Photoshop generated a binary heading, so ^ is not applicable + if (! /%!PS-Adobe.*/i) # some strange programs use other magics + { + print STDERR "** Warning **: Weird heading line -- ",$_," -- "; + } + $before_startps= 0; + } + next CREATEOUTPUT; + } + else # we are hopefully in regular postscript code now + { + # count %%EOFs as we want to know when we got the last EOF + if ( /^%%EOF\s*$/ ) + { + $seenEOF++; + } + + # We should insert our own prologue including the newly calculated BoundingBox + if (! $inserted_prolog) + { + print $outfhandle "%!PS-Adobe-$PSversion EPSF-$PSDSCversion\n"; + # check if we need to rotate + $transrotcmd=''; + if ($rotatecmd) + { + if ($rotate eq $rotright) + { + $transrotcmd="-$cBBlly $cBBurx translate"; + $boundingbox='%%BoundingBox: 0 0 ' . ($cBBury-$cBBlly) . ' ' . ($cBBurx-$cBBllx) . "\n"; + if ($hiresboundingbox ne "") + { + $hiresboundingbox='%%HiResBoundingBox: 0 0 ' . ($hcBBury-$hcBBlly) . ' ' . ($hcBBurx-$hcBBllx) . "\n"; + } + + } + elsif ($rotate eq $rotleft) + { + $transrotcmd="$cBBury -$cBBllx translate"; + $boundingbox='%%BoundingBox: 0 0 ' . ($cBBury-$cBBlly) . ' ' . ($cBBurx-$cBBllx) . "\n"; + if ($hiresboundingbox ne "") + { + $hiresboundingbox= '%%HiResBoundingBox: 0 0 ' . ($hcBBury-$hcBBlly) . ' ' . ($hcBBurx-$hcBBllx) . "\n"; + } + } + elsif ($rotate eq $rotupsidedown) + { + $transrotcmd="$cBBurx $cBBury translate"; + $boundingbox='%%BoundingBox: 0 0 ' . ($cBBurx-$cBBllx) . ' ' . ($cBBury-$cBBlly) . "\n"; + if ($hiresboundingbox ne "") + { + $hiresboundingbox='%%HiResBoundingBox: 0 0 ' . ($hcBBurx-$hcBBllx) . ' ' . ($hcBBury-$hcBBlly) . "\n"; + } + } + } + print $outfhandle $boundingbox; + if (!defined($hiresboundingbox)) + { + $nohires=1; + } + if (defined($hiresboundingbox) && !defined($nohires)) { print $outfhandle $hiresboundingbox; } + $inserted_prolog= 1; + redo CREATEOUTPUT; + } + else # already inserted_prolog + { + if (! $prolog_passed) + { + #ignore the following lines in the prologue + if ( /^%%(HiRes)?BoundingBox/ || + /^%%Pages/ || + /^%%BeginProlog/ || + /^%%EndProlog/ || + ($filterorientation && /^%%Orientation/) || + ($removeDSC && /^%%.*: \(atend\)/) || + ($removePreview && (/^%%BeginPreview/ ... /^%%EndPreview/)) ) + { + next CREATEOUTPUT; + } + else + { + if ( /^[^%].*/ || + /^%%EndComments/ ) # line is not a comment + { + #output postscript code for proper EPS file + if ($insertPScode) + { + print $outfhandle "%%EndComments\n", + "% EPSF created by ps2eps $ver[2]\n", + "%%BeginProlog\n"; + } + # Insert own postscript code for clipping + if ($clip) + { + if (!defined($nohires)) + { + printf $outfhandle "newpath %f %f moveto %f %f lineto %f %f lineto %f %f lineto closepath clip\n",$hcBBllx-0.1,$hcBBlly-0.1,$hcBBurx+0.1,$hcBBlly-0.1,$hcBBurx+0.1,$hcBBury+0.1,$hcBBllx-0.1,$hcBBury+0.1; + } + else + { + printf $outfhandle "newpath %d %d moveto %d %d lineto %d %d lineto %d %d lineto closepath clip\n",$cBBllx,$cBBlly,$cBBurx,$cBBlly,$cBBurx,$cBBury,$cBBllx,$cBBury; + } + } #endif clip + + if ($rotate ne '') + { + print $outfhandle "$transrotcmd\n"; + print $outfhandle "$rotate\n"; + } + if ($translation ne '') + { + print $outfhandle "$translation\n"; + } + + #insert surrounding postscript code + if ($insertPScode) + { + print $outfhandle "save\n", + "countdictstack\n", + "mark\n", + "newpath\n", + "/showpage {} def\n", + "/setpagedevice {pop} def\n", + "%%EndProlog\n", + "%%Page 1 1\n"; + } + $prolog_passed= 1; + if (/^%%EndComments/) { next CREATEOUTPUT; } + } #endif line is not a comment + } #end else + } #endif (we are in the prologue section) + else #we are in the main part of postscript file + { + #end of postscript file reached? + #Usually the DSC %%EOF signifies the end + if ( eof($tmpfhandle) || + ($ignoreEOFDSC == 0 && /^%%EOF\s*$/ && $seenEOF == $totalEOFDSC) + || ( $trailerseen && /^II\*\000.*/ ) + ) + { + #do not forget to print last line if not terminated by LF + if ( eof($tmpfhandle) && !/^$/ && !/^%%EOF\s*$/ ) # do not insert %%EOF twice + { + print $outfhandle $_,"\n"; + } + #add appropriate trailer + if ($insertPScode) + { + print $outfhandle "%%Trailer\n", + "cleartomark\n", + "countdictstack\n", + "exch sub { end } repeat\n", + "restore\n", + "%%EOF\n"; + } + last CREATEOUTPUT; + } # stop output + + # Trailer comment seen? + if ( /^%%Trailer\s*$/ ) + { + $trailerseen=1; + } + else + { + if (!/^\s*$/) #non empty lines follow + { + $trailerseen=0; + } + } + + # check for trigger + if (defined($triggerstring) && /^$triggerstring$/) + { + $trigger= 1; + }; + + # remove complete lines if one of the expression matches + if ( !$binarysection # only when not in binary section + && + ( + ($removePreview && (/^%%BeginPreview/ ... /^%%EndPreview/)) + || # no preview + (defined($rangefilter_begin) && + (/$rangefilter_begin/ ... /$rangefilter_end/) && + (!(/$exclude_rangefilter_begin/ ... /$exclude_rangefilter_end/)) + ) + || + (defined($triggered_rangefilter_begin) && defined($triggered_rangefilter_end) && + $trigger && + (/$triggered_rangefilter_begin/ ... /$triggered_rangefilter_end/) + ) + || + /$linefilter/ # lines by linefilter + || + ($removeDSC && (/^%( |!)(\w )+/ || /^%%/)) # any type of structured comment + || + ($removeADO && + (/^statusdict begin.*ProductName.*print product print.*flush end\r?\n?$/ || + /^\(%%\[\s*(Page:.*|LastPage)\s*\]%%\)\s*=\s*\w*\s*\r?\n?/ )) + || + /^$/ # empty lines + ) + ) + { + next CREATEOUTPUT; + } + + # replacement + if ( defined($fixsearchpat) ) + { + #if (/$fixsearchpat/) { print STDERR "**filter** before:",$_,"\n"; } + #if (s/$fixsearchpat/$fixreplacepat/) { print STDERR "**filter** after:",$_,"\n";} + s/$fixsearchpat/$fixreplacepat/; + } + + # sanity check for potential dangerous commands + if ( /(^|\s)(clear|erasepage|initmatrix|initclip|initgraphics|startjob|cleardictstack|setmatrix|setpagedevice|copypage|grestoreall|exitserver|quit)(\s|$)/ ) + { + $notsane= 1; + #print STDERR "Warning: dangerous command in line: ",$_,"\n"; + } + } # end else (this is main part) + + # Output the postscript line to result file + print $outfhandle $_; + + if (!$binarysection) + { + print $outfhandle "\n"; # terminate line with LF + } + } # end else prolog_passed + } # end else inserted_prolog + } # end while CREATEOUTPUT + + close($tmpfhandle); + + if ($tmpfname ne $infname) { unlink "$tmpfname"; } #remove temporary file + + close ($outfhandle); + + # print warning if magic sequence not found + if ( $before_startps ) + { + print STDERR "\n ** Error!! **: could not identify begin of postscript code in file $infname, please check header line!\n First line should start with %!. No output generated.\n"; + } + + if (!$quiet) { print STDERR "ready.\n"; } + if ($warnings and $notsane and !$quiet) + { + print STDERR "** Warning **: EPS-output for $infname is not sane, at least one\n", + "of the following commands was still present:\n", + "clear erasepage initmatrix initclip initgraphics startjob\n", + "cleardictstack setmatrix setpagedevice copypage grestoreall\n", + "exitserver quit\n"; + } +} #end while PROCESSFILE + +# ---- end of perl-script ------- diff --git a/Master/bin/powerpc-darwin/ps2pk b/Master/bin/powerpc-darwin/ps2pk Binary files differindex d398b25cb2e..00de21914a4 100755 --- a/Master/bin/powerpc-darwin/ps2pk +++ b/Master/bin/powerpc-darwin/ps2pk diff --git a/Master/bin/powerpc-darwin/psbook b/Master/bin/powerpc-darwin/psbook Binary files differindex 7a7a6699421..8964d1f946b 100755 --- a/Master/bin/powerpc-darwin/psbook +++ b/Master/bin/powerpc-darwin/psbook diff --git a/Master/bin/powerpc-darwin/psnup b/Master/bin/powerpc-darwin/psnup Binary files differindex 7b04d75ebff..981ac82bd1b 100755 --- a/Master/bin/powerpc-darwin/psnup +++ b/Master/bin/powerpc-darwin/psnup diff --git a/Master/bin/powerpc-darwin/psresize b/Master/bin/powerpc-darwin/psresize Binary files differindex 027dcc1d3b5..eac772777a6 100755 --- a/Master/bin/powerpc-darwin/psresize +++ b/Master/bin/powerpc-darwin/psresize diff --git a/Master/bin/powerpc-darwin/psselect b/Master/bin/powerpc-darwin/psselect Binary files differindex 2adccfd24d4..2f6ed93e0a6 100755 --- a/Master/bin/powerpc-darwin/psselect +++ b/Master/bin/powerpc-darwin/psselect diff --git a/Master/bin/powerpc-darwin/pstops b/Master/bin/powerpc-darwin/pstops Binary files differindex 9299bc472a4..134a0522040 100755 --- a/Master/bin/powerpc-darwin/pstops +++ b/Master/bin/powerpc-darwin/pstops diff --git a/Master/bin/powerpc-darwin/sjisconv b/Master/bin/powerpc-darwin/sjisconv Binary files differindex 2110cd7c95e..13d9ee04c5f 100755 --- a/Master/bin/powerpc-darwin/sjisconv +++ b/Master/bin/powerpc-darwin/sjisconv diff --git a/Master/bin/powerpc-darwin/t1ascii b/Master/bin/powerpc-darwin/t1ascii Binary files differindex c8f38a5025d..6ec3c6cc7ab 100755 --- a/Master/bin/powerpc-darwin/t1ascii +++ b/Master/bin/powerpc-darwin/t1ascii diff --git a/Master/bin/powerpc-darwin/t1asm b/Master/bin/powerpc-darwin/t1asm Binary files differindex c6e1d3eb55e..e36562b642b 100755 --- a/Master/bin/powerpc-darwin/t1asm +++ b/Master/bin/powerpc-darwin/t1asm diff --git a/Master/bin/powerpc-darwin/t1binary b/Master/bin/powerpc-darwin/t1binary Binary files differindex 9b1c43a73e6..462fac7f93a 100755 --- a/Master/bin/powerpc-darwin/t1binary +++ b/Master/bin/powerpc-darwin/t1binary diff --git a/Master/bin/powerpc-darwin/t1disasm b/Master/bin/powerpc-darwin/t1disasm Binary files differindex 3d9c38ae192..94cb11c4eb8 100755 --- a/Master/bin/powerpc-darwin/t1disasm +++ b/Master/bin/powerpc-darwin/t1disasm diff --git a/Master/bin/powerpc-darwin/t1dotlessj b/Master/bin/powerpc-darwin/t1dotlessj Binary files differindex 511b4a45d24..4237559d02f 100755 --- a/Master/bin/powerpc-darwin/t1dotlessj +++ b/Master/bin/powerpc-darwin/t1dotlessj diff --git a/Master/bin/powerpc-darwin/t1lint b/Master/bin/powerpc-darwin/t1lint Binary files differindex d03574fe23f..a5458471710 100755 --- a/Master/bin/powerpc-darwin/t1lint +++ b/Master/bin/powerpc-darwin/t1lint diff --git a/Master/bin/powerpc-darwin/t1mac b/Master/bin/powerpc-darwin/t1mac Binary files differindex 686d8e01886..57b65a1916f 100755 --- a/Master/bin/powerpc-darwin/t1mac +++ b/Master/bin/powerpc-darwin/t1mac diff --git a/Master/bin/powerpc-darwin/t1reencode b/Master/bin/powerpc-darwin/t1reencode Binary files differindex b5adafafb71..d451fec1e1c 100755 --- a/Master/bin/powerpc-darwin/t1reencode +++ b/Master/bin/powerpc-darwin/t1reencode diff --git a/Master/bin/powerpc-darwin/t1testpage b/Master/bin/powerpc-darwin/t1testpage Binary files differindex aae3bb75fd3..4e553524dbb 100755 --- a/Master/bin/powerpc-darwin/t1testpage +++ b/Master/bin/powerpc-darwin/t1testpage diff --git a/Master/bin/powerpc-darwin/t1unmac b/Master/bin/powerpc-darwin/t1unmac Binary files differindex 0001d67ff61..ca7d3a435a3 100755 --- a/Master/bin/powerpc-darwin/t1unmac +++ b/Master/bin/powerpc-darwin/t1unmac diff --git a/Master/bin/powerpc-darwin/t4ht b/Master/bin/powerpc-darwin/t4ht Binary files differindex 0e13a017f57..42cdff3c9f9 100755 --- a/Master/bin/powerpc-darwin/t4ht +++ b/Master/bin/powerpc-darwin/t4ht diff --git a/Master/bin/powerpc-darwin/tangle b/Master/bin/powerpc-darwin/tangle Binary files differindex 3f77f70750b..1e2d3b378f3 100755 --- a/Master/bin/powerpc-darwin/tangle +++ b/Master/bin/powerpc-darwin/tangle diff --git a/Master/bin/powerpc-darwin/tcdialog b/Master/bin/powerpc-darwin/tcdialog Binary files differindex 4e5197791f0..a0ba98b67cc 100755 --- a/Master/bin/powerpc-darwin/tcdialog +++ b/Master/bin/powerpc-darwin/tcdialog diff --git a/Master/bin/powerpc-darwin/tex b/Master/bin/powerpc-darwin/tex Binary files differindex 761ef0fdc4a..078e2026fa1 100755 --- a/Master/bin/powerpc-darwin/tex +++ b/Master/bin/powerpc-darwin/tex diff --git a/Master/bin/powerpc-darwin/tex4ht b/Master/bin/powerpc-darwin/tex4ht Binary files differindex faf7d1e48d6..b48661cdcd2 100755 --- a/Master/bin/powerpc-darwin/tex4ht +++ b/Master/bin/powerpc-darwin/tex4ht diff --git a/Master/bin/powerpc-darwin/texi2html b/Master/bin/powerpc-darwin/texi2html index cf79fb97c4f..0a8a2c74d3d 100755 --- a/Master/bin/powerpc-darwin/texi2html +++ b/Master/bin/powerpc-darwin/texi2html @@ -75,7 +75,7 @@ my $THISVERSION = '1.76'; my $THISPROG = "texi2html $THISVERSION"; # program name and version # set by configure, prefix for the sysconfdir and so on -my $prefix = '/Volumes/Nenya/texlive/Build/source/inst'; +my $prefix = '/usr/local/Build/powerpc/TeXLive.2006'; my $sysconfdir; my $pkgdatadir; my $datadir; @@ -92,10 +92,10 @@ else $sysconfdir = "/usr/local/etc"; } -if ('/Volumes/Nenya/texlive/Build/source/inst' ne '@' . 'datadir@') +if ('/usr/local/Build/powerpc/TeXLive.2006' ne '@' . 'datadir@') { - $pkgdatadir = eval '"/Volumes/Nenya/texlive/Build/source/inst/texi2html"'; - $datadir = eval '"/Volumes/Nenya/texlive/Build/source/inst"'; + $pkgdatadir = eval '"/usr/local/Build/powerpc/TeXLive.2006/texi2html"'; + $datadir = eval '"/usr/local/Build/powerpc/TeXLive.2006"'; } else { diff --git a/Master/bin/powerpc-darwin/texindex b/Master/bin/powerpc-darwin/texindex Binary files differindex 4c5741aafa9..ae5b40c85c4 100755 --- a/Master/bin/powerpc-darwin/texindex +++ b/Master/bin/powerpc-darwin/texindex diff --git a/Master/bin/powerpc-darwin/tftopl b/Master/bin/powerpc-darwin/tftopl Binary files differindex 6f14df3ab95..acdeb2c6eb7 100755 --- a/Master/bin/powerpc-darwin/tftopl +++ b/Master/bin/powerpc-darwin/tftopl diff --git a/Master/bin/powerpc-darwin/tie b/Master/bin/powerpc-darwin/tie Binary files differindex 4708670cd28..264615588e1 100755 --- a/Master/bin/powerpc-darwin/tie +++ b/Master/bin/powerpc-darwin/tie diff --git a/Master/bin/powerpc-darwin/ttf2afm b/Master/bin/powerpc-darwin/ttf2afm Binary files differindex 849a8562444..31823450290 100755 --- a/Master/bin/powerpc-darwin/ttf2afm +++ b/Master/bin/powerpc-darwin/ttf2afm diff --git a/Master/bin/powerpc-darwin/ttf2pk b/Master/bin/powerpc-darwin/ttf2pk Binary files differindex f191713faaa..91a14e9202d 100755 --- a/Master/bin/powerpc-darwin/ttf2pk +++ b/Master/bin/powerpc-darwin/ttf2pk diff --git a/Master/bin/powerpc-darwin/ttf2tfm b/Master/bin/powerpc-darwin/ttf2tfm Binary files differindex 0556f663795..3bffb558e9f 100755 --- a/Master/bin/powerpc-darwin/ttf2tfm +++ b/Master/bin/powerpc-darwin/ttf2tfm diff --git a/Master/bin/powerpc-darwin/ttftotype42 b/Master/bin/powerpc-darwin/ttftotype42 Binary files differindex 8300bb9d51b..fe0411b881b 100755 --- a/Master/bin/powerpc-darwin/ttftotype42 +++ b/Master/bin/powerpc-darwin/ttftotype42 diff --git a/Master/bin/powerpc-darwin/vftovp b/Master/bin/powerpc-darwin/vftovp Binary files differindex ea3d802accf..728aa8f6d2c 100755 --- a/Master/bin/powerpc-darwin/vftovp +++ b/Master/bin/powerpc-darwin/vftovp diff --git a/Master/bin/powerpc-darwin/vptovf b/Master/bin/powerpc-darwin/vptovf Binary files differindex 8f53a01cebf..e45142ce1d8 100755 --- a/Master/bin/powerpc-darwin/vptovf +++ b/Master/bin/powerpc-darwin/vptovf diff --git a/Master/bin/powerpc-darwin/weave b/Master/bin/powerpc-darwin/weave Binary files differindex 5dec3e306b0..908998781b9 100755 --- a/Master/bin/powerpc-darwin/weave +++ b/Master/bin/powerpc-darwin/weave diff --git a/Master/bin/powerpc-darwin/xdvi-xaw.bin b/Master/bin/powerpc-darwin/xdvi-xaw.bin Binary files differindex 0c6c2abddd2..7c3ef75e73a 100755 --- a/Master/bin/powerpc-darwin/xdvi-xaw.bin +++ b/Master/bin/powerpc-darwin/xdvi-xaw.bin diff --git a/Master/bin/powerpc-darwin/xdvipdfmx b/Master/bin/powerpc-darwin/xdvipdfmx Binary files differindex 0dc9b38aaa2..2840c96d04c 100755 --- a/Master/bin/powerpc-darwin/xdvipdfmx +++ b/Master/bin/powerpc-darwin/xdvipdfmx diff --git a/Master/bin/powerpc-darwin/xeplain b/Master/bin/powerpc-darwin/xeplain deleted file mode 120000 index ef9fe406fd6..00000000000 --- a/Master/bin/powerpc-darwin/xeplain +++ /dev/null @@ -1 +0,0 @@ -xetex
\ No newline at end of file |