Am 26.10.2012 um 13:53 schrieb Sietse Brouwer <sbbrou...@gmail.com>:

> Hello Piotr,
> 
>> I cannot get defineindenting to work. Example attached.
> 
> 
> To input example text, use
> \input knuth
> not
> \knuth .
> 
> After that change your example works for me, apart from producing something 
> like
> '. . .           :' in the indent space --- I am not familiar with
> MkII, so I can't tell you whether this behaviour is expected or
> another bug. I have attached my output.
> 
> \defineindenting[myindenting][width=5cm]
> \starttext
> 
> \myindenting
> \input knuth
> 
> \stoptext

The output looks different when you put the text in the document.


% engine=pdftex

\defineindenting
  [test]
  [text=Test]

\starttext

\test The Earth, as a habitat for animal life, is in old age and
has a fatal illness. Several, in fact. It would be happening
whether humans had ever evolved or not. But our presence is
like the effect of an old|-|age patient who smokes many packs
of cigarettes per day |=| and we humans are the cigarettes.

\subtest The Earth, as a habitat for animal life, is in old age and
has a fatal illness. Several, in fact. It would be happening
whether humans had ever evolved or not. But our presence is
like the effect of an old|-|age patient who smokes many packs
of cigarettes per day |=| and we humans are the cigarettes.

\stoptext


As you can see from the output it’s a very simple description
command with very few options. The dots in the output for your
example os the default value for the text key.

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
___________________________________________________________________________________

Reply via email to