summaryrefslogtreecommitdiff
path: root/Master/bin/sparc-linux/e2pall
diff options
context:
space:
mode:
authorVladimir Volovich <vvv@vsu.ru>2008-06-06 02:48:01 +0000
committerVladimir Volovich <vvv@vsu.ru>2008-06-06 02:48:01 +0000
commitd43f1383179af4f33a030b2e506385f62903e487 (patch)
treeb6c8b7be1e0e82f6dc02c90f2d49ad18a93f9ca3 /Master/bin/sparc-linux/e2pall
parent717dcae7091b58705ae1e8634c9c7951334751b2 (diff)
fix symlinks, and remove texi2html and xdvizilla. this should have happened automatically
if one would have used the Master/tlpkg/bin/tl-update-bindir script. svn rm a2ping && ln -s ../../texmf/scripts/a2ping/a2ping.pl a2ping && svn add a2ping svn rm e2pall && ln -s ../../texmf/scripts/tetex/e2pall.pl e2pall && svn add e2pall svn rm ebb && ln -s dvipdfmx ebb && svn add ebb svn rm ebong && ln -s ../../texmf-dist/scripts/bengali/ebong.py ebong && svn add ebong svn rm epstopdf && ln -s ../../texmf/scripts/epstopdf/epstopdf.pl epstopdf && svn add epstopdf svn rm getnonfreefonts && ln -s ../../texmf/scripts/texlive/getnonfreefonts.pl getnonfreefonts && svn add getnonfreefonts svn rm ht && ln -s ../../texmf-dist/scripts/tex4ht/ht.sh ht && svn add ht svn rm htcontext && ln -s ../../texmf-dist/scripts/tex4ht/htcontext.sh htcontext && svn add htcontext svn rm htlatex && ln -s ../../texmf-dist/scripts/tex4ht/htlatex.sh htlatex && svn add htlatex svn rm htmex && ln -s ../../texmf-dist/scripts/tex4ht/htmex.sh htmex && svn add htmex svn rm httex && ln -s ../../texmf-dist/scripts/tex4ht/httex.sh httex && svn add httex svn rm httexi && ln -s ../../texmf-dist/scripts/tex4ht/httexi.sh httexi && svn add httexi svn rm mk4ht && ln -s ../../texmf-dist/scripts/tex4ht/mk4ht.pl mk4ht && svn add mk4ht svn rm pdfcrop && ln -s ../../texmf-dist/scripts/pdfcrop/pdfcrop.pl pdfcrop && svn add pdfcrop svn rm perltex && ln -s ../../texmf-dist/scripts/perltex/perltex.pl perltex && svn add perltex svn rm pkfix && ln -s ../../texmf/scripts/pkfix/pkfix.pl pkfix && svn add pkfix svn rm ps2eps && ln -s ../../texmf/scripts/ps2eps/ps2eps.pl ps2eps && svn add ps2eps svn rm ps4pdf && ln -s ../../texmf-dist/scripts/pst-pdf/ps4pdf ps4pdf && svn add ps4pdf svn rm simpdftex && ln -s ../../texmf/scripts/simpdftex/simpdftex simpdftex && svn add simpdftex svn rm texdoc && ln -s ../../texmf/scripts/texlive/texdoc.tlu texdoc && svn add texdoc svn rm texdoctk && ln -s ../../texmf/scripts/tetex/texdoctk.pl texdoctk && svn add texdoctk svn rm thumbpdf && ln -s ../../texmf-dist/scripts/thumbpdf/thumbpdf.pl thumbpdf && svn add thumbpdf svn rm vpe && ln -s ../../texmf-dist/scripts/vpe/vpe.pl vpe && svn add vpe svn rm texi2html svn rm xdvizilla git-svn-id: svn://tug.org/texlive/trunk@8588 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/bin/sparc-linux/e2pall')
l---------[-rwxr-xr-x]Master/bin/sparc-linux/e2pall90
1 files changed, 1 insertions, 89 deletions
diff --git a/Master/bin/sparc-linux/e2pall b/Master/bin/sparc-linux/e2pall
index 2997f8b1102..47465883225 100755..120000
--- a/Master/bin/sparc-linux/e2pall
+++ b/Master/bin/sparc-linux/e2pall
@@ -1,89 +1 @@
-#!/usr/bin/env perl
-
-# Author: Jody Klymak <jklymak@apl.washington.edu>, publisted by a posting
-# to the pdftex mailinglist.
-
-# recursively finds all your eps files. Looks down \input{fname}.
-# CAVEATS:
-# 1) cannot handle \input{fname} split over more than one line.
-# 1.5) cannot handle multiple \input{} or \includegraphics{} on one line.
-# 2) Must be run from same directory as the Latex file.
-# 3) Does not look down $TEXINPUTS or anything fancy like that...
-# 4) Handling of \include is untested (though I guess its trivial)
-# 5) Assumes *all* your graphics inclusions are [e]ps. But don't
-# fret, because if they are not epstopdf dies anyhow....
-# 6) Does not distinguish between percent (\%) and comment (%).
-
-# Changelog:
-# 20030103 -- Lachlan Andrew <lha@users.sourceforge.net>
-# * Only append '.tex' if $fname doesn't exist.
-# * Correctly handle lines with '}' after the \includegraphics{}
-# * Allow multiple extensions for graphics files. .eps -> .ps -> none
-# (Should try them in the same order as \includegraphics does
-# -- given by \DeclareGraphicsExtensions{}?)
-# * Allow \include the same way as \input
-# * Allow \includegraphics{} to be split over multiple lines
-# * Check that commands begin with '\', and allow spaces before arguments
-
-# EDIT these two lines for your system....
-
-$Eps2PdfCom = "epstopdf";
-$ThisFunCom = "e2pall";
-
-$fname=$ARGV[0];
-
-# check for a *.tex at the end...
-if ((-f "$fname")=="" && $fname !~ /.tex$/){
- $fname = "$fname.tex";
-}
-
-open(TEXFILE,$fname) or die "Cannot open file $fname";
-# print "Finding *.eps files in $fname\n";
-
-$seekingArg = 0;
-while($line=<TEXFILE>){
- # truncate $line after % sign....
- $line=~s/%.*//;
- # check for /input....
- if ($line=~/\\input *{([^}]*)}/){
- print `$ThisFunCom $1`;
- }
- # check for /include....
- if ($line=~/\\include *{([^}]*)}/){
- print `$ThisFunCom $1`;
- }
-
- $base = "";
- if ($line=~/\\includegraphics.*{([^}]*)}/){
- $base = $1;
- }
- elsif ($seekingArg==1 && ($line=~/{([^}]*)}/)){
- $base = $1;
- }
- elsif ($line=~/\\includegraphics/){
- $seekingArg = 1;
- }
-
- if ($base ne "") {
- $seekingArg = 0;
- if ((-f "$base.eps")!="") {
- $srcfile = "$base.eps";
- }
- elsif ((-f "$base.ps")!=""){
- $srcfile = "$base.ps";
- }
- else {
- $srcfile = $base;
- }
- # check that the [e]ps version is newer than the pdf version....
- if ((-M "$base.pdf")=="" || (-M "$base.pdf") >= (-M "$srcfile")){
- print "Constructing \t $base.pdf from $srcfile\n";
- print `$Eps2PdfCom $srcfile`;
- }
- else{
- print "$base.pdf \t is up to date with $srcfile\n";
- }
-
- };
-}
-close(TEXFILE);
+../../texmf/scripts/tetex/e2pall.pl \ No newline at end of file