From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/32342 Path: news.gmane.org!not-for-mail From: "Mojca Miklavec" Newsgroups: gmane.comp.tex.context Subject: PSTricks Date: Fri, 29 Dec 2006 05:41:57 +0100 Message-ID: <6faad9f00612282041i3c5e6a62k598717b359eb0813@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1167367336 14884 80.91.229.10 (29 Dec 2006 04:42:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 29 Dec 2006 04:42:16 +0000 (UTC) Cc: "John R. Culleton" Original-X-From: ntg-context-bounces@ntg.nl Fri Dec 29 05:42:15 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by dough.gmane.org with esmtp (Exim 4.50) id 1H09ZO-0001bn-SR for gctc-ntg-context-518@m.gmane.org; Fri, 29 Dec 2006 05:42:14 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9317F20042; Fri, 29 Dec 2006 05:40:11 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 23486-02-3; Fri, 29 Dec 2006 05:40:04 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2ABC01FFDA; Fri, 29 Dec 2006 05:40:04 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 338611FFDB for ; Fri, 29 Dec 2006 05:40:01 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 23486-02-2 for ; Fri, 29 Dec 2006 05:39:54 +0100 (CET) Original-Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.184]) by ronja.ntg.nl (Postfix) with SMTP id 7643C1FFD8 for ; Fri, 29 Dec 2006 05:39:54 +0100 (CET) Original-Received: by nf-out-0910.google.com with SMTP id l37so5037642nfc for ; Thu, 28 Dec 2006 20:41:57 -0800 (PST) Original-Received: by 10.48.216.8 with SMTP id o8mr18675975nfg.1167367317150; Thu, 28 Dec 2006 20:41:57 -0800 (PST) Original-Received: by 10.48.209.2 with HTTP; Thu, 28 Dec 2006 20:41:57 -0800 (PST) Original-To: "mailing list for ConTeXt users" Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:32342 Archived-At: (was: Manual (English) Update soon?) For Hans: please read further, some things need to be fixed. On 12/29/06, John R. Culleton wrote: > > Jut FYI PSTricks (which runs on Plain TeX as well as LaTeX) can be run as part > of Context. It requires loading a module and an extra pass. Like many of > the "undocumented" modules there is actually documentation in the module > itself. I suspect that if all the documentation in the source code were > collected and organized in some way we would have a new Context Manual. Thanks for the hint! I really like the example with \dorecurse mixed with PSTricks; although they have their own mechanisms for that, \dorecurse is more familiar and easier to use for me. (I doubt that I'll return to PSTricks now that I've learn metapost and now when TikZ is available and more portable, but it's nice to know that I may use my old code there and for some cases PSTricks are still an easier approach.) I knew that there was something about pstricks available, but I always had a feeling that it's only conditionally working (I never heard anyone talking about PSTricks on the mailing list). However: you're probably running the module with perl-based texexec, right? I just tried it and had the following problems: - filename-texapp.tex has been created (and can only be deleted manually), but instead of dvi it resulted in an empty pdf file - I processed that file manually, so I got the dvi, but then dvips failed - the second was probably "my fault" (dvips sent the result to lpr), but it's how it's set up on the system by default; using -Ppdf switch helped, although I have no idea why/how it works exactly So it would really help a lot: - if the intermediate file would result in .dvi, not in .pdf - if dvips would be called with -Ppdf or perhaps some other more appropriate switch to assure slightly more "works-out-of-the-box" cases (- if temporary files could be deleted with ctxtools if needed) It would also help a lot for tex4ht if the switch --dvi could work as intended (and without unneded dvips run afterwards). Mojca PS (in a joke): why didn't you tell me that before I wrote support for gnuplot ??? Gnuplot can already output PSTricks code which could be read by ConTeXt then.