Am 09.01.2014 um 14:23 schrieb Jean-Guillaume <jng...@gmail.com>: > But this: > > \definehead > [Exercise] [subsection] > [after=] > \starttext > \startExercise [title=This is the exercise's title] > The exercise's content. > \stopExercise > \stoptext > > results to: > > 1 This is the exercise's title > The exercise's content. > > and I would like it to be: > > 1 This is the exercise's title The exercise's content. > > (When I can typeset that, I will see about formatting the number and so on.) > > I'm sorry it wasn't very clear. Now I understand that I misunderstood > \startExercise{...} for \startExercise[title=...] and that's why I was > confused about which newline I want to get rid of.
\definehead [Exercise] [subsection] [alternative=text, distance=0.5em, insidesection=\ignorespaces] 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 ___________________________________________________________________________________