Latexmk: current and previous versions;
special downloads
- V. 4.86 dated 11 December 2024.
- Document variable $user_deleted_file_treated_as_changed.
- Correct problems when main pdf output file is detected as an INPUT file in
the .fls file. (That sometimes affected dependency detection of
included graphics files with the same basename as the main .tex
document.)
- Updates to example_rcfiles/xr_latexmkrc, example_rcfiles/pythontex_latexmkrc,
example_rcfiles/splitindex_latexmkrc, example_rcfiles/bib2gls_latexmkrc.
- Correct detection of graphics includes in .log file.
- Apply autoflush to STDOUT, so that when STDERR and STDOUT are redirected
to the same place, the output is correctly ordered.
- Add base name to the list of items reported with the -dir-report and
-dir-report-only options.
- With -dir-report-only make report for each tex file to be processed.
- Fix failure of -c and -C with $cleanup_includes_generated = 1; when
engine is lualatex or hilatex.
- Documentation updates.
- Correct problem that necessary necessary directory/ies not created in aux
dir when \include'd file has more than one level of subdirectory.
- Correct message about up-to-date files when $max_repeat runs exceeded.
This version is on
CTAN at
https://ctan.org/pkg/latexmk/,
and is/will be in the TeXLive and MiKTeX distributions.
- V. 4.85 dated 7 April 2024.
- Update example_rcfiles/bib2gls_latexmkrc to deal with situation where
.glstex file has basename of .bib file rather than that of main .tex
file.
- Update example_rcfiles/asymptote_latexmkrc.
- Update example_rcfiles/splitindex_latexmkrc.
- Add example_rcfiles/memoize_latexmkrc.
- Improve detection of need to run makeindex (solves non-detection when
imakeidx package is used with splitindex option).
- Implement final-output directory, with option -out2dir, variables
$out2_dir, @out2_exts.
- Document hook mechanism.
- Document $allow_subdir_creation variable.
- Correct bug in v. 4.84 that if $out_dir and $out2_dir referred to
the same directory, but latexmk didn't detect that, then the
subroutine copy reported an error, and latexmk treated that
incorrectly as a fatal error.
- V. 4.83 dated 31 January 2024.
- Fix bug that sometimes biber is incorrectly run after a *latex run
results in an error, with biber then giving an error.
- Fix problem that if -gg is used with multiple files specified on command
line, then generated files are deleted for all by the last file
compiled. (So that -gg wasn't working as intended in this case.)
- Fixed some bugs with incorrect variable scope. (These bugs gave
incomprehensible error messages about undefined variables!)
- Restrict warning diagnostics about ^^ constructs in aux file to those
involving non-trivial Unicode characters, as against things like ^^M.
- V. 4.82a dated 10 January 2024.
- Fixed problem that with the use of %hash_calc_ignore_pattern, warnings
about "Use of uninitialized value $_" were given, and some corresponding
dependencies were incorrectly treated.
- V. 4.82 dated 24 December 2023.
- Fixed various anomalies in working with biber, especially under error conditions.
- Fixed various anomalies with use of -bibtex- and -bibtex-cond options.
- Fixed problem that -Werror worked only with bibtex and not biber. (This
is the option that causes latexmk to return a non-zero exit code to
flag an error when there are missing-citation messages in the .log
file.)
- Added -dir-report-only option.
- Fixed lack of quoting on command line to kpsewhich.
- Implemented support for hilatex (-hnt option, $hnt_mode configuration
variable).
- Allow sleep times of under a second. (That gives very responsive
performance on fast computers.)
- Support ^^ format in .log file for non-ASCII bytes/characters.
- Document $filetime_causality_threshold configuration variable.
- Other documentation improvements.
- V. 4.81 dated 6 November 2023.
- Fix various problems when filenames contain non-ASCII characters,
especially when MSYS is used.
- Fix problems with analyzing wrapped lines in log files, especially with
lualatex.
- With options like -dvi that set the kind of output file, turn off
settings corresponding to incompatible options.
- Improved warning and error messages.
- Fix problem when using the $use_make_for_missing_files, with the search
over possible extensions for a missing file.
- Add .run.xml to the list of generated extensions in @generated_exts.
- Correct the behavior after errors. Previously force_mode didn't work as
documented, terminating processing too early, while in
preview_continuous_mode, incorrect extra runs were sometimes made.
- Other bug fixes.
- V. 4.80 dated 4 April 2023.
- Improved treatment of detection of whether files (e.g., .log) have been
generated on current run or are leftover from an earlier run. Code now
compensates (and diagnoses) time offset between computer running
latexmk and file server.
- Allow placeholder %C in argument to set_tex_cmds, to allow more flexible
construction of command lines for all *latex.
- Fix problems of compatibility with the xr package.
- Allow escaping of spaces in names of files in deps files, as needed by
make. Escaping can be unix-style or nmake-style.
- Various bug fixes and corrections, improvements in error and warning
messages, and corrections to documentation.
- V. 4.79 dated 7 January 2023.
- Check rc files for valid UTF-8; remove initial BOM.
- Improve some warnings and messages.
- Correctly implement conditional use of biber, to be able to preserve bbl
file when bib file doesn't exist. This behavior now matches the
conditional use of bibtex.
- Solve problem that processing times under Windows were reported as zero.
- Solve occasional problems caused by granularity of file times when detecting
files generated during a run of *latex
- Configurably change default location of fls file to aux directory, to match
behavior of recent versions of MiKTeX.
- Update documentation especially about aux and output directories.
- V. 4.78 dated 18 November 2022.
- Option -dvilua to generate dvi file by lualatex
- Option -xdv to generate xdv file by xelatex
- To support these, change in definition of $dvi_mode, and new variables
$dvilualatex, $xdv_mode.
- Bug corrections etc.
- Configuration variable $bad_warnings_as_error to allow certain bad warnings
in log file (e.g., '\end inside ...') to be treated by latexmk as if
*latex had reported an actual error.
- On MS-Windows, correctly handle non-ASCII names for file and directory
variables set in rc files.
- Other improvements in treatment of non-ASCII characters in filenames.
- V. 4.77 dated 17 March 2022.
- Correctly handle non-ASCII filenames, UTF-8 coding of log files etc,
including on MS Windows.
- Better treatment of wrapped lines in log files, so dependency information
is correctly extracted, especially when filenames contain non-ASCII characters.
- Reinstate Windows batch file for running latexmk, now called latexmk.cmd.
- Internal improvements, bug fixes, improvement of warnings.
- Improved systematics on choice of STDOUT and STDERR for messages, matching
the use that *tex programs make of them.
- V. 4.76 dated 20 November 2021.
- In fdb_latexmk file, sort generated file list by name.
- If nothing is done in a rerun, don't do the unnecessary rewrite of fdb_latexmk file.
- Improve some diagnostics.
- Add /etc to list of locations for system rc files (with Unix-like OSs).
- V. 4.75 dated 21 September 2021.
- For biber, add dependency on any configuration file that is read.
- When -time option used, report running times for all rules
- When emulating aux_dir, put .synctex.gz .synctex files in out_dir (as
done by MiKTeX, and needed for their use).
- Turn emulate aux_dir off by default, to match behavior on older versions
of latexmk (BACKWARDS INCOMPATIBLE with 4.73 and 4.74.)
- Add end-of-all-runs warning if emulate aux_dir needed to be turned on,
when it was initially off.
- Add .synctex and .synctex.gz to list of extensions to clear by default.
- Turn back on default to report rc files read.
- Add options -rc-report, -rc-report-, -dir_report, -dir_report-.
- V. 4.74 dated 16 May 2021.
- Correct treatment of aux_dir and out_dir to avoid bugs that
appeared on MS-Windows only.
- Remove some informational messages (about rc files, and the state of
aux and dir settings after normalization).
- V. 4.73 dated 3 May 2021.
- Correct slowness in parsing some log files.
- Provide emulation of -aux-directory, so that it can be used with
implementation other than MiKTeX. (At the moment the only
documentation of this feature is given by latexmk --help.)
- V. 4.72b dated 15 Apr. 2021.
- For bibtex, revert to change-directory default when running bibtex.
- Add similar procedure for makeindex, but leave old default.
- Add options -indexfudge, -indexfudge-, -noindexfudge.
- Solve bug that transition from non-existent file to existent file didn't
trigger rerun of *latex. (This concerns files that were flagged as
missing in the .log file.)
- Give .latexmkrc priority of latexmkrc in finding rc files.
- Correct bug when chapterbib used with non-trivial out or aux dir.
- Improve handling of situation when auxdir or outdir are specified as
absolute paths.
- Miscellaneous bug corrections.
- V. 4.70b dated 29 Sep. 2020.
- Fix problems when rearranging rules to deal with change of output
file of *latex engine (e.g., .pdf to .dvi). (Previously latexmk
would sometimes give a warning of a possible bug.)
- Fix problem with the new default not to do the change of directory
for bibtex. Use of full path names for output-directory or tex
file no longer causes a bibtex error.
- Add options -bibfudge, -bibfudge-, -nobibfudge.
- Many other versions. (Available if needed on request to maintainer at
the address below.)
- V. 2, which is where latexmk got started.
- Current main release is also
on CTAN
at https://ctan.org/pkg/latexmk/
Latexmk home page.
This page is maintained by
John Collins,
jcc8@psu.edu
14 December 2024