summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/latex-tds/lib
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2008-07-26 00:11:51 +0000
committerKarl Berry <karl@freefriends.org>2008-07-26 00:11:51 +0000
commit65f8da71e44b1576ce22edb029a75ef670d1c969 (patch)
tree4a2cd4b7d28f09e39d606d549295afe0e689142a /Master/texmf-dist/source/latex/latex-tds/lib
parentc331ebf222e05ae278abb62bfa66cd223cf68a0c (diff)
latex-tds update (25jul08)
git-svn-id: svn://tug.org/texlive/trunk@9777 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/latex-tds/lib')
-rwxr-xr-xMaster/texmf-dist/source/latex/latex-tds/lib/adjust_checksum.pl13
1 files changed, 8 insertions, 5 deletions
diff --git a/Master/texmf-dist/source/latex/latex-tds/lib/adjust_checksum.pl b/Master/texmf-dist/source/latex/latex-tds/lib/adjust_checksum.pl
index e690fb84057..e9c2903699e 100755
--- a/Master/texmf-dist/source/latex/latex-tds/lib/adjust_checksum.pl
+++ b/Master/texmf-dist/source/latex/latex-tds/lib/adjust_checksum.pl
@@ -5,7 +5,7 @@ $^W=1; # turn warning on
#
# adjust_checksum.pl
#
-# Copyright (C) 2006 by Heiko Oberdiek <oberdiek@uni-freiburg.de>
+# Copyright (C) 2006-2008 by Heiko Oberdiek <oberdiek@uni-freiburg.de>
#
# This work may be distributed and/or modified under the
# conditions of the LaTeX Project Public License, either
@@ -26,10 +26,10 @@ $^W=1; # turn warning on
#
my $file = "adjust_checksum.pl";
my $program = uc($&) if $file =~ /^\w+/;
-my $version = "1.3";
-my $date = "2007/09/25";
+my $version = "1.4";
+my $date = "2008/07/16";
my $author = "Heiko Oberdiek";
-my $copyright = "Copyright (c) 2002, 2006, 2007 by $author.";
+my $copyright = "Copyright (c) 2002, 2006-2008 by $author.";
#
# Reqirements: Perl5, Linux
# History:
@@ -37,6 +37,7 @@ my $copyright = "Copyright (c) 2002, 2006, 2007 by $author.";
# 2006/02/12 v1.1: Fix for \Checksum{0}.
# 2007/06/15 v1.2: -draftmode added.
# 2007/09/25 v1.3: ltxdoc.cfg added to speed up.
+# 2008/07/16 v1.4: Use of package `syntonly' for speed.
#
my $prg_latex = 'latex -draftmode';
@@ -115,7 +116,9 @@ close(OUT);
### run latex
print "*** Running LaTeX ...\n";
-system("(cd $tempdir; $prg_latex --interaction=batchmode $latexfile)");
+my $argcode = "'\\AtBeginDocument{\\usepackage{syntonly}\\syntaxonly}"
+ . "\\input{$latexfile}'";
+system("(cd $tempdir; $prg_latex --interaction=batchmode $argcode)");
my $logfile = $tempdtxfile;
$logfile =~ s/\.[^\.]+$//;