ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Enumeration in mkiv
@ 2011-12-07 20:17 Otared Kavian
  2011-12-09 17:56 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Otared Kavian @ 2011-12-07 20:17 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Enumeration in mkiv
  2011-12-07 20:17 Enumeration in mkiv Otared Kavian
@ 2011-12-09 17:56 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2011-12-09 17:56 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Otared Kavian

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-12-09 17:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-07 20:17 Enumeration in mkiv Otared Kavian
2011-12-09 17:56 ` Hans Hagen

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).