[NTG-context] definelayout and setuplayout not possible in current beta?

2009-11-11 Thread Andreas Schneider
Hi,

as it seems, setuplayout fails with a predefined layout in both MkIV and 
MkII. The attached example produces the following error:

! Missing number, treated as zero.  
 
  
 
   f
 
\@@lyindexheight ->f
 
it  
 
 ...upheight \layoutparameter \c!height
  \relax \ifdim 
\bottomspace...
\secondoftwoarguments #1#2->#2

\dorecalculatelayout ...pspace \relax \else \fi }}
  \else \global 
\makeupheigh...
\dosetuplayout ...#1}}}\fi \fi \recalculatelayout
  \checkcurrentlayout 
\prese...
...
l.9   \completecontent

Best regards,
Andreas.\definelayout[index][
  header=0cm,
  footer=0cm,
  height=fit
]

\starttext
  \setuplayout[index]
  \completecontent
\stoptext

___
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
___


Re: [NTG-context] definelayout and setuplayout not possible in current beta?

2009-11-11 Thread Wolfgang Schuster

Am 11.11.2009 um 17:29 schrieb Andreas Schneider:

> Hi,
> 
> as it seems, setuplayout fails with a predefined layout in both MkIV and 
> MkII. The attached example produces the following error:

\definelayout[index][
  header=0cm,
  footer=0cm,
  height=fit,
]

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
___


Re: [NTG-context] definelayout and setuplayout not possible in current beta?

2009-11-11 Thread Andreas Schneider
Wolfgang Schuster wrote:

> 
> Am 11.11.2009 um 17:29 schrieb Andreas Schneider:
> 
>> Hi,
>> 
>> as it seems, setuplayout fails with a predefined layout in both MkIV and
>> MkII. The attached example produces the following error:
> 
> \definelayout[index][
>   header=0cm,
>   footer=0cm,
>   height=fit,
> ]
> 
> Wolfgang

Awesome, works like I hoped it would :)
Thank you!

Best regards,
Andreas.

___
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
___