Sophie

Sophie

distrib > Fedora > 18 > i386 > by-pkgid > cd7d0ba81c9ec04c8d786ade2e67e2dd > files > 28

latexmk-4.37-1.fc18.noarch.rpm

@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