summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
Diffstat (limited to 'Master')
-rwxr-xr-xMaster/bin/mips-irix/afm2plbin135240 -> 135412 bytes
-rwxr-xr-xMaster/bin/mips-irix/afm2tfmbin141068 -> 141240 bytes
-rwxr-xr-xMaster/bin/mips-irix/alephbin810932 -> 811104 bytes
-rwxr-xr-xMaster/bin/mips-irix/bboxbin0 -> 19772 bytes
-rwxr-xr-xMaster/bin/mips-irix/bg5convbin18212 -> 18212 bytes
-rwxr-xr-xMaster/bin/mips-irix/bibtexbin256596 -> 256768 bytes
-rwxr-xr-xMaster/bin/mips-irix/bibtex8bin300684 -> 300856 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/cfftot1bin629524 -> 629524 bytes
-rwxr-xr-xMaster/bin/mips-irix/ctanglebin155024 -> 155196 bytes
-rwxr-xr-xMaster/bin/mips-irix/ctiebin113112 -> 113284 bytes
-rwxr-xr-xMaster/bin/mips-irix/cweavebin197912 -> 198084 bytes
-rwxr-xr-xMaster/bin/mips-irix/detexbin120232 -> 120404 bytes
-rwxr-xr-xMaster/bin/mips-irix/devnagbin47732 -> 47732 bytes
-rwxr-xr-xMaster/bin/mips-irix/disdvibin22964 -> 22964 bytes
-rwxr-xr-xMaster/bin/mips-irix/dmpbin134160 -> 134332 bytes
-rwxr-xr-xMaster/bin/mips-irix/dt2dvbin51000 -> 51000 bytes
-rwxr-xr-xMaster/bin/mips-irix/dv2dtbin22376 -> 22376 bytes
-rwxr-xr-xMaster/bin/mips-irix/dvi2ttybin44248 -> 44248 bytes
-rwxr-xr-xMaster/bin/mips-irix/dvibookbin60992 -> 60992 bytes
-rwxr-xr-xMaster/bin/mips-irix/dviconcatbin60504 -> 60504 bytes
-rwxr-xr-xMaster/bin/mips-irix/dvicopybin193468 -> 193636 bytes
-rwxr-xr-xMaster/bin/mips-irix/dvidvibin40768 -> 40768 bytes
-rwxr-xr-xMaster/bin/mips-irix/dviljbin157068 -> 157240 bytes
-rwxr-xr-xMaster/bin/mips-irix/dvilj2pbin157252 -> 157424 bytes
-rwxr-xr-xMaster/bin/mips-irix/dvilj4bin158804 -> 175360 bytes
-rwxr-xr-xMaster/bin/mips-irix/dvilj4lbin158804 -> 175360 bytes
-rwxr-xr-xMaster/bin/mips-irix/dvipdfmbin648048 -> 648176 bytes
-rwxr-xr-xMaster/bin/mips-irix/dvipdfmxbin1194308 -> 1194436 bytes
-rwxr-xr-xMaster/bin/mips-irix/dvipngbin1364416 -> 1364548 bytes
-rwxr-xr-xMaster/bin/mips-irix/dviposbin0 -> 161404 bytes
-rwxr-xr-xMaster/bin/mips-irix/dvipsbin380988 -> 381160 bytes
-rwxr-xr-xMaster/bin/mips-irix/dviselectbin60360 -> 60360 bytes
-rwxr-xr-xMaster/bin/mips-irix/dvitodvibin78268 -> 78268 bytes
-rwxr-xr-xMaster/bin/mips-irix/dvitompbin158184 -> 158356 bytes
-rwxr-xr-xMaster/bin/mips-irix/dvitypebin157988 -> 158160 bytes
-rwxr-xr-xMaster/bin/mips-irix/ebbbin369084 -> 369212 bytes
-rwxr-xr-xMaster/bin/mips-irix/epsffitbin20280 -> 20280 bytes
-rwxr-xr-xMaster/bin/mips-irix/extconvbin18212 -> 18212 bytes
-rwxr-xr-xMaster/bin/mips-irix/gftodvibin170860 -> 171032 bytes
-rwxr-xr-xMaster/bin/mips-irix/gftopkbin135248 -> 135420 bytes
-rwxr-xr-xMaster/bin/mips-irix/gftypebin136808 -> 136980 bytes
-rwxr-xr-xMaster/bin/mips-irix/gsftopkbin133108 -> 133280 bytes
-rwxr-xr-xMaster/bin/mips-irix/hbf2gfbin136828 -> 136996 bytes
-rwxr-xr-xMaster/bin/mips-irix/htcontext6
-rwxr-xr-xMaster/bin/mips-irix/htlatex4
-rwxr-xr-xMaster/bin/mips-irix/htmex4
-rwxr-xr-xMaster/bin/mips-irix/httex4
-rwxr-xr-xMaster/bin/mips-irix/httexi4
-rwxr-xr-xMaster/bin/mips-irix/infobin250648 -> 250648 bytes
-rwxr-xr-xMaster/bin/mips-irix/infokeybin44528 -> 44528 bytes
-rwxr-xr-xMaster/bin/mips-irix/install-infobin43936 -> 43936 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/kpsewhichbin114664 -> 114836 bytes
-rwxr-xr-xMaster/bin/mips-irix/lacheckbin70720 -> 70720 bytes
-rwxr-xr-xMaster/bin/mips-irix/magbin18812 -> 18812 bytes
-rwxr-xr-xMaster/bin/mips-irix/makeindexbin192672 -> 192840 bytes
-rwxr-xr-xMaster/bin/mips-irix/makeinfobin330980 -> 330980 bytes
-rwxr-xr-xMaster/bin/mips-irix/makempxbin112288 -> 112460 bytes
-rwxr-xr-xMaster/bin/mips-irix/mfbin484572 -> 484740 bytes
-rwxr-xr-xMaster/bin/mips-irix/mf-nowinbin483160 -> 483332 bytes
-rwxr-xr-xMaster/bin/mips-irix/mftbin167764 -> 167936 bytes
-rwxr-xr-xMaster/bin/mips-irix/mk4ht10
-rwxr-xr-xMaster/bin/mips-irix/mmafmbin328160 -> 328160 bytes
-rwxr-xr-xMaster/bin/mips-irix/mmpfbbin505164 -> 505164 bytes
-rwxr-xr-xMaster/bin/mips-irix/mpostbin649044 -> 649216 bytes
-rwxr-xr-xMaster/bin/mips-irix/mptobin21796 -> 21796 bytes
-rwxr-xr-xMaster/bin/mips-irix/musixflxbin22148 -> 22148 bytes
-rwxr-xr-xMaster/bin/mips-irix/newerbin19360 -> 19360 bytes
-rwxr-xr-xMaster/bin/mips-irix/odvicopybin210908 -> 211080 bytes
-rwxr-xr-xMaster/bin/mips-irix/odvitypebin158160 -> 158332 bytes
-rwxr-xr-xMaster/bin/mips-irix/omegabin827624 -> 827796 bytes
-rwxr-xr-xMaster/bin/mips-irix/omfontsbin286436 -> 286608 bytes
-rwxr-xr-xMaster/bin/mips-irix/otanglebin102352 -> 102352 bytes
-rwxr-xr-xMaster/bin/mips-irix/otfinfobin714248 -> 714248 bytes
-rwxr-xr-xMaster/bin/mips-irix/otftotfmbin1179636 -> 1179808 bytes
-rwxr-xr-xMaster/bin/mips-irix/otp2ocpbin137884 -> 138056 bytes
-rwxr-xr-xMaster/bin/mips-irix/outocpbin111300 -> 111472 bytes
-rwxr-xr-xMaster/bin/mips-irix/patgenbin80148 -> 80148 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/pdftexbin1962168 -> 1962380 bytes
-rwxr-xr-xMaster/bin/mips-irix/pdftosrcbin0 -> 583832 bytes
-rwxr-xr-xMaster/bin/mips-irix/pfb2pfabin19544 -> 19544 bytes
-rwxr-xr-xMaster/bin/mips-irix/pk2bmbin21396 -> 21396 bytes
-rwxr-xr-xMaster/bin/mips-irix/pktogfbin132892 -> 133064 bytes
-rwxr-xr-xMaster/bin/mips-irix/pktypebin131664 -> 131832 bytes
-rwxr-xr-xMaster/bin/mips-irix/pltotfbin101472 -> 101472 bytes
-rwxr-xr-xMaster/bin/mips-irix/pooltypebin42424 -> 42424 bytes
-rwxr-xr-xMaster/bin/mips-irix/ps2eps929
-rwxr-xr-xMaster/bin/mips-irix/ps2pkbin275660 -> 275832 bytes
-rwxr-xr-xMaster/bin/mips-irix/psbookbin22572 -> 22572 bytes
-rwxr-xr-xMaster/bin/mips-irix/psnupbin43352 -> 43352 bytes
-rwxr-xr-xMaster/bin/mips-irix/psresizebin26496 -> 26496 bytes
-rwxr-xr-xMaster/bin/mips-irix/psselectbin22852 -> 22852 bytes
-rwxr-xr-xMaster/bin/mips-irix/pstopsbin43484 -> 43484 bytes
-rwxr-xr-xMaster/bin/mips-irix/sjisconvbin18212 -> 18212 bytes
-rwxr-xr-xMaster/bin/mips-irix/t1asciibin43732 -> 43732 bytes
-rwxr-xr-xMaster/bin/mips-irix/t1asmbin63588 -> 63588 bytes
-rwxr-xr-xMaster/bin/mips-irix/t1binarybin43408 -> 43408 bytes
-rwxr-xr-xMaster/bin/mips-irix/t1disasmbin62224 -> 62224 bytes
-rwxr-xr-xMaster/bin/mips-irix/t1dotlessjbin498328 -> 498328 bytes
-rwxr-xr-xMaster/bin/mips-irix/t1lintbin465580 -> 465580 bytes
-rwxr-xr-xMaster/bin/mips-irix/t1macbin65488 -> 65488 bytes
-rwxr-xr-xMaster/bin/mips-irix/t1reencodebin502632 -> 502632 bytes
-rwxr-xr-xMaster/bin/mips-irix/t1testpagebin488564 -> 488564 bytes
-rwxr-xr-xMaster/bin/mips-irix/t1unmacbin63540 -> 63540 bytes
-rwxr-xr-xMaster/bin/mips-irix/t4htbin133380 -> 133728 bytes
-rwxr-xr-xMaster/bin/mips-irix/tanglebin174920 -> 175092 bytes
-rwxr-xr-xMaster/bin/mips-irix/tcdialogbin213632 -> 213632 bytes
-rwxr-xr-xMaster/bin/mips-irix/texbin521976 -> 522148 bytes
-rwxr-xr-xMaster/bin/mips-irix/tex4htbin222612 -> 222780 bytes
-rwxr-xr-xMaster/bin/mips-irix/texi2html3
-rwxr-xr-xMaster/bin/mips-irix/texindexbin40536 -> 40536 bytes
-rwxr-xr-xMaster/bin/mips-irix/texmfstart56
-rwxr-xr-xMaster/bin/mips-irix/tftoplbin153056 -> 153228 bytes
-rwxr-xr-xMaster/bin/mips-irix/tiebin20180 -> 20180 bytes
-rwxr-xr-xMaster/bin/mips-irix/tpic2pdftex407
-rwxr-xr-xMaster/bin/mips-irix/ttf2afmbin138260 -> 138432 bytes
-rwxr-xr-xMaster/bin/mips-irix/ttf2pkbin384320 -> 384492 bytes
-rwxr-xr-xMaster/bin/mips-irix/ttf2tfmbin412740 -> 412912 bytes
-rwxr-xr-xMaster/bin/mips-irix/ttftotype42bin559216 -> 559216 bytes
-rwxr-xr-xMaster/bin/mips-irix/vftovpbin174520 -> 174692 bytes
-rwxr-xr-xMaster/bin/mips-irix/vptovfbin121316 -> 121316 bytes
-rwxr-xr-xMaster/bin/mips-irix/weavebin194184 -> 194356 bytes
-rwxr-xr-xMaster/bin/mips-irix/xdvi-motif.binbin1246444 -> 1246612 bytes
-rwxr-xr-xMaster/bin/mips-irix/xdvipdfmxbin1898700 -> 1898828 bytes
-rwxr-xr-xMaster/bin/mips-irix/xetexbin9139944 -> 9140652 bytes
132 files changed, 988 insertions, 439 deletions
diff --git a/Master/bin/mips-irix/afm2pl b/Master/bin/mips-irix/afm2pl
index 731a1186587..ba5a9d6d6bc 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 6667d1838ad..5bb0ae05446 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 0779857d14a..c89545bfa8b 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
new file mode 100755
index 00000000000..b86beaa974f
--- /dev/null
+++ b/Master/bin/mips-irix/bbox
Binary files differ
diff --git a/Master/bin/mips-irix/bg5conv b/Master/bin/mips-irix/bg5conv
index ce493a1f087..2c210916e76 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 6c5c09bd9ff..a4e6ae11239 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 2b962d8237b..f942be209d9 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 67fe08e5142..2318d736873 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 b5731e61c30..708a0e1713d 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 22f5db37b7d..00a56ea3545 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 3b527372954..b17fe3b9c9a 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 41578a6e83b..115d3bbd2b3 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 cb730e063e9..d915c89c0a0 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 3da410a28b1..b08686a0f12 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 b1ed05b20fa..e21d5a48011 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 c479b2362e5..a14195fce54 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 c883ea3092b..de69227e937 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
index 3b87fb3758e..a4f5ebeea27 100755
--- a/Master/bin/mips-irix/dmp
+++ b/Master/bin/mips-irix/dmp
Binary files differ
diff --git a/Master/bin/mips-irix/dt2dv b/Master/bin/mips-irix/dt2dv
index a82ee9bf62a..4b861399d76 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 e1baa082337..2f31e9ad5c5 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 2df30e813d7..facd14e608b 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 d2ae3a62c0d..ab3e6e91fc3 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 134456d5a02..b89dfdee68e 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 4067757aaac..a106e061b3c 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 9de21dd4e3e..5e45ca2d57d 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 bc838baef5b..84a9b6f495c 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 2bf83839433..a58568f5108 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 c387d7fc9b3..763e5e429d3 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 b67daeb37ee..7bece2865e3 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 7dc2c8ced43..d6c3bdb8a95 100755
--- 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 43707adfc01..e44767a58cb 100755
--- a/Master/bin/mips-irix/dvipdfmx
+++ b/Master/bin/mips-irix/dvipdfmx
Binary files differ
diff --git a/Master/bin/mips-irix/dvipng b/Master/bin/mips-irix/dvipng
index 640bf1db516..a7413ffa5b0 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
new file mode 100755
index 00000000000..4a432100690
--- /dev/null
+++ b/Master/bin/mips-irix/dvipos
Binary files differ
diff --git a/Master/bin/mips-irix/dvips b/Master/bin/mips-irix/dvips
index 200f4d6bec0..420ff210ff6 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 3c075a7cd15..7b746045099 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 ba9ab8f7a5d..833eddcbf27 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 a087cc930d2..34f51929ffc 100755
--- 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 b0b49efed5b..461a8a15bbf 100755
--- a/Master/bin/mips-irix/dvitype
+++ b/Master/bin/mips-irix/dvitype
Binary files differ
diff --git a/Master/bin/mips-irix/ebb b/Master/bin/mips-irix/ebb
index eca1c23f169..9ffe735b10f 100755
--- a/Master/bin/mips-irix/ebb
+++ b/Master/bin/mips-irix/ebb
Binary files differ
diff --git a/Master/bin/mips-irix/epsffit b/Master/bin/mips-irix/epsffit
index b7bc8f9d5d4..497d073d24c 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 76201a5c280..bd3415c4dd7 100755
--- a/Master/bin/mips-irix/extconv
+++ b/Master/bin/mips-irix/extconv
Binary files differ
diff --git a/Master/bin/mips-irix/gftodvi b/Master/bin/mips-irix/gftodvi
index 5e66fc310f5..43c6ddd19fc 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 a4314b582e4..52b69d7910c 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 8f35399dcde..617f9e42861 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 99c0793909a..a66dd75e97f 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 d152ef2c05a..00f66c5dfec 100755
--- a/Master/bin/mips-irix/hbf2gf
+++ b/Master/bin/mips-irix/hbf2gf
Binary files differ
diff --git a/Master/bin/mips-irix/htcontext b/Master/bin/mips-irix/htcontext
index 9d6d4549574..9e01fa97f66 100755
--- a/Master/bin/mips-irix/htcontext
+++ b/Master/bin/mips-irix/htcontext
@@ -1,7 +1,7 @@
#!/bin/sh
- texexec --arg="ht-1=$2" --use=tex4ht $5 $1
- tex4ht -f/$1 -i~/tex4ht.dir/texmf/tex4ht/ht-fonts/$3
- t4ht -f/$1 $4 ## -d~/WWW/temp/ -m644
+ texexec --arg="ht-1=$2" --use=tex4ht --dvi --nobackend $5 $1
+ tex4ht \dirchar $1 -i~/tex4ht.dir/texmf/tex4ht/ht-fonts/$3
+ t4ht \dirchar $1 $4 ## -d~/WWW/temp/ -m644
diff --git a/Master/bin/mips-irix/htlatex b/Master/bin/mips-irix/htlatex
index 1b8b7cea74a..ebab47dbaa6 100755
--- a/Master/bin/mips-irix/htlatex
+++ b/Master/bin/mips-irix/htlatex
@@ -2,8 +2,8 @@
latex $5 '\makeatletter\def\HCode{\futurelet\HCode\HChar}\def\HChar{\ifx"\HCode\def\HCode"##1"{\Link##1}\expandafter\HCode\else\expandafter\Link\fi}\def\Link#1.a.b.c.{\g@addto@macro\@documentclasshook{\RequirePackage[#1,html]{tex4ht}}\let\HCode\documentstyle\def\documentstyle{\let\documentstyle\HCode\expandafter\def\csname tex4ht\endcsname{#1,html}\def\HCode####1{\documentstyle[tex4ht,}\@ifnextchar[{\HCode}{\documentstyle[tex4ht]}}}\makeatother\HCode '$2'.a.b.c.\input ' $1
latex $5 '\makeatletter\def\HCode{\futurelet\HCode\HChar}\def\HChar{\ifx"\HCode\def\HCode"##1"{\Link##1}\expandafter\HCode\else\expandafter\Link\fi}\def\Link#1.a.b.c.{\g@addto@macro\@documentclasshook{\RequirePackage[#1,html]{tex4ht}}\let\HCode\documentstyle\def\documentstyle{\let\documentstyle\HCode\expandafter\def\csname tex4ht\endcsname{#1,html}\def\HCode####1{\documentstyle[tex4ht,}\@ifnextchar[{\HCode}{\documentstyle[tex4ht]}}}\makeatother\HCode '$2'.a.b.c.\input ' $1
latex $5 '\makeatletter\def\HCode{\futurelet\HCode\HChar}\def\HChar{\ifx"\HCode\def\HCode"##1"{\Link##1}\expandafter\HCode\else\expandafter\Link\fi}\def\Link#1.a.b.c.{\g@addto@macro\@documentclasshook{\RequirePackage[#1,html]{tex4ht}}\let\HCode\documentstyle\def\documentstyle{\let\documentstyle\HCode\expandafter\def\csname tex4ht\endcsname{#1,html}\def\HCode####1{\documentstyle[tex4ht,}\@ifnextchar[{\HCode}{\documentstyle[tex4ht]}}}\makeatother\HCode '$2'.a.b.c.\input ' $1
- tex4ht -f/$1 -i~/tex4ht.dir/texmf/tex4ht/ht-fonts/$3
- t4ht -f/$1 $4 ## -d~/WWW/temp/ -m644
+ tex4ht \dirchar $1 -i~/tex4ht.dir/texmf/tex4ht/ht-fonts/$3
+ t4ht \dirchar $1 $4 ## -d~/WWW/temp/ -m644
diff --git a/Master/bin/mips-irix/htmex b/Master/bin/mips-irix/htmex
index b4aa3d9a06e..485a7594468 100755
--- a/Master/bin/mips-irix/htmex
+++ b/Master/bin/mips-irix/htmex
@@ -2,8 +2,8 @@
mex $5 '\def\Link#1.a.b.c.{\expandafter\def\csname tex4ht\endcsname{\expandafter\def\csname tex4ht\endcsname{#1,html}\input tex4ht.sty }}\def\HCode{\futurelet\HCode\HChar}\def\HChar{\ifx"\HCode\def\HCode"##1"{\Link##1}\expandafter\HCode\else\expandafter\Link\fi}\HCode '$2'.a.b.c.\input ' $1
mex $5 '\def\Link#1.a.b.c.{\expandafter\def\csname tex4ht\endcsname{\expandafter\def\csname tex4ht\endcsname{#1,html}\input tex4ht.sty }}\def\HCode{\futurelet\HCode\HChar}\def\HChar{\ifx"\HCode\def\HCode"##1"{\Link##1}\expandafter\HCode\else\expandafter\Link\fi}\HCode '$2'.a.b.c.\input ' $1
mex $5 '\def\Link#1.a.b.c.{\expandafter\def\csname tex4ht\endcsname{\expandafter\def\csname tex4ht\endcsname{#1,html}\input tex4ht.sty }}\def\HCode{\futurelet\HCode\HChar}\def\HChar{\ifx"\HCode\def\HCode"##1"{\Link##1}\expandafter\HCode\else\expandafter\Link\fi}\HCode '$2'.a.b.c.\input ' $1
- tex4ht -f/$1 -i~/tex4ht.dir/texmf/tex4ht/ht-fonts/$3
- t4ht -f/$1 $4 ## -d~/WWW/temp/ -m644
+ tex4ht \dirchar $1 -i~/tex4ht.dir/texmf/tex4ht/ht-fonts/$3
+ t4ht \dirchar $1 $4 ## -d~/WWW/temp/ -m644
diff --git a/Master/bin/mips-irix/httex b/Master/bin/mips-irix/httex
index 44920e72077..4c184897d13 100755
--- a/Master/bin/mips-irix/httex
+++ b/Master/bin/mips-irix/httex
@@ -2,8 +2,8 @@
tex $5 '\def\Link#1.a.b.c.{\expandafter\def\csname tex4ht\endcsname{\expandafter\def\csname tex4ht\endcsname{#1,html}\input tex4ht.sty }}\def\HCode{\futurelet\HCode\HChar}\def\HChar{\ifx"\HCode\def\HCode"##1"{\Link##1}\expandafter\HCode\else\expandafter\Link\fi}\HCode '$2'.a.b.c.\input ' $1
tex $5 '\def\Link#1.a.b.c.{\expandafter\def\csname tex4ht\endcsname{\expandafter\def\csname tex4ht\endcsname{#1,html}\input tex4ht.sty }}\def\HCode{\futurelet\HCode\HChar}\def\HChar{\ifx"\HCode\def\HCode"##1"{\Link##1}\expandafter\HCode\else\expandafter\Link\fi}\HCode '$2'.a.b.c.\input ' $1
tex $5 '\def\Link#1.a.b.c.{\expandafter\def\csname tex4ht\endcsname{\expandafter\def\csname tex4ht\endcsname{#1,html}\input tex4ht.sty }}\def\HCode{\futurelet\HCode\HChar}\def\HChar{\ifx"\HCode\def\HCode"##1"{\Link##1}\expandafter\HCode\else\expandafter\Link\fi}\HCode '$2'.a.b.c.\input ' $1
- tex4ht -f/$1 -i~/tex4ht.dir/texmf/tex4ht/ht-fonts/$3
- t4ht -f/$1 $4 ## -d~/WWW/temp/ -m644
+ tex4ht \dirchar $1 -i~/tex4ht.dir/texmf/tex4ht/ht-fonts/$3
+ t4ht \dirchar $1 $4 ## -d~/WWW/temp/ -m644
diff --git a/Master/bin/mips-irix/httexi b/Master/bin/mips-irix/httexi
index 0ce3cb4a589..26427698991 100755
--- a/Master/bin/mips-irix/httexi
+++ b/Master/bin/mips-irix/httexi
@@ -2,8 +2,8 @@
tex $5 '\def\Link#1.a.b.c.{\expandafter\def\csname tex4ht\endcsname{\expandafter\def\csname tex4ht\endcsname{#1,html}\input tex4ht.sty }}\def\HCode{\futurelet\HCode\HChar}\def\HChar{\ifx"\HCode\def\HCode"##1"{\Link##1}\expandafter\HCode\else\expandafter\Link\fi}\let\svrm=\rm\def\rm{\svrm\ifx\c\comment\def\rm{\let\rm=\svrm\catcode`\@=12\catcode`\\=0 \csname tex4ht\endcsname\catcode`\@=0\catcode`\\=13 }\expandafter\rm\fi}\HCode '$2'.a.b.c.\input ' $1
tex $5 '\def\Link#1.a.b.c.{\expandafter\def\csname tex4ht\endcsname{\expandafter\def\csname tex4ht\endcsname{#1,html}\input tex4ht.sty }}\def\HCode{\futurelet\HCode\HChar}\def\HChar{\ifx"\HCode\def\HCode"##1"{\Link##1}\expandafter\HCode\else\expandafter\Link\fi}\let\svrm=\rm\def\rm{\svrm\ifx\c\comment\def\rm{\let\rm=\svrm\catcode`\@=12\catcode`\\=0 \csname tex4ht\endcsname\catcode`\@=0\catcode`\\=13 }\expandafter\rm\fi}\HCode '$2'.a.b.c.\input ' $1
tex $5 '\def\Link#1.a.b.c.{\expandafter\def\csname tex4ht\endcsname{\expandafter\def\csname tex4ht\endcsname{#1,html}\input tex4ht.sty }}\def\HCode{\futurelet\HCode\HChar}\def\HChar{\ifx"\HCode\def\HCode"##1"{\Link##1}\expandafter\HCode\else\expandafter\Link\fi}\let\svrm=\rm\def\rm{\svrm\ifx\c\comment\def\rm{\let\rm=\svrm\catcode`\@=12\catcode`\\=0 \csname tex4ht\endcsname\catcode`\@=0\catcode`\\=13 }\expandafter\rm\fi}\HCode '$2'.a.b.c.\input ' $1
- tex4ht -f/$1 -i~/tex4ht.dir/texmf/tex4ht/ht-fonts/$3
- t4ht -f/$1 $4 ## -d~/WWW/temp/ -m644
+ tex4ht \dirchar $1 -i~/tex4ht.dir/texmf/tex4ht/ht-fonts/$3
+ t4ht \dirchar $1 $4 ## -d~/WWW/temp/ -m644
# texindex ?
diff --git a/Master/bin/mips-irix/info b/Master/bin/mips-irix/info
index 6366ec7de30..1c293cd0a75 100755
--- a/Master/bin/mips-irix/info
+++ b/Master/bin/mips-irix/info
Binary files differ
diff --git a/Master/bin/mips-irix/infokey b/Master/bin/mips-irix/infokey
index 2e2a2102314..8951318baf5 100755
--- a/Master/bin/mips-irix/infokey
+++ b/Master/bin/mips-irix/infokey
Binary files differ
diff --git a/Master/bin/mips-irix/install-info b/Master/bin/mips-irix/install-info
index c1aad23a516..114903173d9 100755
--- a/Master/bin/mips-irix/install-info
+++ b/Master/bin/mips-irix/install-info
Binary files differ
diff --git a/Master/bin/mips-irix/kpseaccess b/Master/bin/mips-irix/kpseaccess
index 1dbf138e4bf..af4f1d1745e 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 9444baf7089..5a1180cd73c 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 8cda31012a1..7887cb510b4 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 5fdc011bf2e..22694a82b04 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 16d87f53d20..eb768a7ccb2 100755
--- a/Master/bin/mips-irix/lacheck
+++ b/Master/bin/mips-irix/lacheck
Binary files differ
diff --git a/Master/bin/mips-irix/mag b/Master/bin/mips-irix/mag
index e9607540e44..fca83b9e595 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 4f64acec880..fb5f4db931c 100755
--- a/Master/bin/mips-irix/makeindex
+++ b/Master/bin/mips-irix/makeindex
Binary files differ
diff --git a/Master/bin/mips-irix/makeinfo b/Master/bin/mips-irix/makeinfo
index 27e9cf2fdfb..fc82f0ce3ca 100755
--- a/Master/bin/mips-irix/makeinfo
+++ b/Master/bin/mips-irix/makeinfo
Binary files differ
diff --git a/Master/bin/mips-irix/makempx b/Master/bin/mips-irix/makempx
index 2935f18e98a..f5252f1dada 100755
--- a/Master/bin/mips-irix/makempx
+++ b/Master/bin/mips-irix/makempx
Binary files differ
diff --git a/Master/bin/mips-irix/mf b/Master/bin/mips-irix/mf
index 539330146d2..767b989aea6 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 5d0dc6886db..97c9a4e3c7d 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 0df001ab9c6..bbfa14d5b59 100755
--- a/Master/bin/mips-irix/mft
+++ b/Master/bin/mips-irix/mft
Binary files differ
diff --git a/Master/bin/mips-irix/mk4ht b/Master/bin/mips-irix/mk4ht
index 0f4b664506c..2bd1f7e2038 100755
--- a/Master/bin/mips-irix/mk4ht
+++ b/Master/bin/mips-irix/mk4ht
@@ -1,7 +1,7 @@
#!/usr/bin/env perl
#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-# mk4ht 2006-08-28-20:45 %
-# Copyright (C) 2003--2006 Eitan M. Gurari %
+# mk4ht 2007-01-04-01:34 %
+# Copyright (C) 2003--2007 Eitan M. Gurari %
# %
# %
# This work may be distributed and/or modified under the %
@@ -58,6 +58,10 @@ my @options = (
"js", "jstex", "tex", "xhtml,jsml", " -cjsmlhtf", "-cjsml",
"js", "jstexi", "texi", "xhtml,jsml", " -cjsmlhtf", "-cjsml",
"js", "jscontext", "context", "xhtml,jsml", " -cjsmlhtf", "-cjsml",
+ "jm", "jmlatex", "latex", "xhtml,jsmath", " -cmozhtf", "",
+ "jm", "jmtex", "tex", "xhtml,jsmath", " -cmozhtf", "",
+ "jm", "jmtexi", "texi", "xhtml,jsmath", " -cmozhtf", "",
+ "jm", "jmcontext", "context", "xhtml,jsmath", " -cmozhtf", "",
"tei", "teilatex", "latex", "xhtml,tei", " -cunihtf", "-cvalidate",
"tei", "teitex", "tex", "xhtml,tei", " -cunihtf", "-cvalidate",
"tei", "teitexi", "texi", "xhtml,tei", " -cunihtf", "-cvalidate",
@@ -178,7 +182,7 @@ print " clean.htlatex lg tmp\n";
}
-print "mk4ht (2006-08-28-20:45)\n";
+print "mk4ht (2007-01-04-01:34)\n";
if( !@ARGV ){
print "improper command\n";
showInstrucions(); exit(1);
diff --git a/Master/bin/mips-irix/mmafm b/Master/bin/mips-irix/mmafm
index 888fbaa2651..7c14ac4bbfb 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 e549365e12a..233b49323c6 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 15d08d8f91e..7620d00dc6e 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
index 5361536ea59..7f1ea90baff 100755
--- a/Master/bin/mips-irix/mpto
+++ b/Master/bin/mips-irix/mpto
Binary files differ
diff --git a/Master/bin/mips-irix/musixflx b/Master/bin/mips-irix/musixflx
index 5d4d9408296..dbbe91e7f62 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
index 8c7d83fd743..f80133e589a 100755
--- a/Master/bin/mips-irix/newer
+++ b/Master/bin/mips-irix/newer
Binary files differ
diff --git a/Master/bin/mips-irix/odvicopy b/Master/bin/mips-irix/odvicopy
index 1d68e1e6f13..df253d61b7d 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 bf6d8a3d813..b4390073452 100755
--- a/Master/bin/mips-irix/odvitype
+++ b/Master/bin/mips-irix/odvitype
Binary files differ
diff --git a/Master/bin/mips-irix/omega b/Master/bin/mips-irix/omega
index b3be84a9a7b..a01a00e370b 100755
--- a/Master/bin/mips-irix/omega
+++ b/Master/bin/mips-irix/omega
Binary files differ
diff --git a/Master/bin/mips-irix/omfonts b/Master/bin/mips-irix/omfonts
index 51cde1679ea..73f3e61d209 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 46ddf127d2b..e5ea62fbe17 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 f501c2d81f4..bb04d202d4b 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 df2c57c1f26..ac70b1e9983 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 8d226d8fcbd..9262e5a3760 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 19701bfee6c..dddea654fc1 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 0ee95a1da96..d3de6ad7d0a 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 1711f1262a9..dae138aa526 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 35bb33362d9..2a63b97f251 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 c340a9ea4ee..c5f3a33cdfe 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
new file mode 100755
index 00000000000..c0c7b0e677d
--- /dev/null
+++ b/Master/bin/mips-irix/pdftosrc
Binary files differ
diff --git a/Master/bin/mips-irix/pfb2pfa b/Master/bin/mips-irix/pfb2pfa
index 30b0e137656..230b718d6f7 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 6f0fe5abf9a..c98dd4bf141 100755
--- a/Master/bin/mips-irix/pk2bm
+++ b/Master/bin/mips-irix/pk2bm
Binary files differ
diff --git a/Master/bin/mips-irix/pktogf b/Master/bin/mips-irix/pktogf
index 9a7f92a5742..10b5acbe072 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 3d1947d2ef7..d8c60e2e814 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 06106fe664b..9762a7b7e82 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 05f7c9598f9..1cf2749c132 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..aeb0e9a8e43
--- /dev/null
+++ b/Master/bin/mips-irix/ps2eps
@@ -0,0 +1,929 @@
+#!/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.61 2006/12/28 16:34:06 bless Exp $
+# -------------------------------------------------------
+# (C)opyright 1999-2006 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.61 2006/12/28 16:34:06 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-2006 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
+ 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/mips-irix/ps2pk b/Master/bin/mips-irix/ps2pk
index 4ec45b1894e..62bb18842b4 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 74e836f5e51..59499602ad5 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 96a80232028..04acfa6a174 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 8845f7e132e..82c36d8606d 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 94485a6b7a0..285500aff3b 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 0fd105ceebb..c659252baec 100755
--- a/Master/bin/mips-irix/pstops
+++ b/Master/bin/mips-irix/pstops
Binary files differ
diff --git a/Master/bin/mips-irix/sjisconv b/Master/bin/mips-irix/sjisconv
index 9c25af00749..0a7dc449aaa 100755
--- a/Master/bin/mips-irix/sjisconv
+++ b/Master/bin/mips-irix/sjisconv
Binary files differ
diff --git a/Master/bin/mips-irix/t1ascii b/Master/bin/mips-irix/t1ascii
index c1761ec46ca..d57dd932f6e 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 ebbac744f84..84a7a46c94c 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 37349ce4a9e..91cfc5d9f02 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 2736b1e3f69..ce93be035d6 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 e3f720b279d..96bb2f6df77 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 d1288f31766..8ee0f3e766a 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 b65a19d0e6a..08079512b3e 100755
--- a/Master/bin/mips-irix/t1mac
+++ b/Master/bin/mips-irix/t1mac
Binary files differ
diff --git a/Master/bin/mips-irix/t1reencode b/Master/bin/mips-irix/t1reencode
index daf76244dde..91ae5ca2ae8 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 d9a53113bdc..4d338335a31 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 21d8eafbac1..0316aecc45e 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 bb8b97ec09b..40aa53a1a6c 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 d8e89d27c66..8ab86f0b690 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 e1d58f16856..0db2d2a1842 100755
--- a/Master/bin/mips-irix/tcdialog
+++ b/Master/bin/mips-irix/tcdialog
Binary files differ
diff --git a/Master/bin/mips-irix/tex b/Master/bin/mips-irix/tex
index 37507dcff97..bd5b1e37583 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 d850b794a8f..4b3b12bbee0 100755
--- a/Master/bin/mips-irix/tex4ht
+++ b/Master/bin/mips-irix/tex4ht
Binary files differ
diff --git a/Master/bin/mips-irix/texi2html b/Master/bin/mips-irix/texi2html
index 386c41d4c13..c42b595afb0 100755
--- a/Master/bin/mips-irix/texi2html
+++ b/Master/bin/mips-irix/texi2html
@@ -1,4 +1,4 @@
-#! /usr/sbin/perl
+#! /usr/bin/env perl
'di ';
'ig 00 ';
#+##############################################################################
@@ -5705,7 +5705,6 @@ $LANGUAGES->{'en'} = {
$T2H_OBSOLETE_STRINGS->{'en'} = {};
-
my $index_name = -1;
my @index_to_hash = ('style_map', 'style_map_pre', 'style_map_texi');
foreach my $hash (\%style_map, \%style_map_pre, \%style_map_texi, \%unformatted_text_style_map_texi)
diff --git a/Master/bin/mips-irix/texindex b/Master/bin/mips-irix/texindex
index f62b5e20f6d..a11c84561c9 100755
--- a/Master/bin/mips-irix/texindex
+++ b/Master/bin/mips-irix/texindex
Binary files differ
diff --git a/Master/bin/mips-irix/texmfstart b/Master/bin/mips-irix/texmfstart
index a886b2aa142..4d1e2976145 100755
--- a/Master/bin/mips-irix/texmfstart
+++ b/Master/bin/mips-irix/texmfstart
@@ -425,7 +425,7 @@ class KpseFast
@rootpath = ''
@treepath = ''
@progname = 'kpsewhich'
- @engine = 'pdfetex'
+ @engine = 'pdftex'
@variables = Hash.new
@expansions = Hash.new
@files = Hash.new
@@ -1074,7 +1074,7 @@ end
# puts k.expansion("$TEXMF")
# puts k.expanded_path("TEXINPUTS","context")
- # k.progname, k.engine, k.format = 'context', 'pdfetex', 'tfm'
+ # k.progname, k.engine, k.format = 'context', 'pdftex', 'tfm'
# k.scandisk = false # == must_exist
# k.expand_variables
@@ -1429,7 +1429,7 @@ end
$mswindows = Config::CONFIG['host_os'] =~ /mswin/
$separator = File::PATH_SEPARATOR
-$version = "2.0.2"
+$version = "2.0.3"
$ownpath = File.dirname($0)
if $mswindows then
@@ -1520,7 +1520,7 @@ def set_applications(page=1)
$applications['perl'] = $applications['pl'] = 'perl'
$applications['ruby'] = $applications['rb'] = 'ruby'
$applications['python'] = $applications['py'] = 'python'
- $applications['lua'] = $applications['lua'] = 'lua'
+ $applications['lua'] = $applications['lua'] = 'luatex --luaonly'
$applications['java'] = $applications['jar'] = 'java'
if $mswindows then
@@ -1804,14 +1804,16 @@ def changeddir?(path)
if path.empty? then
return true
else
+ oldpath = File.expand_path(path)
begin
- Dir.chdir(path) if ! path.empty?
+ Dir.chdir(path) if not path.empty?
rescue
report("unable to change to directory: #{path}")
else
report("changed to directory: #{path}")
end
- return File.expand_path(Dir.getwd) == File.expand_path(path)
+ newpath = File.expand_path(Dir.getwd)
+ return oldpath == newpath
end
end
@@ -1971,10 +1973,15 @@ def find(filename,program)
end
filename.sub!(/^.*[\\\/]/, '')
# next we look at the current path and the callerpath
- [ ['.','current'],
- [$ownpath,'caller'], ["#{$ownpath}/../#{suffixlist[0]}",'caller'],
- [registered("THREAD"),'thread'], ["#{registered("THREAD")}/../#{suffixlist[0]}",'thread'],
- ].each do |p|
+ pathlist = [ ]
+ progpath = $applications[suffixlist[0]]
+ threadok = registered("THREAD") !~ /unknown/
+ pathlist << ['.','current']
+ pathlist << [$ownpath,'caller'] if $ownpath != '.'
+ pathlist << ["#{$ownpath}/../#{progpath}",'caller'] if progpath
+ pathlist << [registered("THREAD"),'thread'] if threadok
+ pathlist << ["#{registered("THREAD")}/../#{progpath}",'thread'] if progpath && threadok
+ pathlist.each do |p|
if p && ! p.empty? && ! (p[0] == 'unknown') then
suffixlist.each do |suffix|
fname = "#{filename}.#{suffix}"
@@ -2483,27 +2490,35 @@ def execute(arguments)
if $selfmerge then
output("ruby libraries are cleaned up") if SelfMerge::cleanup
output("ruby libraries are merged") if SelfMerge::merge
+ return true
elsif $selfcleanup then
output("ruby libraries are cleaned up") if SelfMerge::cleanup
+ return true
elsif $serve then
if ENV['KPSEMETHOD'] && ENV['KPSEPORT'] then
# # kpse_merge_done: require 'base/kpseremote'
begin
KpseRemote::start_server
rescue
+ return false
+ else
+ return true
end
else
usage
puts("")
puts("message : set 'KPSEMETHOD' and 'KPSEPORT' variables")
+ return false
end
elsif $help || ! $filename || $filename.empty? then
usage
loadtree($tree)
loadenvironment($environment)
show_environment()
+ return true
elsif $batch && $filename && ! $filename.empty? then
# todo, take commands from file and avoid multiple starts and checks
+ return false
else
report("texmfstart version #{$version}")
loadtree($tree)
@@ -2524,33 +2539,42 @@ def execute(arguments)
make(filename,$mswindows,!$mswindows,$remove)
end
end
+ return true # guess
elsif $browser && $filename =~ /^http\:\/\// then
- launch($filename)
+ return launch($filename)
else
begin
process do
if $direct || $filename =~ /^bin\:/ then
- direct($filename)
+ return direct($filename)
elsif $edit && ! $editor.empty? then
- edit($filename)
+ return edit($filename)
else # script: or no prefix
command = find(shortpathname($filename),$program)
if command then
register("THREAD",File.dirname(File.expand_path(command)))
- run(command)
+ return run(command)
else
report('unable to locate program')
+ return false
end
end
end
rescue
report('fatal error in starting process')
+ return false
end
end
end
end
-execute(ARGV)
+if execute(ARGV) then
+ report("\nexecution was successful") if $verbose
+ exit(0)
+else
+ report("\nexecution failed") if $verbose
+ exit(1)
+end
-exit (if ($?.to_i rescue 0) > 0 then 1 else 0 end)
+# exit (if ($?.to_i rescue 0) > 0 then 1 else 0 end)
diff --git a/Master/bin/mips-irix/tftopl b/Master/bin/mips-irix/tftopl
index 28afd39123d..36e0ac0b807 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 3279b5d6fde..7bf50833269 100755
--- a/Master/bin/mips-irix/tie
+++ b/Master/bin/mips-irix/tie
Binary files differ
diff --git a/Master/bin/mips-irix/tpic2pdftex b/Master/bin/mips-irix/tpic2pdftex
deleted file mode 100755
index 70c1a33c7e8..00000000000
--- a/Master/bin/mips-irix/tpic2pdftex
+++ /dev/null
@@ -1,407 +0,0 @@
-#!/bin/sh -
-#
-# $Id: tpic2pdftex,v 1.94 2007/01/14 19:05:32 hahe Exp $
-#
-# Experimental awk-script for conversion of tpic \specials as produced
-# by (groff-)pic into pdfTeX \pdfliteral sections for further processing
-# by pdftex.
-#
-# Usage:
-# $ pic -t somefile.pic | tpic2pdftex > somefile.tex
-#
-# Process somefile.tex by pdftex/pdflatex.
-#
-# tpic \special desciption see e. g.:
-# Goossens, Rahtz, Mittelbach: The LaTeX Graphics Companion,
-# Addison-Wesley, 1997, pp. 464.
-#
-# Bugs:
-# Spline curve shapes not fully authentic (unknown algorithm).
-# Bounding box does not care for line thickness (groff pic feature).
-# Splines might be outside bounding box.
-#
-# Copyright (C) 2002--2004 by Hartmut Henkel
-#
-# 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
-#
-# The author may be contacted via the e-mail address
-#
-# hartmut_henkel@gmx.de
-#
-# NEWS:
-# 14 Jan. 2007 - make it executable shell script, calling awk
-# 16 Dec. 2004 - Replaced // {print} by {print} (some AWKs did choke)
-# 09 Apr. 2004 - Locale check: Decimal point in float numbers?
-# 30 Oct. 2003 - Replaced print statements by printf to avoid
-# underflow numbers like 1e-14 in \pdfliterals. Remove trailing
-# zeroes of floating point numbers.
-# 02 May 2003 - Lines starting with \ allow TeX insertions,
-# e. g. of pdfTeX \pdfliteral{}
-# 29 Apr. 2003 - Changed for pic of groff 1.19
-# 16 Mar. 2003 - Bug corrected: Dashed lines shorter than minimum
-# dash-pause length now drawn solid.
-# 11 Nov. 2002 - Spline drawing improved: First half of first and last
-# half of last spline segments are drawn by straight lines.
-# 28 Nov. 2002 - Arc and circle drawing cleaned up. Full circle is now
-# drawn by 4 Bezier curves, as is common use. Arcs split evenly into
-# Bezier curves, to minimize max. error.
-# 02 Dec. 2002 - Experimental pic (groff > 1.18.1) with improved
-# vertical picture positioning supported.
-# 04 Dec. 2002 - Experiment with modified pic (\vtop -> \vbox),
-# Formula for Bezier constant c reduced.
-#
-########################################################################
-
-AWK=${AWK:-gawk}
-export LANG="C"
-
-AWKPROG='
-# begin of awk input file
-
-function qprintf(a) {
- gsub(/0* /," ", a); # trailing zeroes in %f
- gsub(/\. /," ", a); # orphaned decimal dots
- gsub(/0*]/,"]", a); # trailing zeroes in brackets
- gsub(/0X/,"0", a); # guard integer zeroes
- gsub(/-0 /,"0 ", a); # correct -0 to 0
- print a;
-}
-
-function startpdfliteral() {
- if (pdfliteral == 0) {
- print "\\pdfliteral{";
- printf("q [] 0 d %d J %d j\n", linecap, linejoin); # no qprintf!
- qprintf(sprintf("%f w", linethickness * wscale));
- }
- pdfliteral = 1;
-}
-
-function stoppdfliteral() {
- if (pdfliteral == 1) {
- print "Q";
- print "}%";
- }
- pdfliteral = 0;
-}
-
-########################################################################
-
-BEGIN{
- wscale = 72.0 / 1000;
- tpicmode = 0;
- pdfliteral = 0;
- pointbuf = 0;
- filled = 0;
- fillval = 0;
- linecap = 1;
- linejoin = 1;
- defaultlinethickness = 8;
- drawarc = 0;
- pi = atan2(0, -1);
- if (match(sprintf("%f", 0.5), /\./) == 0) {
- print "ERROR: Floating point numbers miss decimal point. Do"
- print " export LANG=\"C\""
- print "before calling awk."
- print "ERROR: Floating point numbers miss decimal point. Do" > "/dev/stderr"
- print " export LANG=\"C\"" > "/dev/stderr"
- print "before calling awk." > "/dev/stderr"
- exit 1;
- }
-}
-
-########################################################################
-
-# the following expression triggers tpic processing for pic <= 1.18.1
-
-/^\\setbox\\graph=\\vtop{/ {
- pdfliteral = 0;
- tpicmode = 1;
- linethickness = defaultlinethickness;
-}
-
-# the following expression triggers tpic processing for pic = 1.19
-
-/^\\expandafter\\setbox\\csname graph\\endcsname/ {
- pdfliteral = 0;
- tpicmode = 1;
- linethickness = defaultlinethickness;
-}
-
-# TeX parts end \pdfliteral, and also TeX parts embedded in .PS ... .PE
-# section end \pdfliteral
-
-/^ *\\graphtemp|^ *\\rlap|^ *\\advance|^\\|^ *\\hbox/ {
- if(tpicmode == 1)
- stoppdfliteral();
-}
-
-/^}%/ {
- if(tpicmode == 1)
- tpicmode = 0;
-}
-
-########################################################################
-
-# all specials handling
-
-/^ *\\special/ {
- if(tpicmode == 1)
- startpdfliteral();
-}
-
-# <pn> set pen size
-
-/^ *\\special{pn/ {
- gsub(/[{}]/, " ");
- linethickness = $3 + 0;
- qprintf(sprintf("%f w", linethickness * wscale));
- next;
-}
-
-# <pa> add point to path
-
-/^ *\\special{pa/ {
- gsub(/[{}]/, " ");
- x[pointbuf] = $3 + 0;
- y[pointbuf] = $4 + 0;
- pointbuf++;
- next;
-}
-
-# <fp> print path as straight lines
-
-/^ *\\special{fp/ {
- if (filled == 1)
- qprintf(sprintf("q %f g", 1 - fillval));
- qprintf(sprintf("%f %f m", x[0] * wscale, -y[0] * wscale));
- for (i = 1; i < pointbuf; i++)
- qprintf(sprintf("%f %f l", x[i] * wscale, -y[i] * wscale));
- if (filled == 1)
- print "B Q";
- else
- print "S";
- pointbuf = 0;
- filled = 0;
- next;
-}
-
-# <da> print path as straight dashed lines
-
-/^ *\\special{da/ {
- gsub(/[{}]/, " ");
- don = ($3 + 0) * 1000;
- if (filled == 1) {
- qprintf(sprintf("q %f g", 1 - fillval));
- qprintf(sprintf("%f %f m", x[0] * wscale, -y[0] * wscale));
- for (i = 1; i < pointbuf; i++)
- qprintf(sprintf("%f %f l", x[i] * wscale, -y[i] * wscale));
- print "f Q";
- }
- for (i = 1; i < pointbuf; i++) {
- dx = x[i] - x[i - 1];
- dy = y[i] - y[i - 1];
- len = sqrt(dx * dx + dy * dy);
- non = int(0.5 * len / don + 0.75);
- noff = non - 1;
- lon = don * non;
- loff = len - lon;
- if(noff > 0) {
- doff = loff / noff;
- qprintf(sprintf("q [%f %f] 0X d", don * wscale, doff * wscale));
- } else {
- print "q [] 0 d";
- }
- qprintf(sprintf("%f %f m", x[i - 1] * wscale, -y[i - 1] * wscale));
- qprintf(sprintf("%f %f l", x[i] * wscale, -y[i] * wscale));
- print "S Q";
- }
- pointbuf = 0;
- filled = 0;
- next;
-}
-
-# <dt> print path as straight dotted lines
-
-/^ *\\special{dt/ {
- gsub(/[{}]/, " ");
- dt = ($3 + 0) * 1000;
- if (filled == 1) {
- qprintf(sprintf("q %f g", 1 - fillval));
- qprintf(sprintf("%f %f m", x[0] * wscale, -y[0] * wscale));
- for (i = 1; i < pointbuf; i++)
- qprintf(sprintf("%f %f l", x[i] * wscale, -y[i] * wscale));
- print "f Q";
- }
- for (i = 1; i < pointbuf; i++) {
- dx = x[i] - x[i - 1];
- dy = y[i] - y[i - 1];
- len = sqrt(dx * dx + dy * dy);
- dl = int (len / dt + 0.5);
- if (!dl)
- dtl = len;
- else
- dtl = len / dl;
- qprintf(sprintf("q [0X %f] 0X d", dtl * wscale));
- qprintf(sprintf("%f %f m", x[i - 1] * wscale, -y[i - 1] * wscale));
- qprintf(sprintf("%f %f l", x[i] * wscale, -y[i] * wscale));
- print "S Q";
- }
- pointbuf = 0;
- filled = 0;
- next;
-}
-
-# <ip> like <fp>, but path actually not drawn
-
-/^ *\\special{ip/ {
- if (filled == 1)
- qprintf(sprintf("q %f g", 1 - fillval));
- qprintf(sprintf("%f %f m", x[0] * wscale, -y[0] * wscale));
- for (i = 1; i < pointbuf; i++)
- qprintf(sprintf("%f %f l", x[i] * wscale, -y[i] * wscale));
- if (filled == 1)
- print "f Q";
- else
- print "f";
- pointbuf = 0;
- filled = 0;
- next;
-}
-
-# <sp> like <fp>, but path printed as splines
-
-/^ *\\special{sp/ {
- gsub(/[{}]/, " ");
- don = ($3 + 0) * 1000;
- a = 0.68; # fudge, visually optimized
- x[pointbuf] = x[pointbuf - 1];
- y[pointbuf] = y[pointbuf - 1];
-
- if (don > 0)
- qprintf(sprintf("q [%f] 0X d", don * wscale));
- if (don < 0)
- qprintf(sprintf("q [0X %f] 0X d", -don * wscale));
-
- qprintf(sprintf("%f %f m", x[0] * wscale, -y[0] * wscale));
-
- if(pointbuf < 3)
- qprintf(sprintf("%f %f l", x[pointbuf - 1] * wscale, -y[pointbuf - 1] * wscale));
- else {
- qprintf(sprintf("%f %f l", 0.5 * (x[0] + x[1]) * wscale, \
- -0.5 * (y[0] + y[1]) * wscale)); # start straight, see cstr116.ps
- for (i = 1; i < pointbuf - 1; i++)
- qprintf(sprintf("%f %f %f %f %f %f c", \
- (a * x[i] + (1 - a) * 0.5 * (x[i] + x[i - 1])) * wscale, \
- -(a * y[i] + (1 - a) * 0.5 * (y[i] + y[i - 1])) * wscale, \
- (a * x[i] + (1 - a) * 0.5 * (x[i] + x[i + 1])) * wscale, \
- -(a * y[i] + (1 - a) * 0.5 * (y[i] + y[i + 1])) * wscale, \
- 0.5 * (x[i] + x[i + 1]) * wscale, -0.5 * (y[i] + y[i + 1]) * wscale));
- qprintf(sprintf("%f %f l", x[pointbuf - 1] * wscale, -y[pointbuf - 1] * wscale));
- }
- if (filled == 1) {
- qprintf(sprintf("q %f g", 1 - fillval));
- print "B Q";
- }
- else
- print "S";
- if (don != 0)
- print "Q";
- pointbuf = 0;
- filled = 0;
- next;
-}
-
-# <sh> prepare shading of object interior
-
-/^ *\\special{sh/ {
- gsub(/[{}]/, " ");
- fillval = $3 + 0;
- filled = 1;
- next;
-}
-
-# <ar> draw arc
-# <ia> like <ar>, but arc actually not drawn
-
-/^ *\\special{ar/ {
- drawarc = 1;
-}
-
-/^ *\\special{ar|^ *\\special{ia/ {
- gsub(/[{}]/, " ");
- xc = $3 + 0;
- yc = $4 + 0;
- rx = $5 + 0;
- ry = $6 + 0;
- s = $7 + 0;
- e = $8 + 0;
- if (e - s > 2 * pi) e = s + 2 * pi;
- if (s - e > 2 * pi) e = s - 2 * pi;
- curvespercircle = 4; # max. number Bezier curves per circle
- phi_max = 1.001 * 2 * pi / curvespercircle;
- if (e > s)
- imax = int ((e - s) / phi_max) + 1;
- else
- imax = int ((s - e) / phi_max) + 1;
- phi = (e - s) / imax;
-
- # parameter for Bezier control vectors, c(90 deg.) = 0.55228...:
- c = 4 * (1 - cos(0.5 * phi)) / (3 * sin(0.5 * phi));
-
- x0 = rx * cos(s) + xc;
- y0 = ry * sin(s) + yc;
- qprintf(sprintf("%f %f m", x0 * wscale, -y0 * wscale));
- for (i = 0; i < imax; i++) {
- x1 = x0 - rx * c * sin(s + i * phi);
- y1 = y0 + ry * c * cos(s + i * phi);
- x3 = rx * cos(s + (i + 1) * phi) + xc;
- y3 = ry * sin(s + (i + 1) * phi) + yc;
- x2 = x3 + rx * c * sin(s + (i + 1) * phi);
- y2 = y3 - ry * c * cos(s + (i + 1) * phi);
- qprintf(sprintf("%f %f %f %f %f %f c", x1 * wscale, -y1 * wscale, \
- x2 * wscale, -y2 * wscale, x3 * wscale, -y3 * wscale));
- x0 = x3;
- y0 = y3;
- }
- if(drawarc == 1) {
- if (filled == 1) {
- qprintf(sprintf("h q %f g", 1 - fillval));
- print "B Q";
- }
- else
- print "S";
- } else {
- if (filled == 1) {
- qprintf(sprintf("h q %f g", 1 - fillval));
- print "f Q";
- }
- else
- print "f";
- }
- filled = 0;
- drawarc = 0;
- next;
-}
-
-########################################################################
-
-{print}
-
-########################################################################
-'
-# end of awk input file
-
-$AWK "$AWKPROG" "$@"
diff --git a/Master/bin/mips-irix/ttf2afm b/Master/bin/mips-irix/ttf2afm
index 186c9396c80..a6610c7d046 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 ad6a9841ed3..4cd4d5b6142 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 3b4e2e06c18..b4e2d2763e6 100755
--- a/Master/bin/mips-irix/ttf2tfm
+++ b/Master/bin/mips-irix/ttf2tfm
Binary files differ
diff --git a/Master/bin/mips-irix/ttftotype42 b/Master/bin/mips-irix/ttftotype42
index 3c997931bd3..d1cc79eda6c 100755
--- a/Master/bin/mips-irix/ttftotype42
+++ b/Master/bin/mips-irix/ttftotype42
Binary files differ
diff --git a/Master/bin/mips-irix/vftovp b/Master/bin/mips-irix/vftovp
index 9f529ba399c..9a46dd42f31 100755
--- a/Master/bin/mips-irix/vftovp
+++ b/Master/bin/mips-irix/vftovp
Binary files differ
diff --git a/Master/bin/mips-irix/vptovf b/Master/bin/mips-irix/vptovf
index 080e311c04b..d3f205d7747 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 b45cc90399c..5b53948e401 100755
--- a/Master/bin/mips-irix/weave
+++ b/Master/bin/mips-irix/weave
Binary files differ
diff --git a/Master/bin/mips-irix/xdvi-motif.bin b/Master/bin/mips-irix/xdvi-motif.bin
index a66db00294f..6b081489902 100755
--- a/Master/bin/mips-irix/xdvi-motif.bin
+++ b/Master/bin/mips-irix/xdvi-motif.bin
Binary files differ
diff --git a/Master/bin/mips-irix/xdvipdfmx b/Master/bin/mips-irix/xdvipdfmx
index 7cc46fa2495..866139815ca 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 bbb0414755a..740fefc7b08 100755
--- a/Master/bin/mips-irix/xetex
+++ b/Master/bin/mips-irix/xetex
Binary files differ