ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: mkiv versus mkii: whitespace issues
Date: Sun, 15 Mar 2015 23:24:33 +0100	[thread overview]
Message-ID: <8D576EF7-9F18-4F11-9A60-AEDA071377B2@gmail.com> (raw)
In-Reply-To: <634D330A-9065-4A4C-B7C1-47F7987A62AB@rna.nl>


> Am 14.03.2015 um 15:54 schrieb Gerben Wierda <gerben.wierda@rna.nl>:
> 
> 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

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
___________________________________________________________________________________

  parent reply	other threads:[~2015-03-15 22:24 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-14 14:54 Gerben Wierda
2015-03-14 16:14 ` Wolfgang Schuster
2015-03-15 14:17   ` Gerben Wierda
2015-03-15 14:18   ` Gerben Wierda
2015-03-15 14:18   ` Gerben Wierda
2015-03-15 14:57   ` Gerben Wierda
2015-03-15 22:20     ` Wolfgang Schuster
2015-03-15 22:24 ` Wolfgang Schuster [this message]
2015-03-16 14:03   ` Gerben Wierda
2015-03-20 13:43     ` Gerben Wierda
2015-03-20 17:33       ` Wolfgang Schuster
2015-03-21 18:49         ` Gerben Wierda
2015-03-22 22:03           ` Wolfgang Schuster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8D576EF7-9F18-4F11-9A60-AEDA071377B2@gmail.com \
    --to=schuster.wolfgang@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).