Re: [NTG-context] Pstricks and Asymptote

2009-11-19 Thread Mojca Miklavec
On Wed, Nov 18, 2009 at 21:49, Hans Hagen wrote:
 luigi scarso wrote:
 On Wed, Nov 18, 2009 at 5:10 PM, Alan BRASLAU wrote:

 There are lots of differences between the latest tikz
 and the version distributed with tex live.
 I compare the minimals tex/generic/pgf/
 with that installed under /usr/share/texmf (pgf v.2.00-1 debian 7 May
 2008).
 I suppose that the minimals use a more recent svn version.

 yes it looks so.
 minimals ChangeLog should be Revision 1.363

 http://pgf.cvs.sourceforge.net/viewvc/pgf/pgf/doc/generic/pgf/ChangeLog?view=log

It is being updated daily on the garden.

 i sent mojca a patched pgf file so it's in her hands now

I forwarded it to Till and the other most active developer (who does
not dare to patch anything before Till Tantau checks it). I did some
tests and it seems to work (I found a few problems, but they were
there already before).

If there will be no reply for the next couple of days, you may remind
me and I'll freeze updates of TikZ and patch the version in minimals.
(I don't like patching official versions too much, so I'll wait for a
few more days if Till replies.)

Mojca
___
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] Pstricks and Asymptote

2009-11-18 Thread Hans Hagen

Mojca Miklavec wrote:

On Tue, Nov 17, 2009 at 18:25, Hans Hagen wrote:

Mojca Miklavec wrote:


In past Till has *always* fixed any bug reported, but I have not heard
from him since March (neither as reply to off-list requests nor any
response to the mailing list).

if i'd know where to search i could fix it ... has to do with adding
resources to the pdf


tex/generic/pgf/utilities/pgfutil-context.def (and pgfutil-common.def)


does all tikz graphics fail?


Yes.

Close-to-minimal-example (the really minimal examyle is just loading
the module):

\usemodule[tikz]
\starttext
\starttikzpicture
\fill[gray] (1,1) rectangle +(1,1);
\stoptikzpicture
\stoptext


hm, this one works here without error using the tiks modules from tex live

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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] Pstricks and Asymptote

2009-11-18 Thread luigi scarso
On Mon, Nov 16, 2009 at 11:57 PM, Curiouslearn curiousle...@gmail.com wrote:
 Thomas or someone else can you please confirm that the pstricks module
 works with MKIV. Also, where I can find the module? It is not there
 with the other third party modules.
Also note that mkiv  uses mkii
for pstricks,
and there can be some differences
when merging files maded with mkiv and mkii

For example

 %%test-mkiv-mkii
\starttext
\input tufte
\stoptext


#context test-mkiv-mkii; mv test-mkiv-mkii a.pdf
#texexec test-mkiv-mkii; mv test-mkiv-mkii b.pdf
#pdftoppm a.pdf a
#pdftoppm b.pdf b

# md5sum a-1.ppm
ded3f4ae6f9d6e1ab50aeb0898ad6434  a-1.ppm

# md5sum b-1.ppm
0e27ab9da925df55335ca144c015a5bd  b-1.ppm


a.pdf and b.pdf are identical when printed on my desktop laser printer;
xpdf shows them differences;
acroread show some differences too, but they depend from zoom factor.


--
luigi
___
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] Pstricks and Asymptote

2009-11-18 Thread Alan BRASLAU
On Wednesday 18 November 2009 14:45:57 Hans Hagen wrote:
 Mojca Miklavec wrote:
  On Tue, Nov 17, 2009 at 18:25, Hans Hagen wrote:
  Mojca Miklavec wrote:
  In past Till has *always* fixed any bug reported, but I have not heard
  from him since March (neither as reply to off-list requests nor any
  response to the mailing list).
 
  if i'd know where to search i could fix it ... has to do with adding
  resources to the pdf
 
  tex/generic/pgf/utilities/pgfutil-context.def (and pgfutil-common.def)
 
  does all tikz graphics fail?
 
  Yes.
 
  Close-to-minimal-example (the really minimal examyle is just loading
  the module):
 
  \usemodule[tikz]
  \starttext
  \starttikzpicture
  \fill[gray] (1,1) rectangle +(1,1);
  \stoptikzpicture
  \stoptext
 
 hm, this one works here without error using the tiks modules from tex live

There are lots of differences between the latest tikz
and the version distributed with tex live.
I compare the minimals tex/generic/pgf/
with that installed under /usr/share/texmf (pgf v.2.00-1 debian 7 May 2008).
I suppose that the minimals use a more recent svn version.

Alan
___
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] Pstricks and Asymptote

2009-11-18 Thread luigi scarso
On Wed, Nov 18, 2009 at 5:10 PM, Alan BRASLAU alan.bras...@cea.fr wrote:


 There are lots of differences between the latest tikz
 and the version distributed with tex live.
 I compare the minimals tex/generic/pgf/
 with that installed under /usr/share/texmf (pgf v.2.00-1 debian 7 May 2008).
 I suppose that the minimals use a more recent svn version.

# find minimals-beta -name *pgf*

The result is an empty string on my minimals, ie no pgf on minimals.


-- 
luigi
___
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] Pstricks and Asymptote

2009-11-18 Thread Alan BRASLAU
On Wednesday 18 November 2009 17:19:13 luigi scarso wrote:
 On Wed, Nov 18, 2009 at 5:10 PM, Alan BRASLAU alan.bras...@cea.fr wrote:
  There are lots of differences between the latest tikz
  and the version distributed with tex live.
  I compare the minimals tex/generic/pgf/
  with that installed under /usr/share/texmf (pgf v.2.00-1 debian 7 May
  2008). I suppose that the minimals use a more recent svn version.
 
 # find minimals-beta -name *pgf*
 
 The result is an empty string on my minimals, ie no pgf on minimals.
 

./first-setup.sh --extras=all

find . -name '*pgf*' -print
./tex/texmf-context/scripts/pgfplots
./tex/texmf-context/scripts/pgfplots/pgf2pdf.sh
./tex/texmf-context/scripts/pgfplots/matlab2pgfplots.sh
./tex/texmf-context/scripts/pgfplots/matlab2pgfplots.m
./tex/texmf-context/tex/generic/pgfplots
./tex/texmf-context/tex/generic/pgfplots/pgfplots.stackedplots.code.tex
./tex/texmf-context/tex/generic/pgfplots/util/pgfplotsbinary.code.tex
./tex/texmf-context/tex/generic/pgfplots/util/pgfplotscolormap.code.tex
./tex/texmf-context/tex/generic/pgfplots/util/pgfplotsutil.code.tex
./tex/texmf-context/tex/generic/pgfplots/numtable/pgfplotstable.code.tex
./tex/texmf-
context/tex/generic/pgfplots/numtable/pgfplotstable.coltype.code.tex
./tex/texmf-context/tex/generic/pgfplots/oldpgfcompatib
./tex/texmf-
context/tex/generic/pgfplots/oldpgfcompatib/pgfplotsoldpgfsupp_pgfkeysfiltered.code.tex
./tex/texmf-
context/tex/generic/pgfplots/oldpgfcompatib/pgfplotsoldpgfsupp_pgfmathfloat.code.tex
./tex/texmf-
context/tex/generic/pgfplots/oldpgfcompatib/pgfplotsoldpgfsupp_loader.code.tex
./tex/texmf-
context/tex/generic/pgfplots/oldpgfcompatib/pgfplotsoldpgfsupp_pgfkeys.code.tex
./tex/texmf-
context/tex/generic/pgfplots/oldpgfcompatib/pgfplotsoldpgfsupp_misc.code.tex
./tex/texmf-
context/tex/generic/pgfplots/oldpgfcompatib/pgfplotsoldpgfsupp_pgflibraryfpu.code.tex
./tex/texmf-
context/tex/generic/pgfplots/oldpgfcompatib/pgfplotsoldpgfsupp_pgflibraryplothandlers.code.tex
./tex/texmf-context/tex/generic/pgfplots/sys/pgflibrarysurfshading.pgfsys-
dvips.def
./tex/texmf-context/tex/generic/pgfplots/sys/pgflibrarysurfshading.pgfsys-
pdftex.def
./tex/texmf-context/tex/generic/pgfplots/libs/pgflibrarysurfshading.code.tex
./tex/texmf-context/tex/generic/pgfplots/pgfplots.code.tex
./tex/texmf-context/tex/generic/pgfplots/liststructure/pgfplotsdeque.code.tex
./tex/texmf-
context/tex/generic/pgfplots/liststructure/pgfplotsliststructureext.code.tex
./tex/texmf-
context/tex/generic/pgfplots/liststructure/pgfplotsliststructure.code.tex
./tex/texmf-context/tex/generic/pgfplots/liststructure/pgfplotsarray.code.tex
./tex/texmf-context/tex/generic/pgfplots/pgfplotscoordprocessing.code.tex
./tex/texmf-context/tex/generic/pgfplots/pgfplotscore.code.tex
./tex/texmf-context/tex/generic/pgfplots/pgfplotsticks.code.tex
./tex/texmf-context/tex/generic/pgf
./tex/texmf-context/tex/generic/pgf/basiclayer/pgfcore.code.tex
./tex/texmf-context/tex/generic/pgf/basiclayer/pgfcorescopes.code.tex
./tex/texmf-context/tex/generic/pgf/basiclayer/pgfcoretransformations.code.tex
./tex/texmf-context/tex/generic/pgf/basiclayer/pgfcorequick.code.tex
./tex/texmf-context/tex/generic/pgf/basiclayer/pgfcorepathprocessing.code.tex
./tex/texmf-context/tex/generic/pgf/basiclayer/pgfcorepoints.code.tex
./tex/texmf-context/tex/generic/pgf/basiclayer/pgfcorearrows.code.tex
./tex/texmf-context/tex/generic/pgf/basiclayer/pgfcoreimage.code.tex
./tex/texmf-context/tex/generic/pgf/basiclayer/pgfcoreobjects.code.tex
./tex/texmf-context/tex/generic/pgf/basiclayer/pgfcoretransparency.code.tex
./tex/texmf-context/tex/generic/pgf/basiclayer/pgfcorepathconstruct.code.tex
./tex/texmf-context/tex/generic/pgf/basiclayer/pgfcorelayers.code.tex
./tex/texmf-context/tex/generic/pgf/basiclayer/pgfcorepatterns.code.tex
./tex/texmf-context/tex/generic/pgf/basiclayer/pgfcorepathusage.code.tex
./tex/texmf-context/tex/generic/pgf/basiclayer/pgfcoreshade.code.tex
./tex/texmf-context/tex/generic/pgf/basiclayer/pgfcoregraphicstate.code.tex
./tex/texmf-context/tex/generic/pgf/math/pgfmath.code.tex
./tex/texmf-context/tex/generic/pgf/math/pgfmathfloat.code.tex
./tex/texmf-context/tex/generic/pgf/math/pgfmathfunctions.basic.code.tex
./tex/texmf-
context/tex/generic/pgf/math/pgfmathfunctions.trigonometric.code.tex
./tex/texmf-context/tex/generic/pgf/math/pgfmathutil.code.tex
./tex/texmf-context/tex/generic/pgf/math/pgfmathfunctions.base.code.tex
./tex/texmf-context/tex/generic/pgf/math/pgfmathfunctions.code.tex
./tex/texmf-context/tex/generic/pgf/math/pgfmathfunctions.comparison.code.tex
./tex/texmf-context/tex/generic/pgf/math/pgfmathfunctions.misc.code.tex
./tex/texmf-context/tex/generic/pgf/math/pgfmathfunctions.round.code.tex
./tex/texmf-context/tex/generic/pgf/math/pgfmathcalc.code.tex
./tex/texmf-context/tex/generic/pgf/math/pgfmathfunctions.random.code.tex
./tex/texmf-context/tex/generic/pgf/math/pgfmathparser.code.tex
./tex/texmf-context/tex/generic/pgf/frontendlayer/svg/svgpgf.cfg

Re: [NTG-context] Pstricks and Asymptote

2009-11-18 Thread luigi scarso
On Wed, Nov 18, 2009 at 6:08 PM, Alan BRASLAU alan.bras...@cea.fr wrote:
 On Wednesday 18 November 2009 17:19:13 luigi scarso wrote:
 On Wed, Nov 18, 2009 at 5:10 PM, Alan BRASLAU alan.bras...@cea.fr wrote:
  There are lots of differences between the latest tikz
  and the version distributed with tex live.
  I compare the minimals tex/generic/pgf/
  with that installed under /usr/share/texmf (pgf v.2.00-1 debian 7 May
  2008). I suppose that the minimals use a more recent svn version.

 # find minimals-beta -name *pgf*

 The result is an empty string on my minimals, ie no pgf on minimals.


 ./first-setup.sh --extras=all
Ah yes,  with extras. True, sorry;
I  forget everytime to say that I don't use extras -- I have a sort of
strict minimals-beta,
just
# ./first-setup.sh
(minimum bandwidth)
No problem: every time I see some (of what I suppose) inconsistence
with my minimals on my linux box
I write, just to be sure.


-- 
luigi
___
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] Pstricks and Asymptote

2009-11-18 Thread Peter Münster
On Wed, 18 Nov 2009, luigi scarso wrote:

 # find minimals-beta -name *pgf*
 
 The result is an empty string on my minimals, ie no pgf on minimals.

Hello Luigi,

You can add the option --extras=all to first-setup.sh to get all the
contributed modules.

Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/


___
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] Pstricks and Asymptote

2009-11-18 Thread luigi scarso
On Wed, Nov 18, 2009 at 5:10 PM, Alan BRASLAU alan.bras...@cea.fr wrote:

 There are lots of differences between the latest tikz
 and the version distributed with tex live.
 I compare the minimals tex/generic/pgf/
 with that installed under /usr/share/texmf (pgf v.2.00-1 debian 7 May 2008).
 I suppose that the minimals use a more recent svn version.

yes it looks so.
minimals ChangeLog should be Revision 1.363
http://pgf.cvs.sourceforge.net/viewvc/pgf/pgf/doc/generic/pgf/ChangeLog?view=log


-- 
luigi
___
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] Pstricks and Asymptote

2009-11-18 Thread luigi scarso
On Wed, Nov 18, 2009 at 2:45 PM, Hans Hagen pra...@wxs.nl wrote:
 hm, this one works here without error using the tiks modules from tex live
context http://wiki.contextgarden.net/TikZ
fails with
! Undefined control sequence.
\pgfu...@addpdfresource@colorspaces ...olorspaces
  {#1}
l.396 ...rspaces{ /pgfprgb [/Pattern /DeviceRGB] }

pdf is readable, anyway.
-- 
luigi
___
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] Pstricks and Asymptote

2009-11-17 Thread Curiouslearn
I tried Metapost last year for a few graphs and liked the fact that it
is tightly integrated with Context. I found John Hobby's document a
good place to learn it and then used Hans' Metafun to learn further.
The reason I am looking at Asymptote and pstricks is because they have
libraries or functionality which Metapost lacks. For example, the tree
drawing library in pstricks. If Metapost has such a library I don't
know since I cannot find any document that explains the new things
added to Metapost other than what is mentioned in Metafun(2001). As
you said documentation is lacking.
Similarly, Asymptote allows one to find intersection points of any two
paths (even nonlinear paths). I am not sure whether Metapost can do
that.

I keep reading that Taco is working on development of Metapost.
However, I am not sure what exactly has changed. If there is any new
documentation, I would love to read it.

Thanks.

On Tue, Nov 17, 2009 at 2:13 AM, Alan BRASLAU alan.bras...@cea.fr wrote:
 On Monday 16 November 2009 23:57:28 Curiouslearn wrote:
 Thanks everyone for replying.

 Alan, the tikz module does not work with MKIV. From what I have read
 before, it seems it will not unless the creator of tikz makes some
 changes to tikz package so that it works with Context. I am not sure
 how likely that is.


 I know that tikz is (currently) not working under mkiv, but I choose to ignore
 this as I expect that this will be fixed. I have not been concerned with this,
 as I no longer actively use tikz. Indeed, since learning (and still learning)
 metapost, I find it far superior: cleaner syntax, much more powerful... Tikz
 is/was a very welcome addition to laTeX, but metapost, whose syntax is more
 closely related to plain TeX, is more coherent with ConTeXt. So I now find the
 syntax of tikz uncomfortable under ConTeXt.

 I still sometimes use LaTeX for the submission of articles to scientific
 journals (in particular using RevTeX), but I now use ConTeXt
 (\startTEXpage\stopTEXpage) to make the figures (that must be submitted as
 separate files in any case).

 Alan

 P.S. What I really liked about tikz is the quality of its documentation, in
 particular the tutorial that is very clear. The documentation for metapost
 (and metafun) is very good, but not so easy. *We* need to write a good
 tutorial!
 ___
 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] Pstricks and Asymptote

2009-11-17 Thread Henning Hraban Ramm
2009/11/17 Curiouslearn curiousle...@gmail.com:
 The reason I am looking at Asymptote and pstricks is because they have
 libraries or functionality which Metapost lacks. For example, the tree
 drawing library in pstricks. If Metapost has such a library I don't
 know since I cannot find any document that explains the new things
 added to Metapost other than what is mentioned in Metafun(2001). As
 you said documentation is lacking.

Google for metapost tree, and you'll find at least this:
http://www.isi.edu/~chiang/software/texmf/texmf.html

Don't know it it works, I don't use MetaPost myself.

Greetlings, Hraban
___
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] Pstricks and Asymptote

2009-11-17 Thread Curiouslearn
Thanks, Hraban.

On Tue, Nov 17, 2009 at 8:55 AM, Henning Hraban Ramm hra...@fiee.net wrote:
 2009/11/17 Curiouslearn curiousle...@gmail.com:
 The reason I am looking at Asymptote and pstricks is because they have
 libraries or functionality which Metapost lacks. For example, the tree
 drawing library in pstricks. If Metapost has such a library I don't
 know since I cannot find any document that explains the new things
 added to Metapost other than what is mentioned in Metafun(2001). As
 you said documentation is lacking.

 Google for metapost tree, and you'll find at least this:
 http://www.isi.edu/~chiang/software/texmf/texmf.html

 Don't know it it works, I don't use MetaPost myself.

 Greetlings, Hraban
 ___
 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] Pstricks and Asymptote

2009-11-17 Thread luigi scarso
On Tue, Nov 17, 2009 at 3:29 PM, Curiouslearn curiousle...@gmail.com wrote:

Also I like them :
google search
Metapost metaobj
Metapost metagraph
Metapost UML
Metapost melusine


-- 
luigi
___
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] Pstricks and Asymptote

2009-11-17 Thread Alan BRASLAU
On Tuesday 17 November 2009 14:40:04 Curiouslearn wrote:
 I tried Metapost last year for a few graphs and liked the fact that it
 is tightly integrated with Context. I found John Hobby's document a
 good place to learn it and then used Hans' Metafun to learn further.
 The reason I am looking at Asymptote and pstricks is because they have
 libraries or functionality which Metapost lacks. For example, the tree
 drawing library in pstricks. If Metapost has such a library I don't
 know since I cannot find any document that explains the new things
 added to Metapost other than what is mentioned in Metafun(2001). As
 you said documentation is lacking.

pgf/tikz has a nice tree building function.
pgfplots is a fairly evolved and active data plotting package.


Concerning metapost,
graph.mp is pretty powerful, but is missing some functionality.
piechartmp is also available (although I never use pie charts!)
featpost and mp3d give some nice, basic, 3d capability.
metagraph, metaobj, ...

It would be interesting to see a good tree drawing macro package
under metapost; I have yet to take the time to see what is out there.

The ConTeXt community (and via the minimals distribution) can keep
this active... So much to do!

Alan
___
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] Pstricks and Asymptote

2009-11-17 Thread luigi scarso
On Tue, Nov 17, 2009 at 4:06 PM, Alan BRASLAU alan.bras...@cea.fr wrote:

 The ConTeXt community (and via the minimals distribution) can keep
 this active... So much to do!

yes, true: for example
metaobj is in the minimals

-- 
luigi
___
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] Pstricks and Asymptote

2009-11-17 Thread Aditya Mahajan

On Mon, 16 Nov 2009, Curiouslearn wrote:


Mojca, in case you read this, can you please let me know what the
status on asymptote is.


I am not Mojca, but I'll comment on this anyways :)

I looked into integrating asymptote this summer (spent around a month 
going to asymptote macro code). Asymptote works fine with mkiv, if you use 
asymptote in a stand alone mode. Getting asymptote to run within context 
is easy or extremely difficult; depending on how you look at it.


If one wants to set everything the asymptote way, and simply want

\startASYcode
...
\stopASYcode

to copy its content to its file, create a asymptote figure and insert it 
in context, that is easy. You just need to tweak three lines of m-r.tex 
and you are done (m-r.tex is around 15 lines only). But that means that 
the user is responsible for setting all the fonts on his own (using 
asymptote syntax).


To be at par with metapost, we should have \startASYenvironment to set the 
fonts, \startASYinclusions to define macros, and then \startASYcode to 
create figures; maybe also have \defineASYgraphic (need to set 
OverlayWidth etc.) and \defineASYreusablegraphic. Ideally, we should also 
have the equivalent of \sometxt, but after going through asymptote code, I 
gave up on that (establishing a two way communication between asymptote and 
context is difficult).


Most of the above is easy (in terms of implementation); but one needs to 
understand asymptote and context to implement them. I did not completely 
understand the low level asymptote code, so after a while, integrating 
asymptote got low on my priorities. Maybe someone else should look at it 
seriously.


Aditya
___
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] Pstricks and Asymptote

2009-11-17 Thread Hans Hagen

luigi scarso wrote:

On Tue, Nov 17, 2009 at 3:29 PM, Curiouslearn curiousle...@gmail.com wrote:

Also I like them :
google search
Metapost metaobj
Metapost metagraph
Metapost UML
Metapost melusine


fyi:

you can define extra mp instances in order avoid clashes:

\defineMPinstance[whatever1][format=metafun,extensions=yes,initializations=yes]
\defineMPinstance[whatever2][format=mpost]

\startMPdefinitions{whatever1}
input metaobj;
\stopMPdefinitions

\startuseMPgraphic{whatevere1::mygraphic}
.

should work


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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] Pstricks and Asymptote

2009-11-17 Thread Hans Hagen

luigi scarso wrote:

On Tue, Nov 17, 2009 at 4:30 PM, Hans Hagen pra...@wxs.nl wrote:

fyi:

you can define extra mp instances in order avoid clashes:

\defineMPinstance[whatever1][format=metafun,extensions=yes,initializations=yes]
\defineMPinstance[whatever2][format=mpost]

\startMPdefinitions{whatever1}
input metaobj;
\stopMPdefinitions

\startuseMPgraphic{whatevere1::mygraphic}

Is there something for luatex too ?


eh .. this is for mkiv

Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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] Pstricks and Asymptote

2009-11-17 Thread Mojca Miklavec
On Mon, Nov 16, 2009 at 23:57, Curiouslearn wrote:
 Thanks everyone for replying.

 Mojca, in case you read this, can you please let me know what the
 status on asymptote is.

I read it***, but I already forgot what the state was. I had to find
the thread where I suggested a few changes, but the main people
involved were Michail and Aditya. (Those who knew what was going on
behind the scenes.)

(***I ofter skip threads where no hot keywords appear in subject.
You can CC me if you don't get any answer from me for some reasonable
time.)

From what I remember (Michail, please correct me if I'm wrong) and
apart from what Aditya wrote:
- you can always use standalone asymptote files to generate figures,
for example:

settings.tex=context;
texpreamble(\usetypescript[iwona]);
texpreamble(\usetypescript[antykwa-torunska]);
label($A$,0,N,font(iwona));
label($A$,0,S,font(antykwa)+red);

- Aditya described the integrated graphics (\startASY ... \stopASY)
pretty well - in a quick-and-dirty way it can be done easily, but more
difficult to do it properly. If it would help you a lot to have a
quick-and-dirty solution for that, let us know. Now that TeX Live
includes asymptote it is much easier for everyone to test it.

- Michail was working on 3D support (that is making 3D text out of tex
labels), but I have no idea what the status of that is.

 Alan, the tikz module does not work with MKIV. From what I have read
 before, it seems it will not unless the creator of tikz makes some
 changes to tikz package so that it works with Context. I am not sure
 how likely that is.

In past Till has *always* fixed any bug reported, but I have not heard
from him since March (neither as reply to off-list requests nor any
response to the mailing list).

 Thomas or someone else can you please confirm that the pstricks module
 works with MKIV. Also, where I can find the module? It is not there
 with the other third party modules.

It's part of ConTeXt core, but the problem is that one needs a
separate TeX run (PSTricks only works with tex-dvips-ps2pdf and that
is awfully slow). I cannot tell you if it works with mkiv - probably
not, but I can only tell you that the number of users is limiting
towards zero and with that number of users you are almost on your own.
I would say that tikz is much better in almost any respect, but then
... I have no idea why Till has been so silent for such a long time.

Mojca
___
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] Pstricks and Asymptote

2009-11-17 Thread Mojca Miklavec
On Mon, Nov 16, 2009 at 15:12, curiouslearn wrote:

 The reason I am asking is that eventually all the new Context features will be
 in MKIV. I want to know what graphics packages I can use with it other than
 Metapost.

Answering that question alone: I would go with TikZ. You are free to
use Asymptote whenever other packages don't satisfy your needs. A
quick-and-dirty(-and-not-too-fast) support can be implemented easily.

Mojca
___
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] Pstricks and Asymptote

2009-11-17 Thread Mojca Miklavec
On Tue, Nov 17, 2009 at 17:57, Mojca Miklavec wrote:
 On Mon, Nov 16, 2009 at 15:12, curiouslearn wrote:

 The reason I am asking is that eventually all the new Context features will 
 be
 in MKIV. I want to know what graphics packages I can use with it other than
 Metapost.

 Answering that question alone: I would go with TikZ. You are free to
 use Asymptote whenever other packages don't satisfy your needs. A
 quick-and-dirty(-and-not-too-fast) support can be implemented easily.

I just forgot to add: MKIV is currently broken in TL 2009 and
asymptote is not part of minimals (yet). In both cases I guess that
I'm the one to blame for both. I'll be on health leave (skipping
work) for the next 7-10 days, so you should better hurry up if you
need anything :) :) :)

Mojca
___
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] Pstricks and Asymptote

2009-11-17 Thread luigi scarso
On Tue, Nov 17, 2009 at 6:01 PM, Mojca Miklavec
mojca.miklavec.li...@gmail.com wrote:

 I just forgot to add: MKIV is currently broken in TL 2009
AFAIK it was not a strict target, and anyway I see no problem

 and asymptote is not part of minimals (yet).
nothing against asy, but maybe we don't need it in minimals

-- 
luigi
___
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] Pstricks and Asymptote

2009-11-17 Thread Hans Hagen

Mojca Miklavec wrote:

On Tue, Nov 17, 2009 at 17:57, Mojca Miklavec wrote:

On Mon, Nov 16, 2009 at 15:12, curiouslearn wrote:

The reason I am asking is that eventually all the new Context features will be
in MKIV. I want to know what graphics packages I can use with it other than
Metapost.

Answering that question alone: I would go with TikZ. You are free to
use Asymptote whenever other packages don't satisfy your needs. A
quick-and-dirty(-and-not-too-fast) support can be implemented easily.


I just forgot to add: MKIV is currently broken in TL 2009 and
asymptote is not part of minimals (yet). In both cases I guess that
I'm the one to blame for both. I'll be on health leave (skipping
work) for the next 7-10 days, so you should better hurry up if you
need anything :) :) :)


hey, you're not to blame for tex live .. that's just because tl was 
frozen already long ago



-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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] Pstricks and Asymptote

2009-11-17 Thread Hans Hagen

Mojca Miklavec wrote:


In past Till has *always* fixed any bug reported, but I have not heard
from him since March (neither as reply to off-list requests nor any
response to the mailing list).


Thomas or someone else can you please confirm that the pstricks module
works with MKIV. Also, where I can find the module? It is not there
with the other third party modules.


if i'd know where to search i could fix it ... has to do with adding 
resources to the pdf


does all tikz graphics fail?

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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] Pstricks and Asymptote

2009-11-17 Thread Mojca Miklavec
On Tue, Nov 17, 2009 at 18:22, Hans Hagen wrote:
 Mojca Miklavec wrote:

 I just forgot to add: MKIV is currently broken in TL 2009 and
 asymptote is not part of minimals (yet). In both cases I guess that
 I'm the one to blame for both. I'll be on health leave (skipping
 work) for the next 7-10 days, so you should better hurry up if you
 need anything :) :) :)

 hey, you're not to blame for tex live .. that's just because tl was frozen
 already long ago

I'm to blame for not setting up the ConTeXt-specific TL repository yet
(for which Norbert has written the code twice already).

Mojca
___
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] Pstricks and Asymptote

2009-11-17 Thread Curiouslearn
Thanks to all who made some suggestions about where I can find
Metapost libraries. Will look into those.

It seems Asymptote + Tikz  is a good way to go and also try out Metapost again.

Mojca, you  said that number of pstricks users are decreasing. Is this
amongst Context users, or in general amongst all users who use
pstricks. If the overall number of users is decreasing then perhaps I
don't want to spend time learning it as it won't have new features in
the future. I don't like its syntax, though it can do neat things.
Asymptote syntax is really good.

Thanks again.


On Tue, Nov 17, 2009 at 1:21 PM, Mojca Miklavec
mojca.miklavec.li...@gmail.com wrote:
 On Tue, Nov 17, 2009 at 18:22, Hans Hagen wrote:
 Mojca Miklavec wrote:

 I just forgot to add: MKIV is currently broken in TL 2009 and
 asymptote is not part of minimals (yet). In both cases I guess that
 I'm the one to blame for both. I'll be on health leave (skipping
 work) for the next 7-10 days, so you should better hurry up if you
 need anything :) :) :)

 hey, you're not to blame for tex live .. that's just because tl was frozen
 already long ago

 I'm to blame for not setting up the ConTeXt-specific TL repository yet
 (for which Norbert has written the code twice already).

 Mojca
 ___
 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] Pstricks and Asymptote

2009-11-17 Thread Mojca Miklavec
On Tue, Nov 17, 2009 at 20:35, Curiouslearn wrote:
 Thanks to all who made some suggestions about where I can find
 Metapost libraries. Will look into those.

 It seems Asymptote + Tikz  is a good way to go and also try out Metapost 
 again.

 Mojca, you  said that number of pstricks users are decreasing.

I didn't say that it's decreasing. I just said that it's really low,
but I meant ConTeXt users with that. There are still plenty LaTeX
users around.

The main problem is that PS Tricks cannot be very well integrated
unless one uses tex-dvips, but ConTeXt doesn't use that for ages and
there is basically no support for dvi in ConTeXt either.

 Is this
 amongst Context users, or in general amongst all users who use
 pstricks. If the overall number of users is decreasing then perhaps I
 don't want to spend time learning it as it won't have new features in
 the future. I don't like its syntax, though it can do neat things.

Are there any neat features that you won't to do, but cannot do with
TikZ? (I'm sure there are some, but I'm also sure that 99% of drawings
can be done in a very similar way in TikZ as well unless there is a
well-developed PSTricks library around that's missing in TikZ.)

Asymptote is very similar to MetaPost. The main reason why I would
want to use it is to draw 3D, else I would go for MetaPost since it's
much faster and better integrated when used within ConTeXt.

Mojca
___
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] Pstricks and Asymptote

2009-11-17 Thread Curiouslearn
I think I should give Metapost a try. There are two reasons, I tried
out asymptote
(i) Its syntax seems easier to remember
(ii) It can find intersections of curves (not only straight lines)
quite easily.

Can Metapost do the second? Anyhow, I am going to give it a try again
to see if I like it.

Thanks.

On Tue, Nov 17, 2009 at 2:59 PM, Mojca Miklavec
mojca.miklavec.li...@gmail.com wrote:
 On Tue, Nov 17, 2009 at 20:35, Curiouslearn wrote:
 Thanks to all who made some suggestions about where I can find
 Metapost libraries. Will look into those.

 It seems Asymptote + Tikz  is a good way to go and also try out Metapost 
 again.

 Mojca, you  said that number of pstricks users are decreasing.

 I didn't say that it's decreasing. I just said that it's really low,
 but I meant ConTeXt users with that. There are still plenty LaTeX
 users around.

 The main problem is that PS Tricks cannot be very well integrated
 unless one uses tex-dvips, but ConTeXt doesn't use that for ages and
 there is basically no support for dvi in ConTeXt either.

 Is this
 amongst Context users, or in general amongst all users who use
 pstricks. If the overall number of users is decreasing then perhaps I
 don't want to spend time learning it as it won't have new features in
 the future. I don't like its syntax, though it can do neat things.

 Are there any neat features that you won't to do, but cannot do with
 TikZ? (I'm sure there are some, but I'm also sure that 99% of drawings
 can be done in a very similar way in TikZ as well unless there is a
 well-developed PSTricks library around that's missing in TikZ.)

 Asymptote is very similar to MetaPost. The main reason why I would
 want to use it is to draw 3D, else I would go for MetaPost since it's
 much faster and better integrated when used within ConTeXt.

 Mojca
 ___
 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] Pstricks and Asymptote

2009-11-17 Thread Hans Hagen

Curiouslearn wrote:

I think I should give Metapost a try. There are two reasons, I tried
out asymptote
(i) Its syntax seems easier to remember
(ii) It can find intersections of curves (not only straight lines)
quite easily.


mp can do intersections and future versions of mp might provide new 
functionality as well


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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] Pstricks and Asymptote

2009-11-17 Thread Wolfgang Schuster

Am 17.11.2009 um 18:25 schrieb Hans Hagen:

 Thomas or someone else can you please confirm that the pstricks module
 works with MKIV. Also, where I can find the module? It is not there
 with the other third party modules.
 
 if i'd know where to search i could fix it ... has to do with adding 
 resources to the pdf

http://tug.org/mailman/htdig/macostex-archives/2009-April/040222.html

Wolfgang

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


[NTG-context] Pstricks and Asymptote

2009-11-16 Thread curiouslearn
I apologize if this has been asked before, but would appreciate if anyone could
answer this again.

(a) Is there an easy way to incorporate asymptote code in a Context document,
like there exists in Latex. In latex you can include it between
\begin{asy}

\end{asy}
   

(b) Is there an easy way to incorporate pstricks code in a Context document. If
there is, does that way work both with MKII and MKIV or only with one of them. 

The reason I am asking is that eventually all the new Context features will be
in MKIV. I want to know what graphics packages I can use with it other than
Metapost.
   
Thanks.

___
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] Pstricks and Asymptote

2009-11-16 Thread Thomas A. Schmitz


On Nov 16, 2009, at 3:12 PM, curiouslearn wrote:

I apologize if this has been asked before, but would appreciate if  
anyone could

answer this again.

(a) Is there an easy way to incorporate asymptote code in a Context  
document,

like there exists in Latex. In latex you can include it between
\begin{asy}

\end{asy}



There was a discussion about asymptote on this list in the summer,  
Mojca has done quite a lot of work towards integrating it. But I'm not  
sure what the current state is.


(b) Is there an easy way to incorporate pstricks code in a Context  
document. If
there is, does that way work both with MKII and MKIV or only with  
one of them.


There's a module pstricks. Again, a search in the list archives would  
have shown that.


The reason I am asking is that eventually all the new Context  
features will be
in MKIV. I want to know what graphics packages I can use with it  
other than

Metapost.

Thanks.


___
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] Pstricks and Asymptote

2009-11-16 Thread luigi scarso
On Mon, Nov 16, 2009 at 3:12 PM, curiouslearn curiousle...@gmail.com wrote:

 The reason I am asking is that eventually all the new Context features will be
 in MKIV. I want to know what graphics packages I can use with it other than
 Metapost.
I have some ideas about pstricks (pst-lens)  luatex lunatic and mkiv via libgs,
but not this year, maybe for eurotex2010  (or maybe never) .
The same for asy, if it will become a library .

-- 
luigi
___
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] Pstricks and Asymptote

2009-11-16 Thread Alan BRASLAU
On Monday 16 November 2009 15:29:14 Thomas A. Schmitz wrote:
 On Nov 16, 2009, at 3:12 PM, curiouslearn wrote:
  I apologize if this has been asked before, but would appreciate if
  anyone could
  answer this again.
 
  (a) Is there an easy way to incorporate asymptote code in a Context
  document,
  like there exists in Latex. In latex you can include it between
  \begin{asy}
 
  \end{asy}
 
 There was a discussion about asymptote on this list in the summer,
 Mojca has done quite a lot of work towards integrating it. But I'm not
 sure what the current state is.
 
  (b) Is there an easy way to incorporate pstricks code in a Context
  document. If
  there is, does that way work both with MKII and MKIV or only with
  one of them.
 
 There's a module pstricks. Again, a search in the list archives would
 have shown that.
 
  The reason I am asking is that eventually all the new Context
  features will be
  in MKIV. I want to know what graphics packages I can use with it
  other than
  Metapost.
 
  Thanks.

In addition, there is a module tikz, integrating pgf/tikz, also maintained by 
Mojca.

Alan
___
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] Pstricks and Asymptote

2009-11-16 Thread Curiouslearn
Thanks everyone for replying.

Mojca, in case you read this, can you please let me know what the
status on asymptote is.

Alan, the tikz module does not work with MKIV. From what I have read
before, it seems it will not unless the creator of tikz makes some
changes to tikz package so that it works with Context. I am not sure
how likely that is.

Thomas or someone else can you please confirm that the pstricks module
works with MKIV. Also, where I can find the module? It is not there
with the other third party modules.

Thanks.

On Mon, Nov 16, 2009 at 9:43 AM, Alan BRASLAU alan.bras...@cea.fr wrote:
 On Monday 16 November 2009 15:29:14 Thomas A. Schmitz wrote:
 On Nov 16, 2009, at 3:12 PM, curiouslearn wrote:
  I apologize if this has been asked before, but would appreciate if
  anyone could
  answer this again.
 
  (a) Is there an easy way to incorporate asymptote code in a Context
  document,
  like there exists in Latex. In latex you can include it between
  \begin{asy}
 
  \end{asy}

 There was a discussion about asymptote on this list in the summer,
 Mojca has done quite a lot of work towards integrating it. But I'm not
 sure what the current state is.

  (b) Is there an easy way to incorporate pstricks code in a Context
  document. If
  there is, does that way work both with MKII and MKIV or only with
  one of them.

 There's a module pstricks. Again, a search in the list archives would
 have shown that.

  The reason I am asking is that eventually all the new Context
  features will be
  in MKIV. I want to know what graphics packages I can use with it
  other than
  Metapost.
 
  Thanks.

 In addition, there is a module tikz, integrating pgf/tikz, also maintained by
 Mojca.

 Alan
 ___
 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] Pstricks and Asymptote

2009-11-16 Thread Alan BRASLAU
On Monday 16 November 2009 23:57:28 Curiouslearn wrote:
 Thanks everyone for replying.
 
 Alan, the tikz module does not work with MKIV. From what I have read
 before, it seems it will not unless the creator of tikz makes some
 changes to tikz package so that it works with Context. I am not sure
 how likely that is.
 

I know that tikz is (currently) not working under mkiv, but I choose to ignore 
this as I expect that this will be fixed. I have not been concerned with this, 
as I no longer actively use tikz. Indeed, since learning (and still learning) 
metapost, I find it far superior: cleaner syntax, much more powerful... Tikz 
is/was a very welcome addition to laTeX, but metapost, whose syntax is more 
closely related to plain TeX, is more coherent with ConTeXt. So I now find the 
syntax of tikz uncomfortable under ConTeXt.

I still sometimes use LaTeX for the submission of articles to scientific 
journals (in particular using RevTeX), but I now use ConTeXt 
(\startTEXpage\stopTEXpage) to make the figures (that must be submitted as 
separate files in any case).

Alan

P.S. What I really liked about tikz is the quality of its documentation, in 
particular the tutorial that is very clear. The documentation for metapost 
(and metafun) is very good, but not so easy. *We* need to write a good 
tutorial!
___
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
___