diff options
Diffstat (limited to 'Master/texmf-dist/doc/support/latexmk/extra-scripts/dvipdfmx_call.bat')
-rwxr-xr-x | Master/texmf-dist/doc/support/latexmk/extra-scripts/dvipdfmx_call.bat | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/Master/texmf-dist/doc/support/latexmk/extra-scripts/dvipdfmx_call.bat b/Master/texmf-dist/doc/support/latexmk/extra-scripts/dvipdfmx_call.bat index 0068de2196d..01a140a65fe 100755 --- a/Master/texmf-dist/doc/support/latexmk/extra-scripts/dvipdfmx_call.bat +++ b/Master/texmf-dist/doc/support/latexmk/extra-scripts/dvipdfmx_call.bat @@ -1,19 +1,19 @@ -@echo off -REM Run dvipdfmx from dvipdf-style command-line -REM Assume no options specified -REM If this script is called from latexmk, -REM we have %1=source.dvi, %2=dest.pdf -REM But for safety, let's handle correctly a one argument call, -REM i.e., %1=source, with no %2 - -if "%2" == "" goto onearg - -:twoarg -dvipdfmx -o %2 %1 -goto done - -:onearg -dvipdfmx %1 - - +@echo off
+REM Run dvipdfmx from dvipdf-style command-line
+REM Assume no options specified
+REM If this script is called from latexmk,
+REM we have %1=source.dvi, %2=dest.pdf
+REM But for safety, let's handle correctly a one argument call,
+REM i.e., %1=source, with no %2
+
+if "%2" == "" goto onearg
+
+:twoarg
+dvipdfmx -o %2 %1
+goto done
+
+:onearg
+dvipdfmx %1
+
+
:done
\ No newline at end of file |