summaryrefslogtreecommitdiff
path: root/Master/bin
diff options
context:
space:
mode:
authorOlaf Weber <olaf@infovore.xs4all.nl>2009-07-31 13:09:53 +0000
committerOlaf Weber <olaf@infovore.xs4all.nl>2009-07-31 13:09:53 +0000
commit2abdb7076466a50bcd04b4221bb7671cfe3041d4 (patch)
treea2aebfce755fda224d77009e7a097ea402d0c6fe /Master/bin
parent20c3e5d488c82159cc80f4bf385b4587a33da8b3 (diff)
New IRIX binaries.
git-svn-id: svn://tug.org/texlive/trunk@14509 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/bin')
-rwxr-xr-xMaster/bin/mips-irix/afm2plbin135604 -> 156328 bytes
-rwxr-xr-xMaster/bin/mips-irix/afm2tfmbin157796 -> 162144 bytes
-rwxr-xr-xMaster/bin/mips-irix/alephbin852784 -> 872968 bytes
-rwxr-xr-xMaster/bin/mips-irix/bboxbin19772 -> 19880 bytes
-rwxr-xr-xMaster/bin/mips-irix/bg5convbin18212 -> 18212 bytes
-rwxr-xr-xMaster/bin/mips-irix/bibtexbin273440 -> 276356 bytes
-rwxr-xr-xMaster/bin/mips-irix/bibtex8bin301044 -> 304128 bytes
-rwxr-xr-xMaster/bin/mips-irix/cef5convbin18316 -> 18316 bytes
-rwxr-xr-xMaster/bin/mips-irix/cefconvbin18288 -> 18288 bytes
-rwxr-xr-xMaster/bin/mips-irix/cefsconvbin18316 -> 18316 bytes
-rwxr-xr-xMaster/bin/mips-irix/cfftot1bin648584 -> 677964 bytes
-rwxr-xr-xMaster/bin/mips-irix/ctanglebin155388 -> 174676 bytes
-rwxr-xr-xMaster/bin/mips-irix/ctiebin113476 -> 132844 bytes
-rwxr-xr-xMaster/bin/mips-irix/cweavebin214652 -> 217516 bytes
-rwxr-xr-xMaster/bin/mips-irix/detexbin136972 -> 140980 bytes
-rwxr-xr-xMaster/bin/mips-irix/devnagbin47748 -> 47748 bytes
-rwxr-xr-xMaster/bin/mips-irix/disdvibin22964 -> 22964 bytes
-rwxr-xr-xMaster/bin/mips-irix/dmpbin134512 -> 0 bytes
-rwxr-xr-xMaster/bin/mips-irix/dt2dvbin51000 -> 50960 bytes
-rwxr-xr-xMaster/bin/mips-irix/dv2dtbin22376 -> 22376 bytes
-rwxr-xr-xMaster/bin/mips-irix/dvi2ttybin44248 -> 44256 bytes
-rwxr-xr-xMaster/bin/mips-irix/dvibookbin60992 -> 61328 bytes
-rwxr-xr-xMaster/bin/mips-irix/dviconcatbin60504 -> 60880 bytes
-rwxr-xr-xMaster/bin/mips-irix/dvicopybin210216 -> 213132 bytes
-rwxr-xr-xMaster/bin/mips-irix/dvidvibin40768 -> 41356 bytes
-rwxr-xr-xMaster/bin/mips-irix/dviljbin159824 -> 179024 bytes
-rwxr-xr-xMaster/bin/mips-irix/dvilj2pbin160008 -> 179216 bytes
-rwxr-xr-xMaster/bin/mips-irix/dvilj4bin177832 -> 181244 bytes
-rwxr-xr-xMaster/bin/mips-irix/dvilj4lbin177840 -> 181252 bytes
l---------[-rwxr-xr-x]Master/bin/mips-irix/dvipdfmbin648644 -> 8 bytes
-rwxr-xr-xMaster/bin/mips-irix/dvipdfmxbin1220468 -> 1220248 bytes
-rwxr-xr-xMaster/bin/mips-irix/dvipdft85
-rwxr-xr-xMaster/bin/mips-irix/dvipngbin1467096 -> 1515948 bytes
-rwxr-xr-xMaster/bin/mips-irix/dviposbin161576 -> 181080 bytes
-rwxr-xr-xMaster/bin/mips-irix/dvipsbin381588 -> 401656 bytes
-rwxr-xr-xMaster/bin/mips-irix/dviselectbin60360 -> 60732 bytes
-rwxr-xr-xMaster/bin/mips-irix/dvitodvibin78268 -> 78740 bytes
l---------[-rwxr-xr-x]Master/bin/mips-irix/dvitompbin158616 -> 5 bytes
-rwxr-xr-xMaster/bin/mips-irix/dvitypebin158344 -> 177640 bytes
-rwxr-xr-xMaster/bin/mips-irix/epsffitbin20372 -> 20368 bytes
-rwxr-xr-xMaster/bin/mips-irix/extconvbin18212 -> 18212 bytes
-rwxr-xr-xMaster/bin/mips-irix/fmtutil60
l---------Master/bin/mips-irix/fragmaster1
-rwxr-xr-xMaster/bin/mips-irix/gftodvibin171216 -> 190548 bytes
-rwxr-xr-xMaster/bin/mips-irix/gftopkbin152000 -> 154944 bytes
-rwxr-xr-xMaster/bin/mips-irix/gftypebin137172 -> 156496 bytes
-rwxr-xr-xMaster/bin/mips-irix/gsftopkbin133472 -> 153260 bytes
-rwxr-xr-xMaster/bin/mips-irix/hbf2gfbin153568 -> 156592 bytes
-rwxr-xr-xMaster/bin/mips-irix/kpseaccessbin18856 -> 18856 bytes
-rwxr-xr-xMaster/bin/mips-irix/kpsereadlinkbin18836 -> 18836 bytes
-rwxr-xr-xMaster/bin/mips-irix/kpsestatbin18992 -> 18992 bytes
-rwxr-xr-xMaster/bin/mips-irix/kpsewhichbin115632 -> 135540 bytes
-rwxr-xr-xMaster/bin/mips-irix/lacheckbin70720 -> 71716 bytes
l---------Master/bin/mips-irix/latex2man1
-rwxr-xr-xMaster/bin/mips-irix/luatanglebin0 -> 176336 bytes
-rwxr-xr-xMaster/bin/mips-irix/luatexbin5917948 -> 7065784 bytes
-rwxr-xr-xMaster/bin/mips-irix/magbin18812 -> 18812 bytes
-rwxr-xr-xMaster/bin/mips-irix/makeindexbin209496 -> 212568 bytes
-rwxr-xr-xMaster/bin/mips-irix/makempxbin112644 -> 0 bytes
l---------Master/bin/mips-irix/man1
-rwxr-xr-xMaster/bin/mips-irix/mfbin513504 -> 533040 bytes
-rwxr-xr-xMaster/bin/mips-irix/mf-nowinbin512092 -> 515244 bytes
-rwxr-xr-xMaster/bin/mips-irix/mftbin168124 -> 171032 bytes
-rwxr-xr-xMaster/bin/mips-irix/mmafmbin346584 -> 355904 bytes
-rwxr-xr-xMaster/bin/mips-irix/mmpfbbin523660 -> 552200 bytes
-rwxr-xr-xMaster/bin/mips-irix/mpostbin650908 -> 801700 bytes
-rwxr-xr-xMaster/bin/mips-irix/mptobin21892 -> 0 bytes
-rwxr-xr-xMaster/bin/mips-irix/musixflxbin22148 -> 22280 bytes
-rwxr-xr-xMaster/bin/mips-irix/newerbin19360 -> 0 bytes
-rwxr-xr-xMaster/bin/mips-irix/odvicopybin211272 -> 230576 bytes
-rwxr-xr-xMaster/bin/mips-irix/odvitypebin158516 -> 177820 bytes
-rwxr-xr-xMaster/bin/mips-irix/omfontsbin286792 -> 308836 bytes
-rwxr-xr-xMaster/bin/mips-irix/otanglebin102360 -> 176224 bytes
-rwxr-xr-xMaster/bin/mips-irix/otfinfobin734888 -> 765228 bytes
-rwxr-xr-xMaster/bin/mips-irix/otftotfmbin1208684 -> 1261788 bytes
-rwxr-xr-xMaster/bin/mips-irix/otp2ocpbin138228 -> 158312 bytes
-rwxr-xr-xMaster/bin/mips-irix/outocpbin111648 -> 114656 bytes
-rwxr-xr-xMaster/bin/mips-irix/patgenbin80156 -> 80588 bytes
-rwxr-xr-xMaster/bin/mips-irix/pdfclosebin20000 -> 20000 bytes
-rwxr-xr-xMaster/bin/mips-irix/pdfopenbin20260 -> 20260 bytes
-rwxr-xr-xMaster/bin/mips-irix/pdftexbin2079472 -> 2125112 bytes
-rwxr-xr-xMaster/bin/mips-irix/pdftosrcbin603712 -> 627204 bytes
-rwxr-xr-xMaster/bin/mips-irix/pfb2pfabin19544 -> 20016 bytes
-rwxr-xr-xMaster/bin/mips-irix/pk2bmbin21396 -> 21760 bytes
l---------Master/bin/mips-irix/pkfix-helper1
-rwxr-xr-xMaster/bin/mips-irix/pktogfbin149640 -> 152584 bytes
-rwxr-xr-xMaster/bin/mips-irix/pktypebin132020 -> 134964 bytes
-rwxr-xr-xMaster/bin/mips-irix/pltotfbin101480 -> 101912 bytes
-rwxr-xr-xMaster/bin/mips-irix/pooltypebin42432 -> 42876 bytes
-rwxr-xr-xMaster/bin/mips-irix/ps2eps935
-rwxr-xr-xMaster/bin/mips-irix/ps2pkbin276008 -> 295480 bytes
-rwxr-xr-xMaster/bin/mips-irix/psbookbin22572 -> 22576 bytes
-rwxr-xr-xMaster/bin/mips-irix/psnupbin43352 -> 43356 bytes
-rwxr-xr-xMaster/bin/mips-irix/psresizebin26516 -> 26520 bytes
-rwxr-xr-xMaster/bin/mips-irix/psselectbin22852 -> 22868 bytes
-rwxr-xr-xMaster/bin/mips-irix/pstopsbin43484 -> 43548 bytes
l---------Master/bin/mips-irix/purifyeps1
-rwxr-xr-xMaster/bin/mips-irix/sjisconvbin18212 -> 18212 bytes
l---------Master/bin/mips-irix/svn-multi1
-rwxr-xr-xMaster/bin/mips-irix/synctexbin178052 -> 198660 bytes
-rwxr-xr-xMaster/bin/mips-irix/t1asciibin44024 -> 44024 bytes
-rwxr-xr-xMaster/bin/mips-irix/t1asmbin63876 -> 63876 bytes
-rwxr-xr-xMaster/bin/mips-irix/t1binarybin43704 -> 43704 bytes
-rwxr-xr-xMaster/bin/mips-irix/t1disasmbin62504 -> 62504 bytes
-rwxr-xr-xMaster/bin/mips-irix/t1dotlessjbin517064 -> 544260 bytes
-rwxr-xr-xMaster/bin/mips-irix/t1lintbin467536 -> 515464 bytes
-rwxr-xr-xMaster/bin/mips-irix/t1macbin65776 -> 65776 bytes
-rwxr-xr-xMaster/bin/mips-irix/t1rawafmbin0 -> 511876 bytes
-rwxr-xr-xMaster/bin/mips-irix/t1reencodebin504352 -> 532108 bytes
-rwxr-xr-xMaster/bin/mips-irix/t1testpagebin490584 -> 534776 bytes
-rwxr-xr-xMaster/bin/mips-irix/t1unmacbin63828 -> 63828 bytes
-rwxr-xr-xMaster/bin/mips-irix/t4htbin134384 -> 137484 bytes
-rwxr-xr-xMaster/bin/mips-irix/tanglebin175272 -> 194560 bytes
-rwxr-xr-xMaster/bin/mips-irix/tcdialogbin213636 -> 205728 bytes
-rwxr-xr-xMaster/bin/mips-irix/teckit_compilebin0 -> 1206600 bytes
-rwxr-xr-xMaster/bin/mips-irix/texbin558052 -> 578404 bytes
-rwxr-xr-xMaster/bin/mips-irix/tex4htbin241048 -> 244132 bytes
-rwxr-xr-xMaster/bin/mips-irix/texlinks31
l---------Master/bin/mips-irix/texloganalyser1
-rwxr-xr-xMaster/bin/mips-irix/tftoplbin153488 -> 156424 bytes
-rwxr-xr-xMaster/bin/mips-irix/tiebin20180 -> 114008 bytes
-rwxr-xr-xMaster/bin/mips-irix/ttf2afmbin138624 -> 158108 bytes
-rwxr-xr-xMaster/bin/mips-irix/ttf2pkbin384684 -> 404204 bytes
-rwxr-xr-xMaster/bin/mips-irix/ttf2tfmbin413108 -> 416240 bytes
-rwxr-xr-xMaster/bin/mips-irix/ttfdumpbin0 -> 101136 bytes
-rwxr-xr-xMaster/bin/mips-irix/ttftotype42bin562580 -> 592324 bytes
l---------Master/bin/mips-irix/ulqda1
-rwxr-xr-xMaster/bin/mips-irix/vftovpbin174884 -> 177848 bytes
-rwxr-xr-xMaster/bin/mips-irix/vlnabin22060 -> 22060 bytes
-rwxr-xr-xMaster/bin/mips-irix/vptovfbin121324 -> 138140 bytes
-rwxr-xr-xMaster/bin/mips-irix/weavebin210924 -> 213828 bytes
-rwxr-xr-xMaster/bin/mips-irix/xdvi2
-rwxr-xr-xMaster/bin/mips-irix/xdvi-motifbin1273344 -> 0 bytes
-rwxr-xr-xMaster/bin/mips-irix/xdvi-xawbin0 -> 1253676 bytes
-rwxr-xr-xMaster/bin/mips-irix/xdvipdfmxbin2026828 -> 2056252 bytes
-rwxr-xr-xMaster/bin/mips-irix/xetexbin10610836 -> 10600052 bytes
136 files changed, 1047 insertions, 74 deletions
diff --git a/Master/bin/mips-irix/afm2pl b/Master/bin/mips-irix/afm2pl
index 1d8cf6e6b2a..38224f60714 100755
--- a/Master/bin/mips-irix/afm2pl
+++ b/Master/bin/mips-irix/afm2pl
Binary files differ
diff --git a/Master/bin/mips-irix/afm2tfm b/Master/bin/mips-irix/afm2tfm
index 65f2c0f86c6..fc444840958 100755
--- a/Master/bin/mips-irix/afm2tfm
+++ b/Master/bin/mips-irix/afm2tfm
Binary files differ
diff --git a/Master/bin/mips-irix/aleph b/Master/bin/mips-irix/aleph
index 8340022b864..d3eca43b7fc 100755
--- a/Master/bin/mips-irix/aleph
+++ b/Master/bin/mips-irix/aleph
Binary files differ
diff --git a/Master/bin/mips-irix/bbox b/Master/bin/mips-irix/bbox
index 9153c889f78..04150e2d3f7 100755
--- a/Master/bin/mips-irix/bbox
+++ b/Master/bin/mips-irix/bbox
Binary files differ
diff --git a/Master/bin/mips-irix/bg5conv b/Master/bin/mips-irix/bg5conv
index 015ca70c8a3..9759ac32673 100755
--- a/Master/bin/mips-irix/bg5conv
+++ b/Master/bin/mips-irix/bg5conv
Binary files differ
diff --git a/Master/bin/mips-irix/bibtex b/Master/bin/mips-irix/bibtex
index b67d6dea0cb..d2e216b2812 100755
--- a/Master/bin/mips-irix/bibtex
+++ b/Master/bin/mips-irix/bibtex
Binary files differ
diff --git a/Master/bin/mips-irix/bibtex8 b/Master/bin/mips-irix/bibtex8
index 944013728c0..668a63a0555 100755
--- a/Master/bin/mips-irix/bibtex8
+++ b/Master/bin/mips-irix/bibtex8
Binary files differ
diff --git a/Master/bin/mips-irix/cef5conv b/Master/bin/mips-irix/cef5conv
index 1495522245e..88b20ac272d 100755
--- a/Master/bin/mips-irix/cef5conv
+++ b/Master/bin/mips-irix/cef5conv
Binary files differ
diff --git a/Master/bin/mips-irix/cefconv b/Master/bin/mips-irix/cefconv
index 407413be352..d7da750c5a8 100755
--- a/Master/bin/mips-irix/cefconv
+++ b/Master/bin/mips-irix/cefconv
Binary files differ
diff --git a/Master/bin/mips-irix/cefsconv b/Master/bin/mips-irix/cefsconv
index 675a44a707e..d6989a57af6 100755
--- a/Master/bin/mips-irix/cefsconv
+++ b/Master/bin/mips-irix/cefsconv
Binary files differ
diff --git a/Master/bin/mips-irix/cfftot1 b/Master/bin/mips-irix/cfftot1
index e16628ff0d8..ee72db86f18 100755
--- a/Master/bin/mips-irix/cfftot1
+++ b/Master/bin/mips-irix/cfftot1
Binary files differ
diff --git a/Master/bin/mips-irix/ctangle b/Master/bin/mips-irix/ctangle
index 668721a41a5..332eba29815 100755
--- a/Master/bin/mips-irix/ctangle
+++ b/Master/bin/mips-irix/ctangle
Binary files differ
diff --git a/Master/bin/mips-irix/ctie b/Master/bin/mips-irix/ctie
index d9cf8f65196..1a3ba947ae2 100755
--- a/Master/bin/mips-irix/ctie
+++ b/Master/bin/mips-irix/ctie
Binary files differ
diff --git a/Master/bin/mips-irix/cweave b/Master/bin/mips-irix/cweave
index f833741570b..6e8df95ae21 100755
--- a/Master/bin/mips-irix/cweave
+++ b/Master/bin/mips-irix/cweave
Binary files differ
diff --git a/Master/bin/mips-irix/detex b/Master/bin/mips-irix/detex
index 8f8fe04966a..8baed41729a 100755
--- a/Master/bin/mips-irix/detex
+++ b/Master/bin/mips-irix/detex
Binary files differ
diff --git a/Master/bin/mips-irix/devnag b/Master/bin/mips-irix/devnag
index 87b1dbea214..6c6a9fe4631 100755
--- a/Master/bin/mips-irix/devnag
+++ b/Master/bin/mips-irix/devnag
Binary files differ
diff --git a/Master/bin/mips-irix/disdvi b/Master/bin/mips-irix/disdvi
index 5ae7e2c9263..b0b3fa3cee2 100755
--- a/Master/bin/mips-irix/disdvi
+++ b/Master/bin/mips-irix/disdvi
Binary files differ
diff --git a/Master/bin/mips-irix/dmp b/Master/bin/mips-irix/dmp
deleted file mode 100755
index 4a5a984e994..00000000000
--- a/Master/bin/mips-irix/dmp
+++ /dev/null
Binary files differ
diff --git a/Master/bin/mips-irix/dt2dv b/Master/bin/mips-irix/dt2dv
index 0e66d1ee322..088c8b18527 100755
--- a/Master/bin/mips-irix/dt2dv
+++ b/Master/bin/mips-irix/dt2dv
Binary files differ
diff --git a/Master/bin/mips-irix/dv2dt b/Master/bin/mips-irix/dv2dt
index 288d98a10b8..6b97278cb3d 100755
--- a/Master/bin/mips-irix/dv2dt
+++ b/Master/bin/mips-irix/dv2dt
Binary files differ
diff --git a/Master/bin/mips-irix/dvi2tty b/Master/bin/mips-irix/dvi2tty
index 118617fd51f..2ac84698711 100755
--- a/Master/bin/mips-irix/dvi2tty
+++ b/Master/bin/mips-irix/dvi2tty
Binary files differ
diff --git a/Master/bin/mips-irix/dvibook b/Master/bin/mips-irix/dvibook
index 16a8d4a85f8..e34babe480a 100755
--- a/Master/bin/mips-irix/dvibook
+++ b/Master/bin/mips-irix/dvibook
Binary files differ
diff --git a/Master/bin/mips-irix/dviconcat b/Master/bin/mips-irix/dviconcat
index 7ace5b62bcc..e25b06ba514 100755
--- a/Master/bin/mips-irix/dviconcat
+++ b/Master/bin/mips-irix/dviconcat
Binary files differ
diff --git a/Master/bin/mips-irix/dvicopy b/Master/bin/mips-irix/dvicopy
index 5d552b28858..63d5aab45c1 100755
--- a/Master/bin/mips-irix/dvicopy
+++ b/Master/bin/mips-irix/dvicopy
Binary files differ
diff --git a/Master/bin/mips-irix/dvidvi b/Master/bin/mips-irix/dvidvi
index 3c8c7986a47..5bf91d68a7a 100755
--- a/Master/bin/mips-irix/dvidvi
+++ b/Master/bin/mips-irix/dvidvi
Binary files differ
diff --git a/Master/bin/mips-irix/dvilj b/Master/bin/mips-irix/dvilj
index e02c6037af5..95166e2732e 100755
--- a/Master/bin/mips-irix/dvilj
+++ b/Master/bin/mips-irix/dvilj
Binary files differ
diff --git a/Master/bin/mips-irix/dvilj2p b/Master/bin/mips-irix/dvilj2p
index 7d57acac9a2..9b5555fa2be 100755
--- a/Master/bin/mips-irix/dvilj2p
+++ b/Master/bin/mips-irix/dvilj2p
Binary files differ
diff --git a/Master/bin/mips-irix/dvilj4 b/Master/bin/mips-irix/dvilj4
index 950fcf013ac..e9fda203108 100755
--- a/Master/bin/mips-irix/dvilj4
+++ b/Master/bin/mips-irix/dvilj4
Binary files differ
diff --git a/Master/bin/mips-irix/dvilj4l b/Master/bin/mips-irix/dvilj4l
index 06165fe2f48..9adb26d7932 100755
--- a/Master/bin/mips-irix/dvilj4l
+++ b/Master/bin/mips-irix/dvilj4l
Binary files differ
diff --git a/Master/bin/mips-irix/dvipdfm b/Master/bin/mips-irix/dvipdfm
index eb80da59333..ab4195592f6 100755..120000
--- a/Master/bin/mips-irix/dvipdfm
+++ b/Master/bin/mips-irix/dvipdfm
Binary files differ
diff --git a/Master/bin/mips-irix/dvipdfmx b/Master/bin/mips-irix/dvipdfmx
index 91c79dad32d..5f6a874c9be 100755
--- a/Master/bin/mips-irix/dvipdfmx
+++ b/Master/bin/mips-irix/dvipdfmx
Binary files differ
diff --git a/Master/bin/mips-irix/dvipdft b/Master/bin/mips-irix/dvipdft
index db53bd2f5a0..3bcd0027db1 100755
--- a/Master/bin/mips-irix/dvipdft
+++ b/Master/bin/mips-irix/dvipdft
@@ -1,15 +1,24 @@
#!/bin/sh
-
-#
-# dvipdft, completely rewtitten by Thomas Esser for teTeX after an
+# dvipdft, completely rewritten by Thomas Esser for teTeX after an
# original script by Mark A. Wicks
#
# Thomas Esser. Public Domain.
-#
+#
+# Modified by Matthias Franz for dvipdfmx (when running as dvipdfm) and
+# TeX Live.
# This script makes a first (fast) run with dvipdfm, then calls gs on
# the resulting pdf file to get the thumbnails and finally calls dvipdfm.
+progname=dvipdft
+version=20090604.0046
+
+# set trap for error
+trap '
+ echo "$progname: fatal error." >&2
+ exit 1
+' 1
+
test -f /bin/sh5 && test -z "$RUNNING_SH5" \
&& { UNAMES=`uname -s`; test "x$UNAMES" = xULTRIX; } 2>/dev/null \
&& { RUNNING_SH5=true; export RUNNING_SH5; exec /bin/sh5 $0 ${1+"$@"}; }
@@ -23,16 +32,10 @@ unset RUNNING_BSH
# hack around a bug in zsh:
test -n "${ZSH_VERSION+set}" && alias -g '${1+"$@"}'='"$@"'
-progname=dvipdft
-version=1111942378 # seconds since `00:00:00 1970-01-01 UTC'
- # date '+%s' (with GNU date)
-
help="Usage: $progname [options] dvifile
$progname --help
$progname --version"
-tmpdir=${TMPDIR-${TEMP-${TMP-/tmp}}}/$progname.$$
-
quoteit()
{
echo "x$1" | sed "s@.@@; s@'@'\\\\''@; s@^@'@; s@\$@'@"
@@ -56,7 +59,7 @@ case $1 in
exit 0
;;
--version)
- echo "$progname version $version by Thomas Esser"
+ echo "$progname version $version by Thomas Esser and others"
exit 0
;;
"")
@@ -66,7 +69,7 @@ case $1 in
esac
# args 1 to (n-1) are gone, last one must be the dvifile
-dvifile=$1
+dvifile="$1"
# outfile comes from -o argument, else it is derived from the input file
test -n "$outfile" \
@@ -75,56 +78,28 @@ test -n "$outfile" \
# outBase is part of the thumbname files just as dvipdfm expects them:
outBase=`echo "$outfile" | sed 's@\.pdf$@@'`
-# restore args 1 to (n-1):
-eval set x "$s"; shift
-
-# Run dvipdfm with the fastest options for the first pass
-echo "$progname: running dvipdfm $@ -e -z0 $dvifile" >&2
-dvipdfm ${1+"$@"} -e -z0 "$dvifile" || {
- echo "$progname: dvipdfm failed." >&2
+ls "$outBase".[1-9]* >/dev/null 2>&1 && {
+ echo "$progname: Please move the following files out of the way:" >&2
+ ls "$outBase".[1-9]* >&2
exit 1
}
-# before we create the tmpdir, set trap for cleanup
-trap '
- rm -rf $tmpdir
- exit 1
-' 1 2 3 7 13 15
+# restore args 1 to (n-1):
+eval set x "$s"; shift
-mkdir "$tmpdir" || {
- echo "$progname: failed to create temp directory." >&2
- exit 1
-}
+# set trap for cleanup
+trap '
+ rm -f "$outBase".[1-9]*
+' 0
-# if outBase contains a /, we might need to create a directory
-case $outBase in
- */*)
- fq=`echo "$tmpdir/$outBase" | sed 's@//@/@g; s@/[^/]*$@@'`
- test -d "$fq" || mkdir -p "$fq" || {
- echo "$progname: failed to create temp thumbnail directory." >&2
- rm -rf $tmpdir
- exit 1
- }
- ;;
-esac
+# Run dvipdfm with the fastest options for the first pass
+echo "$progname: running dvipdfm $@ -z0 $dvifile" >&2
+dvipdfm ${1+"$@"} -z0 "$dvifile"
# run gs
echo "$progname: running gs" >&2
-gs -r10 -dNOPAUSE -dBATCH -sDEVICE=png256 \
- -sOutputFile="$tmpdir/$outBase.%d" "$outfile" || {
- echo "$progname: gs failed." >&2
- rm -rf $tmpdir
- exit 1
-}
+gs -r10 -dNOPAUSE -dBATCH -sDEVICE=png256 -sOutputFile="$outBase.%d" "$outfile"
# run dvipdfm with the users specified options for the last pass
-echo "$progname: running dvipdfm -dt $@ $dvifile" >&2
-TMP=$tmpdir dvipdfm -dt ${1+"$@"} "$dvifile" || {
- echo "$progname: dvipdfm failed." >&2
- rm -rf $tmpdir
- exit 1
-}
-
-# nothing failed, so cleanup and report success to caller
-rm -rf $tmpdir
-exit 0
+echo "$progname: running dvipdfm -t $@ $dvifile" >&2
+dvipdfm ${1+"$@"} -t "$dvifile"
diff --git a/Master/bin/mips-irix/dvipng b/Master/bin/mips-irix/dvipng
index f0f0e253553..f136827cae6 100755
--- a/Master/bin/mips-irix/dvipng
+++ b/Master/bin/mips-irix/dvipng
Binary files differ
diff --git a/Master/bin/mips-irix/dvipos b/Master/bin/mips-irix/dvipos
index a605a7c3935..284846a8793 100755
--- a/Master/bin/mips-irix/dvipos
+++ b/Master/bin/mips-irix/dvipos
Binary files differ
diff --git a/Master/bin/mips-irix/dvips b/Master/bin/mips-irix/dvips
index 2a63632783b..07ba8682727 100755
--- a/Master/bin/mips-irix/dvips
+++ b/Master/bin/mips-irix/dvips
Binary files differ
diff --git a/Master/bin/mips-irix/dviselect b/Master/bin/mips-irix/dviselect
index 29d27b04de9..9b62f0c43ca 100755
--- a/Master/bin/mips-irix/dviselect
+++ b/Master/bin/mips-irix/dviselect
Binary files differ
diff --git a/Master/bin/mips-irix/dvitodvi b/Master/bin/mips-irix/dvitodvi
index 08c7b3d5c5a..9eb19dead15 100755
--- a/Master/bin/mips-irix/dvitodvi
+++ b/Master/bin/mips-irix/dvitodvi
Binary files differ
diff --git a/Master/bin/mips-irix/dvitomp b/Master/bin/mips-irix/dvitomp
index df24b0f7464..96672bbb523 100755..120000
--- a/Master/bin/mips-irix/dvitomp
+++ b/Master/bin/mips-irix/dvitomp
Binary files differ
diff --git a/Master/bin/mips-irix/dvitype b/Master/bin/mips-irix/dvitype
index dcf9dea5e49..90d92c41ff6 100755
--- a/Master/bin/mips-irix/dvitype
+++ b/Master/bin/mips-irix/dvitype
Binary files differ
diff --git a/Master/bin/mips-irix/epsffit b/Master/bin/mips-irix/epsffit
index 7836b6f34ff..c5733feb061 100755
--- a/Master/bin/mips-irix/epsffit
+++ b/Master/bin/mips-irix/epsffit
Binary files differ
diff --git a/Master/bin/mips-irix/extconv b/Master/bin/mips-irix/extconv
index aa67834b7e2..441e2358772 100755
--- a/Master/bin/mips-irix/extconv
+++ b/Master/bin/mips-irix/extconv
Binary files differ
diff --git a/Master/bin/mips-irix/fmtutil b/Master/bin/mips-irix/fmtutil
index f86a06003de..2a76d08f558 100755
--- a/Master/bin/mips-irix/fmtutil
+++ b/Master/bin/mips-irix/fmtutil
@@ -84,8 +84,7 @@ test -n "${ZSH_VERSION+set}" && alias -g '${1+"$@"}'='"$@"'
progname=fmtutil
argv0=$0
-version=1205513038 # seconds since `00:00:00 1970-01-01 UTC'
- # date '+%s' (with GNU date)
+version=20090611.2319
cnf=fmtutil.cnf # name of the config file
export PATH
@@ -259,6 +258,23 @@ verboseMsg() {
###############################################################################
byebye()
{
+ if $has_warnings; then
+ {
+ cat <<eof
+
+###############################################################################
+$progname: Warning! Some warnings have been issued.
+Visit the log files in directory
+ $destdir
+for details.
+###############################################################################
+
+This is a summary of all \`warning' messages:
+$log_warning_msg
+eof
+ } >&2
+ fi
+
if $has_errors; then
{
cat <<eof
@@ -270,7 +286,7 @@ Visit the log files in directory
for details.
###############################################################################
-This is a summary of all \`failed' messages and warnings:
+This is a summary of all \`failed' messages:
$log_failure_msg
eof
} >&2
@@ -281,6 +297,16 @@ eof
}
###############################################################################
+# init_log_warning()
+# reset the list of warning messages
+###############################################################################
+init_log_warning()
+{
+ log_warning_msg=
+ has_warnings=false
+}
+
+###############################################################################
# init_log_failure()
# reset the list of failure messages
###############################################################################
@@ -291,6 +317,24 @@ init_log_failure()
}
###############################################################################
+# log_warning(errmsg)
+# report and save warning message `errmsg'
+###############################################################################
+log_warning()
+{
+ echo "Warning: $@" >&2
+ if test -z "$log_warning_msg"; then
+ log_warning_msg="$@"
+ else
+ OLDIFS=$IFS; IFS=
+ log_warning_msg="$log_warning_msg
+$@"
+ IFS=$OLDIFS
+ fi
+ has_warnings=true
+}
+
+###############################################################################
# log_failure(errmsg)
# report and save failure message `errmsg'
###############################################################################
@@ -547,6 +591,7 @@ main()
cache_vars
init_log_failure
+ init_log_warning
# execute the desired command:
case "$cmd" in
all)
@@ -607,15 +652,16 @@ parse_line()
texargs="$@"
- eval lastarg=\$$#
- inifile=`echo $lastarg | sed 's%^\*%%'`
-
case "$engine" in
mpost) fmtfile="$format.mem"; kpsefmt=mp; texengine=metapost;;
mf|mfw|mf-nowin) fmtfile="$format.base"; kpsefmt=mf; texengine=metafont;;
*) fmtfile="$format.fmt"; kpsefmt=tex; texengine=$engine;;
esac
+ # remove any * for the sake of the kpsewhich lookup.
+ eval lastarg=\$$#
+ inifile=`echo $lastarg | sed 's%^\*%%'`
+
# See if we can find $inifile for return code:
kpsewhich -progname=$format -format=$kpsefmt $inifile >/dev/null 2>&1
}
@@ -705,7 +751,7 @@ run_initex()
mkdir -p "$fulldestdir"
if test -f $fmtfile; then
grep '^! ' $format.log >/dev/null 2>&1 &&
- log_failure "\`$engine -ini $tcxflag $jobswitch $prgswitch $texargs' possibly failed."
+ log_warning "\`$engine -ini $tcxflag $jobswitch $prgswitch $texargs' possibly failed."
# We don't want user-interaction for the following "mv" commands:
mv "$format.log" "$fulldestdir/$format.log" </dev/null
diff --git a/Master/bin/mips-irix/fragmaster b/Master/bin/mips-irix/fragmaster
new file mode 120000
index 00000000000..ca1bb398b4b
--- /dev/null
+++ b/Master/bin/mips-irix/fragmaster
@@ -0,0 +1 @@
+../../texmf-dist/scripts/fragmaster/fragmaster.pl \ No newline at end of file
diff --git a/Master/bin/mips-irix/gftodvi b/Master/bin/mips-irix/gftodvi
index 342dd7ec98a..03025936f1a 100755
--- a/Master/bin/mips-irix/gftodvi
+++ b/Master/bin/mips-irix/gftodvi
Binary files differ
diff --git a/Master/bin/mips-irix/gftopk b/Master/bin/mips-irix/gftopk
index 15d10b9baf4..c3b42ee6cfe 100755
--- a/Master/bin/mips-irix/gftopk
+++ b/Master/bin/mips-irix/gftopk
Binary files differ
diff --git a/Master/bin/mips-irix/gftype b/Master/bin/mips-irix/gftype
index 947ffee2572..384f8c065f7 100755
--- a/Master/bin/mips-irix/gftype
+++ b/Master/bin/mips-irix/gftype
Binary files differ
diff --git a/Master/bin/mips-irix/gsftopk b/Master/bin/mips-irix/gsftopk
index a5a29fae9e1..590ab89f949 100755
--- a/Master/bin/mips-irix/gsftopk
+++ b/Master/bin/mips-irix/gsftopk
Binary files differ
diff --git a/Master/bin/mips-irix/hbf2gf b/Master/bin/mips-irix/hbf2gf
index e08d16fc92e..82dec75d3f6 100755
--- a/Master/bin/mips-irix/hbf2gf
+++ b/Master/bin/mips-irix/hbf2gf
Binary files differ
diff --git a/Master/bin/mips-irix/kpseaccess b/Master/bin/mips-irix/kpseaccess
index a863ea6e1ef..87dc6baad7f 100755
--- a/Master/bin/mips-irix/kpseaccess
+++ b/Master/bin/mips-irix/kpseaccess
Binary files differ
diff --git a/Master/bin/mips-irix/kpsereadlink b/Master/bin/mips-irix/kpsereadlink
index 78c24b72b52..d4f2c2a9cd4 100755
--- a/Master/bin/mips-irix/kpsereadlink
+++ b/Master/bin/mips-irix/kpsereadlink
Binary files differ
diff --git a/Master/bin/mips-irix/kpsestat b/Master/bin/mips-irix/kpsestat
index cf3f8bbf32f..c8d5fd0271b 100755
--- a/Master/bin/mips-irix/kpsestat
+++ b/Master/bin/mips-irix/kpsestat
Binary files differ
diff --git a/Master/bin/mips-irix/kpsewhich b/Master/bin/mips-irix/kpsewhich
index 6b1d7c3b7cc..999bbab5676 100755
--- a/Master/bin/mips-irix/kpsewhich
+++ b/Master/bin/mips-irix/kpsewhich
Binary files differ
diff --git a/Master/bin/mips-irix/lacheck b/Master/bin/mips-irix/lacheck
index 4c2c56453c6..8f7032b6948 100755
--- a/Master/bin/mips-irix/lacheck
+++ b/Master/bin/mips-irix/lacheck
Binary files differ
diff --git a/Master/bin/mips-irix/latex2man b/Master/bin/mips-irix/latex2man
new file mode 120000
index 00000000000..66d79f878b7
--- /dev/null
+++ b/Master/bin/mips-irix/latex2man
@@ -0,0 +1 @@
+../../texmf-dist/scripts/latex2man/latex2man \ No newline at end of file
diff --git a/Master/bin/mips-irix/luatangle b/Master/bin/mips-irix/luatangle
new file mode 100755
index 00000000000..b75a488fd6a
--- /dev/null
+++ b/Master/bin/mips-irix/luatangle
Binary files differ
diff --git a/Master/bin/mips-irix/luatex b/Master/bin/mips-irix/luatex
index fc9b1bef69d..ab92207116f 100755
--- a/Master/bin/mips-irix/luatex
+++ b/Master/bin/mips-irix/luatex
Binary files differ
diff --git a/Master/bin/mips-irix/mag b/Master/bin/mips-irix/mag
index 769ca44e95e..fd8e404cad0 100755
--- a/Master/bin/mips-irix/mag
+++ b/Master/bin/mips-irix/mag
Binary files differ
diff --git a/Master/bin/mips-irix/makeindex b/Master/bin/mips-irix/makeindex
index 5c4cc952061..629463a49c7 100755
--- a/Master/bin/mips-irix/makeindex
+++ b/Master/bin/mips-irix/makeindex
Binary files differ
diff --git a/Master/bin/mips-irix/makempx b/Master/bin/mips-irix/makempx
deleted file mode 100755
index 967ece313f1..00000000000
--- a/Master/bin/mips-irix/makempx
+++ /dev/null
Binary files differ
diff --git a/Master/bin/mips-irix/man b/Master/bin/mips-irix/man
new file mode 120000
index 00000000000..9616d4ec099
--- /dev/null
+++ b/Master/bin/mips-irix/man
@@ -0,0 +1 @@
+../../texmf/doc/man \ No newline at end of file
diff --git a/Master/bin/mips-irix/mf b/Master/bin/mips-irix/mf
index 81cf3994579..84b25503d52 100755
--- a/Master/bin/mips-irix/mf
+++ b/Master/bin/mips-irix/mf
Binary files differ
diff --git a/Master/bin/mips-irix/mf-nowin b/Master/bin/mips-irix/mf-nowin
index cf81f9d5f2d..19d21aa11fa 100755
--- a/Master/bin/mips-irix/mf-nowin
+++ b/Master/bin/mips-irix/mf-nowin
Binary files differ
diff --git a/Master/bin/mips-irix/mft b/Master/bin/mips-irix/mft
index 148472c62fd..19037b21b93 100755
--- a/Master/bin/mips-irix/mft
+++ b/Master/bin/mips-irix/mft
Binary files differ
diff --git a/Master/bin/mips-irix/mmafm b/Master/bin/mips-irix/mmafm
index 73c6d66b73c..ef089af292f 100755
--- a/Master/bin/mips-irix/mmafm
+++ b/Master/bin/mips-irix/mmafm
Binary files differ
diff --git a/Master/bin/mips-irix/mmpfb b/Master/bin/mips-irix/mmpfb
index 85a8915fc88..156fcd9540a 100755
--- a/Master/bin/mips-irix/mmpfb
+++ b/Master/bin/mips-irix/mmpfb
Binary files differ
diff --git a/Master/bin/mips-irix/mpost b/Master/bin/mips-irix/mpost
index dbe49486195..aa748bf49fc 100755
--- a/Master/bin/mips-irix/mpost
+++ b/Master/bin/mips-irix/mpost
Binary files differ
diff --git a/Master/bin/mips-irix/mpto b/Master/bin/mips-irix/mpto
deleted file mode 100755
index 395d91059e5..00000000000
--- a/Master/bin/mips-irix/mpto
+++ /dev/null
Binary files differ
diff --git a/Master/bin/mips-irix/musixflx b/Master/bin/mips-irix/musixflx
index 9e34217236c..35116c05ebb 100755
--- a/Master/bin/mips-irix/musixflx
+++ b/Master/bin/mips-irix/musixflx
Binary files differ
diff --git a/Master/bin/mips-irix/newer b/Master/bin/mips-irix/newer
deleted file mode 100755
index 47df0da66d8..00000000000
--- a/Master/bin/mips-irix/newer
+++ /dev/null
Binary files differ
diff --git a/Master/bin/mips-irix/odvicopy b/Master/bin/mips-irix/odvicopy
index cfb6eea48f1..e51b1aa0af6 100755
--- a/Master/bin/mips-irix/odvicopy
+++ b/Master/bin/mips-irix/odvicopy
Binary files differ
diff --git a/Master/bin/mips-irix/odvitype b/Master/bin/mips-irix/odvitype
index 6b07021e487..1656d78458a 100755
--- a/Master/bin/mips-irix/odvitype
+++ b/Master/bin/mips-irix/odvitype
Binary files differ
diff --git a/Master/bin/mips-irix/omfonts b/Master/bin/mips-irix/omfonts
index 3dad8cc61ff..5fbf2490df2 100755
--- a/Master/bin/mips-irix/omfonts
+++ b/Master/bin/mips-irix/omfonts
Binary files differ
diff --git a/Master/bin/mips-irix/otangle b/Master/bin/mips-irix/otangle
index 5f8497f192f..8d9ec55e85a 100755
--- a/Master/bin/mips-irix/otangle
+++ b/Master/bin/mips-irix/otangle
Binary files differ
diff --git a/Master/bin/mips-irix/otfinfo b/Master/bin/mips-irix/otfinfo
index 8ae79f8bd61..fc1b41c1a4d 100755
--- a/Master/bin/mips-irix/otfinfo
+++ b/Master/bin/mips-irix/otfinfo
Binary files differ
diff --git a/Master/bin/mips-irix/otftotfm b/Master/bin/mips-irix/otftotfm
index 4bda306fef3..fa0a5f40f2d 100755
--- a/Master/bin/mips-irix/otftotfm
+++ b/Master/bin/mips-irix/otftotfm
Binary files differ
diff --git a/Master/bin/mips-irix/otp2ocp b/Master/bin/mips-irix/otp2ocp
index cd72e7dff22..4ed60b9d463 100755
--- a/Master/bin/mips-irix/otp2ocp
+++ b/Master/bin/mips-irix/otp2ocp
Binary files differ
diff --git a/Master/bin/mips-irix/outocp b/Master/bin/mips-irix/outocp
index 8f8253da54f..ce12e250cb5 100755
--- a/Master/bin/mips-irix/outocp
+++ b/Master/bin/mips-irix/outocp
Binary files differ
diff --git a/Master/bin/mips-irix/patgen b/Master/bin/mips-irix/patgen
index 190f68d12cb..a2592be5862 100755
--- a/Master/bin/mips-irix/patgen
+++ b/Master/bin/mips-irix/patgen
Binary files differ
diff --git a/Master/bin/mips-irix/pdfclose b/Master/bin/mips-irix/pdfclose
index c80c596f8c9..4dbbc5ead1c 100755
--- a/Master/bin/mips-irix/pdfclose
+++ b/Master/bin/mips-irix/pdfclose
Binary files differ
diff --git a/Master/bin/mips-irix/pdfopen b/Master/bin/mips-irix/pdfopen
index b751d029dc4..1cf9dde04cc 100755
--- a/Master/bin/mips-irix/pdfopen
+++ b/Master/bin/mips-irix/pdfopen
Binary files differ
diff --git a/Master/bin/mips-irix/pdftex b/Master/bin/mips-irix/pdftex
index abec86a47f1..2063733af05 100755
--- a/Master/bin/mips-irix/pdftex
+++ b/Master/bin/mips-irix/pdftex
Binary files differ
diff --git a/Master/bin/mips-irix/pdftosrc b/Master/bin/mips-irix/pdftosrc
index dbc886dc4b5..728e6b8c147 100755
--- a/Master/bin/mips-irix/pdftosrc
+++ b/Master/bin/mips-irix/pdftosrc
Binary files differ
diff --git a/Master/bin/mips-irix/pfb2pfa b/Master/bin/mips-irix/pfb2pfa
index 4de61a01a99..a91298cd6ef 100755
--- a/Master/bin/mips-irix/pfb2pfa
+++ b/Master/bin/mips-irix/pfb2pfa
Binary files differ
diff --git a/Master/bin/mips-irix/pk2bm b/Master/bin/mips-irix/pk2bm
index 014c283b7a6..cc619eebf46 100755
--- a/Master/bin/mips-irix/pk2bm
+++ b/Master/bin/mips-irix/pk2bm
Binary files differ
diff --git a/Master/bin/mips-irix/pkfix-helper b/Master/bin/mips-irix/pkfix-helper
new file mode 120000
index 00000000000..44ef5278bd4
--- /dev/null
+++ b/Master/bin/mips-irix/pkfix-helper
@@ -0,0 +1 @@
+../../texmf-dist/scripts/pkfix-helper/pkfix-helper \ No newline at end of file
diff --git a/Master/bin/mips-irix/pktogf b/Master/bin/mips-irix/pktogf
index ef078caa920..e6aa10bc71f 100755
--- a/Master/bin/mips-irix/pktogf
+++ b/Master/bin/mips-irix/pktogf
Binary files differ
diff --git a/Master/bin/mips-irix/pktype b/Master/bin/mips-irix/pktype
index c27c069b7b2..4036e9cf9c9 100755
--- a/Master/bin/mips-irix/pktype
+++ b/Master/bin/mips-irix/pktype
Binary files differ
diff --git a/Master/bin/mips-irix/pltotf b/Master/bin/mips-irix/pltotf
index 3bf3c8390e2..8b72745ec02 100755
--- a/Master/bin/mips-irix/pltotf
+++ b/Master/bin/mips-irix/pltotf
Binary files differ
diff --git a/Master/bin/mips-irix/pooltype b/Master/bin/mips-irix/pooltype
index 4a1def93869..ced3a6737d9 100755
--- a/Master/bin/mips-irix/pooltype
+++ b/Master/bin/mips-irix/pooltype
Binary files differ
diff --git a/Master/bin/mips-irix/ps2eps b/Master/bin/mips-irix/ps2eps
new file mode 100755
index 00000000000..7092cbb0007
--- /dev/null
+++ b/Master/bin/mips-irix/ps2eps
@@ -0,0 +1,935 @@
+#!/usr/bin/env perl
+# 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.64 2007/01/24 12:32:59 bless Exp $
+# -------------------------------------------------------
+# (C)opyright 1999-2007 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 <at> 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 (! -d "/usr/bin")
+{ # we assume that we are running under native windows
+ $ghostscriptname = "gswin32c";
+ $NULLDEV = "nul";
+}
+else
+{ # Unix or cygwin
+ $ghostscriptname = "gs";
+ $NULLDEV = "/dev/null 2>&1";
+}
+
+$bboxver=`bbox >$NULLDEV -V`;
+$bboxname= ($?== -1) ? "" : "bbox";
+$version= '$Id: ps2eps,v 1.64 2007/01/24 12:32:59 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-2007 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",
+ " -r, --resolution specify dpi resolution to render with ghostscript (default 144)",
+ " -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
+$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|resolution=s' => \$opt_r,
+ '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);
+
+if ($opt_r ne '')
+{
+ $resolution=$opt_r;
+}
+
+# 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
+ {
+ if (!$quiet) {
+ 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/m)
+ {
+ 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 ($cBBllx < 0 || $cBBlly < 0)
+ {
+ if (!$quiet)
+ {
+ 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
+ # %! may be part of a binary sequence, but then control characters follow
+ # so skip %! if non alphanumeric characters follow
+ if ( ! /%!.*[^\w]{2,}/ )
+ {
+ # some heading without two control characters found
+ $before_startps= 0;
+ if (! /%!PS-Adobe.*/i) # some strange programs use other magics
+ {
+ print STDERR "** Warning **: Weird heading line -- ",$_," -- ";
+ }
+ }
+ }
+ 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 )+/ || /^%%([A-Za-z]+\s)/)) # 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/mips-irix/ps2pk b/Master/bin/mips-irix/ps2pk
index 0026077d1f5..c6192defa66 100755
--- a/Master/bin/mips-irix/ps2pk
+++ b/Master/bin/mips-irix/ps2pk
Binary files differ
diff --git a/Master/bin/mips-irix/psbook b/Master/bin/mips-irix/psbook
index 985e00cd07f..223ae05de36 100755
--- a/Master/bin/mips-irix/psbook
+++ b/Master/bin/mips-irix/psbook
Binary files differ
diff --git a/Master/bin/mips-irix/psnup b/Master/bin/mips-irix/psnup
index 665827718c3..37dd2d0e672 100755
--- a/Master/bin/mips-irix/psnup
+++ b/Master/bin/mips-irix/psnup
Binary files differ
diff --git a/Master/bin/mips-irix/psresize b/Master/bin/mips-irix/psresize
index 2a3bda17a80..8ad647631a8 100755
--- a/Master/bin/mips-irix/psresize
+++ b/Master/bin/mips-irix/psresize
Binary files differ
diff --git a/Master/bin/mips-irix/psselect b/Master/bin/mips-irix/psselect
index 91460ad92c7..7036889f822 100755
--- a/Master/bin/mips-irix/psselect
+++ b/Master/bin/mips-irix/psselect
Binary files differ
diff --git a/Master/bin/mips-irix/pstops b/Master/bin/mips-irix/pstops
index 52fd71387fa..7e011782d6f 100755
--- a/Master/bin/mips-irix/pstops
+++ b/Master/bin/mips-irix/pstops
Binary files differ
diff --git a/Master/bin/mips-irix/purifyeps b/Master/bin/mips-irix/purifyeps
new file mode 120000
index 00000000000..d6919b530ed
--- /dev/null
+++ b/Master/bin/mips-irix/purifyeps
@@ -0,0 +1 @@
+../../texmf-dist/scripts/purifyeps/purifyeps \ No newline at end of file
diff --git a/Master/bin/mips-irix/sjisconv b/Master/bin/mips-irix/sjisconv
index 348ba0fca5b..7ebacb0f813 100755
--- a/Master/bin/mips-irix/sjisconv
+++ b/Master/bin/mips-irix/sjisconv
Binary files differ
diff --git a/Master/bin/mips-irix/svn-multi b/Master/bin/mips-irix/svn-multi
new file mode 120000
index 00000000000..9f3e6f9d9b7
--- /dev/null
+++ b/Master/bin/mips-irix/svn-multi
@@ -0,0 +1 @@
+../../texmf-dist/scripts/svn-multi/svn-multi.pl \ No newline at end of file
diff --git a/Master/bin/mips-irix/synctex b/Master/bin/mips-irix/synctex
index 9abeb2b63db..45aa0b39bd1 100755
--- a/Master/bin/mips-irix/synctex
+++ b/Master/bin/mips-irix/synctex
Binary files differ
diff --git a/Master/bin/mips-irix/t1ascii b/Master/bin/mips-irix/t1ascii
index f5e0d4a4829..aa639589681 100755
--- a/Master/bin/mips-irix/t1ascii
+++ b/Master/bin/mips-irix/t1ascii
Binary files differ
diff --git a/Master/bin/mips-irix/t1asm b/Master/bin/mips-irix/t1asm
index ef3e9c5e898..58315fd2d60 100755
--- a/Master/bin/mips-irix/t1asm
+++ b/Master/bin/mips-irix/t1asm
Binary files differ
diff --git a/Master/bin/mips-irix/t1binary b/Master/bin/mips-irix/t1binary
index fbb13478a5f..6a73908f42b 100755
--- a/Master/bin/mips-irix/t1binary
+++ b/Master/bin/mips-irix/t1binary
Binary files differ
diff --git a/Master/bin/mips-irix/t1disasm b/Master/bin/mips-irix/t1disasm
index ad6ecf0eaee..807a5a20f37 100755
--- a/Master/bin/mips-irix/t1disasm
+++ b/Master/bin/mips-irix/t1disasm
Binary files differ
diff --git a/Master/bin/mips-irix/t1dotlessj b/Master/bin/mips-irix/t1dotlessj
index a2b7b30d5fd..96b8e5373fc 100755
--- a/Master/bin/mips-irix/t1dotlessj
+++ b/Master/bin/mips-irix/t1dotlessj
Binary files differ
diff --git a/Master/bin/mips-irix/t1lint b/Master/bin/mips-irix/t1lint
index f357b1b6927..4cf301f87cc 100755
--- a/Master/bin/mips-irix/t1lint
+++ b/Master/bin/mips-irix/t1lint
Binary files differ
diff --git a/Master/bin/mips-irix/t1mac b/Master/bin/mips-irix/t1mac
index b45edec24ac..f876d90b660 100755
--- a/Master/bin/mips-irix/t1mac
+++ b/Master/bin/mips-irix/t1mac
Binary files differ
diff --git a/Master/bin/mips-irix/t1rawafm b/Master/bin/mips-irix/t1rawafm
new file mode 100755
index 00000000000..d16cca6fa7b
--- /dev/null
+++ b/Master/bin/mips-irix/t1rawafm
Binary files differ
diff --git a/Master/bin/mips-irix/t1reencode b/Master/bin/mips-irix/t1reencode
index 105f7bb949c..244605aa3bc 100755
--- a/Master/bin/mips-irix/t1reencode
+++ b/Master/bin/mips-irix/t1reencode
Binary files differ
diff --git a/Master/bin/mips-irix/t1testpage b/Master/bin/mips-irix/t1testpage
index 19bf894c210..5851b40b594 100755
--- a/Master/bin/mips-irix/t1testpage
+++ b/Master/bin/mips-irix/t1testpage
Binary files differ
diff --git a/Master/bin/mips-irix/t1unmac b/Master/bin/mips-irix/t1unmac
index aedabba864d..747b11fce95 100755
--- a/Master/bin/mips-irix/t1unmac
+++ b/Master/bin/mips-irix/t1unmac
Binary files differ
diff --git a/Master/bin/mips-irix/t4ht b/Master/bin/mips-irix/t4ht
index 26f349e6944..1fd8efd3c98 100755
--- a/Master/bin/mips-irix/t4ht
+++ b/Master/bin/mips-irix/t4ht
Binary files differ
diff --git a/Master/bin/mips-irix/tangle b/Master/bin/mips-irix/tangle
index 50fdfae9704..791cb56887a 100755
--- a/Master/bin/mips-irix/tangle
+++ b/Master/bin/mips-irix/tangle
Binary files differ
diff --git a/Master/bin/mips-irix/tcdialog b/Master/bin/mips-irix/tcdialog
index 40a60b335dc..5bf6dc47165 100755
--- a/Master/bin/mips-irix/tcdialog
+++ b/Master/bin/mips-irix/tcdialog
Binary files differ
diff --git a/Master/bin/mips-irix/teckit_compile b/Master/bin/mips-irix/teckit_compile
new file mode 100755
index 00000000000..16f02f17f2e
--- /dev/null
+++ b/Master/bin/mips-irix/teckit_compile
Binary files differ
diff --git a/Master/bin/mips-irix/tex b/Master/bin/mips-irix/tex
index 3da5759ccb2..efcadcaeb3a 100755
--- a/Master/bin/mips-irix/tex
+++ b/Master/bin/mips-irix/tex
Binary files differ
diff --git a/Master/bin/mips-irix/tex4ht b/Master/bin/mips-irix/tex4ht
index 20fff9780a2..b31a122073b 100755
--- a/Master/bin/mips-irix/tex4ht
+++ b/Master/bin/mips-irix/tex4ht
Binary files differ
diff --git a/Master/bin/mips-irix/texlinks b/Master/bin/mips-irix/texlinks
index d8e51550924..c77ceea60c0 100755
--- a/Master/bin/mips-irix/texlinks
+++ b/Master/bin/mips-irix/texlinks
@@ -1,4 +1,5 @@
#!/bin/sh
+# $Id: texlinks 13904 2009-06-23 00:47:00Z karl $
# Thomas Esser, 1999, 2002, 2003. public domain.
@@ -38,24 +39,26 @@ export PATH
# hack around a bug in zsh:
test -n "${ZSH_VERSION+set}" && alias -g '${1+"$@"}'='"$@"'
-cnf=fmtutil.cnf # name of the config file
-version=20080528.1847 # utc timestamp
+version=20090623.0228
progname=texlinks
+cnf=fmtutil.cnf # name of the config file
usage='Usage: texlinks [OPTION]... [DIRECTORY]...
Create symbolic links format -> engine according to fmtutil setup.
Mandatory arguments to long options are mandatory for short options too.
- -h, --help show this help text
- --version show version string
+ -e, --exeext EXT append EXT to symlink targets (default: none)
-f, --cnffile FILE use FILE as config file (default: fmtutil.cnf)
- -v, --verbose enable verbose messages (default: off)
-m, --multiplatform operate in all platform specific directories
(default: operate only in directory for this platform)
- -s, --silent silently skip existing scripts / binaries
+ -q, --quiet silently skip existing scripts / binaries
(default: issue warning)
+ -s, --silent same as -q
-u, --unlink remove symlinks created by texlinks
+ -v, --verbose enable verbose messages (default: off)
+ -h, --help show this help text
+ --version show version string
The DIRECTORY arguments are an optional list of directories in which to
operate. If no directories are specified and --multiplatform is
@@ -125,7 +128,8 @@ check_for_binary()
###############################################################################
# install_link(dest src)
# create a symlink like ln -s dest src, but make sure that src is not
-# an existing binary
+# an existing binary, possibly adding the executable extension if
+# passed on the command.
###############################################################################
install_link()
{
@@ -148,6 +152,9 @@ install_link()
;;
esac
+ # append .exe if supplied (for cygwin).
+ test -n "$exeext" && dest="$dest$exeext"
+
case $src in
*/cont-??|*/mptopdf)
# context includes wrapper scripts that create/run these.
@@ -155,7 +162,7 @@ install_link()
;;
*)
test "x$src" != "x`(ls -ld $src | awk '{print $NF}') 2>/dev/null`" &&
- verbose_do rm -f "$src"
+ rm -f "$src"
if test -f "$src"; then
case $silent in
@@ -235,6 +242,7 @@ main()
dirs=
needsCleanup=false
+ exeext=
multiplatform=false
verbose=false
unlink=false
@@ -247,13 +255,14 @@ main()
--h*|-h)
echo "$usage"; exit 0;;
--version)
- echo "$progname version $version."; exit 0;;
+ echo "$progname version $version"; exit 0;;
--cnffile|-f)
shift; cnf_file=$1;;
- --v*|-v) verbose=true;;
- --s*|-s) silent=true;;
+ --e*|-e) shift; exeext=$1;;
--m*|-m) multiplatform=true;;
+ --s*|-s|--q*|-q) silent=true;;
--u*|-u) unlink=true;;
+ --v*|-v) verbose=true;;
-*) errmsg "fmtutil: unknown option \`$1' ignored.";;
*) break;;
esac
diff --git a/Master/bin/mips-irix/texloganalyser b/Master/bin/mips-irix/texloganalyser
new file mode 120000
index 00000000000..a0dd3486cd7
--- /dev/null
+++ b/Master/bin/mips-irix/texloganalyser
@@ -0,0 +1 @@
+../../texmf-dist/scripts/texloganalyser/texloganalyser \ No newline at end of file
diff --git a/Master/bin/mips-irix/tftopl b/Master/bin/mips-irix/tftopl
index e87a7a95b73..2fe686f1130 100755
--- a/Master/bin/mips-irix/tftopl
+++ b/Master/bin/mips-irix/tftopl
Binary files differ
diff --git a/Master/bin/mips-irix/tie b/Master/bin/mips-irix/tie
index f1e00364850..36cec0150cb 100755
--- a/Master/bin/mips-irix/tie
+++ b/Master/bin/mips-irix/tie
Binary files differ
diff --git a/Master/bin/mips-irix/ttf2afm b/Master/bin/mips-irix/ttf2afm
index c745093d747..d073bd71597 100755
--- a/Master/bin/mips-irix/ttf2afm
+++ b/Master/bin/mips-irix/ttf2afm
Binary files differ
diff --git a/Master/bin/mips-irix/ttf2pk b/Master/bin/mips-irix/ttf2pk
index 6b3a0f8b909..0a8eae32da3 100755
--- a/Master/bin/mips-irix/ttf2pk
+++ b/Master/bin/mips-irix/ttf2pk
Binary files differ
diff --git a/Master/bin/mips-irix/ttf2tfm b/Master/bin/mips-irix/ttf2tfm
index 41454e32cdc..29c82a19541 100755
--- a/Master/bin/mips-irix/ttf2tfm
+++ b/Master/bin/mips-irix/ttf2tfm
Binary files differ
diff --git a/Master/bin/mips-irix/ttfdump b/Master/bin/mips-irix/ttfdump
new file mode 100755
index 00000000000..36620d54932
--- /dev/null
+++ b/Master/bin/mips-irix/ttfdump
Binary files differ
diff --git a/Master/bin/mips-irix/ttftotype42 b/Master/bin/mips-irix/ttftotype42
index 180038330ca..b9ef92f768f 100755
--- a/Master/bin/mips-irix/ttftotype42
+++ b/Master/bin/mips-irix/ttftotype42
Binary files differ
diff --git a/Master/bin/mips-irix/ulqda b/Master/bin/mips-irix/ulqda
new file mode 120000
index 00000000000..8ca9386b37d
--- /dev/null
+++ b/Master/bin/mips-irix/ulqda
@@ -0,0 +1 @@
+../../texmf-dist/scripts/ulqda/ulqda.pl \ No newline at end of file
diff --git a/Master/bin/mips-irix/vftovp b/Master/bin/mips-irix/vftovp
index c02bc0371fd..3ab756edd88 100755
--- a/Master/bin/mips-irix/vftovp
+++ b/Master/bin/mips-irix/vftovp
Binary files differ
diff --git a/Master/bin/mips-irix/vlna b/Master/bin/mips-irix/vlna
index c54e6c20ff7..d289c84c6c8 100755
--- a/Master/bin/mips-irix/vlna
+++ b/Master/bin/mips-irix/vlna
Binary files differ
diff --git a/Master/bin/mips-irix/vptovf b/Master/bin/mips-irix/vptovf
index 3dd0aa387d4..350c5af72ae 100755
--- a/Master/bin/mips-irix/vptovf
+++ b/Master/bin/mips-irix/vptovf
Binary files differ
diff --git a/Master/bin/mips-irix/weave b/Master/bin/mips-irix/weave
index 81e996184ef..e4002def1aa 100755
--- a/Master/bin/mips-irix/weave
+++ b/Master/bin/mips-irix/weave
Binary files differ
diff --git a/Master/bin/mips-irix/xdvi b/Master/bin/mips-irix/xdvi
index 04662a62d36..29632097df1 100755
--- a/Master/bin/mips-irix/xdvi
+++ b/Master/bin/mips-irix/xdvi
@@ -50,4 +50,4 @@ if test -n "$xdviappfile"; then
XFILESEARCHPATH="$xdviapppath:${XFILESEARCHPATH-%D}"; export XFILESEARCHPATH
fi
-exec xdvi-motif $NAMEOPT ${1+"$@"}
+exec xdvi-xaw $NAMEOPT ${1+"$@"}
diff --git a/Master/bin/mips-irix/xdvi-motif b/Master/bin/mips-irix/xdvi-motif
deleted file mode 100755
index 4f60690c4d8..00000000000
--- a/Master/bin/mips-irix/xdvi-motif
+++ /dev/null
Binary files differ
diff --git a/Master/bin/mips-irix/xdvi-xaw b/Master/bin/mips-irix/xdvi-xaw
new file mode 100755
index 00000000000..a9ab696651d
--- /dev/null
+++ b/Master/bin/mips-irix/xdvi-xaw
Binary files differ
diff --git a/Master/bin/mips-irix/xdvipdfmx b/Master/bin/mips-irix/xdvipdfmx
index 286ec2972de..21e7adf9543 100755
--- a/Master/bin/mips-irix/xdvipdfmx
+++ b/Master/bin/mips-irix/xdvipdfmx
Binary files differ
diff --git a/Master/bin/mips-irix/xetex b/Master/bin/mips-irix/xetex
index b594787f645..871a2548f27 100755
--- a/Master/bin/mips-irix/xetex
+++ b/Master/bin/mips-irix/xetex
Binary files differ