diff --git a/latexmk.spec b/latexmk.spec index fbf7937..00f4deb 100644 --- a/latexmk.spec +++ b/latexmk.spec @@ -1,9 +1,9 @@ Name: latexmk -Version: 4.88 +Version: 4.86a Release: %autorelease Summary: A make-like utility for LaTeX files -%global upstreamver %{gsub %version %. %{quote:}} +%global upstreamver %(sed 's/\\.//' <<< %{version}) License: GPL-2.0-or-later URL: https://www.cantab.net/users/johncollins/latexmk/ @@ -14,24 +14,23 @@ Source2: latexmk-README.fedora BuildArch: noarch BuildRequires: perl-generators -Requires: tex-latex-bin, ghostscript-tools-dvipdf, xdg-utils +Requires: tex-latex-bin, ghostscript, 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 diff --git a/latexmkrc b/latexmkrc index 46cf38a..2046a5e 100644 --- a/latexmkrc +++ b/latexmkrc @@ -39,6 +39,18 @@ # '^\(\\\\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'; @@ -136,10 +148,12 @@ # $dvi_mode = 0; # The command to start a DVI previewer -# $dvi_previewer = 'xdg-open %S'; +# $dvi_previewer = 'start xdvi %O %S'; +$dvi_previewer = 'xdg-open %O %S'; # The command to start a DVI previewer in landscape mode -# $dvi_previewer_landscape = 'xdg-open %S'; +# $dvi_previewer_landscape = 'start xdvi -paper usr %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 = ''; @@ -237,7 +251,7 @@ $dvi_update_method = 1; # $hilatex_silent_switch = '-interaction=batchmode'; # The command to invoke a HNT previewer -# $hnt_previewer = 'xdg-open %S'; +$hnt_previewer = 'xdg-open %O %S';; # The basename of generated files # $jobname = ""; @@ -331,7 +345,8 @@ $dvi_update_method = 1; # $pdf_mode = 0; # The command to invoke a PDF previewer -# $pdf_previewer = 'xdg-open %S'; +# $pdf_previewer = 'start acroread %O %S'; +$pdf_previewer = 'xdg-open %O %S'; # The command to run when the PDF viewer is set to be updated by a command # $pdf_update_command = ''; @@ -378,10 +393,12 @@ $dvi_update_method = 1; # $ps_filter = ''; # The command to invoke a PostScript previewer -# $ps_previewer = 'xdg-open %S'; +# $ps_previewer = 'start gv %O %S'; +$ps_previewer = 'xdg-open %O %S'; # The command to invoke a PostScript previewer in landscape mode -# $ps_previewer_landscape = 'xdg-open %S'; +# $ps_previewer_landscape = 'start gv -swap %O %S'; +$ps_previewer_landscape = 'xdg-open %O %S'; # The command to run when the PostScript viewer is set to be updated by a # command @@ -423,9 +440,6 @@ $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; diff --git a/sources b/sources index 9bc28c5..63b90d6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (latexmk-488.zip) = fbf9b7a1b9e0ce00d6bff4db4355e3d542bfc8d49443b9bfb402599083ae4be62870c06dfcc2deb17baa39f6b462fc533ad53d8d58fa9152d0d1ebda2f98bc20 +SHA512 (latexmk-486a.zip) = 32a0302a35dc9c9d9b0f2f766fbc983ed98b25d20d4badcb15fd2f7cf0d8d246b545afc547fe100d757a5d7c8300cb3299c442ffda33cd9e56b0018a649c8c4e