ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Otared Kavian <otared@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Is the chart module broken?
Date: Sat, 20 Nov 2010 21:41:56 +0100	[thread overview]
Message-ID: <67D6C4E9-F16C-4017-9239-C0F11EDE47CF@gmail.com> (raw)
In-Reply-To: <AD32DC38-D9DA-4FB7-9A13-4E5DC56E9121@boede.nl>

Hi all,

As a matter of fact with any document using the chart module, mkii stops with
	\wait=
This happens with the following minimal test, for example:

%%% begin bug-chart.tex
\usemodule[chart]

\startFLOWchart[cells]
	\startFLOWcell
		\location {1,1}
		\text{This is just a test}
	\stopFLOWcell 
\stopFLOWchart

\starttext
\FLOWchart[cells]
\stoptext
%%% end bug-chart.tex

However with mkiv, everything is fine.
For you information, I tested the above with the Minimals, ConTeXt  ver: 2010.11.18 19:47 MKII  fmt: 2010.11.19  int: english/english, on MacOS X 10.6.5.

Best regards: OK

On 20 nov. 2010, at 21:26, Willi Egger wrote:

> I do not know what happens. With your sample code I get:
> 
> With ConTeXt  ver: 2010.11.20 12:51 MKII  fmt: 2010.11.20  int: english/english
> 
> 
> .../lua64/tex/texmf-context/tex/context/base/m-chart.mkii
> XML             : loading flowchart support
> ))
> 
> Fatal error: catcode push/pop mismatch. Fix this!
> 
> \wait=
> /Users/willi/Documents/TEXdata/TEST/test-flowchart.tex:23: Emergency stop.
> <read *> 
> 
> \wait ->\begingroup \read 16 to \wait 
>                                      \endgroup 
> \showcatcodenestingerror ...atch. Fix this!}\wait 
>                                                  \end \immediate \write 16{}
> \popcatcodetable ...evel \showcatcodenestingerror 
>                                                  \else \expandafter \catcod...
> 
> \stopreadingfile ->\endrestorecatcodes 
>                                       \the \everystopreadingfile \global \a...
> <argument> ...dousemodules \f!moduleprefix {chart}
>                                                  \dododousemodules \f!priva...
> ...
> l.23 \starttext ...
> 
> 
> Willi
> On 20 Nov 2010, at 17:08, Cecil Westerhof wrote:
> 
>> 2010/11/20 Hans Hagen <pragma@wxs.nl>
>>> 
>>> so you have only minimals ... and there all is set up to run mp runtime
>> 
>> Should I install more?
>> 
>> 
>>> strange that no one else has this problem of not finding mpost in the binpath then
>> 
>> Proberly something wrong with my installation, but that is only part
>> of the problem. I installed ConTeXt on another computer.  Here
>> metapost is found, but still when trying to create a flowchart, only
>> the text is generated. It is reproducable. When giving:
>> \usemodule[chart]
>> 
>>   \starttext
>> 
>>   \startFLOWchart[cells]
>>        \startFLOWcell
>>            \name       {first}
>>            \location        {1,1}
>>            \shape      {singledocument}
>>            \text       {not really a document}
>>        \stopFLOWcell
>> 
>>   \stopFLOWchart
>> 
>>   \FLOWchart[cells]
>> 
>>   \stoptext
>> 
>> To http://live.contextgarden.net/, then there is also only text.
>> 
>> And when I take from http://wiki.contextgarden.net/Flow_Charts:
>> 
>> \usemodule[chart]
>> \setupFLOWcharts[height=3\lineheight]
>> 
>> \startFLOWchart[example]
>> \startFLOWcell
>> \name {flow}
>> \location {1,1}
>> \text {Flow}
>> \connection [rl] {chart}
>> \stopFLOWcell
>> \startFLOWcell
>> \name {chart}
>> \location{2,1}
>> \text {Charts}
>> \stopFLOWcell
>> \stopFLOWchart
>> \FLOWchart[example]
>> 
>> And feed it to http://live.contextgarden.net/, I also only see text
>> and not the flowchart itself.
>> 
>> --
>> Cecil Westerhof
>> ___________________________________________________________________________________
>> 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
>> ___________________________________________________________________________________
> 
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________

___________________________________________________________________________________
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
___________________________________________________________________________________


  reply	other threads:[~2010-11-20 20:41 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
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 [this message]
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=67D6C4E9-F16C-4017-9239-C0F11EDE47CF@gmail.com \
    --to=otared@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).