summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts/jmlr/makejmlrbook
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/scripts/jmlr/makejmlrbook')
-rwxr-xr-xMaster/texmf-dist/scripts/jmlr/makejmlrbook8
1 files changed, 4 insertions, 4 deletions
diff --git a/Master/texmf-dist/scripts/jmlr/makejmlrbook b/Master/texmf-dist/scripts/jmlr/makejmlrbook
index 20b82e48893..252ce3e5497 100755
--- a/Master/texmf-dist/scripts/jmlr/makejmlrbook
+++ b/Master/texmf-dist/scripts/jmlr/makejmlrbook
@@ -2,8 +2,8 @@
# File : makejmlrbook
# Author : Nicola L C Talbot
# Date : 22nd March 2010
-# Last Modified : 30th March 2011
-# Version : 0.31
+# Last Modified : 30 May 2012
+# Version : 0.32
# Description : Given the name of a document using the
# jmlrbook class file, this script runs
# pdflatex (and possibly bibtex) on the
@@ -31,7 +31,7 @@ use File::Copy;
use Cwd;
use strict;
-my $version = "0.31 (2011-03-30)";
+my $version = "0.32 (2012-05-28)";
my $eol = "\n";
my $dd = '/';
@@ -601,7 +601,7 @@ if ($html and $execute)
# Find the book logo
if ($preamble
- =~/\\logo\s*{(%\s*\n)?\\includegraphics\s*(\[[^\]]*\])?{([^}]*)}}/m)
+ =~/\\logo\s*(?:\[[^\]]*\])?\s*{(%\s*\n)?\\includegraphics\s*(\[[^\]]*\])?{([^}]*)}}/m)
{
my $texpath = $3;
my $orgtexpath = $texpath;