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.
<to be read again>
f
\@@lyindexheight ->f
it
<argument> ...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
___________________________________________________________________________________