From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/63705 Path: news.gmane.org!not-for-mail From: Cecil Westerhof Newsgroups: gmane.comp.tex.context Subject: Re: Is the chart module broken? Date: Fri, 19 Nov 2010 07:57:18 +0100 Message-ID: References: <87lj5av7jb.fsf@Compaq.site> <4CD1ACF5.4030806@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0062239961==" X-Trace: dough.gmane.org 1290149868 31836 80.91.229.12 (19 Nov 2010 06:57:48 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 19 Nov 2010 06:57:48 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Nov 19 07:57:43 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PJKuj-0007C3-FQ for gctc-ntg-context-518@m.gmane.org; Fri, 19 Nov 2010 07:57:41 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CA160CA852; Fri, 19 Nov 2010 07:57:40 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id KPQoNojqw3na; Fri, 19 Nov 2010 07:57:37 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 557AFCA84C; Fri, 19 Nov 2010 07:57:37 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 365F2CA84C for ; Fri, 19 Nov 2010 07:57:36 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id F0h30O1lK4iz for ; Fri, 19 Nov 2010 07:57:20 +0100 (CET) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by balder.ntg.nl (Postfix) with ESMTP id 53FDACA82E for ; Fri, 19 Nov 2010 07:57:20 +0100 (CET) Original-Received: from mail-fx0-f41.google.com (mail-fx0-f41.google.com [209.85.161.41]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oAJ6vJh9030803 for ; Fri, 19 Nov 2010 07:57:19 +0100 Original-Received: by fxm20 with SMTP id 20so2389561fxm.14 for ; Thu, 18 Nov 2010 22:57:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=/KfabMxWWqsdCQ9meh9nRStkAEfMkv7wdPPEkj5/X8I=; b=sc3xWF3roe7OKfcdpIIW6ED1zIrPulgLZBXczb3HK+/0z78iPyo5Jvbssm+NOAVN0E wpIzNU5JdLPUGWcYiNTnEnYTrvrvHu/QArguNK+lw10dvT5ZNEuHXkGofN1kj4ww+XoH ohkLFTM+/Wra0p2a5BRkJDpBP2dzbvB1vkzNc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=baPlyR0kou78j+ncSKPhkbC3tEFdtZ+kCWh3+e921Aoq6FrEL++cE122Ssw2nXT3uO XoH1O1g3G0L+TKOm01/1H1AeX4Wddw9dVC0lEuSBarOGRGVhu9GRck9Sq+wnJPIsetXH jSDYEOg+6+c9EiW8vpRTOfHCXrT91ULKd5nw0= Original-Received: by 10.223.96.137 with SMTP id h9mr407164fan.54.1290149838846; Thu, 18 Nov 2010 22:57:18 -0800 (PST) Original-Received: by 10.223.3.14 with HTTP; Thu, 18 Nov 2010 22:57:18 -0800 (PST) In-Reply-To: <4CD1ACF5.4030806@wxs.nl> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.161.41; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 06DwSVjI6 - becd37fbea2a - 20101119 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:63705 Archived-At: --===============0062239961== Content-Type: multipart/alternative; boundary=20cf30434364d9fcd30495626a34 --20cf30434364d9fcd30495626a34 Content-Type: text/plain; charset=ISO-8859-1 Op woensdag 3 nov 2010 19:41 CET schreef Hans Hagen: >> In the past I have used the chart module for a little flow chart in a >> presentation. I wanted to make again flow charts. But I did not get it >> working. I just compiled my old version again, but this does not work >> also. The chart is drawn, but the boxes and lines are invisible. That >> is not very usefull. What could be the problem? >> >> When executing 'texexec --check' I get: >> MTXrun | kpse fallback with progname 'context' initialized in 0.03 seconds >> TeXExec | current distribution: web2c >> TeXExec | context source date: 2009.08.19 17:10 >> TeXExec | format path: . /home/cecil/texmf//home/cecil/texmf/web2c /etc/texmf//home/cecil/texmf/web2c /var/lib/texmf//home/cecil/texmf/web2c /usr/lib/texmf//home/cecil/texmf/web2c /usr/local/share/texmf//home/cecil/texmf/web2c /usr/share/texmf//home/cecil/texmf/web2c /etc/texmf/web2c /var/lib/texmf/web2c /home/cecil/texmf/web2c/unsetengine /etc/texmf/web2c/unsetengine /var/lib/texmf/web2c/unsetengine /usr/lib/texmf/web2c/unsetengine /usr/local/share/texmf/web2c/unsetengine /usr/share/texmf/web2c/unsetengine /home/cecil/texmf/web2c /etc/texmf/web2c /var/lib/texmf/web2c /usr/lib/texmf/web2c /usr/local/share/texmf/web2c /usr/share/texmf/web2c >> TeXExec | start of analysis >> TeXExec | end of analysis >> TeXExec | >> TeXExec | TeXExec | version 6.2.1 - 1997-2009 - PRAGMA ADE/POD >> TeXExec | TeXUtil | version 9.1.0 - 1997-2005 - PRAGMA ADE/POD >> TeXExec | CtxTools | version 1.3.5 - 2004/2008 - PRAGMA ADE >> >> As a side note: is it possible to generate a JPG file instead of a PDF >> file? > > no clue as no test file ... is write 18 enabled on your system? Below the stripped down version of the code. Write 18 was not enabled. I enabled it, but still I do not see the boxes and the lines. \usemodule[chart] %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%% % This is where the document starts. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \starttext \setupFLOWcharts [ dx=2\bodyfontsize, dy=2\bodyfontsize, height=2.1\lineheight, maxwidth=\textwidth, nx=3, ny=5, ] \setupFLOWshapes [ background=color, backgroundcolor=darkblue, ] \startFLOWchart[SPICE] \startFLOWcell \name{source} \location{2,1} \text{{\tfc S}ource} \connection[bt]{PICTURE} \stopFLOWcell \startFLOWcell \name{PICTURE} \location{2,2} \text{{\tfc P}icture} \connection[bt]{IMPLEMENTATION} \stopFLOWcell \startFLOWcell \name{IMPLEMENTATION} \location{2,3} \text{{\tfc I}mplementation} \connection[bt]{CONSEQUENCE} \stopFLOWcell \startFLOWcell \name{CONSEQUENCE} \location{2,4} \text{{\tfc C}onsequence} \connection[bt]{ENRICHEMENT} \stopFLOWcell \startFLOWcell \name{ENRICHEMENT} \location{2,5} \text{{\tfc E}nrichement} \connection[bt]{SOURCE} \connection[bt]{PICTURE} \connection[bt]{IMPLEMENTATION} \stopFLOWcell \stopFLOWchart \FLOWchart[SPICE] \stoptext %%% Local Variables: %%% mode: context %%% TeX-master: t %%% End: -- Cecil Westerhof --20cf30434364d9fcd30495626a34 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Op woensdag 3 nov 2010 19:41 CET schreef Hans Hagen:

>> In the past I have used the chart module for a little flow chart i= n a
>> presentation. I wanted to make again flow charts. But I did not ge= t it
>> working. I just compiled my old version again, but this does not w= ork
>> also. The chart is drawn, but the boxes and lines are invisible. T= hat
>> is not very usefull. What could be the problem?
>>
>> When executing 'texexec --check' I get:
>> MTXrun | kpse fallback with progname 'context' initialized= in 0.03 seconds
>> TeXExec | current distribution: web2c
>> TeXExec | context source date: 2009.08.19 17:10
>> TeXExec | format path: . /home/cecil/texmf//home/cecil/texmf/web2c= /etc/texmf//home/cecil/texmf/web2c /var/lib/texmf//home/cecil/texmf/web2c = /usr/lib/texmf//home/cecil/texmf/web2c /usr/local/share/texmf//home/cecil/t= exmf/web2c /usr/share/texmf//home/cecil/texmf/web2c /etc/texmf/web2c /var/l= ib/texmf/web2c /home/cecil/texmf/web2c/unsetengine /etc/texmf/web2c/unseten= gine /var/lib/texmf/web2c/unsetengine /usr/lib/texmf/web2c/unsetengine /usr= /local/share/texmf/web2c/unsetengine /usr/share/texmf/web2c/unsetengine /home/cecil/texmf/web2c /etc/texmf/web2c /var/lib/texmf/web2c=20 /usr/lib/texmf/web2c /usr/local/share/texmf/web2c /usr/share/texmf/web2c >> TeXExec | start of analysis
>> TeXExec | end of analysis
>> TeXExec |
>> TeXExec | TeXExec | version 6.2.1 - 1997-2009 - PRAGMA ADE/POD
>> TeXExec | TeXUtil =A0 | version 9.1.0 - 1997-2005 - PRAGMA ADE/POD=
>> TeXExec | CtxTools | version 1.3.5 - 2004/2008 - PRAGMA ADE
>>
>> As a side note: is it possible to generate a JPG file instead of a= PDF
>> file?
>
> no clue as no test file ... is write 18 enabled on your system?

Below the stripped down version of the code.

Write 18 was not enabled. I enabled it, but still I do not see the
boxes and the lines.

\usemodule[chart]

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%
% This is where the document starts.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\starttext

\setupFLOWcharts
[
dx=3D2\bodyfontsize,
dy=3D2\bodyfontsize,
height=3D2.1\lineheight,
maxwidth=3D\textwidth,
nx=3D3,
ny=3D5,
]
\setupFLOWshapes
[
background=3Dcolor,
backgroundcolor=3Ddarkblue,
]
\startFLOWchart[SPICE]
\startFLOWcell
=A0\name{source}
=A0\location{2,1}
=A0\text{{\tfc S}ource}
=A0\connection[bt]{PICTURE}
\stopFLOWcell
\startFLOWcell
=A0\name{PICTURE}
=A0\location{2,2}
=A0\text{{\tfc P}icture}
=A0\connection[bt]{IMPLEMENTATION}
\stopFLOWcell
\startFLOWcell
=A0\name{IMPLEMENTATION}
=A0\location{2,3}
=A0\text{{\tfc I}mplementation}
=A0\connection[bt]{CONSEQUENCE}
\stopFLOWcell
\startFLOWcell
=A0\name{CONSEQUENCE}
=A0\location{2,4}
=A0\text{{\tfc C}onsequence}
=A0\connection[bt]{ENRICHEMENT}
\stopFLOWcell
\startFLOWcell
=A0\name{ENRICHEMENT}
=A0\location{2,5}
=A0\text{{\tfc E}nrichement}
=A0\connection[bt]{SOURCE}
=A0\connection[bt]{PICTURE}
=A0\connection[bt]{IMPLEMENTATION}
\stopFLOWcell
\stopFLOWchart

\FLOWchart[SPICE]

\stoptext

%%% Local Variables:
%%% mode: context
%%% TeX-master: t
%%% End:

--
Cecil Westerhof
--20cf30434364d9fcd30495626a34-- --===============0062239961== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============0062239961==--