Compare commits
5 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
40db6089d0 | ||
|
|
0d67e044e5 | ||
|
|
d1ec558631 | ||
|
|
baee49342f | ||
|
|
46ed17d56e |
3 changed files with 20 additions and 33 deletions
19
latexmk.spec
19
latexmk.spec
|
|
@ -1,9 +1,9 @@
|
|||
Name: latexmk
|
||||
Version: 4.86a
|
||||
Version: 4.88
|
||||
Release: %autorelease
|
||||
Summary: A make-like utility for LaTeX files
|
||||
|
||||
%global upstreamver %(sed 's/\\.//' <<< %{version})
|
||||
%global upstreamver %{gsub %version %. %{quote:}}
|
||||
|
||||
License: GPL-2.0-or-later
|
||||
URL: https://www.cantab.net/users/johncollins/latexmk/
|
||||
|
|
@ -14,23 +14,24 @@ Source2: latexmk-README.fedora
|
|||
BuildArch: noarch
|
||||
BuildRequires: perl-generators
|
||||
|
||||
Requires: tex-latex-bin, ghostscript, xdg-utils
|
||||
Requires: tex-latex-bin, ghostscript-tools-dvipdf, xdg-utils
|
||||
|
||||
%description
|
||||
Latexmk is a perl script for running LaTeX the correct number of times to
|
||||
resolve cross references, etc.; it also runs auxiliary programs (bibtex,
|
||||
makeindex if necessary, and dvips and/or a previewer as requested). It has
|
||||
a number of other useful capabilities, for example to start a previewer and
|
||||
then run latex whenever the source files are updated, so that the previewer
|
||||
gives an up-to-date view of the document. The script runs on both UNIX and
|
||||
MS-WINDOWS (95, ME, XP, etc). This script is a corrected and improved
|
||||
version of the original version of latexmk.
|
||||
makeindex if necessary, and dvips and/or a previewer as requested). It has a
|
||||
number of other useful capabilities, for example to start a previewer and then
|
||||
run latex whenever the source files are updated, so that the previewer gives
|
||||
an up-to-date view of the document. The script runs on both UNIX and
|
||||
MS-WINDOWS (95, ME, XP, etc). This script is a corrected and improved version
|
||||
of the original version of latexmk.
|
||||
|
||||
Before using a previewer, read the file README.fedora.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}
|
||||
|
||||
%conf
|
||||
# Invoke perl directly
|
||||
sed -i.orig "s|^#\!/usr/bin/env perl|#\!/usr/bin/perl -w|" latexmk.pl
|
||||
touch -r latexmk.pl.orig latexmk.pl
|
||||
|
|
|
|||
32
latexmkrc
32
latexmkrc
|
|
@ -39,18 +39,6 @@
|
|||
# '^\(\\\\end occurred inside .*\)'
|
||||
# );
|
||||
|
||||
# If nonzero, DVI-to-postscript conversion adds a banner message on each page
|
||||
# $banner = 0;
|
||||
|
||||
# The darkness of the banner, a number between 0 (black) and 1 (white)
|
||||
# $banner_intensity = 0.95;
|
||||
|
||||
# The banner message to print across each page if $banner is nonzero
|
||||
# $banner_message = 'DRAFT';
|
||||
|
||||
# The size of the banner message (about 1100 divided by the message length)
|
||||
# $banner_scale = 220;
|
||||
|
||||
# The name of the biber executable
|
||||
# $biber = 'biber %O %S';
|
||||
|
||||
|
|
@ -148,12 +136,10 @@
|
|||
# $dvi_mode = 0;
|
||||
|
||||
# The command to start a DVI previewer
|
||||
# $dvi_previewer = 'start xdvi %O %S';
|
||||
$dvi_previewer = 'xdg-open %O %S';
|
||||
# $dvi_previewer = 'xdg-open %S';
|
||||
|
||||
# The command to start a DVI previewer in landscape mode
|
||||
# $dvi_previewer_landscape = 'start xdvi -paper usr %O %S';
|
||||
$dvi_previewer_landscape = 'xdg-open %O %S';
|
||||
# $dvi_previewer_landscape = 'xdg-open %S';
|
||||
|
||||
# The command to run when the DVI viewer is set to be updated by a command
|
||||
# $dvi_update_command = '';
|
||||
|
|
@ -251,7 +237,7 @@ $dvi_update_method = 1;
|
|||
# $hilatex_silent_switch = '-interaction=batchmode';
|
||||
|
||||
# The command to invoke a HNT previewer
|
||||
$hnt_previewer = 'xdg-open %O %S';;
|
||||
# $hnt_previewer = 'xdg-open %S';
|
||||
|
||||
# The basename of generated files
|
||||
# $jobname = "";
|
||||
|
|
@ -345,8 +331,7 @@ $hnt_previewer = 'xdg-open %O %S';;
|
|||
# $pdf_mode = 0;
|
||||
|
||||
# The command to invoke a PDF previewer
|
||||
# $pdf_previewer = 'start acroread %O %S';
|
||||
$pdf_previewer = 'xdg-open %O %S';
|
||||
# $pdf_previewer = 'xdg-open %S';
|
||||
|
||||
# The command to run when the PDF viewer is set to be updated by a command
|
||||
# $pdf_update_command = '';
|
||||
|
|
@ -393,12 +378,10 @@ $pdf_previewer = 'xdg-open %O %S';
|
|||
# $ps_filter = '';
|
||||
|
||||
# The command to invoke a PostScript previewer
|
||||
# $ps_previewer = 'start gv %O %S';
|
||||
$ps_previewer = 'xdg-open %O %S';
|
||||
# $ps_previewer = 'xdg-open %S';
|
||||
|
||||
# The command to invoke a PostScript previewer in landscape mode
|
||||
# $ps_previewer_landscape = 'start gv -swap %O %S';
|
||||
$ps_previewer_landscape = 'xdg-open %O %S';
|
||||
# $ps_previewer_landscape = 'xdg-open %S';
|
||||
|
||||
# The command to run when the PostScript viewer is set to be updated by a
|
||||
# command
|
||||
|
|
@ -440,6 +423,9 @@ $ps_update_method = 1;
|
|||
# Whether to use the recorder option on (pdf)latex
|
||||
# $recorder = 1;
|
||||
|
||||
# Whether to report mismatch of name of cwd between report by .fls and from perl
|
||||
# $report_cwd_mismatch = 0;
|
||||
|
||||
# Whether to display lists of dependencies.
|
||||
# $rules_list = 0;
|
||||
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (latexmk-486a.zip) = 32a0302a35dc9c9d9b0f2f766fbc983ed98b25d20d4badcb15fd2f7cf0d8d246b545afc547fe100d757a5d7c8300cb3299c442ffda33cd9e56b0018a649c8c4e
|
||||
SHA512 (latexmk-488.zip) = fbf9b7a1b9e0ce00d6bff4db4355e3d542bfc8d49443b9bfb402599083ae4be62870c06dfcc2deb17baa39f6b462fc533ad53d8d58fa9152d0d1ebda2f98bc20
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue