ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Losing our hang
@ 2006-07-08  7:35 David Arnold
  2006-07-11 13:30 ` Taco Hoekwater
  2006-07-11 17:21 ` Peter Münster
  0 siblings, 2 replies; 3+ messages in thread
From: David Arnold @ 2006-07-08  7:35 UTC (permalink / raw)


All, why do we lose our hang in the second question?

\defineenumeration
[question]
[text=,]

\setupenumerations
	[question]
	[location=left,
	width=fit,
         distance=1em,
         hang=100,
         margin=0pt,
	headcolor=green,
	right=.,
	way=bysection,
	sectionnumber=no]

\setupcolumns[page=no]

\starttext

\startcolumns[n=2]

\noindent Now is the time for all good men to come to the aid of  
their county. Now is the time for all good men to come to the aid of  
their county. Now is the time for all good men to come to the aid of  
their county. Now is the time for all good men to come to the aid of  
their county. Now is the time for all good men to come to the aid of  
their county. Now is the time for all good men to come to the aid of  
their county.

\startquestion
An icon is a representation of an action or the name of a computer
program. Icons are frequently used in operating systems on several
computer platforms.
\stopquestion

\startquestion
An icon is a representation of an action or the name of a computer
program. Icons are frequently used in operating systems on several
computer platforms.

\placeformula[-]
\startformula
f(x)=x^2
\stopformula

An icon is a representation of an action or the name of a computer
program. Icons are frequently used in operating systems on several
computer platforms.

\stopquestion


\stopcolumns

\stoptext

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

* Re: Losing our hang
  2006-07-08  7:35 Losing our hang David Arnold
@ 2006-07-11 13:30 ` Taco Hoekwater
  2006-07-11 17:21 ` Peter Münster
  1 sibling, 0 replies; 3+ messages in thread
From: Taco Hoekwater @ 2006-07-11 13:30 UTC (permalink / raw)




David Arnold wrote:
> All, why do we lose our hang in the second question?

The hanging is a paragraph characteristic: the first line does
not indent, all others do. So, it would not work as desired even
if it did behave as advertised.

Anwyay, just remove the hang=100 line. The output of that
looks fine to me.

Cheers, taco

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

* Re: Losing our hang
  2006-07-08  7:35 Losing our hang David Arnold
  2006-07-11 13:30 ` Taco Hoekwater
@ 2006-07-11 17:21 ` Peter Münster
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Münster @ 2006-07-11 17:21 UTC (permalink / raw)


On Sat, 8 Jul 2006, David Arnold wrote:

> All, why do we lose our hang in the second question?
> 
> computer platforms.
> 
> \placeformula[-]
> \startformula
> f(x)=x^2
> \stopformula
> 
> An icon is a representation of an action or the name of a computer

Because you begin a new paragraph. Just remove the empty line, and it
should be as you want.
Cheers, Peter

-- 
http://pmrb.free.fr/contact/

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

end of thread, other threads:[~2006-07-11 17:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-08  7:35 Losing our hang David Arnold
2006-07-11 13:30 ` Taco Hoekwater
2006-07-11 17:21 ` Peter Münster

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