Dear fellow gangsters,

2 questions:

QUESTION 1) Does ConTeXt have a graphical charts module, a la flowcharts module? If not, are there some examples of graphical charts done in ConTeXt anywhere? Please see the attached png for what I have in mind.

I did find a module m-steps, but the enclosed example crashes, so I'm not sure if this is what I'm looking for...

=============================
% output=pdf interface=en

\usemodule[m-steps]

% A simple paragraph-flow test:

\starttext

\startbuffer
\startSTEPchart
\cells {A}     {B}
\cells {one}   {five}  \texts{$+2$}{$-2$}
\cells {two}   {four}  \texts{$+3$}{$-3$}
\cells {three} {three} \texts{$+4$}{$-4$}
\cells {four}  {two}   \texts{$+5$}{$-5$}
\cells {five}  {one}
\stopSTEPchart
\stopbuffer

\getbuffer

\startnarrower \getbuffer \stopnarrower

\placefigure[left]{}{} \getbuffer

\stoptext
=============================

log file:

=============================
(chart-test-mpgraph.mp (c:\ConTeXt\tex\texmf-local/metapost/context/base/mp-step
.mp)
(0.5,0.5,0.5)
2.5
! Not implemented: (color)scaled(known numeric).
<to be read again>
                   ;
pen_size->...epath(top.origin--bot.origin)(TEXT2);
                                                  (ypart.urcorner.p-ypart.lr...
set_ahlength->...:=(ahfactor*pen_size(_op_(TEXT0))
                                                  );
arrowheadonpath->...;set_ahlength(scaled.ahfactor)
                                                  ;arrowhead(EXPR2)if(EXPR3)...
drawline->...R2)=1:draw.arrowheadonpath((EXPR3),1)
                                                  ;elseif(EXPR2)=2:draw.arro...
image->...ture;currentpicture:=nullpicture;(TEXT2)
                                                  ;currentpicture.endgroup
l.145 ...e(2,2), 1.79993pt, (scaledgray(.5,1)) ) )
; lines[b][2][2] := image(...
?
=============================

QUESTION 2) Not really a direct context question but is needed for a context document: how can I convert the attached pdf to a transparent background without loosing the image (bitmap in origin). ImageMagick does not work well at all. I need it in a document with a colored background.

Thnx in advance

Best
Idris

--
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

Attachment: cash-flow.PNG
Description: PNG image

Attachment: vowel-print.pdf
Description: Adobe PDF document

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to