@ECHO OFF DVIPDFM.EXE %1 %2 %3 %4 %5 %6 %7 %8 %9 pause
@ECHO OFF DVIPDFMX.EXE %1 %2 %3 %4 %5 %6 %7 %8 %9 pause
// WinEdt Exit (Cleanup) Macro
CloseAppl("YAP"); // Close YAP if running...
CloseAppl("Complete"); // Close Complete Wizard if running...
End;// WinEdt Exit (Cleanup) Macro
CloseAppl("YAP"); // Close YAP if running...
CloseAppl("Complete"); // Close Complete Wizard if running...
IfStr("%@('HKEY_CURRENT_USER','Software','WinEdt','Code')","","=",>
|RegDeleteValue("HKEY_CURRENT_USER","Software\WinEdt","Inst");|);
End;//
// EraseWorkingFiles("Interace.edt","Mode Filter","Caption", Subfolders: -1..1);
AddFileItem(1,"DVI File","%N.dvi","TeX");
AddFileItem(1,"PDF File","%N.pdf","TeX");
AddFileItem(1,"PS File","%N.ps","TeX");//
// EraseWorkingFiles("Interace.edt","Mode Filter","Caption", Subfolders: -1..1);
AddFileItem(1,"CTeX TEMP Files","ctextemp_*.*","");
AddFileItem(1,"DVI File","%N.dvi","TeX");
AddFileItem(1,"PDF File","%N.pdf","TeX");
AddFileItem(1,"PS File","%N.ps","TeX"); IfStr("%$('BATCH-LaTeX');","1","=",>
!|Run('%~B\Bin\TeX\LaTeX.bat %0 %$(''c-errors''); "%N%T"',>
"%P", 0,0, "LaTeX ...",0,1);>
StopWorking;Exit;|);
// Compute the WinExe Flag and Priority
// WinExe("Executable","Command Line","Startup Folder","Caption", IfStr("%$('BATCH-LaTeX');","1","=",>
!|Run('%~B\Bin\TeX\LaTeX.bat %0 %$(''c-errors''); "%N%T"',>
"%P", 0,0, "LaTeX ...",0,1);>
Run('gbk2uni.exe "%N"', '%P', 0,0, 'LaTeX ...', 0,1);>
StopWorking;Exit;|);
// Compute the WinExe Flag and Priority
// WinExe("Executable","Command Line","Startup Folder","Caption", SetOK(1); // Just in case
WinExe('','latex.exe %0 %$(''c-errors''); %$(''-interaction''); "%N%T"',>
'%P', 'LaTeX ...', %!0, %!9, "", "%b\_Out.log", "%b\_Err.log");
IfOK('Relax;','StopWorking;>
Prompt("Error starting latex.exe!%\> SetOK(1); // Just in case
WinExe('','latex.exe %0 %$(''c-errors''); %$(''-interaction''); "%N%T"',>
'%P', 'LaTeX ...', %!0, %!9, "", "%b\_Out.log", "%b\_Err.log");
WinExe('','gbk2uni.exe "%N"', '%P', 'LaTeX ...', %!0, %!9, "", "", "");
IfOK('Relax;','StopWorking;>
Prompt("Error starting latex.exe!%\> IfStr("%$('BATCH-PDFLaTeX');","1","=",>
!|Run('%~B\Bin\TeX\PDFLaTeX.bat %$(''c-errors''); "%N%T"',>
"%P", 0,0, "PDFLaTeX ...",0,1);>
StopWorking;Exit;|);
// Compute the WinExe Flag and Priority
// WinExe("Executable","Command Line","Startup Folder","Caption", IfStr("%$('BATCH-PDFLaTeX');","1","=",>
!|Run('%~B\Bin\TeX\PDFLaTeX.bat %$(''c-errors''); "%N%T"',>
"%P", 0,0, "PDFLaTeX ...",0,1);>
Run('gbk2uni.exe "%N"', '%P', 0,0, 'PDFLaTeX ...', 0,1);>
StopWorking;Exit;|);
// Compute the WinExe Flag and Priority
// WinExe("Executable","Command Line","Startup Folder","Caption", SetOK(1); // Just in case ...
WinExe('','pdflatex.exe %$(''c-errors''); %$(''-interaction''); "%N%T"',>
'%P', 'PDFLaTeX ...', %!0, %!9, "", "%b\_Out.log", "%b\_Err.log");
IfOK('Relax;','StopWorking;>
Prompt("Error starting pdflatex.exe!%\> SetOK(1); // Just in case ...
WinExe('','pdflatex.exe %$(''c-errors''); %$(''-interaction''); "%N%T"',>
'%P', 'PDFLaTeX ...', %!0, %!9, "", "%b\_Out.log", "%b\_Err.log");
WinExe('','gbk2uni.exe "%N"', '%P', 'PDFLaTeX ...', %!0, %!9, "", "", "");
IfOK('Relax;','StopWorking;>
Prompt("Error starting pdflatex.exe!%\> // *** Execute it!!!
SetOK(1); // Just in case ...
WinExe('','dvipdfm.exe "%N.dvi"',>
'%P', 'dvi -> pdf ...', %!0, %!9, "", "%b\_Out.log", "%b\_Err.log");
IfOK('Relax;','StopWorking;> // *** Execute it!!!
SetOK(1); // Just in case ...
WinExe('','dvipdfmx.exe "%N.dvi"',>
'%P', 'dvi -> pdf ...', %!0, %!9, "", "%b\_Out.log", "%b\_Err.log");
IfOK('Relax;','StopWorking;>199 %B\Bitmaps\Buttons\XML.bmp 200 %B\Bitmaps\Buttons\XMLelement.bmp 201 %B\Bitmaps\Buttons\XMLattribute.bmp -1 The End Of Bitmaps (250 maximum)
199 %B\Bitmaps\Buttons\XML.bmp 200 %B\Bitmaps\Buttons\XMLelement.bmp 201 %B\Bitmaps\Buttons\XMLattribute.bmp 202 %B\Bitmaps\Buttons\CCT.bmp 203 %B\Bitmaps\Buttons\CTeX-Icon.bmp 204 %B\Bitmaps\Buttons\MPPrevAllTB.bmp 205 %B\Bitmaps\Buttons\MPPrevOneTB.bmp 206 %B\Bitmaps\Buttons\MPPConfTB.bmp 207 %B\Bitmaps\Buttons\TY.bmp 208 %B\Bitmaps\Buttons\TYCFG.bmp -1 The End Of Bitmaps (250 maximum)
222 %B\Bitmaps\Images\XML.bmp 223 %B\Bitmaps\Images\XMLelement.bmp 224 %B\Bitmaps\Images\XMLattribute.bmp -1 The End Of Bitmaps (250 maximum)
222 %B\Bitmaps\Images\XML.bmp 223 %B\Bitmaps\Images\XMLelement.bmp 224 %B\Bitmaps\Images\XMLattribute.bmp 225 %B\Bitmaps\Images\MPPrevAllM.bmp 226 %B\Bitmaps\Images\MPPrevOneM.bmp 227 %B\Bitmaps\Images\MPPConfM.bmp -1 The End Of Bitmaps (250 maximum)
Utility:897 Item:&CCT && LaTeX Caption:CCT & LaTeX... Hint:CCT & LaTeX File:"%!M=TeX"?"%T=.ctx" Path:%P Definition:%~B\Bin\CCT.bat "%N%T" Shortcut:24643 Tool Bar:202 Image:170
Macro:387
Item:CTeXif&y
Hint: CTeXify
File:"%!M=TeX"?"%T=.ctx"
Path:%P
Definition:Exe('%B\Exec\CTeXify.edt');
Shortcut:24665
Tool Bar:203
Image:30 Separator:6
Macro:3
Item:MetaPost Preview All
Hint:MetaPost Preview All
File:%P\%N.mp
Path:%P
Definition:Assign('showall', '1');Exe('%B\Macros\LaTeX\MPPreview\MPPreview.edt');
Tool Bar:204
Image:225
Macro:3
Item:MetaPost Preview One
Hint:MetaPost Preview One
File:%P\%N.mp
Path:%P
Definition:Assign('showall', '0');Exe('%B\Macros\LaTeX\MPPreview\MPPreview.edt');
Tool Bar:205
Image:226
Macro:3
Item:MetaPost Preview Config...
Hint:MetaPost Preview Config...
Path:%P
Definition:Exe('%B\Macros\LaTeX\MPPreview\MPPConfig.edt');
Tool Bar:206
Image:227
Separator:6
Utility:897
Item:TY
Caption:TY...
Hint:TY
File:"%!M=TeX"?"%T=.ty"
Path:%P
Definition:tywin.exe "%P\%N%T"
Tool Bar:207
Image:170
Utility:1
Item:TY Config
Caption:TY Config...
Hint:TY Config
Path:%P
Definition:tywin.exe
Tool Bar:208
Image:25| Attachment | Size | Date Added | |
| CCT.bat | 91 Bytes | 1/10/2005 10:29 am | |
| Dvipdfm.bat | 59 Bytes | 1/10/2005 10:30 am | |
| CCT.bmp | 358 Bytes | 1/10/2005 10:30 am | |
| CTeX-Icon.bmp | 1.69 KB | 1/10/2005 10:30 am | |
| TY.bmp | 358 Bytes | 1/10/2005 10:30 am | |
| TYCFG.bmp | 358 Bytes | 1/10/2005 10:30 am | |
| Exit.edt | 517 Bytes | 1/10/2005 10:30 am | |
| CTeXify.edt | 7.21 KB | 1/10/2005 10:30 am | |
| Erase Working Files.edt | 1.3 KB | 1/10/2005 10:30 am | |
| dvi2pdf.edt | 6.78 KB | 1/10/2005 10:31 am | |
| LaTeX.edt | 6.89 KB | 1/10/2005 10:31 am | |
| PDFLaTeX.edt | 8.08 KB | 1/10/2005 10:31 am | |
| ctx.ico | 1.05 KB | 1/10/2005 10:31 am | |
| ty.ico | 1.05 KB | 1/10/2005 10:31 am | |