Thanks for the answers. I'll read "details.pdf" again...
I tried to add a second criterium (bigger than \textwidth), but not surprisingly my inventions and guesses weren't successful. Interventions within the text itself (\placefigure[....] and \setupfloat[figure][....]) also didn't work.
Lectures start this week, and I want to distribute some chapters as handouts in order to get feedback. This explains my bothering you with another question:
The subsection heads should be capitals. Setting textstyle=cap doesn't do anything. Setting style=cap gives an error (see end of message). style=slanted works, commands (\cap, \kap) don't work. \cap{some text} used in the text works.
This is how I'm setting up the heads:
\def\BookchapterCommand#1#2{\framed[frame=off,rightframe=on]{#1\space}\framed[frame=off]{\space#2}}
\setuphead[chapter][command=\BookchapterCommand,page=right]
\setuphead[subsection][style=cap (THIS IS WHERE I'M HAVING PROBLEMS),number=no]
\setuphead[subsubsection][style=slanted,number=no,after=\nowhitespace]
Thanks a lot, Jörg.
This is the error message when inserting style=cap:
) (./figures_book.tex) (./Mydefinitions.tex) (./book.tuo) (./book.tuo)
(./book.tuo) (./book.tuo) (./book.tuo) (./book.tuo) (./book.tuo) (./book.tuo)
(./book.tuo) (./book.tuo) (./book.tuo) (./book.tuo) (./book.tuo)
fonts : using map file: cbgreek.map
fonts : using map file: texnansi-public-lm.map
fonts : using map file: original-public-vnr.map
fonts : using map file: original-public-csr.map
fonts : using map file: original-public-plr.map
fonts : using map file: original-public-lm.map
fonts : using map file: original-ams-euler.map
fonts : using map file: original-ams-cmr.map
fonts : using map file: texnansi-base.map
fonts : using map file: t5-base.map
fonts : using map file: qx-base.map
fonts : using map file: 8r-base.map
fonts : using map file: ec-base.map
fonts : using map file: ec-public-lm.map
fonts : using map file: original-base.map
systems : begin file book at line 45
(./digestion/digestion_chapter.tex
chapter : 1 Verdauung und Resorption
section : 1.1 Vorbereitung in Mund und Magen
! Argument of \getvalue has an extra }.
<inserted text>
\par
<to be read again>
}
\uppercased ...d \xdef \@@expanded {\uppercase {#1
}}}\@@expanded
\dodosmallcapped ...alize \cap@@uppercase {#1{#2}}
\egroup
\doplaceheadtext ... {\??ko #1}\c!style \getvalue
{\??ko #1\c!command } {} {...
\dodododosomekop ...mber ]{\finalsectionnumber }}}
\writesection {#1}{-}{#4}\...
l.5 \subsection {Der Speichel}
?