From e0c6872cf40896c7be36b11dcc744620f10adf1d Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 2 Sep 2019 13:46:59 +0900 Subject: Initial commit --- support/mnu/texrun.bat | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 support/mnu/texrun.bat (limited to 'support/mnu/texrun.bat') diff --git a/support/mnu/texrun.bat b/support/mnu/texrun.bat new file mode 100644 index 0000000000..16b4829635 --- /dev/null +++ b/support/mnu/texrun.bat @@ -0,0 +1,24 @@ +rem ... The "subroutine batch" called from TEXBAT.BAT +:start +if not exist %TEXDIR%\%TEXVER%.exe goto bsorry +set MARK= +set EDITPAR= +if %TEXVER%==tex386 set MARK=b +if not exist %TEXDIR%\%MARK%texfmts\%FMT%.fmt goto sorry +:run +rem ... for csSLITEX and tex.exe we need to enlarge font-memory: +set OPT= +if %FMT%==csSLITEX set OPT=/mf48000 +if %TEXVER%==tex386 set OPT= +if exist %RAM%\ed.bat del %RAM%\ed.bat +%TEXDIR%\%TEXVER% /mt25000 /a%RAM%\ed.bat &%FMT% %1.%2 +if exist %RAM%\ed.bat call %RAM%\ed +if exist %RAM%\ed.bat goto start +if errorlevel 2 %ERRCOM% +goto end +:bsorry +set MNU=31 +:sorry +if exist %FMT%.fmt goto run +%RAM%\mnu %TEXDIRCFG%\sorry.mnu +:end -- cgit v1.2.3