blob: c6ed3f121070d134009543e32364a522828d76a7 (
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
25
26
27
28
|
@echo off
if "%1"=="help" (
:help
call ..\..\include\latex.nmk.cmd %1
echo all build DVI of autoref and thesis
echo allpdf build PDF of autoref and thesis
goto :eof
) else if "%1"=="all" (
:all
set target=thesis & call ..\..\include\latex.nmk.cmd dvi
set target=autoref & call ..\..\include\latex.nmk.cmd dvi
set target=
goto :eof
) else if "%1"=="allpdf" (
:allpdf
set target=thesis & call ..\..\include\latex.nmk.cmd pdf
set target=autoref & call ..\..\include\latex.nmk.cmd pdf
set target=
goto :eof
) else (
call ..\..\include\latex.nmk.cmd %*
goto :eof
)
if "%1" neq "" echo Don't know how to make %1
:end
shift & goto :start
|