[NTG-context] two questions on ConTeXt terminology

Keith J. Schultz schultzk at uni-trier.de
Mon Feb 3 10:07:15 CET 2014


Hi Pablo,

The start/stop mechanism in ConTeXt is not easy to relate to LaTeX.

As the name indicates it means "start/stop doing 'something' "!

This "something" can be either equivalent to "Command" or "Enviroment"
in LaTeX.

e.g: 
\startbuffer
...
\stopbuffer

starts storing "things" in a buffer(aka. Variable). This would be simailar
to "command" as you can access the buffer with \getbuffer and \putbuffer.
Of course one could argue that it is actually like an LaTeX environment that has
a side effect of setting a variable for later use. 

On the other side you have \starttable \stoptable which one would put in the realm of
LaTeX-environments.

One can practically, use the start/stop mechanism almost anything you define.


Depending on the paradigm that you use structure (and/or) element would be appropriate!
That is is a program source the definition of a function/procedure/method is a
structure/element of the program. Structure element is not necessarily reserved for
data structures!!

Just my two cents worth.

Hope this helps

regards
	Keith. 




Am 02.02.2014 um 23:19 schrieb Pablo Rodriguez <oinos at gmx.es>:

> On 02/02/2014 10:30 PM, Hans Hagen wrote:
>> On 2/2/2014 9:44 PM, Pablo Rodriguez wrote:
>>> [...]
>>> The other question is more tricky. Or at least I don’t find an obvious
>>> answer. Which is the correct expression to name any
>>> \start...-\stop....structure? Environment would be the LaTeX term, but
>>> this is reserved in ConTeXt.
>> 
>> (structure) element is fine (also in sync with xml begin/end)
> 
> Many thanks for your reply, Hans.
> 
> I’m not sure whether structure element is too generic.
> 
> But I will think about it.
> 



More information about the ntg-context mailing list