summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/support/latexmk/latexmk.cmd
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/support/latexmk/latexmk.cmd')
-rw-r--r--Master/texmf-dist/doc/support/latexmk/latexmk.cmd24
1 files changed, 24 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/support/latexmk/latexmk.cmd b/Master/texmf-dist/doc/support/latexmk/latexmk.cmd
new file mode 100644
index 00000000000..63c4de15d0e
--- /dev/null
+++ b/Master/texmf-dist/doc/support/latexmk/latexmk.cmd
@@ -0,0 +1,24 @@
+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 runs the latexmk Perl script itself. This file
+Rem is only useful if you need to bypass that for some reason, e.g.,
+Rem if you have not upgraded to a current year's TeXLive, but want to
+Rem run the latest version of latexmk.
+Rem You may have to modify you copy of this file for your needs.
+
+Rem ==============================
+
+Rem This batch file executes perl so as to run latexmk.pl. As written it
+Rem assumes that latexmk.pl is in a directory in the
+Rem environment variable PATH. Of course this file latexmk.cmd should
+Rem itself also have been copied to a directory in PATH.
+Rem
+Rem In addition, this file assumes that perl.exe is in a directory in PATH.
+Rem If not, you should replace 'perl' by the full pathname of the perl
+Rem executable, e.g., 'C:\perl\bin\perl.exe' or
+Rem 'C:\Strawberry\perl\bin\perl.exe. (Current distributions of Perl
+Rem for Windows do set PATH appropriately when installed in the default way.
+
+perl -S latexmk.pl %*