From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/2408 Path: main.gmane.org!not-for-mail From: "Christopher G D Tipper" Newsgroups: gmane.comp.tex.context Subject: Re: WinEdt Date: Fri, 28 Jul 2000 02:16:13 +0300 Sender: owner-ntg-context@let.uu.nl Message-ID: <005401bff820$c34b5800$e17561c3@chris> References: <3.0.5.32.20000727151638.00947490@mail.northcoast.com> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0052_01BFF839.CD860540" X-Trace: main.gmane.org 1035393202 8652 80.91.224.250 (23 Oct 2002 17:13:22 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:13:22 +0000 (UTC) Cc: "ConTeXT Mailing List" Original-To: "David Arnold" Xref: main.gmane.org gmane.comp.tex.context:2408 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:2408 This is a multi-part message in MIME format. ------=_NextPart_000_0052_01BFF839.CD860540 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: base64 == == == == == == == == == == == == == == == == == == == == !! BITTE BEACHTEN !! == Vom zentralen Mailsystem der Uni Giessen beim Empfang eingefuegt! == == Aus Sicherheitsgruenden (u.a. Virengefahren) wurden in dieser Mail == die Namen von 1 Anlagen (Attachments) in folgender Weise abgeaendert: == .bat -> -bat .com -> -com == .exe -> -exe .reg -> -reg == .vbs -> -vbs == Speichern Sie die Dateien unter dem Originalnamen ab, insbesondere, == wenn sie mit einem Virenscanner ueberprueft werden sollen. Fuehren == Sie die Datei erst aus, wenn Sie sicher sind, dass keine uner- == wuenschten Nebenwirkungen auftreten werden. == Andernfalls sollten Sie die Datei vorsichtshalber mit dem == neuen Namen oder auch gar nicht speichern. == == >>> Jeden Tag gibt es neue Viren, die Ihr Virenscanner noch nicht == >>> kennt, oeffnen Sie Anhaenge nur in Absprache mit Ihrem Mailpartner! == == Eine Erlaeuterung fuer dieses Vorgehen ist zu finden unter == http://www.uni-giessen.de/hrz/aktuell.shtml (HRZ-News 0389) == == == == == == == == == == == == == == == == == == == LS0tLS0gT3JpZ2luYWwgTWVzc2FnZSAtLS0tLSANCkZyb206ICJEYXZpZCBBcm5vbGQiIDxkYXJu b2xkQG5vcnRoY29hc3QuY29tPg0KVG86IDxudGctY29udGV4dEBudGcubmw+DQpTZW50OiBGcmlk YXksIEp1bHkgMjgsIDIwMDAgMToxNiBBTQ0KU3ViamVjdDogV2luRWR0DQoNCg0KPiBIYXMgYW55 b25lIHNldCB1cCBhIGNvbnRleHQgbW9kZSBpbiBXaW5FZHQ/DQoNClllcyA6LSkNCg0KRmlyc3Qt b2ZmLCBkbyBkb3dubG9hZCBhbmQgaW5zdGFsbCBXaW5FZHQgNS4gVGhlIGd1eSdzIGFkZGVkIHNv IG11Y2ggY29vbC1zdHVmZiB0byBpdCwgdGhhdCBJIGhhdmVuJ3QgZ290IHRoZSBzcGFjZS4NCg0K U2Vjb25kLW9mZiwgSSB3aWxsIG91dGxpbmUgd2hhdCB5b3UgaGF2ZSB0byBkbyB0byBnZXQgY29u dGV4dCB3b3JraW5nLCBidXQgV2luRWR0IGRvY3VtZW50YXRpb24gaXMgZXhjZWxsZW50IChpZiBh IGxpdHRsZSB2ZXJib3NlKS4NCg0KKDEpIEdvIHRvIHRoZSBtZW51IHNldHVwIGRpYWxvZyBvcHRp b25zOm1lbnUgc2V0dXAgYW5kIGRvdWJsZS1jbGljayBBY2Nlc3NvcmllcywgYW5kIHJlcGxpY2F0 ZSB0aGUgcGRmTGFUZVggbWVudSBvcHRpb24gd2l0aCBjb3B5L3Bhc3RlLg0KDQooMikgSSd2ZSBh dHRhY2hlZCBhIC5lZHQgbWFjcm8gdG8gbGF1bmNoIENvblRlWFQgdGhhdCBhbHNvIGhhbmRsZXMg dGhlIEFjcm9iYXQgZmlsZTpjbG9zZSBzbmFmdSB0aGF0IHNlZW1zIHRvIGNvbWUgYmFjayBsaWtl IGEgYmFkLWRyZWFtIG9uIGV2ZXJ5IG1haWxpbmcgbGlzdCBJIHN1YnNjcmliZSB0by4gVGhpcyBp cyBvbmUgY2FzZSB3aGVyZSBMaW51eCBpcyBtaXNzaW5nIERERS4NCg0KUHV0IENvbnRleHQuZWR0 IGluIEM6XFByb2dyYW0gRmlsZXNcV2luRWR0XEJpblxNaUtUZVgNClB1dCBDb250ZXh0LmJhdCBp biBDOlxQcm9ncmFtIEZpbGVzXFdpbkVkdFxCaW4NCg0KUmlnaHQtY2xpY2sgQ29udGV4dC5iYXQs IGFuZCBjaGVjayB0aGUgImNsb3NlIG9uIGV4aXQiIHRpY2stYm94Lg0KDQooMykgTm93IHB1dCBF eGUoJyVCXEJpblxNaUtUZVhcQ29uVGVYVC5lZHQnKV0gaW4gdGhlIG1hY3JvIGJveCBvZiB5b3Vy IENvblRlWFQgbWVudSBpdGVtDQoNCig0KSBDb21wbGV0ZSB0aGUgbWVudSBzZXR1cCB3aXRoIGFu IGFwcHJvcHJpYXRlIHRvb2wgYnV0dG9uLiBJIGRpZCBvbmUgZm9yIG15c2VsZiBpbiBQYWludCBT aG9wIFByby4gVGhlIG1lbnUgaXRlbSBvcHRpb25zIHNob3VsZCBiZSB0aGUgc2FtZSBhcyBmb3Ig cGRmTGFUZVguDQoNCig1KSBOb3cgZ2l2ZSB5b3Vyc2VsZiBhIHRvb2xiYXIgYnV0dG9uLCBhbmQg Q29uVGVYVCBpcyBub3cgcG9pbnQtYW5kLWNsaWNrIQ0KDQpDaHJpc3RvcGhlcg0KDQoNCg== ------=_NextPart_000_0052_01BFF839.CD860540 Content-Type: application/octet-stream; name="Context.edt" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="Context.edt" // 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!!! --------------------------------------------------------------------- ------=_NextPart_000_0052_01BFF839.CD860540 Content-Type: application/octet-stream; name="Context.bat" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="Context-bat" @ECHO OFF C:\Perl\Bin\perl.exe C:\texmf\context\perltk\texexec.pl --pdf --color %1 = %2 %3 %4 %5 %6 %7 %8 %9 ------=_NextPart_000_0052_01BFF839.CD860540--