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