ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: luigi scarso <luigi.scarso@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Environments
Date: Tue, 7 Jul 2015 11:05:34 +0200	[thread overview]
Message-ID: <CAG5iGsAW9UpX+8ZKLhrdcHcXWd8WB=q8scg-88yVFgpOF4CvQw@mail.gmail.com> (raw)
In-Reply-To: <C86652B1-803D-459D-8A09-082DF2DC0A95@telia.com>


[-- Attachment #1.1: Type: text/plain, Size: 1491 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 3048 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

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

  reply	other threads:[~2015-07-07  9:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-07  8:49 Environments Hans Aberg
2015-07-07  9:05 ` luigi scarso [this message]
2015-07-07 12:57   ` Environments Hans Aberg
2015-07-07 14:37     ` Environments Manuel Blanco

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAG5iGsAW9UpX+8ZKLhrdcHcXWd8WB=q8scg-88yVFgpOF4CvQw@mail.gmail.com' \
    --to=luigi.scarso@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).