ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Shivkumar Chandrasekaran <shiv@ece.ucsb.edu>
Subject: chart bug
Date: Tue, 27 Jan 2004 15:36:07 -0800	[thread overview]
Message-ID: <9449CF7E-5121-11D8-B711-000393942C76@ece.ucsb.edu> (raw)

Hi,

I have noticed that if I use \comment command in my chart and there are 
two of them with two \setupFLOWcharts command then the \comment command 
does not produce text. I know the code is bug free because deleting one 
of the charts (including \setupFLOWcharts) makes the \comment text 
re-appear. Any help in working around this bug will be appreciated. A 
small example is at the bottom.

I believe I have the latest downloads from Gierben Wierda's 
distribution for Mac OS X. Thanks,

--shiv--

\starttext

%----start cutting to remove bug----------

\setupFLOWcharts
	[nx=2,
	ny=1,
	dx=3\bodyfontsize,
	dy=3\bodyfontsize,
	width=6\bodyfontsize,
	height=3\bodyfontsize,
	maxwidth=\textwidth,
	maxheight=\textheight]

\startFLOWchart [network]
	\startFLOWcell
		\name {N1}
		\location {1,1}
		\shape {10}
		\text {input \\ output}
		\connect [prpl] {N2}
	\stopFLOWcell
	
	\startFLOWcell
		\name {N2}
		\location {2,1}
		\shape {5}
		\text {$N_1$}
		\connect [nlnr] {N1}
	\stopFLOWcell
		
\stopFLOWchart

\placefigure
	[][]
	{Where are the comments.}
	{\FLOWchart[network]}

%-----stop cutting to remove bug-------------


\setupFLOWcharts
	[nx=2,
	ny=1,
	dx=3\bodyfontsize,
	dy=3\bodyfontsize,
	width=6\bodyfontsize,
	height=3\bodyfontsize,
	maxwidth=\textwidth,
	maxheight=\textheight]

\startFLOWchart [network2]
	\startFLOWcell
		\name {N1}
		\location {1,1}
		\shape {10}
		\text {input \\ output}
		\connect [prpl] {N2}
		\comment [t] {Hello}
	\stopFLOWcell
	
	\startFLOWcell
		\name {N2}
		\location {2,1}
		\shape {5}
		\text {$N_1$}
		\connect [nlnr] {N1}
	\stopFLOWcell
		
\stopFLOWchart

\placefigure
	[][]
	{Where are the comments.}
	{\FLOWchart[network2]}
	
\stoptext 

             reply	other threads:[~2004-01-27 23:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-27 23:36 Shivkumar Chandrasekaran [this message]
2004-01-28 14:03 ` Hans Hagen

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=9449CF7E-5121-11D8-B711-000393942C76@ece.ucsb.edu \
    --to=shiv@ece.ucsb.edu \
    --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).