* FLOWchart: colored connections and other styles
@ 2002-04-12 17:49 Henning Hraban Ramm
2002-04-12 20:40 ` W. Egger
0 siblings, 1 reply; 12+ messages in thread
From: Henning Hraban Ramm @ 2002-04-12 17:49 UTC (permalink / raw)
Ahoi!
How can I change color or dashing for only one or a few connections?
(There's an example in "mchart", but without source.)
Is it possible to set up some "classes" of cells that use the usual shapes
but other colors or line styles?
I'd like to distinguish e.g. different types of files.
More chart questions will follow soon -- I'm on making some workflow
charts of our newspaper...
Grüßlis vom Hraban!
--
http://www.fiee.net/texnique/
---
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: FLOWchart: colored connections and other styles
2002-04-12 17:49 FLOWchart: colored connections and other styles Henning Hraban Ramm
@ 2002-04-12 20:40 ` W. Egger
2002-04-13 17:58 ` Henning Hraban Ramm
2002-04-14 20:12 ` John Culleton
0 siblings, 2 replies; 12+ messages in thread
From: W. Egger @ 2002-04-12 20:40 UTC (permalink / raw)
Cc: ntg-context
[-- Attachment #1: Type: text/plain, Size: 443 bytes --]
Hallo Hraban
> How can I change color or dashing for only one or a few connections?
> Is it possible to set up some "classes" of cells that use the usual shapes
> but other colors or line styles?
Some time ago I had to make a presentation, wherein I had to solve the above
mentioned issues. At that time Hans gave me some tips. Though my example
file is in Dutch, I believe that this example can help you find your way.
Kind regards Willi
[-- Attachment #2: testchart.pdf --]
[-- Type: application/octet-stream, Size: 11830 bytes --]
[-- Attachment #3: testchart.tex --]
[-- Type: application/octet-stream, Size: 2772 bytes --]
% Context file
% Testchart
\setupoutput[pdftex]
\usemodule[chart]
\usemodule[units]
\setuppapersize[A4][A4]
\setupcolors[state=start]
\definecolor[grey][r=.85,g=.85,b=.85]
\definecolor[darkgreen][r=0,g=0.5,b=0]
\definecolor[Blau][r=0.0,g=0.0,b=0.9]
\setupFLOWcharts
[x=1,
y=1,
nx= 5,
ny= 8,
dx=2\bodyfontsize,
dy=2\bodyfontsize,
maxheight=\textheight]
\setupFLOWshapes
[framecolor=black]
\setupbodyfont[ss,10pt]
\startFLOWchart[Beslisboom1]
\bgroup
\setupFLOWshapes%
[framecolor=Blau]
\setupFLOWlines%
[dash=no,color=Blau]
\startFLOWcell
\name{Start}
\location {3,1}
\shape{12}
\connection[b,t]{Test1}
\text{metaal in eindproduct}
\stopFLOWcell
\startFLOWcell
\name{Test1}
\location {3,2}
\shape{45}
\text{beheersmaatregel uitgevoerd?}
\connection[b,t]{Test2}
\label [b]{j}
\setupFLOWlines%
[color=black,dash=yes]
\connection[l,t]{Test4}
\label[l]{n}
\stopFLOWcell
\startFLOWcell
\name{Test2}
\location {3,3}
\shape{45}
\text{gereduceerd?\\ge\"elimineerd?}
\setupFLOWlines%
[color=black,dash=yes]
\connection[b,t]{Test3}
\label[b]{n}
\setupFLOWlines%
[color=Blau,dash=no]
\connection[r,r]{Test6}
\label[r]{j}
\stopFLOWcell
\startFLOWcell
\name{Test6}
\location {3,6}
\shape{45}
\text{laater in proces\\nog beheers\\maatregelen?}
\connection[b,t]{CCPja}
\label[b]{n}
\setupFLOWlines
[dash=yes, color=black]
\connection[l,r]{Node2}
\label[l]{j}
\stopFLOWcell
\startFLOWcell
\name{CCPja}
\location {3,7}
\shape{12}
\text{\bf{CCP}}
\stopFLOWcell
\egroup
\bgroup
\setupFLOWlines%
[dash=yes,arrow=yes]
\startFLOWcell
\name{Test4}
\location {2,3}
\shape{45}
\text{beheersmaatregel noodzakelijk?}
\connection[b,t]{Test5}
\label [b]{j}
\connection[r,r]{Node1}
\label[r]{n}
\stopFLOWcell
\startFLOWcell
\name{Test5}
\location {2,4}
\shape{45}
\text{beheerst door alg.\\procedure?}
\connection[b,t]{Node1}
\label [b]{j}
\connection[l,r]{Aanpassen}
\label[l]{n}
\stopFLOWcell
\startFLOWcell
\name{Aanpassen}
\location {1,4}
\shape{action}
\text{Aanpassen proces \\ of maatregel}
\connection[t,l]{Start}
\stopFLOWcell
\startFLOWcell
\name{Node1}
\location {2,5}
\shape{node}
\text{}
\connection[b,t]{Node2}
\stopFLOWcell
\startFLOWcell
\name{Node2}
\location {2,6}
\shape{node}
\text{}
\connection[b,t]{CCPnee}
\stopFLOWcell
\startFLOWcell
\name{CCPnee}
\location {2,7}
\shape{12}
\text{\bf{geen CCP}}
\stopFLOWcell
\startFLOWcell
\name{Test3}
\location {3,4}
\shape{45}
\text{gevaar blijft?\\gevaar hoger?}
\connection[b,t]{Test6}
\label[b]{j}
\connection[l,r]{Node1}
\label[l]{n}
\stopFLOWcell
\egroup
\stopFLOWchart
\starttext
\FLOWchart[Beslisboom1]
\stoptext
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: FLOWchart: colored connections and other styles
2002-04-12 20:40 ` W. Egger
@ 2002-04-13 17:58 ` Henning Hraban Ramm
2002-04-14 20:12 ` John Culleton
1 sibling, 0 replies; 12+ messages in thread
From: Henning Hraban Ramm @ 2002-04-13 17:58 UTC (permalink / raw)
Cc: ntg-context
Am Freitag, 12. April 2002 22:40 schrieb W. Egger:
> > How can I change color or dashing for only one or a few connections?
> Some time ago I had to make a presentation, wherein I had to solve the
> above mentioned issues. At that time Hans gave me some tips. Though my
> example file is in Dutch, I believe that this example can help you find
> your way.
Thank you very much!
(Indeed the hint "use \bgroup ... \egroup" would have been enough.)
Grüßlis vom Hraban!
--
http://www.fiee.net/texnique/
---
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: FLOWchart: colored connections and other styles
2002-04-12 20:40 ` W. Egger
2002-04-13 17:58 ` Henning Hraban Ramm
@ 2002-04-14 20:12 ` John Culleton
2002-04-14 21:36 ` Henning Hraban Ramm
2002-04-15 20:13 ` W. Egger
1 sibling, 2 replies; 12+ messages in thread
From: John Culleton @ 2002-04-14 20:12 UTC (permalink / raw)
Cc: ntg-context
On Friday 12 April 2002 16:40, W. Egger wrote:
> Hallo Hraban
>
> > How can I change color or dashing for only one or a few
> > connections?
> >
> > Is it possible to set up some "classes" of cells that use the
> > usual shapes but other colors or line styles?
>
> Some time ago I had to make a presentation, wherein I had to solve
> the above mentioned issues. At that time Hans gave me some tips.
> Though my example file is in Dutch, I believe that this example can
> help you find your way.
>
Very interesting! The flowchart package is one that I need and had
not heard of before. Unfortunately when I try to run your
testchart.tex I have two problems:
1. I t cnnot find metafun.mem so it tries to use metapost.mem. I have
neither file. Is this something Windows-specific?
2. It blows up on the following:
This is MetaPost, Version 0.641 (Web2C 7.3.1)
Sorry, I can't find the mem file `metafun.mem'; will try `mpost.mem'.
(mpgraph.mp
! Number is too large (8000).
l.1 mpgraph:=8000
I am not a metapost user but I thought the flowchart module would
be useful.
Any thoughts on any of the above?
I can't find metafun.mem anywhere.
John Culleton
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: FLOWchart: colored connections and other styles
2002-04-14 20:12 ` John Culleton
@ 2002-04-14 21:36 ` Henning Hraban Ramm
2002-04-15 13:57 ` John Culleton
2002-04-15 20:13 ` W. Egger
1 sibling, 1 reply; 12+ messages in thread
From: Henning Hraban Ramm @ 2002-04-14 21:36 UTC (permalink / raw)
Am Sonntag, 14. April 2002 22:12 schrieb John Culleton:
> Very interesting! The flowchart package is one that I need and had
> not heard of before. Unfortunately when I try to run your
You seem to go unusual ways to ConTeXt, most time...
Many users came to ConTeXt (nearly) only for the chart module.
> 1. I t cnnot find metafun.mem so it tries to use metapost.mem. I have
> neither file. Is this something Windows-specific?
Did you make your ConTeXt formats with texexec?
Try simply "texexec --make" or "texexec --make metafun"
--
Grüßlis vom Hraban!
---
http://www.fiee.net/texnique/
---
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: FLOWchart: colored connections and other styles
2002-04-14 21:36 ` Henning Hraban Ramm
@ 2002-04-15 13:57 ` John Culleton
2002-04-15 14:26 ` Hans Hagen
2002-04-15 20:10 ` W. Egger
0 siblings, 2 replies; 12+ messages in thread
From: John Culleton @ 2002-04-15 13:57 UTC (permalink / raw)
On Sunday 14 April 2002 17:36, Henning Hraban Ramm wrote:
> Am Sonntag, 14. April 2002 22:12 schrieb John Culleton:
>
>
> > 1. I t cnnot find metafun.mem so it tries to use metapost.mem. I
> > have neither file. Is this something Windows-specific?
>
> Did you make your ConTeXt formats with texexec?
> Try simply "texexec --make" or "texexec --make metafun"
I had to do both but now it works! Thanks very much.
Now all I need to do is find documentaiton on the module. In the
meantime I will take your testchart.tex and experiment with it.
I came to Context for features like interaction and the inmargin
capability. Flowcharting is a welcome bonus. I believe Context
is the wave of the future for TeX. Thanks go to Hans H. and the
development community.
John Culleton
__________________________________________________
D O T E A S Y - "Join the web hosting revolution!"
http://www.doteasy.com
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: FLOWchart: colored connections and other styles
2002-04-15 13:57 ` John Culleton
@ 2002-04-15 14:26 ` Hans Hagen
2002-04-15 20:10 ` W. Egger
1 sibling, 0 replies; 12+ messages in thread
From: Hans Hagen @ 2002-04-15 14:26 UTC (permalink / raw)
Cc: Henning Hraban Ramm, ntg-context
At 09:57 AM 4/15/2002 -0400, John Culleton wrote:
>On Sunday 14 April 2002 17:36, Henning Hraban Ramm wrote:
> > Am Sonntag, 14. April 2002 22:12 schrieb John Culleton:
> >
> >
> > > 1. I t cnnot find metafun.mem so it tries to use metapost.mem. I
> > > have neither file. Is this something Windows-specific?
> >
> > Did you make your ConTeXt formats with texexec?
> > Try simply "texexec --make" or "texexec --make metafun"
>
>I had to do both but now it works! Thanks very much.
>
>Now all I need to do is find documentaiton on the module. In the
>meantime I will take your testchart.tex and experiment with it.
>
>I came to Context for features like interaction and the inmargin
>capability. Flowcharting is a welcome bonus. I believe Context
>is the wave of the future for TeX. Thanks go to Hans H. and the
>development community.
www.pragma-ade.com -> big picture -> showcase -> manuals -> charts manual
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] 12+ messages in thread
* Re: FLOWchart: colored connections and other styles
2002-04-15 13:57 ` John Culleton
2002-04-15 14:26 ` Hans Hagen
@ 2002-04-15 20:10 ` W. Egger
1 sibling, 0 replies; 12+ messages in thread
From: W. Egger @ 2002-04-15 20:10 UTC (permalink / raw)
Cc: ntg-context
Hi John,
On the PRAGMA site there is a new manual on flowcharting. - Its very good!
Willi
----- Original Message -----
From: John Culleton <john@wexfordpress.com>
To: Henning Hraban Ramm <angerweit@gmx.net>; ntg-context
<ntg-context@ntg.nl>
Sent: Monday, April 15, 2002 3:57 PM
Subject: Re: FLOWchart: colored connections and other styles
> On Sunday 14 April 2002 17:36, Henning Hraban Ramm wrote:
> > Am Sonntag, 14. April 2002 22:12 schrieb John Culleton:
> >
> >
> > > 1. I t cnnot find metafun.mem so it tries to use metapost.mem. I
> > > have neither file. Is this something Windows-specific?
> >
> > Did you make your ConTeXt formats with texexec?
> > Try simply "texexec --make" or "texexec --make metafun"
>
> I had to do both but now it works! Thanks very much.
>
> Now all I need to do is find documentaiton on the module. In the
> meantime I will take your testchart.tex and experiment with it.
>
> I came to Context for features like interaction and the inmargin
> capability. Flowcharting is a welcome bonus. I believe Context
> is the wave of the future for TeX. Thanks go to Hans H. and the
> development community.
>
> John Culleton
>
>
>
> __________________________________________________
> D O T E A S Y - "Join the web hosting revolution!"
> http://www.doteasy.com
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: FLOWchart: colored connections and other styles
2002-04-14 20:12 ` John Culleton
2002-04-14 21:36 ` Henning Hraban Ramm
@ 2002-04-15 20:13 ` W. Egger
2002-04-16 0:04 ` John Culleton
1 sibling, 1 reply; 12+ messages in thread
From: W. Egger @ 2002-04-15 20:13 UTC (permalink / raw)
Cc: ntg-context
Hi John,
You need to make the metafun.mem and put it into e.g. texmf-var\web2c. This
is not Windows specific. You obtain the file by running texexec --make
metafun. Be aware, that the file is created in the directory where you run
texexec.
I hope this helps. Willi
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: FLOWchart: colored connections and other styles
2002-04-15 20:13 ` W. Egger
@ 2002-04-16 0:04 ` John Culleton
2002-04-16 1:33 ` lucida bright fonts walter a kehowski
0 siblings, 1 reply; 12+ messages in thread
From: John Culleton @ 2002-04-16 0:04 UTC (permalink / raw)
Cc: ntg-context
On Monday 15 April 2002 16:13, W. Egger wrote:
> Hi John,
>
> You need to make the metafun.mem and put it into e.g.
> texmf-var\web2c. This is not Windows specific. You obtain the file
> by running texexec --make metafun. Be aware, that the file is
> created in the directory where you run texexec.
>
> I hope this helps. Willi
More or less by dumb luck I followed earlier advice and ran:
texexec --make metafun
texexec --make
... and the file appeared in the correct directory and I could
execute the sample testchart.tex file. Then I tried a few charts and
ran into trouble. Then Hans H. pointed me to the manual. A few more
experiments and I was in business. I still don't understand what all
the parameters to \setupFLOWcharts do, but I found a combination
that will work and I am sticking to it :-)
Thanks again.
John Culleton
__________________________________________________
D O T E A S Y - "Join the web hosting revolution!"
http://www.doteasy.com
^ permalink raw reply [flat|nested] 12+ messages in thread
* lucida bright fonts
2002-04-16 0:04 ` John Culleton
@ 2002-04-16 1:33 ` walter a kehowski
2002-04-16 10:39 ` Hans Hagen
0 siblings, 1 reply; 12+ messages in thread
From: walter a kehowski @ 2002-04-16 1:33 UTC (permalink / raw)
I have the Lucida Bright fonts installed and they work just fine with MiKTeX/yap/dvips/reader.
However, once I tried to use them with context I get the error message below.
What is the problem? How can I get context to recognize the fonts?
I've already checked the archive and there seemed to be no resolution posted
to a similar problem.
Walter Kehowski
%%% log file
This is pdfeTeX, Version 3.14159-14f-released-20000525-2.1 (MiKTeX 2.1)
(preloaded format=cont-en 2002.4.14) 15 APR 2002 18:25
entering extended mode
**fonts-lbr
(fonts-lbr.tex{pdftex.cfg}
ConTeXt ver: 2001.11.13 fmt: 2002.4.14 int: english mes: english
language : language en is active
system : cont-new loaded
(C:\Program Files\MiKTeX\tex\context\base\cont-new.tex
systems : beware: some patches loaded from cont-new.tex!
system (E-TEX) : [line 473] \ifcsname
)
system : cont-old loaded
(C:\Program Files\MiKTeX\tex\context\base\cont-old.tex
loading : Context Old Macros
)
system : cont-fil loaded
(C:\Program Files\MiKTeX\tex\context\base\cont-fil.tex
loading : Context File Synonyms
)
bodyfont : 12pt rm is loaded
language : patterns 2-en-2 2-uk-2 2-de-2 2-fr-2 2-es-2 2-nl-2 loaded
specials : tex,postscript,rokicki loaded
(C:\Program Files\MiKTeX\tex\context\base\type-pre.tex
typescript : [serif,sans,mono,math,handwriting] [lucida] [name,special,defa
ult]
(C:\Program Files\MiKTeX\tex\context\base\type-syn.tex)
(C:\Program Files\MiKTeX\tex\context\base\type-enc.tex)
(C:\Program Files\MiKTeX\tex\context\base\type-siz.tex)
(C:\Program Files\MiKTeX\tex\context\base\type-map.tex)
(C:\Program Files\MiKTeX\tex\context\base\type-spe.tex
(C:\Program Files\MiKTeX\tex\context\base\math-lbr.tex))
(C:\Program Files\MiKTeX\tex\context\base\type-exa.tex)
typescript : [serif,sans,mono,math,handwriting] [default] [size]
(C:\Program Files\MiKTeX\tex\context\base\type-syn.tex)
(C:\Program Files\MiKTeX\tex\context\base\type-enc.tex)
(C:\Program Files\MiKTeX\tex\context\base\type-siz.tex)
(C:\Program Files\MiKTeX\tex\context\base\type-map.tex)
(C:\Program Files\MiKTeX\tex\context\base\type-spe.tex)
(C:\Program Files\MiKTeX\tex\context\base\type-exa.tex)
typescript : [map] [default] []
(C:\Program Files\MiKTeX\tex\context\base\type-syn.tex)
(C:\Program Files\MiKTeX\tex\context\base\type-enc.tex)
(C:\Program Files\MiKTeX\tex\context\base\type-siz.tex)
(C:\Program Files\MiKTeX\tex\context\base\type-map.tex
pdftex : needs map file: original-ams-cmr.map
pdftex : needs map file: original-ams-euler.map
pdftex : needs map file: original-ams-logo.map
pdftex : needs map file: original-micropress-informal.map
) (C:\Program Files\MiKTeX\tex\context\base\type-spe.tex)
(C:\Program Files\MiKTeX\tex\context\base\type-exa.tex))
! Font \*12ptrmtf*=LucidaBright at 12.0pt not loadable: Metric (TFM) file
not f
ound.
\lastfontname ...idaBright at \scaledfont
\donoparsefontspec ...sname \lastfontname
\relax \the \everyfont \relax
\xxdododefinefont ...2}\newfontidentifier
\doresetrelativefontsize \f...
\fontstrategy ...ame #2#3#4#5#6\endcsname
\let \fontstrategy \gobbles...
<inserted text> ...talternative \fontsize
\fontstrategy \autofontsize...
\synchronizefont ... \the \fontstrategies
\ifskipfontcharacteristics ...
...
l.6 \setupbodyfont[lbr]
? X
No pages of output.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: lucida bright fonts
2002-04-16 1:33 ` lucida bright fonts walter a kehowski
@ 2002-04-16 10:39 ` Hans Hagen
0 siblings, 0 replies; 12+ messages in thread
From: Hans Hagen @ 2002-04-16 10:39 UTC (permalink / raw)
Cc: ntg-context
At 06:33 PM 4/15/2002 -0700, walter a kehowski wrote:
>(C:\Program Files\MiKTeX\tex\context\base\type-exa.tex))
>! Font \*12ptrmtf*=LucidaBright at 12.0pt not loadable: Metric (TFM) file
>not f
>ound.
>\lastfontname ...idaBright at \scaledfont
>
>\donoparsefontspec ...sname \lastfontname
> \relax \the \everyfont \relax
>
>\xxdododefinefont ...2}\newfontidentifier
> \doresetrelativefontsize \f...
>\fontstrategy ...ame #2#3#4#5#6\endcsname
> \let \fontstrategy \gobbles...
><inserted text> ...talternative \fontsize
> \fontstrategy \autofontsize...
>\synchronizefont ... \the \fontstrategies
> \ifskipfontcharacteristics ...
>...
>l.6 \setupbodyfont[lbr]
does
[ber,lbr]
work? [i.e. berry names]
it looks like the SymbolicName onto filename mapping is missing.
alternatively you can use texfont to generate the lbr-texnansi alike tfm
files and specify \setupencoding[default=texnansi]
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] 12+ messages in thread
end of thread, other threads:[~2002-04-16 10:39 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-12 17:49 FLOWchart: colored connections and other styles Henning Hraban Ramm
2002-04-12 20:40 ` W. Egger
2002-04-13 17:58 ` Henning Hraban Ramm
2002-04-14 20:12 ` John Culleton
2002-04-14 21:36 ` Henning Hraban Ramm
2002-04-15 13:57 ` John Culleton
2002-04-15 14:26 ` Hans Hagen
2002-04-15 20:10 ` W. Egger
2002-04-15 20:13 ` W. Egger
2002-04-16 0:04 ` John Culleton
2002-04-16 1:33 ` lucida bright fonts walter a kehowski
2002-04-16 10:39 ` Hans Hagen
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).