From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/16561 Path: main.gmane.org!not-for-mail From: Matthias Weber Newsgroups: gmane.comp.tex.context Subject: Re: Math Diagrams in ConTeXt Date: Wed, 29 Sep 2004 15:53:04 -0500 Sender: ntg-context-bounces@ntg.nl Message-ID: <8EF5AFFE-1259-11D9-964D-0003934F9514@indiana.edu> References: <410D324B.9080903@mupad.de> <4142B1D0.5060208@wxs.nl> <415A713A.5070808@creutzig.de> <42975792-1253-11D9-BA27-0030659899AA@fiee.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 (Apple Message framework v619) Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1096491214 31664 80.91.229.6 (29 Sep 2004 20:53:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 29 Sep 2004 20:53:34 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Sep 29 22:53:15 2004 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CClRq-0008JR-00 for ; Wed, 29 Sep 2004 22:53:15 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2573B12780; Wed, 29 Sep 2004 22:53:14 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 08560-05; Wed, 29 Sep 2004 22:53:10 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A2E741276D; Wed, 29 Sep 2004 22:53:10 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 10D721276D for ; Wed, 29 Sep 2004 22:53:09 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 08570-04 for ; Wed, 29 Sep 2004 22:53:08 +0200 (CEST) Original-Received: from plounts.uits.indiana.edu (unknown [129.79.1.73]) by ronja.ntg.nl (Postfix) with ESMTP id 1C7C0126F8 for ; Wed, 29 Sep 2004 22:53:07 +0200 (CEST) Original-Received: from mail-relay.iu.edu (fontz.uits.indiana.edu [129.79.1.76]) by plounts.uits.indiana.edu (8.12.10/8.12.10/IUPO) with ESMTP id i8TKr57Y017482 for ; Wed, 29 Sep 2004 15:53:06 -0500 (EST) Original-Received: from [129.79.94.202] (129-79-94-202.dhcp-bl.indiana.edu [129.79.94.202]) (authenticated bits=0) by mail-relay.iu.edu (8.12.10/8.12.10/IUPO) with ESMTP id i8TKr4AM020920 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO) for ; Wed, 29 Sep 2004 15:53:05 -0500 (EST) In-Reply-To: <42975792-1253-11D9-BA27-0030659899AA@fiee.net> Original-To: mailing list for ConTeXt users X-Mailer: Apple Mail (2.619) X-Virus-Scanned: by amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: by amavisd-new at ntg.nl Xref: main.gmane.org gmane.comp.tex.context:16561 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:16561 Thanks -- while it looks really nice, I do need diagonal arrows. However, after some experimenting, I catually managed to get DCpic to=20 work. It is just a plain TeX file, I was only scared by the .sty name. If somebody else runs into the same problem, here is a short example,=20 for reference. You will need dcpic.sty in your path first. Then one can create diagrams as follows: \usemodule[pictexwd] \input dcpic.sty \starttext \begindc{\commdiag} \obj(1,2){$V_i$} \obj(3,1){$V'$} \obj(3,3){$V$} \mor{$V_i$}{$V$}{$f_i$} \mor{$V_i$}{$V'$}{$f_i'$}[-1,0] \mor{$V$}{$V'$}{$f$} \enddc \stoptext Matthias On Sep 29, 2004, at 3:07 PM, Henning Hraban Ramm wrote: > Am 29.09.2004 um 20:53 schrieb Matthias Weber: >> I need to typeset a few (simple) diagrams in ConTeXt, >> like the ones mathematicians use, with arrows. In LaTeX, one can use >> pictex or DCpic. The latter claims also to work with ConTeXt, but I=20= >> couldn't find >> an example. Has anybody managed to do something like this?=20 >> (essentially, I only need something like >> >> sometimes also with diagonal arrows). > > Without diagonal arrows you could use the flow charts module. > > Gr=FC=DFlis vom Hraban! > --- > http://www.fiee.net/texnique/ > > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context > >