- Update to 4.17 (fixes log file misparse with filename-space-message

sequence)
- Add latexmk-man.patch to fix insufficiently escaped man page constructs.
This commit is contained in:
Jerry James 2010-07-06 16:50:13 +00:00
parent 2013a31ef9
commit ef826c65bd
6 changed files with 78 additions and 14 deletions

View File

@ -1 +1 @@
latexmk-416a.zip
latexmk-417.zip

View File

@ -1,6 +1,6 @@
--- latexmk.1.orig 2010-05-18 08:19:55.000000000 -0600
+++ latexmk.1 2010-05-24 15:37:35.584028789 -0600
@@ -551,6 +551,7 @@
--- latexmk.1.orig 2010-06-09 11:56:31.000000000 -0600
+++ latexmk.1 2010-07-06 10:23:54.963311090 -0600
@@ -555,6 +555,7 @@
"/opt/local/share/latexmk/LatexMk",
"/usr/local/share/latexmk/LatexMk",
"/usr/local/lib/latexmk/LatexMk".
@ -8,9 +8,9 @@
On a MS-WINDOWS system it looks for "C:\\latexmk\\LatexMk".
On a cygwin system (i.e., a MS-Windows system in which perl is
that of cygwin), \fIlatexmk\fR reads for the first it finds of
--- latexmk.pl.orig 2010-05-18 07:53:46.000000000 -0600
+++ latexmk.pl 2010-05-24 15:37:35.587154367 -0600
@@ -673,10 +673,8 @@
--- latexmk.pl.orig 2010-06-09 11:47:03.000000000 -0600
+++ latexmk.pl 2010-07-06 10:23:54.966350941 -0600
@@ -680,10 +680,8 @@
## /usr/local/share, depending on the local conventions.
## /usr/local/lib/latexmk/LatexMk is put in the list for
## compatibility with older versions of latexmk.

60
latexmk-man.patch Normal file
View File

@ -0,0 +1,60 @@
--- latexmk.1.orig 2010-07-06 10:27:08.602288512 -0600
+++ latexmk.1 2010-07-06 10:41:12.410475272 -0600
@@ -228,7 +228,7 @@
.TP
.B -diagnostics
Print detailed diagnostics during a run. This may help for debugging
-problems or to understand \fI.latexmk\fR's behavior in difficult
+problems or to understand \fIlatexmk\fR's behavior in difficult
situations.
.TP
.B -dvi
@@ -735,14 +735,14 @@
\fBCommand names containing spaces\fR: Under MS-Windows it is common
that the name of a command includes spaces, since software is often
-installed in a subdirectory of "C:\Program Files". Such command names
+installed in a subdirectory of "C:\\Program Files". Such command names
should be enclosed in double quotes, as in
.PP
$lpr_pdf = '"c:/Program Files/Ghostgum/gsview/gsview32.exe" /p %S';
.PP
\fBUsing MS-Windows file associations\fR: A useful trick under modern
versions of MS-Windows (e.g., WinXP) is to use just the command
-'start' by itself:
+\'start' by itself:
.PP
$dvi_previewer = 'start %S';
.PP
@@ -1127,13 +1127,13 @@
This variable specifies the extensions tried by latexmk when it finds
that a LaTeX run resulted in an error that a file has not been found,
and the file is given without an extension. This typically happens when
-LaTeX commands of the form \input{file} or \includegraphics{figure},
+LaTeX commands of the form \\input{file} or \\includegraphics{figure},
when the relevant source file does not exist.
In this situation, latexmk searches for custom dependencies to make
the missing file(s), but restricts it to the extensions specified by
the variable %latex_input_extensions. The default extensions are
-'tex' and 'eps'.
+\'tex' and 'eps'.
(For Perl experts: %latex_input_extensions is a hash whose keys are
the extensions. The values are irrelevant.) Two subroutines are
@@ -1240,13 +1240,13 @@
This variable specifies the extensions tried by latexmk when it finds
that a pdfLaTeX run resulted in an error that a file has not been found,
and the file is given without an extension. This typically happens when
-LaTeX commands of the form \input{file} or \includegraphics{figure},
+LaTeX commands of the form \\input{file} or \\includegraphics{figure},
when the relevant source file does not exist.
In this situation, latexmk searches for custom dependencies to make
the missing file(s), but restricts it to the extensions specified by
the variable %pdflatex_input_extensions. The default extensions are
-'tex', 'pdf', 'jpg, and 'png'.
+\'tex', 'pdf', 'jpg, and 'png'.
(For Perl experts: %pdflatex_input_extensions is a hash whose keys are
the extensions. The values are irrelevant.) Two subroutines are

View File

@ -126,10 +126,6 @@ $dvi_update_method = 1;
# Version number for kind of fdb_file
# $fdb_ver = 2;
# If nonzero, force latexmk to include files that don't exist when generating
# dependency files.
# $force_include_mode = 0;
# If nonzero, continue processing past minor LaTeX errors
# This option is made nonzero if the -pvc command line option is used.
# $force_mode = 0;

View File

@ -1,12 +1,12 @@
Name: latexmk
Version: 4.16a
Version: 4.17
Release: 1%{?dist}
Summary: A make-like utility for LaTeX files
Group: Applications/Publishing
License: GPLv2+
URL: http://www.phys.psu.edu/~collins/software/latexmk-jcc/
Source0: http://www.phys.psu.edu/~collins/software/latexmk-jcc/latexmk-416a.zip
Source0: http://www.phys.psu.edu/~collins/software/latexmk-jcc/latexmk-417.zip
Source1: latexmk.conf
Source2: latexmk-README.fedora
# Change the system-wide configuration file to /etc/latexmk.conf and fix the
@ -14,6 +14,9 @@ Source2: latexmk-README.fedora
# upstream needs to be backwards compatible with previous versions of latexmk.
# Fedora has only ever used /etc/latexmk.conf.
Patch0: latexmk-conf.patch
# Fix some insufficiently escaped constructs on the man page. Sent upstream
# 6 Jul 2010.
Patch1: latexmk-man.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
@ -34,6 +37,7 @@ Before using a previewer, read the file README.fedora.
%prep
%setup -q -c
%patch0
%patch1
cp %{SOURCE2} README.fedora
%build
@ -58,6 +62,10 @@ rm -rf $RPM_BUILD_ROOT
%doc CHANGES COPYING INSTALL README README.fedora extra-scripts example_rcfiles
%changelog
* Tue Jul 6 2010 Jerry James <loganjerry@gmail.com> - 4.17-1
- Update to 4.17 (fixes log file misparse with filename-space-message sequence)
- Add latexmk-man.patch to fix insufficiently escaped man page constructs.
* Mon May 24 2010 Jerry James <loganjerry@gmail.com> - 4.16a-1
- Update to 4.16a (solves problem with preview files on NFS filesystems)

View File

@ -1 +1 @@
dcc206e7952925955f55f82d00570c5c latexmk-416a.zip
a4a2480a8c805c81347d9582c057be16 latexmk-417.zip