summaryrefslogtreecommitdiff
path: root/support/latexmk/latexmk.cmd
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-03-18 03:01:39 +0000
committerNorbert Preining <norbert@preining.info>2022-03-18 03:01:39 +0000
commita892f739b50b6ddc5321c834017cdcbc42a3f056 (patch)
treeea36345421ed45471d9ec79ff9288cbc9437a718 /support/latexmk/latexmk.cmd
parent8208f204439f3a899e43187857e3f9c86d4ebb7c (diff)
CTAN sync 202203180301
Diffstat (limited to 'support/latexmk/latexmk.cmd')
-rw-r--r--support/latexmk/latexmk.cmd24
1 files changed, 24 insertions, 0 deletions
diff --git a/support/latexmk/latexmk.cmd b/support/latexmk/latexmk.cmd
new file mode 100644
index 0000000000..c5c902c4bd
--- /dev/null
+++ b/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 %*