summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/support
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-09-14 20:39:49 +0000
committerKarl Berry <karl@freefriends.org>2020-09-14 20:39:49 +0000
commitbe357e6a36038773cbb85136eaa8a55a6a1b28f4 (patch)
treed49908fad3947e71b39910bdfac07a5128c5f44c /Master/texmf-dist/source/support
parente1dfc6620923c10a348546ebe7add8e2d8707a6a (diff)
latexmk (14sep20)
git-svn-id: svn://tug.org/texlive/trunk@56344 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/support')
-rwxr-xr-xMaster/texmf-dist/source/support/latexmk/latexmk.bat21
1 files changed, 19 insertions, 2 deletions
diff --git a/Master/texmf-dist/source/support/latexmk/latexmk.bat b/Master/texmf-dist/source/support/latexmk/latexmk.bat
index f119082adac..bee3098c00e 100755
--- a/Master/texmf-dist/source/support/latexmk/latexmk.bat
+++ b/Master/texmf-dist/source/support/latexmk/latexmk.bat
@@ -1,5 +1,22 @@
-Rem Execute latexmk.pl, searching for it in the PATH
-Rem Assume perl is in the PATH. If not, you should replace 'perl' by
+Rem This batch file is only of interest to a small subset of Windows users.
+
+Rem Under modern TeX distributions, MiKTeX and TeXLive, you do **NOT**
+Rem need this batch file. Both distributions have a latexmk executable
+Rem that correctly run the latexmk Perl script itself. This file
+Rem is only useful if you need to bypass that for some reason, and you
+Rem will probably have to modify it for your needs.
+
+Rem Moreover if your system is suitably configured, the file latexmk.pl
+Rem is itself executable, without the need for going through this batch file.
+
+Rem ==============================
+
+Rem This batch file executes perl so as to run latexmk.pl. As written it
+Rem assumes that both latexmk.pl and perlexe are in the environment variable
+Rem PATH.
+Rem If perl.exe is not in PATH, you should replace 'perl' by
Rem the full pathname of the perl executable, e.g., 'C:\perl\bin\perl.exe'
+Rem or 'C:\Strawberry\perl\bin\perl.exe.
+Rem Similarly for latexmk.pl.
perl -S latexmk.pl %1 %2 %3 %4 %5 %6 %7 %8 %9