summaryrefslogtreecommitdiff
path: root/Master/bin/win32/asy.bat
blob: 8abd057a0997dab94b9cbe843b16ae63d65375c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
@echo off
rem Start-up script for Asymptote
rem
rem Originally written by Tomasz M. Trzeciak
rem Public Domain

setlocal enableextensions
rem Get TL installation root (w/o trailing backslash)
set TLROOT=%~dp0:
set TLROOT=%TLROOT:\bin\win32\:=%
rem Add gs and bin dir to PATH
path %TLROOT%\bin\win32;%TLROOT%\tlpkg\tlgs\bin;%PATH%
rem GS environment
set GS_DLL=%tlroot%\tlpkg\tlgs\bin\gsdll32.dll
set GS_LIB=%TLROOT%\tlpkg\tlgs\lib;%TLROOT%\tlpkg\tlgs\fonts
set ASYMPTOTE_GS=gswin32c.exe
rem Suppress cygwin warning about DOS paths
set CYGWIN=nodosfilewarning
rem Call asy.exe
"%TLROOT%\tlpkg\asymptote\asy.exe" %*