Re: [NTG-context] Enumeration in mkiv

2011-12-09 Thread Hans Hagen

On 7-12-2011 21:17, Otared Kavian wrote:

Dear Hans,

In transferring some stuff from mkii to mkiv, I noticed a change in the way 
mkiv puts too much distance between the title of an enumeration and the text 
following it. I am not sure whether I have noticed this before, but my feeling 
is that the change is somewhat recent. I have put the result of the source 
below here,
http://dl.dropbox.com/u/4316076/enumeration-mkii.pdf
and
http://dl.dropbox.com/u/4316076/enumeration-mkiv.pdf

I think the correct behaviour is the one with mkii.


Add

  width=fit

could be made default for hanging:

\unprotect
\setupdescriptions[\c!width:\v!hanging=\v!fit]
\protect

but I'm not so sure about that

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 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
___


[NTG-context] Enumeration in mkiv

2011-12-07 Thread Otared Kavian
Dear Hans,

In transferring some stuff from mkii to mkiv, I noticed a change in the way 
mkiv puts too much distance between the title of an enumeration and the text 
following it. I am not sure whether I have noticed this before, but my feeling 
is that the change is somewhat recent. I have put the result of the source 
below here, 
http://dl.dropbox.com/u/4316076/enumeration-mkii.pdf
and
http://dl.dropbox.com/u/4316076/enumeration-mkiv.pdf

I think the correct behaviour is the one with mkii.

Best regards: OK
PS: here is the source file:
%%% begin enumeration-mkiv.tex
\defineenumeration[exo]
[location=hanging,
text=Exercise, 
between=,
before=, 
stopper={.},
after= \blank]

\starttext

\startexo This is a test with mkiv. 

\startitemize[n]
\item First question.

\item Second question.

\stopitemize
\stopexo

\stoptext
%%% end enumeration-mkiv.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
___