summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/support/latexmk/latexmk.cmd
blob: 63c4de15d0e0936a9dcbaffd8a3d6c2cffcd235f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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 %*