Re: [NTG-context] formula in itemlist

2006-01-25 Thread Nikolai Weibull
On 1/25/06, Taco Hoekwater <[EMAIL PROTECTED]> wrote:

> Nikolai Weibull wrote:

> > > i'll also add an option to center at the page level and not locally

> > Will this solve item 60 [1] in the collector?

> Yes.

Awesome.

  nikolai
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] formula in itemlist

2006-01-25 Thread Taco Hoekwater


Nikolai Weibull wrote:
>>i'll also add an option to center at the page level and not locally
> 
> 
> Will this solve item 60 [1] in the collector?

Yes.

Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] formula in itemlist

2006-01-25 Thread Nikolai Weibull
> \def\setdisplaydimensions
>   {\displayindent\leftdisplayskip
>\advance\displayindent\leftdisplaymargin
>\displaywidth\hsize
>\ifdim\hangindent>\zeropoint
>  \advance\displayindent\hangindent
>\else
>  \advance\displaywidth\hangindent
>\fi
>\advance\displaywidth-\displayindent
>\advance\displaywidth-\rightdisplayskip
>\advance\displaywidth-\rightdisplaymargin
>\hsize\displaywidth}
>
> i'll also add an option to center at the page level and not locally

Will this solve item 60 [1] in the collector?

  nikolai

1. http://context.literatesolutions.com/collector/60/pcng_issue_view
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] formula in itemlist

2006-01-19 Thread Hans Hagen

Hans van der Meer wrote:

I want to place a math formula in the item of an itemlist, but I keep  
getting overfull hboxes.

A minimal  example follows:

\starttext
\startitemize
\item dit is een
\item dit is een formule
\placeformula[-]
\startformula
n= 0% this is line 7
\stopformula
\stopitemize
\stoptext

in the log it says:

Overfull \hbox (17.62474pt too wide) in paragraph at lines 7--7
[][]

\hbox(10.41603+4.05064)x0.0
.\glue(\leftskip) 17.62474
.\hbox(0.0+0.0)x0.0
.\hbox(10.41603+4.05064)x0.0
..\rule(10.41603+4.05064)x0.0
..\glue 0.0 plus 1.0fil minus 1.0fil
.\penalty 1
.\glue(\parfillskip) 0.0 plus 1.0fil
.etc.

Removing the "\placeformula" makes no difference.

Although a fallback to $$ n = 0 $$ makes the overfull hbox go away,  
it does not seem the "ConTeXt" way of doing.
Is this something in formula about not changing a hbox-width inside  
the itemize?


not so much tested:

\def\setdisplaydimensions
 {\displayindent\leftdisplayskip
  \advance\displayindent\leftdisplaymargin
  \displaywidth\hsize
  \ifdim\hangindent>\zeropoint
\advance\displayindent\hangindent
  \else
\advance\displaywidth\hangindent
  \fi
  \advance\displaywidth-\displayindent
  \advance\displaywidth-\rightdisplayskip
  \advance\displaywidth-\rightdisplaymargin
  \hsize\displaywidth}

i'll also add an option to center at the page level and not locally

Hans



--

-
 Hans Hagen | PRAGMA ADE
 Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] formula in itemlist

2006-01-19 Thread Hans van der Meer
I want to place a math formula in the item of an itemlist, but I keep  
getting overfull hboxes.

A minimal  example follows:

\starttext
\startitemize
\item dit is een
\item dit is een formule
\placeformula[-]
\startformula
n= 0% this is line 7
\stopformula
\stopitemize
\stoptext

in the log it says:

Overfull \hbox (17.62474pt too wide) in paragraph at lines 7--7
[][]

\hbox(10.41603+4.05064)x0.0
.\glue(\leftskip) 17.62474
.\hbox(0.0+0.0)x0.0
.\hbox(10.41603+4.05064)x0.0
..\rule(10.41603+4.05064)x0.0
..\glue 0.0 plus 1.0fil minus 1.0fil
.\penalty 1
.\glue(\parfillskip) 0.0 plus 1.0fil
.etc.

Removing the "\placeformula" makes no difference.

Although a fallback to $$ n = 0 $$ makes the overfull hbox go away,  
it does not seem the "ConTeXt" way of doing.
Is this something in formula about not changing a hbox-width inside  
the itemize?


yours sincerely,
dr. H. van der Meer



___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context