blob: b61fd44941e26e06c1236444aa0b2642bda0a627 (
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
@ECHO OFF
REM author: Hans Hagen - PRAGMA ADE - Hasselt NL - www.pragma-ade.com
:userpath
if "%SETUPTEX%"=="done" goto done
if "%~s1"=="" goto selftest
set TEXMFOS=%~s1texmf-mswin-64
if exist %TEXMFOS%\bin\mtxrun.exe goto start
set TEXMFOS=%~s1\texmf-mswin-64
if exist %TEXMFOS%\bin\mtxrun.exe goto start
set TEXMFOS=%~s1texmf-win64
if exist %TEXMFOS%\bin\mtxrun.exe goto start
set TEXMFOS=%~s1\texmf-win64
if exist %TEXMFOS%\bin\mtxrun.exe goto start
set TEXMFOS=%~s1texmf-mswin
if exist %TEXMFOS%\bin\mtxrun.exe goto start
set TEXMFOS=%~s1\texmf-mswin
if exist %TEXMFOS%\bin\mtxrun.exe goto start
set TEXMFOS=%~s1texmf-win32
if exist %TEXMFOS%\bin\mtxrun.exe goto start
set TEXMFOS=%~s1\texmf-win32
if exist %TEXMFOS%\bin\mtxrun.exe goto start
:selftest
set TEXMFOS=%~d0%~p0texmf-mswin-64
if exist %TEXMFOS%\bin\mtxrun.exe goto start
set TEXMFOS=%~d0%~p0\texmf-mswin-64
if exist %TEXMFOS%\bin\mtxrun.exe goto start
set TEXMFOS=%~d0%~p0texmf-win64
if exist %TEXMFOS%\bin\mtxrun.exe goto start
set TEXMFOS=%~d0%~p0\texmf-win64
if exist %TEXMFOS%\bin\mtxrun.exe goto start
set TEXMFOS=%~d0%~p0texmf-mswin
if exist %TEXMFOS%\bin\mtxrun.exe goto start
set TEXMFOS=%~d0%~p0\texmf-mswin
if exist %TEXMFOS%\bin\mtxrun.exe goto start
set TEXMFOS=%~d0%~p0texmf-win32
if exist %TEXMFOS%\bin\mtxrun.exe goto start
set TEXMFOS=%~d0%~p0\texmf-win32
if exist %TEXMFOS%\bin\mtxrun.exe goto start
:start
set PATH=%TEXMFOS%\bin;%PATH%
:register
set SETUPTEX=done
set CTXMINIMAL=yes
:done
|