diff options
author | Jonathan Kew <jfkthame@googlemail.com> | 2007-01-11 15:36:30 +0000 |
---|---|---|
committer | Jonathan Kew <jfkthame@googlemail.com> | 2007-01-11 15:36:30 +0000 |
commit | 327b98b773d7ab4d2e43d51b41c16b4f190c296c (patch) | |
tree | 5bd64eeebf62d42e4512b692b0872fbce5a5a8c8 /Master/bin | |
parent | c344037774148cf79951ace910fb462d6e4f3115 (diff) |
fresh powerpc-darwin binaries from src rev.3340
git-svn-id: svn://tug.org/texlive/trunk@3342 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/bin')
72 files changed, 87 insertions, 70 deletions
diff --git a/Master/bin/powerpc-darwin/afm2pl b/Master/bin/powerpc-darwin/afm2pl Binary files differindex 51c56583b64..8eba0c48ee2 100755 --- a/Master/bin/powerpc-darwin/afm2pl +++ b/Master/bin/powerpc-darwin/afm2pl diff --git a/Master/bin/powerpc-darwin/afm2tfm b/Master/bin/powerpc-darwin/afm2tfm Binary files differindex b6008d6406a..da8f2fc80ad 100755 --- a/Master/bin/powerpc-darwin/afm2tfm +++ b/Master/bin/powerpc-darwin/afm2tfm diff --git a/Master/bin/powerpc-darwin/aleph b/Master/bin/powerpc-darwin/aleph Binary files differindex 42662dd88d0..8c9e2b66aae 100755 --- a/Master/bin/powerpc-darwin/aleph +++ b/Master/bin/powerpc-darwin/aleph diff --git a/Master/bin/powerpc-darwin/bbox b/Master/bin/powerpc-darwin/bbox Binary files differindex 1b4d8e9fad1..bde9495fdd5 100755 --- a/Master/bin/powerpc-darwin/bbox +++ b/Master/bin/powerpc-darwin/bbox diff --git a/Master/bin/powerpc-darwin/bibtex b/Master/bin/powerpc-darwin/bibtex Binary files differindex 90f77dc1fdd..8e2a699eb81 100755 --- a/Master/bin/powerpc-darwin/bibtex +++ b/Master/bin/powerpc-darwin/bibtex diff --git a/Master/bin/powerpc-darwin/bibtex8 b/Master/bin/powerpc-darwin/bibtex8 Binary files differindex 2450e3cc8a6..489c375978f 100755 --- a/Master/bin/powerpc-darwin/bibtex8 +++ b/Master/bin/powerpc-darwin/bibtex8 diff --git a/Master/bin/powerpc-darwin/ctangle b/Master/bin/powerpc-darwin/ctangle Binary files differindex 0a5ecb64be1..fd3d2bcb130 100755 --- a/Master/bin/powerpc-darwin/ctangle +++ b/Master/bin/powerpc-darwin/ctangle diff --git a/Master/bin/powerpc-darwin/ctie b/Master/bin/powerpc-darwin/ctie Binary files differindex 124ed681960..ff28c9553cf 100755 --- a/Master/bin/powerpc-darwin/ctie +++ b/Master/bin/powerpc-darwin/ctie diff --git a/Master/bin/powerpc-darwin/cweave b/Master/bin/powerpc-darwin/cweave Binary files differindex 21b0cb93bb5..b90a297edf1 100755 --- a/Master/bin/powerpc-darwin/cweave +++ b/Master/bin/powerpc-darwin/cweave diff --git a/Master/bin/powerpc-darwin/detex b/Master/bin/powerpc-darwin/detex Binary files differindex 0587de0817b..8223819bb84 100755 --- a/Master/bin/powerpc-darwin/detex +++ b/Master/bin/powerpc-darwin/detex diff --git a/Master/bin/powerpc-darwin/dmp b/Master/bin/powerpc-darwin/dmp Binary files differindex db281d8a012..ba0185a1659 100755 --- a/Master/bin/powerpc-darwin/dmp +++ b/Master/bin/powerpc-darwin/dmp diff --git a/Master/bin/powerpc-darwin/dt2dv b/Master/bin/powerpc-darwin/dt2dv Binary files differindex c6c10432c3a..f268e638c02 100755 --- a/Master/bin/powerpc-darwin/dt2dv +++ b/Master/bin/powerpc-darwin/dt2dv diff --git a/Master/bin/powerpc-darwin/dvicopy b/Master/bin/powerpc-darwin/dvicopy Binary files differindex 69d63e4fd49..d51249dfd93 100755 --- a/Master/bin/powerpc-darwin/dvicopy +++ b/Master/bin/powerpc-darwin/dvicopy diff --git a/Master/bin/powerpc-darwin/dvilj b/Master/bin/powerpc-darwin/dvilj Binary files differindex 47b9df1d9fe..1d3b3a8411e 100755 --- a/Master/bin/powerpc-darwin/dvilj +++ b/Master/bin/powerpc-darwin/dvilj diff --git a/Master/bin/powerpc-darwin/dvilj2p b/Master/bin/powerpc-darwin/dvilj2p Binary files differindex ea8141ec5d1..5bd85849a6a 100755 --- a/Master/bin/powerpc-darwin/dvilj2p +++ b/Master/bin/powerpc-darwin/dvilj2p diff --git a/Master/bin/powerpc-darwin/dvilj4 b/Master/bin/powerpc-darwin/dvilj4 Binary files differindex 8bc622a644b..0b8d8b4d214 100755 --- a/Master/bin/powerpc-darwin/dvilj4 +++ b/Master/bin/powerpc-darwin/dvilj4 diff --git a/Master/bin/powerpc-darwin/dvilj4l b/Master/bin/powerpc-darwin/dvilj4l Binary files differindex 16eb0be2dbc..4fe70de5516 100755 --- a/Master/bin/powerpc-darwin/dvilj4l +++ b/Master/bin/powerpc-darwin/dvilj4l diff --git a/Master/bin/powerpc-darwin/dvipdfm b/Master/bin/powerpc-darwin/dvipdfm Binary files differindex 0c92bc7dbd5..5c0e767d81e 100755 --- a/Master/bin/powerpc-darwin/dvipdfm +++ b/Master/bin/powerpc-darwin/dvipdfm diff --git a/Master/bin/powerpc-darwin/dvipdfmx b/Master/bin/powerpc-darwin/dvipdfmx Binary files differindex 7c36e339d81..26d1faee507 100755 --- a/Master/bin/powerpc-darwin/dvipdfmx +++ b/Master/bin/powerpc-darwin/dvipdfmx diff --git a/Master/bin/powerpc-darwin/dvipng b/Master/bin/powerpc-darwin/dvipng Binary files differindex de085bfcd93..b56c9c4b160 100755 --- a/Master/bin/powerpc-darwin/dvipng +++ b/Master/bin/powerpc-darwin/dvipng diff --git a/Master/bin/powerpc-darwin/dvipos b/Master/bin/powerpc-darwin/dvipos Binary files differnew file mode 100755 index 00000000000..a15dd96ef8a --- /dev/null +++ b/Master/bin/powerpc-darwin/dvipos diff --git a/Master/bin/powerpc-darwin/dvips b/Master/bin/powerpc-darwin/dvips Binary files differindex d2483dae43a..c02addb76cb 100755 --- a/Master/bin/powerpc-darwin/dvips +++ b/Master/bin/powerpc-darwin/dvips diff --git a/Master/bin/powerpc-darwin/dvitomp b/Master/bin/powerpc-darwin/dvitomp Binary files differindex 0c764c7b29b..3611249eac3 100755 --- a/Master/bin/powerpc-darwin/dvitomp +++ b/Master/bin/powerpc-darwin/dvitomp diff --git a/Master/bin/powerpc-darwin/dvitype b/Master/bin/powerpc-darwin/dvitype Binary files differindex 5bce3630fb1..20a0cb9c0be 100755 --- a/Master/bin/powerpc-darwin/dvitype +++ b/Master/bin/powerpc-darwin/dvitype diff --git a/Master/bin/powerpc-darwin/ebb b/Master/bin/powerpc-darwin/ebb Binary files differindex e409a2ef834..7ac70026775 100755 --- a/Master/bin/powerpc-darwin/ebb +++ b/Master/bin/powerpc-darwin/ebb diff --git a/Master/bin/powerpc-darwin/fmtutil b/Master/bin/powerpc-darwin/fmtutil index e061f4f20af..9342c679aaf 100755 --- a/Master/bin/powerpc-darwin/fmtutil +++ b/Master/bin/powerpc-darwin/fmtutil @@ -24,10 +24,12 @@ # Options: # --cnffile file set configfile for fmtutil # --fmtdir directory set destination directory for format files +# --no-engine-subdir don't use $engine subdirectory of the fmtdir ############################################################################### ############################################################################### # program history: +# 2007-01-04 patch by JK to support $engine subdir (enabled by default) # Fr Apr 8 19:15:05 CEST 2005 cleanup now has an argument for the return code # Do Mar 02 10:42:31 CET 2006 add tmpdir to TEXFORMATS # So Mär 27 18:52:06 CEST 2005 honor $TMPDIR, $TEMP and $TMP, not just $TMP @@ -198,6 +200,7 @@ Usage: fmtutil [option] ... cmd [argument] Valid options: --cnffile file --fmtdir directory + --no-engine-subdir don't use engine-specific subdir of the fmtdir --quiet (not implemented, just for compatibility) --test (not implemented, just for compatibility) --dolinks (not implemented, just for compatibility) @@ -383,6 +386,7 @@ main() ;; esac + use_engine_dir=true # whether to use web2c/$engine subdirs while case $1 in --cnffile) @@ -393,6 +397,8 @@ main() shift; destdir=$1;; --fmtdir=*) destdir=`echo "$1" | sed 's/--fmtdir=//'`; shift ;; + --no-engine-subdir) + use_engine_dir=false;; --all|-a) cmd=all;; --edit|-e) @@ -547,31 +553,11 @@ main() refresh) recreate_existing;; byfmt) - create_one_format "$arg";; + recreate_by_fmt "$arg";; byhyphen) recreate_by_hyphenfile "$arg";; esac - # install the log files and format files: - for i in *.log; do - test -f "$i" || continue - rm -f "$destdir/$i" - - # We don't want user-interaction for the following "mv" command: - mv "$i" "$destdir/$i" </dev/null - done - for i in *.fmt *.mem *.base; do - test -f "$i" || continue - rm -f "$destdir/$i" - - # We don't want user-interaction for the following "mv" command: - if mv "$i" "$destdir/$i" </dev/null; then - verboseMsg "$progname: $destdir/$i installed." - $mktexfmtMode && echo "$destdir/$i" - fi - mktexupd "$destdir" "$i" - done - byebye } @@ -622,9 +608,9 @@ parse_line() inifile=`echo $lastarg | sed 's%^\*%%'` case "$engine" in - mpost) fmtfile="$format.mem"; kpsefmt=mpost;; - mf|mfw|mf-nowin) fmtfile="$format.base"; kpsefmt=mf;; - *) fmtfile="$format.fmt"; kpsefmt=tex;; + mpost) fmtfile="$format.mem"; kpsefmt=mpost; texengine=metapost;; + mf|mfw|mf-nowin) fmtfile="$format.base"; kpsefmt=mf; texengine=metafont;; + *) fmtfile="$format.fmt"; kpsefmt=tex; texengine=$engine;; esac # See if we can find $inifile for return code: @@ -699,16 +685,30 @@ run_initex() verbose $engine -ini $tcxflag $jobswitch $prgswitch $texargs ) </dev/null + if test $use_engine_dir; then + fulldestdir="$destdir/$texengine" + else + fulldestdir="$destdir" + fi + 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." + rm -f "$fulldestdir/$format.log" + # We don't want user-interaction for the following "mv" commands: + mv "$format.log" "$fulldestdir/$format.log" </dev/null + if mv "$fmtfile" "$fulldestdir/$fmtfile" </dev/null; then + verboseMsg "$progname: $fulldestdir/$fmtfile installed." + $mktexfmtMode && echo "$fulldestdir/$fmtfile" + mktexupd "$fulldestdir" "$fmtfile" + fi else log_failure "\`$engine -ini $tcxflag $jobswitch $prgswitch $texargs' failed" fi } ############################################################################### -# recreate_loop(hyphenfile) +# recreate_loop() # for each line in config file: check match-condition and recreate format # if there is a match ############################################################################### @@ -723,7 +723,6 @@ recreate_loop() do parse_line $line || continue check_match || continue - echo; echo run_initex done } @@ -759,15 +758,14 @@ check_match() } ############################################################################### -# create_one_format(fmtname) -# (re)create the format file for the format `fmtname' +# recreate_by_fmt(fmtname) +# recreate all versions of fmtname ############################################################################### -create_one_format() +recreate_by_fmt() { fmtname=$1 - - find_info_for_name $fmtname || abort "format \`$fmtname' not available" - run_initex + match_cmd="test x\$format = x$fmtname" + recreate_loop } ############################################################################### @@ -777,7 +775,7 @@ create_one_format() create_missing() { # match_cmd='test ! -f $destdir/$fmtfile' - match_cmd='test ! -f "`kpsewhich -progname=$format $fmtfile`"' + match_cmd='test ! -f "`kpsewhich -engine=$texengine -progname=$format $fmtfile`"' recreate_loop } @@ -787,7 +785,7 @@ create_missing() ############################################################################### recreate_existing() { - match_cmd='test -f "`kpsewhich -progname=$format $fmtfile`"' + match_cmd='test -f "`kpsewhich -engine=$texengine -progname=$format $fmtfile`"' recreate_loop } @@ -862,7 +860,7 @@ disablefmt() grep "^$1[ ]" $cnf_file >/dev/null || { (exit 0); return 0; } ed $cnf_file >/dev/null 2>&1 <<-eof - /^$1[ ]/s/^/#! / + g/^$1[ ]/s/^/#! / w q eof @@ -877,7 +875,7 @@ enablefmt() { grep "^#![ ]*$1[ ]" $cnf_file >/dev/null || { (exit 0); return 0; } ed $cnf_file >/dev/null 2>&1 <<-eof - /^#![ ]*$1[ ]/s/..[ ]*// + g/^#![ ]*$1[ ]/s/..[ ]*// w q eof diff --git a/Master/bin/powerpc-darwin/gftodvi b/Master/bin/powerpc-darwin/gftodvi Binary files differindex 2dbff09c0eb..2860a022f7e 100755 --- a/Master/bin/powerpc-darwin/gftodvi +++ b/Master/bin/powerpc-darwin/gftodvi diff --git a/Master/bin/powerpc-darwin/gftopk b/Master/bin/powerpc-darwin/gftopk Binary files differindex dcac573a749..1cdb209162f 100755 --- a/Master/bin/powerpc-darwin/gftopk +++ b/Master/bin/powerpc-darwin/gftopk diff --git a/Master/bin/powerpc-darwin/gftype b/Master/bin/powerpc-darwin/gftype Binary files differindex 7f086571ee6..5946d04ea60 100755 --- a/Master/bin/powerpc-darwin/gftype +++ b/Master/bin/powerpc-darwin/gftype diff --git a/Master/bin/powerpc-darwin/gsftopk b/Master/bin/powerpc-darwin/gsftopk Binary files differindex 7772fdffef8..5f97cf2c6e6 100755 --- a/Master/bin/powerpc-darwin/gsftopk +++ b/Master/bin/powerpc-darwin/gsftopk diff --git a/Master/bin/powerpc-darwin/hbf2gf b/Master/bin/powerpc-darwin/hbf2gf Binary files differindex 46562574269..57b4acd1c9a 100755 --- a/Master/bin/powerpc-darwin/hbf2gf +++ b/Master/bin/powerpc-darwin/hbf2gf diff --git a/Master/bin/powerpc-darwin/htcontext b/Master/bin/powerpc-darwin/htcontext index 9d6d4549574..9e01fa97f66 100755 --- a/Master/bin/powerpc-darwin/htcontext +++ b/Master/bin/powerpc-darwin/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/powerpc-darwin/htlatex b/Master/bin/powerpc-darwin/htlatex index 1b8b7cea74a..ebab47dbaa6 100755 --- a/Master/bin/powerpc-darwin/htlatex +++ b/Master/bin/powerpc-darwin/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/powerpc-darwin/htmex b/Master/bin/powerpc-darwin/htmex index b4aa3d9a06e..485a7594468 100755 --- a/Master/bin/powerpc-darwin/htmex +++ b/Master/bin/powerpc-darwin/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/powerpc-darwin/httex b/Master/bin/powerpc-darwin/httex index 44920e72077..4c184897d13 100755 --- a/Master/bin/powerpc-darwin/httex +++ b/Master/bin/powerpc-darwin/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/powerpc-darwin/httexi b/Master/bin/powerpc-darwin/httexi index 0ce3cb4a589..26427698991 100755 --- a/Master/bin/powerpc-darwin/httexi +++ b/Master/bin/powerpc-darwin/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/powerpc-darwin/kpsewhich b/Master/bin/powerpc-darwin/kpsewhich Binary files differindex 739f7f4540b..afdf782a20f 100755 --- a/Master/bin/powerpc-darwin/kpsewhich +++ b/Master/bin/powerpc-darwin/kpsewhich diff --git a/Master/bin/powerpc-darwin/makeindex b/Master/bin/powerpc-darwin/makeindex Binary files differindex f3978e3bc02..ac1f8290a5d 100755 --- a/Master/bin/powerpc-darwin/makeindex +++ b/Master/bin/powerpc-darwin/makeindex diff --git a/Master/bin/powerpc-darwin/makempx b/Master/bin/powerpc-darwin/makempx Binary files differindex 659832b1fe5..88d757ed74f 100755 --- a/Master/bin/powerpc-darwin/makempx +++ b/Master/bin/powerpc-darwin/makempx diff --git a/Master/bin/powerpc-darwin/mf b/Master/bin/powerpc-darwin/mf Binary files differindex 1628e971d66..14bc88cc943 100755 --- a/Master/bin/powerpc-darwin/mf +++ b/Master/bin/powerpc-darwin/mf diff --git a/Master/bin/powerpc-darwin/mf-nowin b/Master/bin/powerpc-darwin/mf-nowin Binary files differindex 1489b306cdb..1d2c544f0f4 100755 --- a/Master/bin/powerpc-darwin/mf-nowin +++ b/Master/bin/powerpc-darwin/mf-nowin diff --git a/Master/bin/powerpc-darwin/mft b/Master/bin/powerpc-darwin/mft Binary files differindex 9036dcfcc67..8cb03869023 100755 --- a/Master/bin/powerpc-darwin/mft +++ b/Master/bin/powerpc-darwin/mft diff --git a/Master/bin/powerpc-darwin/mk4ht b/Master/bin/powerpc-darwin/mk4ht index 0f4b664506c..2bd1f7e2038 100755 --- a/Master/bin/powerpc-darwin/mk4ht +++ b/Master/bin/powerpc-darwin/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/powerpc-darwin/mpost b/Master/bin/powerpc-darwin/mpost Binary files differindex 3447589d2dd..7ae4d406ce0 100755 --- a/Master/bin/powerpc-darwin/mpost +++ b/Master/bin/powerpc-darwin/mpost diff --git a/Master/bin/powerpc-darwin/odvicopy b/Master/bin/powerpc-darwin/odvicopy Binary files differindex 454f9465acb..46aa76bf289 100755 --- a/Master/bin/powerpc-darwin/odvicopy +++ b/Master/bin/powerpc-darwin/odvicopy diff --git a/Master/bin/powerpc-darwin/odvitype b/Master/bin/powerpc-darwin/odvitype Binary files differindex 7e1fd819b88..6187ab62e60 100755 --- a/Master/bin/powerpc-darwin/odvitype +++ b/Master/bin/powerpc-darwin/odvitype diff --git a/Master/bin/powerpc-darwin/omega b/Master/bin/powerpc-darwin/omega Binary files differindex 5cffad64f95..80a0432cfb0 100755 --- a/Master/bin/powerpc-darwin/omega +++ b/Master/bin/powerpc-darwin/omega diff --git a/Master/bin/powerpc-darwin/omfonts b/Master/bin/powerpc-darwin/omfonts Binary files differindex 56098cae8b1..6b453cd0802 100755 --- a/Master/bin/powerpc-darwin/omfonts +++ b/Master/bin/powerpc-darwin/omfonts diff --git a/Master/bin/powerpc-darwin/otftotfm b/Master/bin/powerpc-darwin/otftotfm Binary files differindex d0e3c85a28e..79fdc066171 100755 --- a/Master/bin/powerpc-darwin/otftotfm +++ b/Master/bin/powerpc-darwin/otftotfm diff --git a/Master/bin/powerpc-darwin/otp2ocp b/Master/bin/powerpc-darwin/otp2ocp Binary files differindex f45771ff83f..14ebf5c27e9 100755 --- a/Master/bin/powerpc-darwin/otp2ocp +++ b/Master/bin/powerpc-darwin/otp2ocp diff --git a/Master/bin/powerpc-darwin/outocp b/Master/bin/powerpc-darwin/outocp Binary files differindex 3e361333b3a..4e7a0da3b06 100755 --- a/Master/bin/powerpc-darwin/outocp +++ b/Master/bin/powerpc-darwin/outocp diff --git a/Master/bin/powerpc-darwin/pdftex b/Master/bin/powerpc-darwin/pdftex Binary files differindex 3dfd0293888..e0accf82aa2 100755 --- a/Master/bin/powerpc-darwin/pdftex +++ b/Master/bin/powerpc-darwin/pdftex diff --git a/Master/bin/powerpc-darwin/pdftosrc b/Master/bin/powerpc-darwin/pdftosrc Binary files differnew file mode 100755 index 00000000000..7982dd5d9d4 --- /dev/null +++ b/Master/bin/powerpc-darwin/pdftosrc diff --git a/Master/bin/powerpc-darwin/pktogf b/Master/bin/powerpc-darwin/pktogf Binary files differindex 1cd72c28da8..d2b0d4afb64 100755 --- a/Master/bin/powerpc-darwin/pktogf +++ b/Master/bin/powerpc-darwin/pktogf diff --git a/Master/bin/powerpc-darwin/pktype b/Master/bin/powerpc-darwin/pktype Binary files differindex b7bfab3aa5b..b8c172a66a3 100755 --- a/Master/bin/powerpc-darwin/pktype +++ b/Master/bin/powerpc-darwin/pktype diff --git a/Master/bin/powerpc-darwin/ps2eps b/Master/bin/powerpc-darwin/ps2eps index 920e7398dd3..aeb0e9a8e43 100755 --- a/Master/bin/powerpc-darwin/ps2eps +++ b/Master/bin/powerpc-darwin/ps2eps @@ -1,12 +1,11 @@ -eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' && eval 'exec perl -S $0 $argv:q' # -*-perl-*- - if 0; +#!/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.54 2004/04/23 07:56:54 bless Exp $ +# $Id: ps2eps,v 1.61 2006/12/28 16:34:06 bless Exp $ # ------------------------------------------------------- -# (C)opyright 1999-2004 Roland Bless +# (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 @@ -23,7 +22,7 @@ eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' && eval 'exec perl -S $0 $ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # # Author: Roland Bless -# Send bug reports to roland@bless.de +# 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 @@ -44,18 +43,21 @@ use Getopt::Long; Getopt::Long::Configure("no_ignore_case"); $prgname= "ps2eps"; -if ($^O =~ /MSWin32/i or $^O =~ /cygwin/i) -{ + +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 >/dev/null 2>&1 -V`; +$bboxver=`bbox >$NULLDEV -V`; $bboxname= ($?== -1) ? "" : "bbox"; -$version= '$Id: ps2eps,v 1.54 2004/04/23 07:56:54 bless Exp $'; #' +$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 @@ -142,7 +144,7 @@ $licensetxt= "\ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n"; @prgidtxt= ( "$prgname - convert PostScript to EPS (Encapsulated PostScript) files\n", - "(C)opyright 1998-2004 Roland Bless\n\n" ); + "(C)opyright 1998-2006 Roland Bless\n\n" ); @helptxt= ("Version: $ver[2]\n", "Operation:\n", @@ -174,6 +176,7 @@ $licensetxt= "\ " 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", @@ -210,6 +213,7 @@ if (defined($ENV{"$envname_gsbbox"})) $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, @@ -227,6 +231,7 @@ GetOptions('f|force' => \$forceoverwrite, '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, @@ -260,6 +265,11 @@ $filenames[0]= '-' if (scalar(@filenames) == 0); # no file arguments, use STDIN print STDERR "Input files: @filenames\n" if (!$quiet); +if ($opt_r ne '') +{ + $resolution=$opt_r; +} + # papersize stuff if ($opt_s ne '') { @@ -523,10 +533,10 @@ while ($infname= (shift @filenames)) ## %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% ## -- calculate the bounding box -- ## %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - if ($translate_x>0 || $translate_y>0) + if ($translate_x!=0 || $translate_y!=0) { $translation="$translate_x $translate_y translate"; - $translatecmd="-c \'$translation\'"; + $translatecmd="-c $translation"; } else { @@ -554,7 +564,9 @@ while ($infname= (shift @filenames)) } else { - print STDERR "...using bbox device of $ghostscriptname..."; + 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"; } @@ -565,7 +577,7 @@ while ($infname= (shift @filenames)) if ($debuggs) { print STDERR "Call result: $boundingbox"; } # check result of gs call - if ($boundingbox !~ /^%%BoundingBox/) + if ($boundingbox !~ /^%%BoundingBox/m) { print STDERR "Error: Could not determine bounding box!\n", "I suppose $ghostscriptname had some trouble interpreting the postscript-file\n"; @@ -601,9 +613,12 @@ while ($infname= (shift @filenames)) if ($cBBlly > 0) { $cBBlly--; } $cBBurx++; $cBBury++; } - if (!$quiet && ($cBBllx < 0 || $cBBlly < 0 )) + if ($cBBllx < 0 || $cBBlly < 0) { - print STDERR "WARNING! Your drawing had a negative Bounding Box which is deprecated and may cause problems!. I'll shift it.\n"; + 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; diff --git a/Master/bin/powerpc-darwin/ps2pk b/Master/bin/powerpc-darwin/ps2pk Binary files differindex cfbaa64e187..4a9ac19cd71 100755 --- a/Master/bin/powerpc-darwin/ps2pk +++ b/Master/bin/powerpc-darwin/ps2pk diff --git a/Master/bin/powerpc-darwin/t4ht b/Master/bin/powerpc-darwin/t4ht Binary files differindex fcf85043037..4d9ed98d094 100755 --- a/Master/bin/powerpc-darwin/t4ht +++ b/Master/bin/powerpc-darwin/t4ht diff --git a/Master/bin/powerpc-darwin/tangle b/Master/bin/powerpc-darwin/tangle Binary files differindex 0ca721d9258..4ccb80e4bb1 100755 --- a/Master/bin/powerpc-darwin/tangle +++ b/Master/bin/powerpc-darwin/tangle diff --git a/Master/bin/powerpc-darwin/tex b/Master/bin/powerpc-darwin/tex Binary files differindex e7547713a26..b54d256123a 100755 --- a/Master/bin/powerpc-darwin/tex +++ b/Master/bin/powerpc-darwin/tex diff --git a/Master/bin/powerpc-darwin/tex4ht b/Master/bin/powerpc-darwin/tex4ht Binary files differindex cb13cf75e2b..ff7db52eba4 100755 --- a/Master/bin/powerpc-darwin/tex4ht +++ b/Master/bin/powerpc-darwin/tex4ht diff --git a/Master/bin/powerpc-darwin/texconfig b/Master/bin/powerpc-darwin/texconfig index f5a85098e0d..3f02cebb312 100755 --- a/Master/bin/powerpc-darwin/texconfig +++ b/Master/bin/powerpc-darwin/texconfig @@ -1257,7 +1257,7 @@ Valid PAPER settings: set x `getRes "$tcBatchPdftexMode"`; shift fmgrConfigReplace pdftexconfig.tex 'pdfpkresolution' "\\pdfpkresolution=$1" if $fmgrConfigReplaceChanged; then - fmtutil --all + fmtutil --refresh fi else echo "$progname: unknown MODE \`$tcBatchPdftexMode' given as argument for \`$progname pdftex mode'" >&2 @@ -1276,7 +1276,7 @@ Valid PAPER settings: wChanged=$fmgrConfigReplaceChanged fmgrConfigReplace pdftexconfig.tex pdfpageheight '\pdfpageheight='"$h" if $wChanged || $fmgrConfigReplaceChanged; then - fmtutil --all + fmtutil --refresh fi ;; a4) @@ -1285,7 +1285,7 @@ Valid PAPER settings: wChanged=$fmgrConfigReplaceChanged fmgrConfigReplace pdftexconfig.tex pdfpageheight '\pdfpageheight='"$h" if $wChanged || $fmgrConfigReplaceChanged; then - fmtutil --all + fmtutil --refresh fi ;; "") echo "$help" >&2; rc=1;; diff --git a/Master/bin/powerpc-darwin/tftopl b/Master/bin/powerpc-darwin/tftopl Binary files differindex ebc35c4f522..0ad595ba02c 100755 --- a/Master/bin/powerpc-darwin/tftopl +++ b/Master/bin/powerpc-darwin/tftopl diff --git a/Master/bin/powerpc-darwin/ttf2afm b/Master/bin/powerpc-darwin/ttf2afm Binary files differindex 68766dfd883..3ddfb21f65a 100755 --- a/Master/bin/powerpc-darwin/ttf2afm +++ b/Master/bin/powerpc-darwin/ttf2afm diff --git a/Master/bin/powerpc-darwin/ttf2pk b/Master/bin/powerpc-darwin/ttf2pk Binary files differindex 16f021a5c5c..df931323461 100755 --- a/Master/bin/powerpc-darwin/ttf2pk +++ b/Master/bin/powerpc-darwin/ttf2pk diff --git a/Master/bin/powerpc-darwin/ttf2tfm b/Master/bin/powerpc-darwin/ttf2tfm Binary files differindex 49c8720056f..124a995cb5e 100755 --- a/Master/bin/powerpc-darwin/ttf2tfm +++ b/Master/bin/powerpc-darwin/ttf2tfm diff --git a/Master/bin/powerpc-darwin/vftovp b/Master/bin/powerpc-darwin/vftovp Binary files differindex 0096014ca27..dd12d24ca91 100755 --- a/Master/bin/powerpc-darwin/vftovp +++ b/Master/bin/powerpc-darwin/vftovp diff --git a/Master/bin/powerpc-darwin/weave b/Master/bin/powerpc-darwin/weave Binary files differindex 9cd13dba999..1c0622dcf34 100755 --- a/Master/bin/powerpc-darwin/weave +++ b/Master/bin/powerpc-darwin/weave diff --git a/Master/bin/powerpc-darwin/xdv2pdf b/Master/bin/powerpc-darwin/xdv2pdf Binary files differindex 17176e23c23..36f207434f9 100755 --- a/Master/bin/powerpc-darwin/xdv2pdf +++ b/Master/bin/powerpc-darwin/xdv2pdf diff --git a/Master/bin/powerpc-darwin/xdvi-xaw.bin b/Master/bin/powerpc-darwin/xdvi-xaw.bin Binary files differindex ecb274852bf..1af74214216 100755 --- a/Master/bin/powerpc-darwin/xdvi-xaw.bin +++ b/Master/bin/powerpc-darwin/xdvi-xaw.bin diff --git a/Master/bin/powerpc-darwin/xdvipdfmx b/Master/bin/powerpc-darwin/xdvipdfmx Binary files differindex 99794de1338..87d12b97b20 100755 --- a/Master/bin/powerpc-darwin/xdvipdfmx +++ b/Master/bin/powerpc-darwin/xdvipdfmx diff --git a/Master/bin/powerpc-darwin/xetex b/Master/bin/powerpc-darwin/xetex Binary files differindex cb3ebbcfc3c..38e5bbf95f6 100755 --- a/Master/bin/powerpc-darwin/xetex +++ b/Master/bin/powerpc-darwin/xetex |