summaryrefslogtreecommitdiff
path: root/Master/bin/win32/dviout.bat
diff options
context:
space:
mode:
Diffstat (limited to 'Master/bin/win32/dviout.bat')
-rwxr-xr-xMaster/bin/win32/dviout.bat8
1 files changed, 4 insertions, 4 deletions
diff --git a/Master/bin/win32/dviout.bat b/Master/bin/win32/dviout.bat
index 8a9105ac97e..f950efc9677 100755
--- a/Master/bin/win32/dviout.bat
+++ b/Master/bin/win32/dviout.bat
@@ -8,9 +8,9 @@ rem Make environment changes local
rem Disable delayed expansion (makes processing bang ! char easier)
setlocal enableextensions disabledelayedexpansion
-rem Get TL installation root (w/o trailing backslash)
-set tlroot=%~dp0:
-set tlroot=%tlroot:\bin\win32\:=%
+rem Get TL installation root (short name w/o trailing backslash)
+set tlroot=%~sf0:
+set tlroot=%tlroot:\bin\win32\dviout.bat:=%
if not exist "%tlroot%\bin\win32\kpsewhich.exe" goto :no_tl
rem Make sure our bin dir is the first one on the path
path %tlroot%\bin\win32;%path%
@@ -41,7 +41,7 @@ set GS_LIB=%tlroot%\tlpkg\tlgs\fonts;%tlroot%\tlpkg\tlgs\lib;%tlroot%\tlpkg\tlgs
path %tlroot%\tlpkg\tlgs\bin;%path%
rem Assemble dviout command
-set cmdstr="%tlroot%\tlpkg\dviout\dviout.exe" -NULL -TEXROOT="%tfmpath%"
+set cmdstr="%tlroot%\tlpkg\dviout\dviout.exe" -NULL -dpi=600 -gen="%tlroot%\tlpkg\dviout\gen_pk" -TEXROOT="%tfmpath%"
set cmdstr=%cmdstr% -TEXPK="^r\pk\\^s.^dpk;^r\tfm\\^s^tfm;^r\vf\\^s.vf;^r\ovf\\^s.ovf;^r\tfm\\^s.tfm"
rem Start dviout
start "" %cmdstr% %*