On Tue, Jul 7, 2015 at 10:49 AM, Hans Aberg <haberg-1@telia.com> wrote:
ConTeXt does not seem to have LaTeX style environments. FYI, for the latter, I developed [1] a long time ago more advanced ones:

The environments admit hooks, i.e., code executed before and after the local group. The name can be omitted in the closing, which works also when using one environment to define a new. And a more compact syntax.


1. https://secure2.storegate.com/Shares/Home.aspx?ShareID=db8465b3-112f-4194-8909-1d42ff149e32

Compile 'lualatex test0.tex’.


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



For  "LaTeX style environments" do you mean
e.g.
https://it.sharelatex.com/learn/Environments
?  (just to be sure )

In this case  context has the \define<something> commands as for example
http://wiki.contextgarden.net/Command/definetyping

Context has also 
http://wiki.contextgarden.net/Command/startenvironment
but I suppose it's not what you mean.

-- 
luigi