diff options
-rw-r--r-- | Master/texmf-dist/doc/support/latexmk/CHANGES | 6 | ||||
-rw-r--r-- | Master/texmf-dist/doc/support/latexmk/README | 6 | ||||
-rw-r--r-- | Master/texmf-dist/doc/support/latexmk/example_rcfiles/asymptote_latexmkrc | 22 | ||||
-rw-r--r-- | Master/texmf-dist/doc/support/latexmk/latexmk.pdf | bin | 78893 -> 79060 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/support/latexmk/latexmk.txt | 397 | ||||
-rwxr-xr-x | Master/texmf-dist/scripts/latexmk/latexmk.pl | 30 | ||||
-rw-r--r-- | Master/texmf/doc/man/man1/latexmk.1 | 10 | ||||
-rw-r--r-- | Master/texmf/doc/man/man1/latexmk.man1.pdf | bin | 88835 -> 0 bytes |
8 files changed, 285 insertions, 186 deletions
diff --git a/Master/texmf-dist/doc/support/latexmk/CHANGES b/Master/texmf-dist/doc/support/latexmk/CHANGES index 32ee82dc0c9..39f9fc45e92 100644 --- a/Master/texmf-dist/doc/support/latexmk/CHANGES +++ b/Master/texmf-dist/doc/support/latexmk/CHANGES @@ -144,3 +144,9 @@ From v. 4.13a to v. 4.15 Fixed problem that with -pvc when (pdf)latex failed, latexmk kept doing dvips, dvipdf, etc. +From v. 4.15 to v. 4.15b + Changed default location of system rc files for cygwin to include + both Unix-like and MSWindows paths. + Changed use of Digest module to use of Digest::MD5 module, to give + compatibility with the limited installation of perl shipped + with TeX Live. diff --git a/Master/texmf-dist/doc/support/latexmk/README b/Master/texmf-dist/doc/support/latexmk/README index 971046c0df8..2e5701adcad 100644 --- a/Master/texmf-dist/doc/support/latexmk/README +++ b/Master/texmf-dist/doc/support/latexmk/README @@ -1,5 +1,5 @@ -Latexmk, version 4.15, 7 April 2010 ------------------------------------ +Latexmk, version 4.15b, 12 April 2010 +------------------------------------- Latexmk completely automates the process of generating a LaTeX document. Essentially, it is a highly specialized cousin of the general make @@ -89,7 +89,7 @@ I hope you find this useful. John Collins ---------------------------- "latexmk -h" ---------------------------- -Latexmk 4.15: Automatic LaTeX document generation routine +Latexmk 4.15b: Automatic LaTeX document generation routine Usage: latexmk [latexmk_options] [filename ...] diff --git a/Master/texmf-dist/doc/support/latexmk/example_rcfiles/asymptote_latexmkrc b/Master/texmf-dist/doc/support/latexmk/example_rcfiles/asymptote_latexmkrc new file mode 100644 index 00000000000..cc3fa5d1d03 --- /dev/null +++ b/Master/texmf-dist/doc/support/latexmk/example_rcfiles/asymptote_latexmkrc @@ -0,0 +1,22 @@ +# This shows how to use Asymptote (http://asymptote.sourceforge.net/, +# or http://www.ctan.org/tex-archive/graphics/asymptote/) +# with latexmk. Asymptote is a vector graphics language with a +# processing program that generates graphics files that can be used in +# a LaTex file. +# +# A standard method of using it is with the asymptote LaTeX style file +# (http://www.ctan.org/tex-archive/graphics/asymptote/doc/asymptote.sty) +# The graphics drawing code is in the tex file, and applying pdflatex to +# the tex file produces a file with the same base name as the tex +# file, but with the extension 'asy'. The .asy is processed by the +# program asy (part of the asymptote software) to produce graphics +# files (typically pdf files) that are used the next time pdflatex is +# run on the main tex file. +# +# Latexmk can be arranged to run asymptote (i.e., the program asy) +# when needed, by defining the following custom dependency. (The code +# is to be put in one of latexmk's rc files, e.g., ~/.latexmkrc.) + + +add_cus_dep( "asy", "tex", 0, "asy2tex" ); +sub asy2tex { return system("asy $_[0].asy"); } diff --git a/Master/texmf-dist/doc/support/latexmk/latexmk.pdf b/Master/texmf-dist/doc/support/latexmk/latexmk.pdf Binary files differindex c346a97ada0..506d1dd2822 100644 --- a/Master/texmf-dist/doc/support/latexmk/latexmk.pdf +++ b/Master/texmf-dist/doc/support/latexmk/latexmk.pdf diff --git a/Master/texmf-dist/doc/support/latexmk/latexmk.txt b/Master/texmf-dist/doc/support/latexmk/latexmk.txt index aa14153be62..ac61d74eb9f 100644 --- a/Master/texmf-dist/doc/support/latexmk/latexmk.txt +++ b/Master/texmf-dist/doc/support/latexmk/latexmk.txt @@ -127,7 +127,7 @@ LATEXMK OPTIONS AND ARGUMENTS ON COMMAND LINE - 7 April 2010 2 + 12 April 2010 2 @@ -193,7 +193,7 @@ LATEXMK(1L) LATEXMK(1L) - 7 April 2010 3 + 12 April 2010 3 @@ -259,7 +259,7 @@ LATEXMK(1L) LATEXMK(1L) - 7 April 2010 4 + 12 April 2010 4 @@ -325,7 +325,7 @@ LATEXMK(1L) LATEXMK(1L) - 7 April 2010 5 + 12 April 2010 5 @@ -391,7 +391,7 @@ LATEXMK(1L) LATEXMK(1L) - 7 April 2010 6 + 12 April 2010 6 @@ -457,7 +457,7 @@ LATEXMK(1L) LATEXMK(1L) - 7 April 2010 7 + 12 April 2010 7 @@ -523,7 +523,7 @@ LATEXMK(1L) LATEXMK(1L) - 7 April 2010 8 + 12 April 2010 8 @@ -589,7 +589,7 @@ LATEXMK(1L) LATEXMK(1L) - 7 April 2010 9 + 12 April 2010 9 @@ -637,6 +637,12 @@ CONFIGURATION/INITIALIZATION (RC) FILES "/usr/local/share/latexmk/LatexMk", "/usr/local/lib/latexmk/LatexMk". 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), latexmk reads for the first it finds of + "/cygdrive/c/latexmk/LatexMk", + "/opt/local/share/latexmk/LatexMk", + "/usr/local/share/latexmk/LatexMk", + "/usr/local/lib/latexmk/LatexMk". 2) The user's RC file, "$HOME/.latexmkrc", if it exists. Here $HOME is the value of the environment variable HOME. On UNIX and clones @@ -647,15 +653,9 @@ CONFIGURATION/INITIALIZATION (RC) FILES named either "latexmkrc" or ".latexmkrc", and the first of these to be found is used, if any. - 4) Any RC file(s) specified on the command line with the -r option. - - Each RC file is a sequence of Perl commands. Naturally, a user can use - this in creative ways. But for most purposes, one simply uses a - sequence of assignment statements that override some of the built-in - - 7 April 2010 10 + 12 April 2010 10 @@ -664,6 +664,11 @@ CONFIGURATION/INITIALIZATION (RC) FILES LATEXMK(1L) LATEXMK(1L) + 4) Any RC file(s) specified on the command line with the -r option. + + Each RC file is a sequence of Perl commands. Naturally, a user can use + this in creative ways. But for most purposes, one simply uses a + sequence of assignment statements that override some of the built-in settings of Latexmk. Straightforward cases can be handled without knowledge of the Perl language by using the examples in this document as templates. Comment lines are introduced by the "#" character. @@ -714,14 +719,10 @@ HOW TO SET VARIABLES IN INITIALIZATION FILES FORMAT OF COMMAND SPECIFICATIONS Some of the variables set the commands that latexmk uses for carrying out its work, for example to generate a dvi file from a tex file or to - view a postscript file. This section describes some important features - of how the commands are specified. - - Placeholders: Supposed you wanted latexmk to use the command elatex in - 7 April 2010 11 + 12 April 2010 11 @@ -730,6 +731,10 @@ FORMAT OF COMMAND SPECIFICATIONS LATEXMK(1L) LATEXMK(1L) + view a postscript file. This section describes some important features + of how the commands are specified. + + Placeholders: Supposed you wanted latexmk to use the command elatex in place of the regular latex command, and suppose moreover that you wanted to give it the option "--shell-escape". You could do this by the following setting: @@ -781,13 +786,10 @@ LATEXMK(1L) LATEXMK(1L) basename of a bibtex run is the same as for the texfile. But in a doc- ument with several bibliographies, the bibliography files will have a variety of names. Since bibtex is invoked with the basename of the - bibliography file, the setting for the bibtex command should therefore - be - - 7 April 2010 12 + 12 April 2010 12 @@ -796,6 +798,9 @@ LATEXMK(1L) LATEXMK(1L) LATEXMK(1L) LATEXMK(1L) + bibliography file, the setting for the bibtex command should therefore + be + $bibtex = 'bibtex %O %B'; Generally, you should use %B rather than %R. Similarly for most pur- @@ -848,12 +853,10 @@ LATEXMK(1L) LATEXMK(1L) Under recent versions of MS-Windows, this will cause to be run whatever program the system has associated with dvi files. (The same applies - for a postscript viewer and a pdf viewer.) - - 7 April 2010 13 + 12 April 2010 13 @@ -862,6 +865,8 @@ LATEXMK(1L) LATEXMK(1L) LATEXMK(1L) LATEXMK(1L) + for a postscript viewer and a pdf viewer.) + Not using a certain command: If a command is not to be run, the command name NONE is used, as in @@ -915,11 +920,10 @@ LIST OF CONFIGURATION VARIABLES USABLE IN INITIALIZATION FILES $banner_intensity [0.95] Equivalent to the -bi option, this is a decimal number between 0 and 1 that specifies how dark to print the banner message. 0 is - black, 1 is white. The default is just right if your toner - 7 April 2010 14 + 12 April 2010 14 @@ -928,7 +932,8 @@ LIST OF CONFIGURATION VARIABLES USABLE IN INITIALIZATION FILES LATEXMK(1L) LATEXMK(1L) - cartridge isn't running too low. + black, 1 is white. The default is just right if your toner car- + tridge isn't running too low. $banner_message ["DRAFT"] The banner message to print across each page when converting the @@ -985,7 +990,7 @@ LATEXMK(1L) LATEXMK(1L) - 7 April 2010 15 + 12 April 2010 15 @@ -1048,10 +1053,11 @@ LATEXMK(1L) LATEXMK(1L) are specified on the command line then the files you specify by setting @default_files are processed. + Three examples: - 7 April 2010 16 + 12 April 2010 16 @@ -1060,8 +1066,6 @@ LATEXMK(1L) LATEXMK(1L) LATEXMK(1L) LATEXMK(1L) - Three examples: - @default_files = ("paper_current"); @default_files = ("paper1", "paper2.tex"); @@ -1114,20 +1118,20 @@ LATEXMK(1L) LATEXMK(1L) $dvips ["dvips %O -o %D %S"] The program to used as a filter to convert a .dvi file to a .ps file. If pdf is going to be generated from pdf, then the value + of the $dvips_pdf_switch -- see below -- will be included in the + options substituted for "%O". - 7 April 2010 17 + 12 April 2010 17 -LATEXMK(1L) LATEXMK(1L) +LATEXMK(1L) LATEXMK(1L) - of the $dvips_pdf_switch -- see below -- will be included in the - options substituted for "%O". $dvips_landscape ["dvips -tlandscape %O -o %D %S"] The program to used as a filter to convert a .dvi file to a .ps @@ -1180,10 +1184,15 @@ LATEXMK(1L) LATEXMK(1L) $force_mode [0] If nonzero, continue processing past minor latex errors includ- ing unrecognized cross references. Equivalent to specifying the + -f option. + + @generated_exts [( aux , bbl , idx , ind , lof , lot , out , toc , + $fdb_ext )] + This contains a list of extensions for files that are generated - 7 April 2010 18 + 12 April 2010 18 @@ -1192,11 +1201,6 @@ LATEXMK(1L) LATEXMK(1L) LATEXMK(1L) LATEXMK(1L) - -f option. - - @generated_exts [( aux , bbl , idx , ind , lof , lot , out , toc , - $fdb_ext )] - This contains a list of extensions for files that are generated during a LaTeX run and that are read in by LaTeX in later runs, either directly or indirectly. @@ -1246,25 +1250,25 @@ LATEXMK(1L) LATEXMK(1L) But the changing line has no real effect, since it is a comment. You can instruct latex to ignore the offending line as follows: + $hash_calc_ignore_pattern{'eps'} = '^%%CreationDate: '; + This creates a rule for files with extension .eps about lines to + ignore. The left-hand side is a Perl idiom for setting an item + in a hash. Note that the file extension is specified without a + period. The value, on the right-hand side, is a string contain- + ing a regular expresssion. (See documentation on Perl for how - 7 April 2010 19 + 12 April 2010 19 -LATEXMK(1L) LATEXMK(1L) +LATEXMK(1L) LATEXMK(1L) - $hash_calc_ignore_pattern{'eps'} = '^%%CreationDate: '; - This creates a rule for files with extension .eps about lines to - ignore. The left-hand side is a Perl idiom for setting an item - in a hash. Note that the file extension is specified without a - period. The value, on the right-hand side, is a string contain- - ing a regular expresssion. (See documentation on Perl for how they are to be specified in general.) This particular regular expression specifies that lines beginning with "%%CreationDate: " are to be ignored in deciding whether a file of the given @@ -1312,27 +1316,27 @@ LATEXMK(1L) LATEXMK(1L) tines are provided for manipulating this and the related vari- able %pdflatex_input_extensions, add_input_ext and remove_input_ext. They are used as in the following examples + are possible lines in an initialization file: + remove_input_ext( 'latex', 'tex' ); + removes the extension 'tex' from latex_input_extensions - 7 April 2010 20 + add_input_ext( 'latex', 'asdf' ); + add the extension 'asdf to latex_input_extensions. (Naturally + 12 April 2010 20 -LATEXMK(1L) LATEXMK(1L) - are possible lines in an initialization file: - remove_input_ext( 'latex', 'tex' ); - removes the extension 'tex' from latex_input_extensions +LATEXMK(1L) LATEXMK(1L) - add_input_ext( 'latex', 'asdf' ); - add the extension 'asdf to latex_input_extensions. (Naturally with such an extension, you should have made an appropriate cus- tom dependency for latexmk, and should also have done the appro- priate programming in the LaTeX source file to enable the file @@ -1378,27 +1382,27 @@ LATEXMK(1L) LATEXMK(1L) The printing program to print pdf files. Under MS-Windows you could set this to use gsview, if it is + installed, e.g., + $lpr = '"c:/Program Files/Ghostgum/gsview/gsview32.exe" /p'; + If gsview is installed in a different directory, you will need + to make the appropriate change. Note the double quotes around + the name: this is necessary because one part of the command name + ("Program Files") contains a space which would otherwise be mis- + interpreted. - 7 April 2010 21 + 12 April 2010 21 -LATEXMK(1L) LATEXMK(1L) - installed, e.g., - $lpr = '"c:/Program Files/Ghostgum/gsview/gsview32.exe" /p'; - If gsview is installed in a different directory, you will need - to make the appropriate change. Note the double quotes around - the name: this is necessary because one part of the command name - ("Program Files") contains a space which would otherwise be mis- - interpreted. +LATEXMK(1L) LATEXMK(1L) $makeindex ["makeindex %O -o %D %S"] @@ -1445,17 +1449,6 @@ LATEXMK(1L) LATEXMK(1L) input{file} or includegraphics{figure}, when the relevant source file does not exist. - - - 7 April 2010 22 - - - - - -LATEXMK(1L) LATEXMK(1L) - - 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 @@ -1468,6 +1461,18 @@ LATEXMK(1L) LATEXMK(1L) remove_input_ext. They are used as in the following examples are possible lines in an initialization file: + + + + 12 April 2010 22 + + + + + +LATEXMK(1L) LATEXMK(1L) + + remove_input_ext( 'pdflatex', 'tex' ); removes the extension 'tex' from pdflatex_input_extensions @@ -1510,18 +1515,6 @@ LATEXMK(1L) LATEXMK(1L) $pdf_update_command [""] When the pdf previewer is set to be updated by running a com- mand, this is the command that is run. See the information for - - - - 7 April 2010 23 - - - - - -LATEXMK(1L) LATEXMK(1L) - - the variable $pdf_update_method. $pdf_update_method [1 under UNIX, 3 under MS-Windows] @@ -1536,6 +1529,18 @@ LATEXMK(1L) LATEXMK(1L) Note that acroread under MS-Windows (but not UNIX) locks the pdf file, so the default value is then 3. + + + + 12 April 2010 23 + + + + + +LATEXMK(1L) LATEXMK(1L) + + Arranging to use a command to get a previewer explicitly updated requires three variables to be set. For example: @@ -1576,18 +1581,6 @@ LATEXMK(1L) LATEXMK(1L) If nonzero, run a previewer to view the document, and continue running latexmk to keep .dvi up-to-date. Equivalent to the -pvc option. Which previewer is run depends on the other settings, - - - - 7 April 2010 24 - - - - - -LATEXMK(1L) LATEXMK(1L) - - see the command line options -view=, and the variable $view. $preview_mode [0] @@ -1605,6 +1598,17 @@ LATEXMK(1L) LATEXMK(1L) Type of file to printout: possibilities are "dvi", "none", "pdf", or "ps". + + + 12 April 2010 24 + + + + + +LATEXMK(1L) LATEXMK(1L) + + $pscmd Command used to get all the processes currently run by the user. The -pvc option uses the command specified by the variable $pscmd to determine if there is an already running previewer, @@ -1642,18 +1646,6 @@ LATEXMK(1L) LATEXMK(1L) variable apppropriately. WARNING: Linux systems may have installed one (or more) versions - - - - 7 April 2010 25 - - - - - -LATEXMK(1L) LATEXMK(1L) - - of gv under different names, e.g., ggv, kghostview, etc, but perhaps not one called gv. @@ -1673,6 +1665,18 @@ LATEXMK(1L) LATEXMK(1L) be changed slightly so that for the value 4, to run a command to do the update, the command is specified by the variable $ps_update_command, and for the value 2, to specify update by + + + + 12 April 2010 25 + + + + + +LATEXMK(1L) LATEXMK(1L) + + signal, the signal is specified by $ps_update_signal.) @@ -1709,17 +1713,6 @@ LATEXMK(1L) LATEXMK(1L) then latexmk replaces @default_files with the filenames in $tex- file_search to which is added "*.tex". - - - 7 April 2010 26 - - - - - -LATEXMK(1L) LATEXMK(1L) - - $tmpdir [See below for default] Directory to store temporary files that latexmk may generate while running. @@ -1742,6 +1735,18 @@ LATEXMK(1L) LATEXMK(1L) CUSTOM DEPENDENCIES In any RC file a set of custom dependencies can be set up to convert a file with one extension to a file with another. An example use of this + + + + 12 April 2010 26 + + + + + +LATEXMK(1L) LATEXMK(1L) + + would be to allow latexmk to convert a .fig file to .eps to be included in the .tex file. @@ -1774,18 +1779,6 @@ CUSTOM DEPENDENCIES function: The name of the subroutine that latexmk should call to perform the file conversion. The first argument to the subroutine is - - - - 7 April 2010 27 - - - - - -LATEXMK(1L) LATEXMK(1L) - - the base name of the file to be converted without any extension. The subroutines are declared in the syntax of Perl. The func- tion should return 0 if it was successful and a nonzero number @@ -1812,6 +1805,18 @@ LATEXMK(1L) LATEXMK(1L) A simple and typical example of code in an initialization rcfile is + + + + 12 April 2010 27 + + + + + +LATEXMK(1L) LATEXMK(1L) + + add_cus_dep( 'fig', 'eps', 0, 'fig2eps' ); sub fig2eps { system("fig2dev -Leps $_[0].fig $_[0].eps"); @@ -1841,17 +1846,6 @@ LATEXMK(1L) LATEXMK(1L) return value is the value returned by the last (and only) statement, i.e., the invocation of system, which returns the value 0 on success. - - - 7 April 2010 28 - - - - - -LATEXMK(1L) LATEXMK(1L) - - If you use filenames with spaces in them, and if your LaTeX system and all other relevant software correctly handle such filenames, then you could put single quotes around filenames in the command line that is @@ -1881,6 +1875,18 @@ LATEXMK(1L) LATEXMK(1L) If you have some general custom dependencies defined in the system or user initialization file, you may find that for a particular project they are undesirable. So you might want to delete the unneeded ones. + + + + 12 April 2010 28 + + + + + +LATEXMK(1L) LATEXMK(1L) + + For example, you remove any "fig" to "eps" rule by the line remove_cus_dep( 'fig', 'eps' ); @@ -1906,18 +1912,6 @@ LATEXMK(1L) LATEXMK(1L) file will cause this to happen: add_cus_dep('ndx', 'nnd', 0, 'makendx2nnd'); - - - - 7 April 2010 29 - - - - - -LATEXMK(1L) LATEXMK(1L) - - sub makendx2nnd { system("makeindex -o $_[0].nnd $_[0].ndx"); } @@ -1951,6 +1945,18 @@ OLD METHOD OF DEFINING CUSTOM DEPENDENCIES item, and the name of the subroutine for the custom dependency. These were all defined above. + + + + 12 April 2010 29 + + + + + +LATEXMK(1L) LATEXMK(1L) + + An example of the old method of defining custom dependencies is as fol- lows. It is the code in an RC file to ensure automatic conversion of .fig files to .eps files: @@ -1972,18 +1978,6 @@ SEE ALSO BUGS Sometimes a viewer (gv) tries to read an updated .ps or .pdf file after its creation is started but before the file is complete. Work around: - - - - 7 April 2010 30 - - - - - -LATEXMK(1L) LATEXMK(1L) - - manually refresh (or reopen) display. Or use one of the other preview- ers and update methods. @@ -2008,7 +2002,7 @@ THANKS TO AUTHOR Current version, by John Collins (username collins at node - phys.psu.edu). (Version 4.15). + phys.psu.edu). (Version 4.15b). Released version can be obtained from CTAN: <http://www.tug.org/tex- archive/support/latexmk/>, and from the author's website @@ -2024,6 +2018,59 @@ AUTHOR + 12 April 2010 30 + + + + + +LATEXMK(1L) LATEXMK(1L) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -2041,6 +2088,6 @@ AUTHOR - 7 April 2010 31 + 12 April 2010 31 diff --git a/Master/texmf-dist/scripts/latexmk/latexmk.pl b/Master/texmf-dist/scripts/latexmk/latexmk.pl index bf3a7f7ee38..ababdc1a3a7 100755 --- a/Master/texmf-dist/scripts/latexmk/latexmk.pl +++ b/Master/texmf-dist/scripts/latexmk/latexmk.pl @@ -108,8 +108,8 @@ use warnings; $my_name = 'latexmk'; $My_name = 'Latexmk'; -$version_num = '4.15'; -$version_details = "$My_name, John Collins, 7 April 2010"; +$version_num = '4.15b'; +$version_details = "$My_name, John Collins, 12 April 2010"; use Config; @@ -119,7 +119,7 @@ use FileHandle; use File::Find; use Cwd; # To be able to change cwd use Cwd "chdir"; # Ensure $ENV{PWD} tracks cwd -use Digest; +use Digest::MD5; #use strict; @@ -178,6 +178,17 @@ else { ## ## Modification log from 22 Jan 2010 onwards in detail ## +## 12 Apr 2010, John Collins V. 4.15b. Change +## use Digest; +## to +## use Digest::MD5; +## for TeX Live compatibility. Needed also to change +## my $md5 = Digest->MD5; +## to +## my $md5 = Digest::MD5->new; +## +## 8 Apr 2010, John Collins V. 4.15a. Better defaults for system +## configuration file under cygwin ## 7 Apr 2010, John Collins V. 4.15: Change defaults on ## $latex_silent_switch and $pdflatex_silent_switch ## to make them TeXLive compatible always @@ -574,8 +585,15 @@ elsif ( $^O eq "cygwin" ) { ## List of possibilities for the system-wide initialization file. ## The first one found (if any) is used. - ## We can stay with MSWin files here, since perl understands them, - @rc_system_files = ( 'C:/latexmk/LatexMk' ); + ## We could stay with MSWin files here, since cygwin perl understands them + ## @rc_system_files = ( 'C:/latexmk/LatexMk' ); + ## But they are deprecated in v. 1.7. So use the UNIX version, prefixed + ## with a cygwin equivalent of the MSWin location + @rc_system_files = + ( '/cygdrive/c/latexmk/LatexMk', + '/opt/local/share/latexmk/LatexMk', + '/usr/local/share/latexmk/LatexMk', + '/usr/local/lib/latexmk/LatexMk' ); $search_path_separator = ';'; # Separator of elements in search_path # This is tricky. The search_path_separator depends on the kind @@ -5936,7 +5954,7 @@ sub get_time_size_raw sub get_checksum_md5 { my $source = shift; my $input = new FileHandle; - my $md5 = Digest->MD5; + my $md5 = Digest::MD5->new; my $ignore_pattern = ''; #warn "======= GETTING MD5: $source\n"; diff --git a/Master/texmf/doc/man/man1/latexmk.1 b/Master/texmf/doc/man/man1/latexmk.1 index 8750e944a01..173da9d14a4 100644 --- a/Master/texmf/doc/man/man1/latexmk.1 +++ b/Master/texmf/doc/man/man1/latexmk.1 @@ -1,4 +1,4 @@ -.TH LATEXMK 1L "7 April 2010" "" +.TH LATEXMK 1L "12 April 2010" "" .SH NAME latexmk \- generate LaTeX document .SH SYNOPSIS @@ -552,6 +552,12 @@ system RC file, in the following order, and reads the first it finds: "/usr/local/share/latexmk/LatexMk", "/usr/local/lib/latexmk/LatexMk". 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 + "/cygdrive/c/latexmk/LatexMk", + "/opt/local/share/latexmk/LatexMk", + "/usr/local/share/latexmk/LatexMk", + "/usr/local/lib/latexmk/LatexMk". .PP 2) The user's RC file, "$HOME/.latexmkrc", if it exists. Here $HOME is the value of the environment variable HOME. On UNIX and clones @@ -1671,7 +1677,7 @@ e-mail addresses are not written in their standard form to avoid being harvested by worms and viruses.) .SH AUTHOR Current version, by John Collins (username collins at node phys.psu.edu). -(Version 4.15). +(Version 4.15b). Released version can be obtained from CTAN: <http://www.tug.org/tex-archive/support/latexmk/>, and from the diff --git a/Master/texmf/doc/man/man1/latexmk.man1.pdf b/Master/texmf/doc/man/man1/latexmk.man1.pdf Binary files differdeleted file mode 100644 index b4ca880f30a..00000000000 --- a/Master/texmf/doc/man/man1/latexmk.man1.pdf +++ /dev/null |