Update to 4.80
This commit is contained in:
parent
9f5c3deeff
commit
a32a085ea9
BIN
latexmk-465.zip
BIN
latexmk-465.zip
Binary file not shown.
BIN
latexmk-480.zip
Normal file
BIN
latexmk-480.zip
Normal file
Binary file not shown.
@ -1,29 +0,0 @@
|
||||
--- latexmk.1.orig 2019-06-18 12:48:12.000000000 -0600
|
||||
+++ latexmk.1 2019-06-26 21:32:33.019700563 -0600
|
||||
@@ -1388,6 +1388,7 @@ system RC file, in the following order,
|
||||
"/opt/local/share/latexmk/LatexMk",
|
||||
"/usr/local/share/latexmk/LatexMk",
|
||||
"/usr/local/lib/latexmk/LatexMk".
|
||||
+ On a Fedora system, it only looks for "/etc/latexmk.conf".
|
||||
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 the first it finds of
|
||||
--- latexmk.pl.orig 2019-06-18 12:59:41.000000000 -0600
|
||||
+++ latexmk.pl 2019-06-26 21:32:33.029700549 -0600
|
||||
@@ -951,13 +951,9 @@ else {
|
||||
## /usr/local/share, depending on the local conventions.
|
||||
## But /usr/local/lib/latexmk is put in the list for
|
||||
## compatibility with older versions of latexmk.
|
||||
- @rc_system_files = ();
|
||||
- foreach ( 'LatexMk', 'latexmkrc' ) {
|
||||
- push @rc_system_files,
|
||||
- ( "/opt/local/share/latexmk/$_",
|
||||
- "/usr/local/share/latexmk/$_",
|
||||
- "/usr/local/lib/latexmk/$_" );
|
||||
- }
|
||||
+ ## Fedora change: only look in /etc
|
||||
+ @rc_system_files = ( '/etc/latexmk.conf' );
|
||||
+
|
||||
$search_path_separator = ':'; # Separator of elements in search_path
|
||||
|
||||
$dvi_update_signal = $signo{USR1}
|
||||
112
latexmk.conf
112
latexmk.conf
@ -22,6 +22,12 @@
|
||||
# Directory for aux files (log, aux, etc.)
|
||||
# $aux_dir = '';
|
||||
|
||||
# Whether to report on aux_dir & out_dir after initialization & normalization
|
||||
# $aux_out_dir_report = 0;
|
||||
|
||||
# If nonzero, treat certain warnings as errors
|
||||
# $bad_warning_is_error = 0;
|
||||
|
||||
# If nonzero, DVI-to-postscript conversion adds a banner message on each page
|
||||
# $banner = 0;
|
||||
|
||||
@ -34,17 +40,14 @@
|
||||
# The size of the banner message (about 1100 divided by the message length)
|
||||
# $banner_scale = 220;
|
||||
|
||||
# Directories where BibTeX should look for .bib files.
|
||||
# $BIBINPUTS = $ENV('BIBINPUTS') || '.'
|
||||
|
||||
# The name of the biber executable
|
||||
# $biber = 'biber %O %B';
|
||||
# $biber = 'biber %O %S';
|
||||
|
||||
# The switch that puts biber in silent mode
|
||||
# $biber_silent_switch = '--onlylog';
|
||||
|
||||
# The name of the BibTeX executable
|
||||
# $bibtex = 'bibtex %O %B';
|
||||
# $bibtex = 'bibtex %O %S';
|
||||
|
||||
# Apply bibtex hack for old versions that don't handle output-directory
|
||||
# $bibtex_fudge = 1;
|
||||
@ -60,12 +63,6 @@
|
||||
# and delete bbl files on cleanup.
|
||||
# $bibtex_use = 1;
|
||||
|
||||
# Extra file extensions to remove when cleaning
|
||||
# $clean_ext = "";
|
||||
|
||||
# Extra file extensions to remove when doing a full clean
|
||||
# $clean_full_ext = "";
|
||||
|
||||
# Whether to clean latexmk's file database too
|
||||
# $cleanup_fdb = 0;
|
||||
|
||||
@ -114,7 +111,16 @@
|
||||
# The DVI file filter to be run on newly produced DVI files
|
||||
# $dvi_filter = '';
|
||||
|
||||
# Always make a DVI file
|
||||
# Default switches to pass to the dvilualatex program
|
||||
# $dvilualatex_default_switches = '';
|
||||
|
||||
# The command line switch to make dvilualatex run in silent mode
|
||||
# $dvilualatex_silent_switch = '-interaction=batchmode';
|
||||
|
||||
# Whether to generate DVI output
|
||||
# 0 = Do not generate DVI output
|
||||
# 1 = Generate DVI output using latex
|
||||
# 2 = Generate DVI output using dvilualatex
|
||||
# $dvi_mode = 0;
|
||||
|
||||
# The command to start a DVI previewer
|
||||
@ -126,7 +132,7 @@ $dvi_previewer = 'xdg-open %O %S';
|
||||
$dvi_previewer_landscape = 'xdg-open %O %S';
|
||||
|
||||
# The command to run when the DVI viewer is set to be updated by a command
|
||||
# $dvi_update_command = '';
|
||||
# $dvi_update_command = undef;
|
||||
|
||||
# How to make the DVI viewer update its display when the DVI file changes.
|
||||
# See the man page for a description of each method.
|
||||
@ -138,7 +144,7 @@ $dvi_update_method = 1;
|
||||
|
||||
# The command to convert a DVI file into a PDF file.
|
||||
# See the warnings on the man page
|
||||
# $dvipdf = 'dvipdf %O %S %D';
|
||||
# $dvipdf = 'dvipdf -dALLOWPSTRANSPARENCY %O %S %D';
|
||||
|
||||
# Command line switch for dvipdf to make it run in silent mode
|
||||
# $dvipdf_silent_switch = '-q';
|
||||
@ -155,11 +161,12 @@ $dvi_update_method = 1;
|
||||
# Command line switch for dvips to make it run in silent mode
|
||||
# $dvips_silent_switch = '-q';
|
||||
|
||||
# Which treatment of default extension and filenames with multiple extensions
|
||||
# is used. The possibilities are:
|
||||
# - miktex_old, for MikTeX version 1.20d or earlier
|
||||
# - unix, for web2c 7.3.1 or later
|
||||
# $extension_treatment = 'unix';
|
||||
# Whether to emulate -aux-directory on systems that do not support it, such as
|
||||
# TeXLive
|
||||
# $emulate_aux = 1;
|
||||
|
||||
# Nonzero if emulate_aux has to be switched on during a run
|
||||
# $emulate_aux_switched = 0;
|
||||
|
||||
# Command to use in pvc mode for failures
|
||||
# $failure_cmd = "";
|
||||
@ -169,7 +176,7 @@ $dvi_update_method = 1;
|
||||
# $fdb_ext = 'fdb_latexmk';
|
||||
|
||||
# Version number for kind of fdb_file
|
||||
# $fdb_ver = 3;
|
||||
# $fdb_ver = 4;
|
||||
|
||||
# If nonzero, continue processing past minor LaTeX errors
|
||||
# This option is made nonzero if the -pvc command line option is used.
|
||||
@ -178,10 +185,12 @@ $dvi_update_method = 1;
|
||||
# The list of extensions for files that are generated in one run and consumed
|
||||
# by later runs of one of the LaTeX tools. The 'aux' and 'bbl' extensions are
|
||||
# treated specially.
|
||||
# @generated_exts = ( 'aux', 'bcf', 'fls', 'idx', 'ind', 'lof', 'lot', 'out', 'toc' );
|
||||
# @generated_exts = ( 'aux', 'bcf', 'fls', 'idx', 'ind', 'lof', 'lot', 'out',
|
||||
# 'toc', 'blg', 'ilg', 'log', 'xdv' );
|
||||
|
||||
# 1 = process files regardless of timestamps
|
||||
# 2 = do a full cleanup first
|
||||
# 3 = just force primary rule(s) to run
|
||||
# $go_mode = 0;
|
||||
|
||||
# The basename of generated files
|
||||
@ -196,9 +205,6 @@ $dvi_update_method = 1;
|
||||
# If nonzero, run in landscape mode; otherwise in portrait mode
|
||||
# $landscape_mode = 0;
|
||||
|
||||
# The name of the LaTeX program
|
||||
# $latex = 'latex %O %S';
|
||||
|
||||
# Default switches to pass to the LaTeX program
|
||||
# $latex_default_switches = '';
|
||||
|
||||
@ -219,9 +225,6 @@ $dvi_update_method = 1;
|
||||
# The program that prints PDF files
|
||||
# $lpr_pdf = 'NONE $lpr_pdf variable is not configured to allow printing of pdf files';
|
||||
|
||||
# The name of the LUALaTeX program
|
||||
# $lualatex = 'lualatex %O %S';
|
||||
|
||||
# Default switches to pass to the lualatex program
|
||||
# $lualatex_default_switches = '';
|
||||
|
||||
@ -234,29 +237,40 @@ $dvi_update_method = 1;
|
||||
# The name of the makeindex program
|
||||
# $makeindex = 'makeindex %O -o %D %S';
|
||||
|
||||
# Whether or not to cd to aux dir when running makeindex. Set to 1 to avoid
|
||||
# security-related prohibition on makeindex writing to aux_dir when it is
|
||||
# not specified as a subdirectory of cwd.
|
||||
# $makeindex_fudge = 1;
|
||||
|
||||
# The command line switch to make makeindex run in silent mode
|
||||
# $makeindex_silent_switch = '-q';
|
||||
|
||||
# Maximum number of log file warnings to report
|
||||
# $max_logfile_warnings = 7;
|
||||
|
||||
# The maximum number of times latex will be invoked in an effort to fix up
|
||||
# references.
|
||||
# $max_repeat = 5;
|
||||
|
||||
# Set to 1 to give special treatment to Ctrl-c and Ctrl-Break in -pvc mode on
|
||||
# Windows. This is unnecessary on Unix platforms.
|
||||
$MSWin_fudge_break = 0;
|
||||
# $MSWin_fudge_break = 1;
|
||||
|
||||
# This variable is used only when running in continuous-preview mode. If zero,
|
||||
# check for a previously running previewer on the same file and update it. If
|
||||
# nonzero, always start a new previewer.
|
||||
# $new_viewer_always = 0;
|
||||
|
||||
# Zero to preserve filenames, nonzero to normalize filenames.
|
||||
# $normalize_names = 2;
|
||||
|
||||
# Directory for output files
|
||||
# $out_dir = '';
|
||||
|
||||
# 0 = do not create a PDF file
|
||||
# 1 = Create a PDF file with pdflatex
|
||||
# 2 = Create a PDF file with ps2pdf
|
||||
# 3 = Create a PDF file with dvipdf
|
||||
# 2 = Create a PDF file by compile-to-dvi+divps+ps2pdf
|
||||
# 3 = Create a PDF file by compile-to-dvi+dvipdf
|
||||
# 4 = Create a PDF file with lualatex
|
||||
# 5 = Create a PDF file with xelatex + xdvipdfmx
|
||||
# $pdf_mode = 0;
|
||||
@ -275,9 +289,6 @@ $pdf_previewer = 'xdg-open %O %S';
|
||||
# When PDF update method 2 is used, the number of the Unix signal to send
|
||||
# $pdf_update_signal = $signo{HUP}
|
||||
|
||||
# The name of the LaTeX program that produces PDF files by default
|
||||
# $pdflatex = 'pdflatex %O %S';
|
||||
|
||||
# Default switches to pass to the pdflatex program
|
||||
# $pdflatex_default_switches = '';
|
||||
|
||||
@ -290,10 +301,6 @@ $pdf_previewer = 'xdg-open %O %S';
|
||||
# Always make a PostScript file
|
||||
# $postscript_mode = 0;
|
||||
|
||||
# If nonzero, run a previewer to view the document and keep the DVI file up
|
||||
# to date
|
||||
# $preview_continuous_mode = 0;
|
||||
|
||||
# If nonzero, run a previewer to preview the document
|
||||
# $preview_mode = 0;
|
||||
|
||||
@ -316,7 +323,7 @@ $ps_previewer_landscape = 'xdg-open %O %S';
|
||||
|
||||
# The command to run when the PostScript viewer is set to be updated by a
|
||||
# command
|
||||
# $ps_update_command = '';
|
||||
# $ps_update_command = undef;
|
||||
|
||||
# How to make the PostScript viewer update its display when the PostScript
|
||||
# file changes. See the man page for a description of each method.
|
||||
@ -328,7 +335,7 @@ $ps_update_method = 1;
|
||||
# $ps_update_signal = $signo{HUP}
|
||||
|
||||
# Command to convert a PostScript file to a PDF file
|
||||
# $ps2pdf = 'ps2pdf %O %S %D';
|
||||
# $ps2pdf = 'ps2pdf -dALLOWPSTRANSPARENCY %O %S %D';
|
||||
|
||||
# Command used to list all the processes currently run by the user
|
||||
# $pscmd = "ps -f -u $ENV{USER}";
|
||||
@ -341,6 +348,9 @@ $ps_update_method = 1;
|
||||
# containing spaces.
|
||||
# $quote_filenames = 1;
|
||||
|
||||
# Whether to report on rc files read
|
||||
# $rc_report = 1;
|
||||
|
||||
# Whether to use the recorder option on (pdf)latex
|
||||
# $recorder = 1;
|
||||
|
||||
@ -350,9 +360,6 @@ $ps_update_method = 1;
|
||||
# The character that separates paths in a list of paths
|
||||
# $search_path_separator = ':';
|
||||
|
||||
# Whether to display timing information
|
||||
# $show_time = 0;
|
||||
|
||||
# Whether to suppress latex messages
|
||||
# $silent = 0;
|
||||
|
||||
@ -371,38 +378,37 @@ $ps_update_method = 1;
|
||||
# allowed. These files are in addition to *.tex in the current directory.
|
||||
# $texfile_search = "";
|
||||
|
||||
# Directories where BibTeX should look for .bib files.
|
||||
# $TEXINPUTS = $ENV('TEXINPUTS') || '.'
|
||||
|
||||
# The directory to store temporary files; omit the trailing '/'
|
||||
# $tmpdir = $ENV{TMPDIR} || '/tmp';
|
||||
|
||||
# Whether to use make to try to create missing files
|
||||
# $use_make_for_missing_files = 0;
|
||||
|
||||
# Whether a file that is deleted should be regarded as changed:
|
||||
# 0 = no, 1 = only in non-preview-continuous mode, 2 = yes.
|
||||
# $user_deleted_file_treated_as_changed = 0;
|
||||
|
||||
# Which kind of file is to be previewed if a previewer is used. The possible
|
||||
# values are 'default', 'dvi', 'ps', 'pdf', and 'none'. The value of 'default'
|
||||
# means that the PDF is viewed if it is generated, else PostScript is viewed if
|
||||
# it is generated, else DVI is viewed.
|
||||
# $view = 'default';
|
||||
|
||||
# Nonzero to treat warnings as errors and exit with nonzero exit status
|
||||
# $warning_as_errors = 0;
|
||||
|
||||
# Command to use in pvc mode for warnings
|
||||
# $warning_cmd = "";
|
||||
|
||||
# 0 = Do not generate xdv output
|
||||
# 1 = Generate xdv output with xelatex
|
||||
# $xdv_mode = 0;
|
||||
|
||||
# The command to convert an XDV file into a PDF file.
|
||||
# $xdvipdfmx = 'xdvipdfmx -o %D %O %S';
|
||||
# $xdvipdfmx = 'xdvipdfmx -E -o %D %O %S';
|
||||
|
||||
# Command line switch for xdvipdfmx to make it run in silent mode
|
||||
# $xdvipdfmx_silent_switch = '-q';
|
||||
|
||||
# The name of the LaTeX program that produces XDV files by default
|
||||
# $xelatex = 'xelatex -no-pdf %O %S';
|
||||
|
||||
# Default switches to pass to the xelatex program
|
||||
# $xelatex_default_switches = '';
|
||||
# $xelatex_default_switches = '-no-pdf';
|
||||
|
||||
# The command line switch to make xelatex run in silent mode
|
||||
# $xelatex_silent_switch = '-interaction=batchmode';
|
||||
|
||||
23
latexmk.spec
23
latexmk.spec
@ -1,6 +1,6 @@
|
||||
Name: latexmk
|
||||
Version: 4.65
|
||||
Release: 2
|
||||
Version: 4.80
|
||||
Release: 1
|
||||
Summary: A make-like utility for LaTeX files
|
||||
%global upstreamver %(sed 's/\\.//' <<< %{version})
|
||||
License: GPLv2+
|
||||
@ -8,7 +8,6 @@ URL: http://personal.psu.edu/jcc8/software/latexmk-jcc/
|
||||
Source0: http://personal.psu.edu/jcc8/software/latexmk-jcc/%{name}-%{upstreamver}.zip
|
||||
Source1: latexmk.conf
|
||||
Source2: latexmk-README
|
||||
Patch0: latexmk-conf.patch
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl-generators
|
||||
Requires: tex-latex-bin, ghostscript, xdg-utils
|
||||
@ -24,19 +23,10 @@ version of the original version of latexmk.
|
||||
Before using a previewer, read the file README.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}
|
||||
%patch0
|
||||
fixtimestamp() {
|
||||
touch -r $1.orig $1
|
||||
rm -f $1.orig
|
||||
}
|
||||
pushd example_rcfiles
|
||||
mv texinfo-latexmkrc texinfo-latexmkrc.orig
|
||||
iconv -f iso8859-1 -t utf-8 texinfo-latexmkrc.orig > texinfo-latexmkrc
|
||||
fixtimestamp texinfo-latexmkrc
|
||||
popd
|
||||
%autosetup -n %{name}
|
||||
sed -i.orig "s|^#\!/usr/bin/env perl|#\!/usr/bin/perl -w|" latexmk.pl
|
||||
fixtimestamp latexmk.pl
|
||||
touch -r latexmk.pl.orig latexmk.pl
|
||||
rm latexmk.pl.orig
|
||||
|
||||
%build
|
||||
cp -p %{SOURCE2} README
|
||||
@ -59,6 +49,9 @@ rm -f extra-scripts/*.bat
|
||||
%license COPYING
|
||||
|
||||
%changelog
|
||||
* Mon Sep 11 2023 wulei <wu_lei@hoperun.com> - 4.80-1
|
||||
- Update to 4.80
|
||||
|
||||
* Fri May 14 2021 sunguoshuai <sunguoshuai@huawei.com> - 4.65-2
|
||||
- Rebuilt in openeuler.
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user