Compare commits
No commits in common. "c10s" and "c8" have entirely different histories.
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
|||||||
/latexmk-*.zip
|
SOURCES/latexmk-457.zip
|
||||||
|
1
.latexmk.metadata
Normal file
1
.latexmk.metadata
Normal file
@ -0,0 +1 @@
|
|||||||
|
3930b94677075d6fb24f61289fd36fbfb447c546 SOURCES/latexmk-457.zip
|
@ -1,9 +0,0 @@
|
|||||||
[Latexmk](http://personal.psu.edu/jcc8/software/latexmk-jcc/) 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.
|
|
@ -3,7 +3,9 @@ I. CHANGES FROM UPSTREAM
|
|||||||
Latexmk almost works out of the box. Two changes have been made to
|
Latexmk almost works out of the box. Two changes have been made to
|
||||||
conform to Fedora conventions. First, the default DVI, PostScript, and
|
conform to Fedora conventions. First, the default DVI, PostScript, and
|
||||||
PDF previewers have been changed to 'xdg-open'; see below for more
|
PDF previewers have been changed to 'xdg-open'; see below for more
|
||||||
information.
|
information. Second, the site-wide configuration file is
|
||||||
|
/etc/latexmk.conf only, as opposed to the list of names searched by the
|
||||||
|
original latexmk.
|
||||||
|
|
||||||
II. PREVIEWERS
|
II. PREVIEWERS
|
||||||
|
|
29
SOURCES/latexmk-conf.patch
Normal file
29
SOURCES/latexmk-conf.patch
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
--- latexmk.1.orig 2018-03-16 13:00:50.000000000 -0600
|
||||||
|
+++ latexmk.1 2018-03-16 19:57:52.766699450 -0600
|
||||||
|
@@ -1165,6 +1165,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 2018-03-16 12:55:50.000000000 -0600
|
||||||
|
+++ latexmk.pl 2018-03-16 19:57:52.782699425 -0600
|
||||||
|
@@ -900,13 +900,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}
|
@ -22,12 +22,6 @@
|
|||||||
# Directory for aux files (log, aux, etc.)
|
# Directory for aux files (log, aux, etc.)
|
||||||
# $aux_dir = '';
|
# $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
|
# If nonzero, DVI-to-postscript conversion adds a banner message on each page
|
||||||
# $banner = 0;
|
# $banner = 0;
|
||||||
|
|
||||||
@ -40,17 +34,17 @@
|
|||||||
# The size of the banner message (about 1100 divided by the message length)
|
# The size of the banner message (about 1100 divided by the message length)
|
||||||
# $banner_scale = 220;
|
# $banner_scale = 220;
|
||||||
|
|
||||||
|
# Directories where BibTeX should look for .bib files.
|
||||||
|
# $BIBINPUTS = $ENV('BIBINPUTS') || '.'
|
||||||
|
|
||||||
# The name of the biber executable
|
# The name of the biber executable
|
||||||
# $biber = 'biber %O %S';
|
# $biber = 'biber %O %B';
|
||||||
|
|
||||||
# The switch that puts biber in silent mode
|
# The switch that puts biber in silent mode
|
||||||
# $biber_silent_switch = '--onlylog';
|
# $biber_silent_switch = '--onlylog';
|
||||||
|
|
||||||
# The name of the BibTeX executable
|
# The name of the BibTeX executable
|
||||||
# $bibtex = 'bibtex %O %S';
|
# $bibtex = 'bibtex %O %B';
|
||||||
|
|
||||||
# Apply bibtex hack for old versions that don't handle output-directory
|
|
||||||
# $bibtex_fudge = 1;
|
|
||||||
|
|
||||||
# The switch that puts BibTeX in silent mode
|
# The switch that puts BibTeX in silent mode
|
||||||
# $bibtex_silent_switch = '-terse';
|
# $bibtex_silent_switch = '-terse';
|
||||||
@ -63,6 +57,12 @@
|
|||||||
# and delete bbl files on cleanup.
|
# and delete bbl files on cleanup.
|
||||||
# $bibtex_use = 1;
|
# $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
|
# Whether to clean latexmk's file database too
|
||||||
# $cleanup_fdb = 0;
|
# $cleanup_fdb = 0;
|
||||||
|
|
||||||
@ -84,13 +84,6 @@
|
|||||||
# Command to use in pvc mode for compiling
|
# Command to use in pvc mode for compiling
|
||||||
# $compiling_cmd = "";
|
# $compiling_cmd = "";
|
||||||
|
|
||||||
# Whether to search for ^^ notation in log file for non-7-bit characters, and
|
|
||||||
# and convert to bytes. (Note: ^^ notation is produced by hilatex in TeXLive
|
|
||||||
# 2023, and by pdflatex in MiKTeX 22.1 if no special option is used
|
|
||||||
# (-enable-8bit-chars). Also pdflatex in TeXLive 2023 (and earlier) gives it
|
|
||||||
# if -translate-file=empty is used.
|
|
||||||
# $conv_hathat = 1;
|
|
||||||
|
|
||||||
# A custom dependency list; see the man page for details
|
# A custom dependency list; see the man page for details
|
||||||
# @cus_dep_list = ();
|
# @cus_dep_list = ();
|
||||||
|
|
||||||
@ -118,16 +111,7 @@
|
|||||||
# The DVI file filter to be run on newly produced DVI files
|
# The DVI file filter to be run on newly produced DVI files
|
||||||
# $dvi_filter = '';
|
# $dvi_filter = '';
|
||||||
|
|
||||||
# Default switches to pass to the dvilualatex program
|
# Always make a DVI file
|
||||||
# $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;
|
# $dvi_mode = 0;
|
||||||
|
|
||||||
# The command to start a DVI previewer
|
# The command to start a DVI previewer
|
||||||
@ -139,7 +123,7 @@ $dvi_previewer = 'xdg-open %O %S';
|
|||||||
$dvi_previewer_landscape = '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
|
# The command to run when the DVI viewer is set to be updated by a command
|
||||||
# $dvi_update_command = undef;
|
# $dvi_update_command = '';
|
||||||
|
|
||||||
# How to make the DVI viewer update its display when the DVI file changes.
|
# How to make the DVI viewer update its display when the DVI file changes.
|
||||||
# See the man page for a description of each method.
|
# See the man page for a description of each method.
|
||||||
@ -151,7 +135,7 @@ $dvi_update_method = 1;
|
|||||||
|
|
||||||
# The command to convert a DVI file into a PDF file.
|
# The command to convert a DVI file into a PDF file.
|
||||||
# See the warnings on the man page
|
# See the warnings on the man page
|
||||||
# $dvipdf = 'dvipdf -dALLOWPSTRANSPARENCY %O %S %D';
|
# $dvipdf = 'dvipdf %O %S %D';
|
||||||
|
|
||||||
# Command line switch for dvipdf to make it run in silent mode
|
# Command line switch for dvipdf to make it run in silent mode
|
||||||
# $dvipdf_silent_switch = '-q';
|
# $dvipdf_silent_switch = '-q';
|
||||||
@ -168,12 +152,11 @@ $dvi_update_method = 1;
|
|||||||
# Command line switch for dvips to make it run in silent mode
|
# Command line switch for dvips to make it run in silent mode
|
||||||
# $dvips_silent_switch = '-q';
|
# $dvips_silent_switch = '-q';
|
||||||
|
|
||||||
# Whether to emulate -aux-directory on systems that do not support it, such as
|
# Which treatment of default extension and filenames with multiple extensions
|
||||||
# TeXLive
|
# is used. The possibilities are:
|
||||||
# $emulate_aux = 1;
|
# - miktex_old, for MikTeX version 1.20d or earlier
|
||||||
|
# - unix, for web2c 7.3.1 or later
|
||||||
# Nonzero if emulate_aux has to be switched on during a run
|
# $extension_treatment = 'unix';
|
||||||
# $emulate_aux_switched = 0;
|
|
||||||
|
|
||||||
# Command to use in pvc mode for failures
|
# Command to use in pvc mode for failures
|
||||||
# $failure_cmd = "";
|
# $failure_cmd = "";
|
||||||
@ -183,26 +166,21 @@ $dvi_update_method = 1;
|
|||||||
# $fdb_ext = 'fdb_latexmk';
|
# $fdb_ext = 'fdb_latexmk';
|
||||||
|
|
||||||
# Version number for kind of fdb_file
|
# Version number for kind of fdb_file
|
||||||
# $fdb_ver = 4;
|
# $fdb_ver = 3;
|
||||||
|
|
||||||
# If nonzero, continue processing past minor LaTeX errors
|
# If nonzero, continue processing past minor LaTeX errors
|
||||||
# This option is made nonzero if the -pvc command line option is used.
|
# This option is made nonzero if the -pvc command line option is used.
|
||||||
# $force_mode = 0;
|
# $force_mode = 0;
|
||||||
|
|
||||||
|
# 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' );
|
||||||
|
|
||||||
# 1 = process files regardless of timestamps
|
# 1 = process files regardless of timestamps
|
||||||
# 2 = do a full cleanup first
|
# 2 = do a full cleanup first
|
||||||
# 3 = just force primary rule(s) to run
|
|
||||||
# $go_mode = 0;
|
# $go_mode = 0;
|
||||||
|
|
||||||
# Default switches to pass to the hilatex program
|
|
||||||
# $hilatex_default_switches = '';
|
|
||||||
|
|
||||||
# The command line switch to make hilatex run in silent mode
|
|
||||||
# $hilatex_silent_switch = '-interaction=batchmode';
|
|
||||||
|
|
||||||
# The command to invoke a PDF previewer
|
|
||||||
# $hnt_previewer = 'NONE';
|
|
||||||
|
|
||||||
# The basename of generated files
|
# The basename of generated files
|
||||||
# $jobname = "";
|
# $jobname = "";
|
||||||
|
|
||||||
@ -215,6 +193,9 @@ $dvi_update_method = 1;
|
|||||||
# If nonzero, run in landscape mode; otherwise in portrait mode
|
# If nonzero, run in landscape mode; otherwise in portrait mode
|
||||||
# $landscape_mode = 0;
|
# $landscape_mode = 0;
|
||||||
|
|
||||||
|
# The name of the LaTeX program
|
||||||
|
# $latex = 'latex %O %S';
|
||||||
|
|
||||||
# Default switches to pass to the LaTeX program
|
# Default switches to pass to the LaTeX program
|
||||||
# $latex_default_switches = '';
|
# $latex_default_switches = '';
|
||||||
|
|
||||||
@ -235,6 +216,9 @@ $dvi_update_method = 1;
|
|||||||
# The program that prints PDF files
|
# The program that prints PDF files
|
||||||
# $lpr_pdf = 'NONE $lpr_pdf variable is not configured to allow printing of 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
|
# Default switches to pass to the lualatex program
|
||||||
# $lualatex_default_switches = '';
|
# $lualatex_default_switches = '';
|
||||||
|
|
||||||
@ -247,46 +231,29 @@ $dvi_update_method = 1;
|
|||||||
# The name of the makeindex program
|
# The name of the makeindex program
|
||||||
# $makeindex = 'makeindex %O -o %D %S';
|
# $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
|
# The command line switch to make makeindex run in silent mode
|
||||||
# $makeindex_silent_switch = '-q';
|
# $makeindex_silent_switch = '-q';
|
||||||
|
|
||||||
# Expected biggest construct in log file in bytes.
|
|
||||||
# $max_log_construct = 600;
|
|
||||||
|
|
||||||
# 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
|
# The maximum number of times latex will be invoked in an effort to fix up
|
||||||
# references.
|
# references.
|
||||||
# $max_repeat = 5;
|
# $max_repeat = 5;
|
||||||
|
|
||||||
# Minimum nonzero sleep time
|
|
||||||
# $min_sleep_time = 0.01;
|
|
||||||
|
|
||||||
# Set to 1 to give special treatment to Ctrl-c and Ctrl-Break in -pvc mode on
|
# Set to 1 to give special treatment to Ctrl-c and Ctrl-Break in -pvc mode on
|
||||||
# Windows. This is unnecessary on Unix platforms.
|
# Windows. This is unnecessary on Unix platforms.
|
||||||
# $MSWin_fudge_break = 1;
|
$MSWin_fudge_break = 0;
|
||||||
|
|
||||||
# This variable is used only when running in continuous-preview mode. If zero,
|
# 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
|
# check for a previously running previewer on the same file and update it. If
|
||||||
# nonzero, always start a new previewer.
|
# nonzero, always start a new previewer.
|
||||||
# $new_viewer_always = 0;
|
# $new_viewer_always = 0;
|
||||||
|
|
||||||
# Zero to preserve filenames, nonzero to normalize filenames.
|
|
||||||
# $normalize_names = 2;
|
|
||||||
|
|
||||||
# Directory for output files
|
# Directory for output files
|
||||||
# $out_dir = '';
|
# $out_dir = '';
|
||||||
|
|
||||||
# 0 = do not create a PDF file
|
# 0 = do not create a PDF file
|
||||||
# 1 = Create a PDF file with pdflatex
|
# 1 = Create a PDF file with pdflatex
|
||||||
# 2 = Create a PDF file by compile-to-dvi+divps+ps2pdf
|
# 2 = Create a PDF file with ps2pdf
|
||||||
# 3 = Create a PDF file by compile-to-dvi+dvipdf
|
# 3 = Create a PDF file with dvipdf
|
||||||
# 4 = Create a PDF file with lualatex
|
# 4 = Create a PDF file with lualatex
|
||||||
# 5 = Create a PDF file with xelatex + xdvipdfmx
|
# 5 = Create a PDF file with xelatex + xdvipdfmx
|
||||||
# $pdf_mode = 0;
|
# $pdf_mode = 0;
|
||||||
@ -305,6 +272,9 @@ $pdf_previewer = 'xdg-open %O %S';
|
|||||||
# When PDF update method 2 is used, the number of the Unix signal to send
|
# When PDF update method 2 is used, the number of the Unix signal to send
|
||||||
# $pdf_update_signal = $signo{HUP}
|
# $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
|
# Default switches to pass to the pdflatex program
|
||||||
# $pdflatex_default_switches = '';
|
# $pdflatex_default_switches = '';
|
||||||
|
|
||||||
@ -317,6 +287,10 @@ $pdf_previewer = 'xdg-open %O %S';
|
|||||||
# Always make a PostScript file
|
# Always make a PostScript file
|
||||||
# $postscript_mode = 0;
|
# $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
|
# If nonzero, run a previewer to preview the document
|
||||||
# $preview_mode = 0;
|
# $preview_mode = 0;
|
||||||
|
|
||||||
@ -339,7 +313,7 @@ $ps_previewer_landscape = 'xdg-open %O %S';
|
|||||||
|
|
||||||
# The command to run when the PostScript viewer is set to be updated by a
|
# The command to run when the PostScript viewer is set to be updated by a
|
||||||
# command
|
# command
|
||||||
# $ps_update_command = undef;
|
# $ps_update_command = '';
|
||||||
|
|
||||||
# How to make the PostScript viewer update its display when the PostScript
|
# How to make the PostScript viewer update its display when the PostScript
|
||||||
# file changes. See the man page for a description of each method.
|
# file changes. See the man page for a description of each method.
|
||||||
@ -351,7 +325,7 @@ $ps_update_method = 1;
|
|||||||
# $ps_update_signal = $signo{HUP}
|
# $ps_update_signal = $signo{HUP}
|
||||||
|
|
||||||
# Command to convert a PostScript file to a PDF file
|
# Command to convert a PostScript file to a PDF file
|
||||||
# $ps2pdf = 'ps2pdf -dALLOWPSTRANSPARENCY %O %S %D';
|
# $ps2pdf = 'ps2pdf %O %S %D';
|
||||||
|
|
||||||
# Command used to list all the processes currently run by the user
|
# Command used to list all the processes currently run by the user
|
||||||
# $pscmd = "ps -f -u $ENV{USER}";
|
# $pscmd = "ps -f -u $ENV{USER}";
|
||||||
@ -364,22 +338,18 @@ $ps_update_method = 1;
|
|||||||
# containing spaces.
|
# containing spaces.
|
||||||
# $quote_filenames = 1;
|
# $quote_filenames = 1;
|
||||||
|
|
||||||
# Whether to report on rc files read
|
|
||||||
# $rc_report = 1;
|
|
||||||
|
|
||||||
# Whether to use the recorder option on (pdf)latex
|
# Whether to use the recorder option on (pdf)latex
|
||||||
# $recorder = 1;
|
# $recorder = 1;
|
||||||
|
|
||||||
# Whether to display lists of dependencies.
|
# Whether to display lists of dependencies.
|
||||||
# $rules_list = 0;
|
# $rules_list = 0;
|
||||||
|
|
||||||
# Suffix to be added to filename when an erroneous file is saved instead of
|
|
||||||
# being deleted.
|
|
||||||
# $save_error_suffix = '-SAVE-ERROR';
|
|
||||||
|
|
||||||
# The character that separates paths in a list of paths
|
# The character that separates paths in a list of paths
|
||||||
# $search_path_separator = ':';
|
# $search_path_separator = ':';
|
||||||
|
|
||||||
|
# Whether to display timing information
|
||||||
|
# $show_time = 0;
|
||||||
|
|
||||||
# Whether to suppress latex messages
|
# Whether to suppress latex messages
|
||||||
# $silent = 0;
|
# $silent = 0;
|
||||||
|
|
||||||
@ -398,37 +368,38 @@ $ps_update_method = 1;
|
|||||||
# allowed. These files are in addition to *.tex in the current directory.
|
# allowed. These files are in addition to *.tex in the current directory.
|
||||||
# $texfile_search = "";
|
# $texfile_search = "";
|
||||||
|
|
||||||
|
# Directories where BibTeX should look for .bib files.
|
||||||
|
# $TEXINPUTS = $ENV('TEXINPUTS') || '.'
|
||||||
|
|
||||||
# The directory to store temporary files; omit the trailing '/'
|
# The directory to store temporary files; omit the trailing '/'
|
||||||
# $tmpdir = $ENV{TMPDIR} || '/tmp';
|
# $tmpdir = $ENV{TMPDIR} || '/tmp';
|
||||||
|
|
||||||
# Whether to use make to try to create missing files
|
# Whether to use make to try to create missing files
|
||||||
# $use_make_for_missing_files = 0;
|
# $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
|
# 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'
|
# 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
|
# means that the PDF is viewed if it is generated, else PostScript is viewed if
|
||||||
# it is generated, else DVI is viewed.
|
# it is generated, else DVI is viewed.
|
||||||
# $view = 'default';
|
# $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
|
# Command to use in pvc mode for warnings
|
||||||
# $warning_cmd = "";
|
# $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.
|
# The command to convert an XDV file into a PDF file.
|
||||||
# $xdvipdfmx = 'xdvipdfmx -E -o %D %O %S';
|
# $xdvipdfmx = 'xdvipdfmx -o %D %O %S';
|
||||||
|
|
||||||
# Command line switch for xdvipdfmx to make it run in silent mode
|
# Command line switch for xdvipdfmx to make it run in silent mode
|
||||||
# $xdvipdfmx_silent_switch = '-q';
|
# $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
|
# Default switches to pass to the xelatex program
|
||||||
# $xelatex_default_switches = '-no-pdf';
|
# $xelatex_default_switches = '';
|
||||||
|
|
||||||
# The command line switch to make xelatex run in silent mode
|
# The command line switch to make xelatex run in silent mode
|
||||||
# $xelatex_silent_switch = '-interaction=batchmode';
|
# $xelatex_silent_switch = '-interaction=batchmode';
|
@ -1,16 +1,20 @@
|
|||||||
Name: latexmk
|
Name: latexmk
|
||||||
Version: 4.83
|
Version: 4.57
|
||||||
Release: 3%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: A make-like utility for LaTeX files
|
Summary: A make-like utility for LaTeX files
|
||||||
|
|
||||||
%global upstreamver %(sed 's/\\.//' <<< %{version})
|
%global upstreamver %(sed 's/\\.//' <<< %{version})
|
||||||
|
|
||||||
License: GPL-2.0-or-later
|
License: GPLv2+
|
||||||
URL: https://www.cantab.net/users/johncollins/latexmk/
|
URL: http://personal.psu.edu/jcc8/software/latexmk-jcc/
|
||||||
Source0: %{url}%{name}-%{upstreamver}.zip
|
Source0: http://personal.psu.edu/jcc8/software/latexmk-jcc/%{name}-%{upstreamver}.zip
|
||||||
Source1: latexmkrc
|
Source1: latexmk.conf
|
||||||
Source2: latexmk-README.fedora
|
Source2: latexmk-README.fedora
|
||||||
|
# Change the system-wide configuration file to /etc/latexmk.conf and fix the
|
||||||
|
# man page accordingly. This patch has not been submitted upstream, as
|
||||||
|
# upstream needs to be backwards compatible with previous versions of latexmk.
|
||||||
|
# Fedora has only ever used /etc/latexmk.conf.
|
||||||
|
Patch0: latexmk-conf.patch
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: perl-generators
|
BuildRequires: perl-generators
|
||||||
|
|
||||||
@ -29,172 +33,51 @@ version of the original version of latexmk.
|
|||||||
Before using a previewer, read the file README.fedora.
|
Before using a previewer, read the file README.fedora.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{name}
|
%setup -q -n %{name}
|
||||||
|
%patch0
|
||||||
|
|
||||||
|
fixtimestamp() {
|
||||||
|
touch -r $1.orig $1
|
||||||
|
rm -f $1.orig
|
||||||
|
}
|
||||||
|
|
||||||
|
# Fix encoding
|
||||||
|
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
|
||||||
|
|
||||||
# Invoke perl directly
|
# Invoke perl directly
|
||||||
sed -i.orig "s|^#\!/usr/bin/env perl|#\!/usr/bin/perl -w|" latexmk.pl
|
sed -i.orig "s|^#\!/usr/bin/env perl|#\!/usr/bin/perl -w|" latexmk.pl
|
||||||
touch -r latexmk.pl.orig latexmk.pl
|
fixtimestamp latexmk.pl
|
||||||
rm latexmk.pl.orig
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
cp -p %{SOURCE2} README.fedora
|
cp -p %{SOURCE2} README.fedora
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p %{buildroot}%{_bindir}
|
mkdir -p $RPM_BUILD_ROOT%{_bindir}
|
||||||
mkdir -p %{buildroot}%{_mandir}/man1
|
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
|
||||||
mkdir -p %{buildroot}%{_sysconfdir}
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}
|
||||||
install -m 0755 -p latexmk.pl %{buildroot}%{_bindir}/latexmk
|
install -m 0755 -p latexmk.pl $RPM_BUILD_ROOT%{_bindir}/latexmk
|
||||||
install -m 0644 -p latexmk.1 %{buildroot}%{_mandir}/man1
|
install -m 0644 -p latexmk.1 $RPM_BUILD_ROOT%{_mandir}/man1
|
||||||
install -m 0644 -p %{SOURCE1} %{buildroot}%{_sysconfdir}
|
install -m 0644 -p %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}
|
||||||
|
|
||||||
# Remove files we don't want in the docs
|
# Remove files we don't want in the docs
|
||||||
rm -f extra-scripts/*.bat
|
rm -f extra-scripts/*.bat
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%{_bindir}/latexmk
|
%{_bindir}/*
|
||||||
%{_mandir}/man1/latexmk.1*
|
%{_mandir}/man1/*
|
||||||
%config(noreplace) %{_sysconfdir}/latexmkrc
|
%config(noreplace) %{_sysconfdir}/latexmk.conf
|
||||||
%doc CHANGES README README.fedora extra-scripts example_rcfiles
|
%doc CHANGES INSTALL README README.fedora extra-scripts example_rcfiles
|
||||||
%doc latexmk.pdf
|
%doc latexmk.pdf
|
||||||
%license COPYING
|
%license COPYING
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 4.83-3
|
* Mon Jun 25 2018 Than Ngo <than@redhat.com> - 4.57-1
|
||||||
- Bump release for October 2024 mass rebuild:
|
|
||||||
Resolves: RHEL-64018
|
|
||||||
|
|
||||||
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 4.83-2
|
|
||||||
- Bump release for June 2024 mass rebuild
|
|
||||||
|
|
||||||
* Wed Jan 31 2024 Jerry James <loganjerry@gmail.com> - 4.83-1
|
|
||||||
- Version 4.83
|
|
||||||
|
|
||||||
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4.82a-3
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4.82a-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Jan 10 2024 Jerry James <loganjerry@gmail.com> - 4.82a-1
|
|
||||||
- Version 4.82a
|
|
||||||
|
|
||||||
* Tue Dec 26 2023 Jerry James <loganjerry@gmail.com> - 4.82-1
|
|
||||||
- Version 4.82
|
|
||||||
|
|
||||||
* Tue Nov 7 2023 Jerry James <loganjerry@gmail.com> - 4.81-1
|
|
||||||
- Version 4.81
|
|
||||||
- New project URL
|
|
||||||
|
|
||||||
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.80-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
||||||
|
|
||||||
* Tue Apr 4 2023 Jerry James <loganjerry@gmail.com> - 4.80-1
|
|
||||||
- Version 4.80
|
|
||||||
|
|
||||||
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.79-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sat Jan 7 2023 Jerry James <loganjerry@gmail.com> - 4.79-1
|
|
||||||
- Version 4.79
|
|
||||||
|
|
||||||
* Mon Nov 21 2022 Jerry James <loganjerry@gmail.com> - 4.78-1
|
|
||||||
- Version 4.78
|
|
||||||
- Convert License tag to SPDX
|
|
||||||
|
|
||||||
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.77-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sat Mar 19 2022 Jerry James <loganjerry@gmail.com> - 4.77-1
|
|
||||||
- Update to 4.77
|
|
||||||
|
|
||||||
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.76-3
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sun Dec 05 2021 Michael Kuhn <suraia@fedoraproject.org> - 4.76-2
|
|
||||||
- Fix Fedora configuration not being found
|
|
||||||
|
|
||||||
* Wed Nov 24 2021 Jerry James <loganjerry@gmail.com> - 4.76-1
|
|
||||||
- Update to 4.76
|
|
||||||
- Drop upstreamed -conf patch
|
|
||||||
|
|
||||||
* Mon Sep 27 2021 Jerry James <loganjerry@gmail.com> - 4.75-1
|
|
||||||
- Update to 4.75
|
|
||||||
|
|
||||||
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.74b-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
||||||
|
|
||||||
* Tue Jun 8 2021 Jerry James <loganjerry@gmail.com> - 4.74b-1
|
|
||||||
- Update to 4.74b
|
|
||||||
|
|
||||||
* Mon May 17 2021 Jerry James <loganjerry@gmail.com> - 4.74-1
|
|
||||||
- Update to 4.74
|
|
||||||
|
|
||||||
* Thu May 6 2021 Jerry James <loganjerry@gmail.com> - 4.73-1
|
|
||||||
- Update to 4.73
|
|
||||||
|
|
||||||
* Sat Apr 17 2021 Jerry James <loganjerry@gmail.com> - 4.72b-1
|
|
||||||
- Update to 4.72b
|
|
||||||
|
|
||||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.70b-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Sep 30 2020 Jerry James <loganjerry@gmail.com> - 4.70b-1
|
|
||||||
- Update to 4.70b
|
|
||||||
|
|
||||||
* Wed Sep 9 2020 Jerry James <loganjerry@gmail.com> - 4.70-1
|
|
||||||
- Update to 4.70
|
|
||||||
|
|
||||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.69a-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Apr 17 2020 Jerry James <loganjerry@gmail.com> - 4.69a-1
|
|
||||||
- Update to 4.69a
|
|
||||||
|
|
||||||
* Thu Mar 12 2020 Jerry James <loganjerry@gmail.com> - 4.69-1
|
|
||||||
- Update to 4.69
|
|
||||||
|
|
||||||
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.67-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Jan 3 2020 Jerry James <loganjerry@gmail.com> - 4.67-1
|
|
||||||
- Update to 4.67
|
|
||||||
|
|
||||||
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.65-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Jun 26 2019 Jerry James <loganjerry@gmail.com> - 4.65-1
|
|
||||||
- Update to 4.65
|
|
||||||
|
|
||||||
* Tue May 21 2019 Jerry James <loganjerry@gmail.com> - 4.64a-1
|
|
||||||
- Update to 4.64a
|
|
||||||
|
|
||||||
* Sat Apr 6 2019 Jerry James <loganjerry@gmail.com> - 4.63b-1
|
|
||||||
- Update to 4.63b
|
|
||||||
|
|
||||||
* Thu Mar 14 2019 Jerry James <loganjerry@gmail.com> - 4.63-1
|
|
||||||
- Update to 4.63
|
|
||||||
|
|
||||||
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.61-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
||||||
|
|
||||||
* Tue Oct 30 2018 Jerry James <loganjerry@gmail.com> - 4.61-1
|
|
||||||
- Update to 4.61
|
|
||||||
|
|
||||||
* Sat Sep 22 2018 Jerry James <loganjerry@gmail.com> - 4.60-1
|
|
||||||
- Update to 4.60
|
|
||||||
|
|
||||||
* Wed Aug 8 2018 Jerry James <loganjerry@gmail.com> - 4.59-1
|
|
||||||
- Update to 4.59
|
|
||||||
|
|
||||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.57-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
||||||
|
|
||||||
* Thu Jun 21 2018 Jerry James <loganjerry@gmail.com> - 4.57-1
|
|
||||||
- Update to 4.57
|
- Update to 4.57
|
||||||
|
|
||||||
* Mon May 28 2018 Jerry James <loganjerry@gmail.com> - 4.56-1
|
|
||||||
- Update to 4.56
|
|
||||||
|
|
||||||
* Fri Mar 16 2018 Jerry James <loganjerry@gmail.com> - 4.55d-1
|
* Fri Mar 16 2018 Jerry James <loganjerry@gmail.com> - 4.55d-1
|
||||||
- Update to 4.55d
|
- Update to 4.55d
|
||||||
|
|
@ -1,6 +0,0 @@
|
|||||||
--- !Policy
|
|
||||||
product_versions:
|
|
||||||
- rhel-10
|
|
||||||
decision_context: osci_compose_gate
|
|
||||||
rules:
|
|
||||||
- !PassingTestCaseRule {test_case_name: desktop-qe.desktop-ci.tier1-gating.functional}
|
|
Loading…
Reference in New Issue
Block a user