ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* problem with \usemodule[chart]
@ 2003-05-13 18:32 schwertner
  2003-05-16  7:40 ` Eckhart Guthöhrlein
  2003-05-16 18:53 ` Willi Egger
  0 siblings, 2 replies; 6+ messages in thread
From: schwertner @ 2003-05-13 18:32 UTC (permalink / raw)


Hello,

I'd like to draw up a simple chart (\usemodule[chart]), but I get only the "text" (not really
a document) and no "shape" on the PDF. I use a current version of Miktex total (Win)
and the newest ConTeXt. What can I do?

Thanks for any help,

greetings, Helmut



**********sample**********************************************++

\usemodule[chart]

\setupFLOWcharts
	[nx=3,
	 ny=3,
	 dx=2\bodyfontsize,
	 dy=2\bodyfontsize,
	 width=12\bodyfontsize,
	 height=7\bodyfontsize,
	 maxwidth=\textwidth]
\starttext
 \startFLOWchart[cells]
      \startFLOWcell
          \name       {first}
          \location   {1,2}
          \shape      {singledocument}
          \text       {not really a document}
      \stopFLOWcell
 \stopFLOWchart
 \FLOWchart[cells]
\stoptext

*********************************************************
Helmut Schwertner
Schülperbaum 4
24103  K i e l

phone: 0431 58 78 502
eMail:  schwertner@t-online.de

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: problem with \usemodule[chart]
  2003-05-13 18:32 problem with \usemodule[chart] schwertner
@ 2003-05-16  7:40 ` Eckhart Guthöhrlein
  2003-05-16 18:53 ` Willi Egger
  1 sibling, 0 replies; 6+ messages in thread
From: Eckhart Guthöhrlein @ 2003-05-16  7:40 UTC (permalink / raw)


On Tue, May 13, 2003 at 08:32:18PM +0200, schwertner@t-online.de wrote:
> I'd like to draw up a simple chart (\usemodule[chart]), but I get only the "text" (not really
> a document) and no "shape" on the PDF. I use a current version of Miktex total (Win)
> and the newest ConTeXt. What can I do?

Did you enable the \write18 feature? This allows tex to run external
programs, needed for inline metapost graphics like flow shapes. I don't
remember how to do this for miktex, but it is described in the
context installation manual, together with some more hints for a
context friendly setup.

-- 
Eckhart

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: problem with \usemodule[chart]
  2003-05-13 18:32 problem with \usemodule[chart] schwertner
  2003-05-16  7:40 ` Eckhart Guthöhrlein
@ 2003-05-16 18:53 ` Willi Egger
  2003-05-17 15:32   ` Hans Hagen
  1 sibling, 1 reply; 6+ messages in thread
From: Willi Egger @ 2003-05-16 18:53 UTC (permalink / raw)


Hi Helmut,

I tried your code and it runs smoothly here.

I saw later the suggestion of Eckhart. This could be the good sugggestion
\write18 must be enabled in order to
typeset flow-charts!


Cheers Willi


----- Original Message -----
From: <schwertner@t-online.de>
To: <ntg-context@ntg.nl>
Sent: Tuesday, May 13, 2003 8:32 PM
Subject: [NTG-context] problem with \usemodule[chart]


> Hello,
>
> I'd like to draw up a simple chart (\usemodule[chart]), but I get only the
"text" (not really
> a document) and no "shape" on the PDF. I use a current version of Miktex
total (Win)
> and the newest ConTeXt. What can I do?
>
> Thanks for any help,
>
> greetings, Helmut
>
>
>
> **********sample**********************************************++
>
> \usemodule[chart]
>
> \setupFLOWcharts
> [nx=3,
> ny=3,
> dx=2\bodyfontsize,
> dy=2\bodyfontsize,
> width=12\bodyfontsize,
> height=7\bodyfontsize,
> maxwidth=\textwidth]
> \starttext
>  \startFLOWchart[cells]
>       \startFLOWcell
>           \name       {first}
>           \location   {1,2}
>           \shape      {singledocument}
>           \text       {not really a document}
>       \stopFLOWcell
>  \stopFLOWchart
>  \FLOWchart[cells]
> \stoptext
>
> *********************************************************
> Helmut Schwertner
> Schülperbaum 4
> 24103  K i e l
>
> phone: 0431 58 78 502
> eMail:  schwertner@t-online.de
>
>
>
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: problem with \usemodule[chart]
  2003-05-16 18:53 ` Willi Egger
@ 2003-05-17 15:32   ` Hans Hagen
  0 siblings, 0 replies; 6+ messages in thread
From: Hans Hagen @ 2003-05-17 15:32 UTC (permalink / raw)


At 20:53 16/05/2003 +0200, you wrote:
>Hi Helmut,
>
>I tried your code and it runs smoothly here.
>
>I saw later the suggestion of Eckhart. This could be the good sugggestion
>\write18 must be enabled in order to
>typeset flow-charts!

you can run in intermediate mode (no write 18) but maybe you had your 
system set up for immediate mode in which case write 18 also needs to be 
enabled,

for testing, try:

   texexec --automp yourfile.mp

depending on the complexity of the job this can be faster at the cost orf 
more files.


Hans
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                        information: http://www.pragma-ade.com/roadmap.pdf
                     documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: problem with \usemodule[chart]
  2003-05-16 19:13 Helmut Schwertner
@ 2003-05-16 19:37 ` Willi Egger
  0 siblings, 0 replies; 6+ messages in thread
From: Willi Egger @ 2003-05-16 19:37 UTC (permalink / raw)


Hi Helmut,

Though I a m not using Miktex it seems that you might have to make the mem
file (format file ) for metafun yourself.

texexec --make metafun

Keep in mind, that the mem-file is dumped into the directory where you run
the texexec command.
So please move that mem file to the place where the other format files
reside (Web2c).
Do run mktexlsr  in order to update the database or whatever Miktex needs to
achieve the same purpose.

I hope this will solve the problem.


Willi

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: problem with \usemodule[chart]
@ 2003-05-16 19:13 Helmut Schwertner
  2003-05-16 19:37 ` Willi Egger
  0 siblings, 1 reply; 6+ messages in thread
From: Helmut Schwertner @ 2003-05-16 19:13 UTC (permalink / raw)


Hallo Eckhart,

vielen Dank für Deine Antwort. Ich habe mir daraufhin einige
Installationshinweise (u.a. von fiee http://www.ramm.ch/fiee/texnique/)
angesehen und insbesondere die sogenannten "Aufrufe" von MetaPost angesehen
und diese in die entsprechenden Konfigurationsdateien auf enable gestellt
bzw. hinzugefügt. Leider gehen die meisten Text nicht von Miktex (Win) aus
(was ich ja gut verstehen kann), was aber dazu führt, dass bestimmte,
genannte, Dateien so unter Miktex gar existieren. Das erleichtert mir als
Sozialwissenschaftler, der noch nicht mal versteht, wie ein Kühlschrank
funktioniert, aber dennoch schon jahrelang recht ordentliche Text mit latex
bzw. pdflatex produziert, die Sache nicht gerade.

Ergo: Trotz \write18 (miktex.ini) auf enable und weiteren Modifikationen
leider kein Metapost. Ich erhalte folgende Hinweise beim Aufruf: texexec
--pdf flowtest

initexmf: don't know how to dump metafun
cannot make metafun.mem
I can't find the default mem file!

Hast Du vielleicht noch eine Idee, der ich nachgehen könnte?

Vielen Dank nochmal und herzliche Grüße,

helmut



> On Tue, May 13, 2003 at 08:32:18PM +0200, schwertner@t-online.de wrote:
>> I'd like to draw up a simple chart (\usemodule[chart]), but I get only
>> the "text" (not really
>> a document) and no "shape" on the PDF. I use a current version of Miktex
>> total (Win)
>> and the newest ConTeXt. What can I do?

> Did you enable the \write18 feature? This allows tex to run external
> programs, needed for inline metapost graphics like flow shapes. I don't
> remember how to do this for miktex, but it is described in the
> context installation manual, together with some more hints for a
> context friendly setup.

> --
> Eckhart

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-05-17 15:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-13 18:32 problem with \usemodule[chart] schwertner
2003-05-16  7:40 ` Eckhart Guthöhrlein
2003-05-16 18:53 ` Willi Egger
2003-05-17 15:32   ` Hans Hagen
2003-05-16 19:13 Helmut Schwertner
2003-05-16 19:37 ` Willi Egger

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).