summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2008-11-28 00:54:23 +0000
committerKarl Berry <karl@freefriends.org>2008-11-28 00:54:23 +0000
commite0cdc7eb052b3d7878c4d09887b26be38f0fa0a7 (patch)
tree3b255d32bab5b435c632ed8d6a736e7076d2444f /Master
parentb3bc92c8e8d4437a11a37869f528b68b40aa8aeb (diff)
latexmk update (27nov08)
git-svn-id: svn://tug.org/texlive/trunk@11443 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/support/latexmk/README2
-rwxr-xr-xMaster/texmf-dist/scripts/latexmk/latexmk.pl20
2 files changed, 11 insertions, 11 deletions
diff --git a/Master/texmf-dist/doc/support/latexmk/README b/Master/texmf-dist/doc/support/latexmk/README
index 28ed36dd7b5..28cc68bba6a 100644
--- a/Master/texmf-dist/doc/support/latexmk/README
+++ b/Master/texmf-dist/doc/support/latexmk/README
@@ -88,7 +88,7 @@ I hope you find this useful.
John Collins
---------------------------- "latexmk -h" ----------------------------
-Latexmk 4.02: Automatic LaTeX document generation routine
+Latexmk 4.02a: Automatic LaTeX document generation routine
Usage: latexmk [latexmk_options] [filename ...]
diff --git a/Master/texmf-dist/scripts/latexmk/latexmk.pl b/Master/texmf-dist/scripts/latexmk/latexmk.pl
index acadd33c844..0a2c26e6ba9 100755
--- a/Master/texmf-dist/scripts/latexmk/latexmk.pl
+++ b/Master/texmf-dist/scripts/latexmk/latexmk.pl
@@ -148,8 +148,8 @@ if 0;
$my_name = 'latexmk';
$My_name = 'Latexmk';
-$version_num = '4.02';
-$version_details = "$My_name, John Collins, 15 November 2008";
+$version_num = '4.02a';
+$version_details = "$My_name, John Collins, 26 November 2008";
use Config;
@@ -218,6 +218,10 @@ else {
##
## Modification log for 24 Sep 2008 onwards in detail
##
+## 26 Nov 2008, John Collins Correct problem with invocation of MSWin
+## with cygwin
+## 25 Nov 2008, John Collins Correct problem with invocation of MSWin
+## start command
## 15 Nov 2008, John Collins Make version # 4.02, for release
## 12 Nov 2008, John Collins Deal with quoted filenames in log file
## (as with MikTeX)
@@ -616,7 +620,7 @@ elsif ( $^O eq "cygwin" ) {
# NT-native start command of a cmd.exe is used.
# For a pdf-file, "start x.pdf" starts the pdf viewer associated with
# pdf files, so no program name is needed:
- $start_NT = "cmd /c start";
+ $start_NT = "cmd /c start \"\"";
$pdf_previewer = "$start_NT %O %S";
$ps_previewer = "$start_NT %O %S";
$ps_previewer_landscape = $ps_previewer;
@@ -6018,7 +6022,9 @@ sub Run_Detached {
if ( "$^O" eq "MSWin32" ){
# Win95, WinNT, etc: Use MS's start command:
- return( 0, system( "start $cmd_line" ) );
+ # Need extra double quotes to deal with quoted filenames:
+ # MSWin start takes first quoted argument to be a Window title.
+ return( 0, system( "start \"\" $cmd_line" ) );
} else {
# Assume anything else is UNIX or clone
# For this purpose cygwin behaves like UNIX.
@@ -6132,9 +6138,3 @@ sub finish_dir_stack {
#************************************************************
#************************************************************
-#************************************************************
-#************************************************************
-#************************************************************
-#************************************************************
-#************************************************************
-#************************************************************