Re: [NTG-context] Class diagram in Ctx?

2014-08-13 Thread Keith J. Schultz
Hi Lukáš,

Both Metapost and TikZ have modules for doing what you want.
There is metauml and pgf-umlcd.

regards
Keith.

Am 13.08.2014 um 09:49 schrieb Procházka Lukáš Ing. - Pontex s. r. o. 
l...@pontex.cz:

 Hello,
 
 I'd like to create a class diagram (or hierarchy chart) with ConText, 
 something like:
 
 [class A]
  |  \
  V   V
 [class B]  [class C]
 
 Could anyone hint me how to start? Or which module to use? TikZ?
 
 - An initial hint would be appreciated, I'll study next...
 
 Thanks in advance,
 
 Lukas
 
 
 -- 
 Ing. Lukáš Procházka | mailto:l...@pontex.cz
 Pontex s. r. o.  | mailto:pon...@pontex.cz | http://www.pontex.cz
 Bezová 1658
 147 14 Praha 4
 
 Tel: +420 241 096 751
 Fax: +420 244 461 038
 
 ___
 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
___


Re: [NTG-context] Class diagram in Ctx?

2014-08-13 Thread stephleg
Hello,

There is also TikZ-UML: 
http://perso.ensta-paristech.fr/~kielbasi/tikzuml/index.php?lang=en
Not personally tested with ConTeXt though. But i used it with LaTeX and it's a 
really good package.

Regards,
Stéphane.

- Mail original -
De: Keith J. Schultz keithjschu...@web.de
À: mailing list for ConTeXt users ntg-context@ntg.nl
Envoyé: Mercredi 13 Août 2014 10:40:02
Objet: Re: [NTG-context] Class diagram in Ctx?

Hi Lukáš,

Both Metapost and TikZ have modules for doing what you want.
There is metauml and pgf-umlcd.

regards
Keith.

Am 13.08.2014 um 09:49 schrieb Procházka Lukáš Ing. - Pontex s. r. o. 
l...@pontex.cz:

 Hello,
 
 I'd like to create a class diagram (or hierarchy chart) with ConText, 
 something like:
 
 [class A]
  |  \
  V   V
 [class B]  [class C]
 
 Could anyone hint me how to start? Or which module to use? TikZ?
 
 - An initial hint would be appreciated, I'll study next...
 
 Thanks in advance,
 
 Lukas
 
 
 -- 
 Ing. Lukáš Procházka | mailto:l...@pontex.cz
 Pontex s. r. o.  | mailto:pon...@pontex.cz | http://www.pontex.cz
 Bezová 1658
 147 14 Praha 4
 
 Tel: +420 241 096 751
 Fax: +420 244 461 038
 
 ___
 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
___

Re: [NTG-context] Class diagram in Ctx?

2014-08-13 Thread Procházka Lukáš Ing . - Pontex s . r . o .

Hello,

thanks both for the tips, I'm going to try.

Best regards,

Lukas


--
Ing. Lukáš Procházka | mailto:l...@pontex.cz
Pontex s. r. o.  | mailto:pon...@pontex.cz | http://www.pontex.cz
Bezová 1658
147 14 Praha 4

Tel: +420 241 096 751
Fax: +420 244 461 038

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

Re: [NTG-context] Class diagram in Ctx?

2014-08-13 Thread Thangalin
Hi,

Another option is to use graphviz (dot) to create the graph as an SVG
file and then include that graphic. For example:

-- graph.dot --
digraph CL {
  Home - {Summary Account};
  Summary - {Proposal Resources Hypothesis Discuss};
  Discuss - {Support};
}

-- Run GraphViz --
dot -Tsvg graph.dot  graph.svg

-- Reference in ConTeXt --
\externalfigure[graph.svg]

Not as clean as embedded TikZ code, but the syntax is quite terse.

Dave

On Wed, Aug 13, 2014 at 3:19 AM, Procházka Lukáš Ing. - Pontex s. r.
o. l...@pontex.cz wrote:
 Hello,

 thanks both for the tips, I'm going to try.

 Best regards,


 Lukas


 --
 Ing. Lukáš Procházka | mailto:l...@pontex.cz
 Pontex s. r. o.  | mailto:pon...@pontex.cz | http://www.pontex.cz
 Bezová 1658
 147 14 Praha 4

 Tel: +420 241 096 751
 Fax: +420 244 461 038

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