From: Cecil Westerhof <cldwesterhof@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Is the chart module broken?
Date: Fri, 19 Nov 2010 07:57:18 +0100 [thread overview]
Message-ID: <AANLkTi=yDxRiWak898HJBwYbuE=NfP_HLdU4zQPVrvWG@mail.gmail.com> (raw)
In-Reply-To: <4CD1ACF5.4030806@wxs.nl>
[-- Attachment #1.1: Type: text/plain, Size: 2956 bytes --]
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
[-- Attachment #1.2: Type: text/html, Size: 3645 bytes --]
[-- Attachment #2: Type: text/plain, Size: 486 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2010-11-19 6:57 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-03 13:52 Cecil Westerhof
2010-11-03 18:41 ` Hans Hagen
2010-11-19 6:57 ` Cecil Westerhof [this message]
2010-11-19 7:43 ` Cecil Westerhof
2010-11-19 17:29 ` Hans Hagen
2010-11-19 18:12 ` Cecil Westerhof
2010-11-19 18:21 ` Aditya Mahajan
2010-11-19 20:19 ` Cecil Westerhof
2010-11-19 18:47 ` Hans Hagen
2010-11-19 20:23 ` Cecil Westerhof
2010-11-19 20:38 ` Hans Hagen
2010-11-20 5:04 ` Cecil Westerhof
2010-11-20 11:56 ` Hans Hagen
2010-11-20 16:08 ` Cecil Westerhof
2010-11-20 16:12 ` Aditya Mahajan
2010-11-20 20:26 ` Willi Egger
2010-11-20 20:41 ` Otared Kavian
2010-11-21 6:19 ` Cecil Westerhof
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='AANLkTi=yDxRiWak898HJBwYbuE=NfP_HLdU4zQPVrvWG@mail.gmail.com' \
--to=cldwesterhof@gmail.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).