ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* WinEdt
@ 1999-09-07 18:04 David Arnold
  0 siblings, 0 replies; 3+ messages in thread
From: David Arnold @ 1999-09-07 18:04 UTC (permalink / raw)
  Cc: winedt+list

All,

Is anyone out there using WinEdt to construct their ConTeXt documents? Has
anyone customized WinEdt to operate with ConTeXt source files (recognizing
labels, etc).


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: WinEdt
  2000-07-27 22:16 WinEdt David Arnold
@ 2000-07-27 23:16 ` Christopher G D Tipper
  0 siblings, 0 replies; 3+ messages in thread
From: Christopher G D Tipper @ 2000-07-27 23:16 UTC (permalink / raw)
  Cc: ConTeXT Mailing List

[-- Attachment #1: Type: text/plain, Size: 0 bytes --]



[-- Attachment #2: Context.edt --]
[-- Type: application/octet-stream, Size: 1766 bytes --]

// This Macro simulates File| Close Command in Acrobat Reader:
    // Avoid the error message generated by pdftex because
    // Acrobat Reader locks the ".pdf" file for writing...

// Close All Documents in Acrobat Reader using DDE

 SendMessage("Acrobat Reader - ", $0000, $0000); // Dummy Message
// IfOK(|>
//        DDEOpen("AcroRd32.exe","acroview","control");>
//      DDEExe("[DocClose(""%P\%N.pdf"")]"); // Doesn't work but...CloseAllDocs does!>
//        DDEExe("[CloseAllDocs()]");>
//        DDEClose;>
//      |);

//  // Hacking...
//  // Acrobat Reader's File| Close Command ID
     SendMessage("Acrobat Reader - [%N.pdf]", $0111, 6002);
// // The first document in AcroRd32 is now Closed:
// // proceed with the compilation and then
// // optionally reopen the pdf document in AcroRd32
// //   remove the comments in WaitForFocus and Run
// //   if you want AcroRd32 to open the document

 ChDir("%P");
 Run("%~B\Bin\context.bat ""%N%T""");

 // WaitForFocus(999); //Give it a fair Chance to Start
 // Run("%$('AcroRead'); ""%P\%N.pdf""");
 //  SendMessage("Acrobat Reader - ", $0000, $0000); // Dummy Message
 //  IfOK(|>
 //         DDEOpen("AcroRd32.exe","acroview","control");>
 //         DDEExe("[DocOpen(""%P\%N.pdf"")]");
 //         DDEClose;>
 //       |);

End;

---------------------------------------------------------------------

  This macro comes with no warranty: it may or may not work with
  your version of Acrobat Reader. You'll have to fix any problems
  by yourself! Happy hacking...

Note that the origin of this problem has nothing to do with
WinEdt: it is Acrobat Reader that locks the file not WinEdt!!!

---------------------------------------------------------------------

[-- Attachment #3: Context-bat --]
[-- Type: application/octet-stream, Size: 107 bytes --]

@ECHO OFF
C:\Perl\Bin\perl.exe C:\texmf\context\perltk\texexec.pl --pdf --color %1 %2 %3 %4 %5 %6 %7 %8 %9

^ permalink raw reply	[flat|nested] 3+ messages in thread

* WinEdt
@ 2000-07-27 22:16 David Arnold
  2000-07-27 23:16 ` WinEdt Christopher G D Tipper
  0 siblings, 1 reply; 3+ messages in thread
From: David Arnold @ 2000-07-27 22:16 UTC (permalink / raw)


All,

Has anyone set up a context mode in WinEdt?
-
David Arnold
College of the Redwoods
Mathematics Department
7351 Tompkins Hill Road
Eureka, CA 95501
(707) 476-4222

My Home Page
http://online.redwoods.cc.ca.us/instruct/darnold/index.htm

Ordinary Differential Equations Using Matlab
http://www.prenhall.com/books/esm_0130113816.html


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2000-07-27 23:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-09-07 18:04 WinEdt David Arnold
2000-07-27 22:16 WinEdt David Arnold
2000-07-27 23:16 ` WinEdt Christopher G D Tipper

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).