Dear fellow contextualists,

a while ago Wolfgang saved me from erratic blank lines that had
kept appearing next to margin headings.[1]

Now the problem arose again when starting the first paragraph
with a caption. Placement does not seem to effect this (try
“bottom”, but at sufficiently large sizes of the float and grid
typesetting activated an additional line is inserted. How can I
suppress those?

··8<·····························································

\define[2]\SectionCommand
  {\inleftmargin{#2}} 

\setuphead [section] [
  alternative=text, 
  style=bold, 
  command=\SectionCommand, 
  distance=0pt, 
  before={\blank[nowhite]},
  after={\blank[nowhite]},
]

\useexternalfigure[cow][cow][width=8cm] % try “8cm”

\setuplayout[grid=yes]
\showgrid \showframe
\starttext

\dorecurse{5}{
  \section{Hello Cow!}
  \placefigure[outer]{Artistic Rendering of a Dutch Cow ({\em Bos primigenius 
taurus}).}{\externalfigure[cow]}%
  \input dawkins \par
}

\stoptext

··8<·····························································

[1] http://archive.contextgarden.net/message/20101121.122232.07a565dd.en.html

Thanks for any advice, Philipp

-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments

Attachment: pgpghcltwNkdk.pgp
Description: PGP signature

___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to