Hi all,
I want to place a table of contents in a floating frame but somehow all
the entries are placed in one line (see example) How do I get a proper
ToC? I know that I can add a height to the \framed but with the real
data I'm working with I don't know in advance how many lines I need.
Adding heightfactor=fit didn't work either.
\setupcombinedlist[content][level=2,alternative=f]
\definefloat[TOCfloat][TOCfloats]
\setupfloat[TOCfloat][location=hanging,background=color,backgroundcolor=lightgray]
\starttext
\placeTOCfloat[right,here]{none}{\framed[width=0.4\textwidth]{\placecontent}}
\section{First section title}
\input knuth
\section{Second section title}
\input knuth
\section{Third section title}
\input knuth
\section{Last section title}
\input knuth
\stoptext
Thanks again,
Jelle
___________________________________________________________________________________
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
___________________________________________________________________________________