On 15 Mar 2015, at 23:24, Wolfgang Schuster wrote: > >> Am 14.03.2015 um 15:54 schrieb Gerben Wierda : >> >> I am running into two issues with my mkii-to-mkiv conversion project >> >> - The \chapter command in mkiv uses more whitespace between the header and the first paragraph. How can I influence this? > > The different space before the \chapter is caused by the “fixed” keyword for \blank > which produce different result with MkII and MkIV and the MkIV behaviour need > to be corrected. > > The space after \chapter comes from your \writetolist entry and you can correct > this with the \GotoPar command at the end of the entry as shown below. > > %%%% begin example > \showgrid > > \setuphead[chapter][before={\blank[force,2*line]}] > > \starttext > > \chapter{Knuth} > > \writetolist[chapter]{}{}\GotoPar > > \input knuth > > \stoptext > %%%% end example Thanks. I tried this % Every chapter starts with a quote on the LHS page: \setuphead [chapter] [page=, before={\setups[chapter:before]}, after={\setups[chapter:after]}] \startsetups chapter:before \page[left] \noheaderandfooterlines \startalignment[left,nothyphenated] \startnarrower[4*left] \em \getbuffer[chapter:quote] \stopnarrower \stopalignment \resetsetups[quote:text] \page[right] \noheaderandfooterlines \blank[force,2*big] \stopsetups \startsetups chapter:after \blank[3*big] \stopsetups \definelist[chaptertext] \setuplist[chaptertext][margin=1.3em,pagecommand=\gobbleoneargument] \define[1]\ChapterAbstract{\writetolist[chaptertext]{}{\start\itx#1\stop}\GotoPar} (Adding the \GotoPar at the end) but it did not had any effect. At one place (no chapter but an unnumbered title, it doesn’t work as well. Here I now have: \title[h:grief1]{Intermezzo:\\ A short story about grief} \writetolist[chapter]{}{Intermezzo: A Short Story about Grief}\GotoPar \ChapterAbstract{A small fragment of a movie script that beautifully illustrates the gap between the rational and the real.} I changed it to \title[h:grief1]{Intermezzo:\\ A short story about grief} \writetolist[chapter]{}{Intermezzo: A Short Story about Grief}\GotoPar \ChapterAbstract{A small fragment of a movie script that beautifully illustrates the gap between the rational and the real.}\GotoPar And that works. So I changed it in another chapter to \chapter[h:loosely]{Prologue:\\Loosely Coupled Spaghetti} \ChapterAbstract{Starting with an example of how things can go wrong in a current Business-IT landscape, we notice that these kinds of problems have existed almost for as long as IT has existed, and that no proposed `silver bullet' has ever solved them. The goal of the book is introduced.}\GotoPar \placeinitial S{\kap{\bf uppose we}} have a system for the approval of loans. The business logic has been put into a Business Rule Engine (BRE) system\footnote{If you are not technical and terms like `application server', But there it doesn’t. Apparently, I am still missing something. G > > 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 > ___________________________________________________________________________________