ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: blanks with glue in mkiv
Date: Mon, 08 Feb 2010 10:16:24 +0100	[thread overview]
Message-ID: <4B6FD668.5060803@googlemail.com> (raw)
In-Reply-To: <alpine.LNX.2.01.1002072009440.31847@ybpnyubfg.ybpnyqbznva>

Am 08.02.10 02:10, schrieb Aditya Mahajan:
> Hi,
>
> Blanks with glue do not work with MkIV.

The old commands to define own blank values do not work in MkIV, the old 
MkII commands are mapped to the new ones but MkII and MkIV expect 
different settings for them.

The old \defineblank command is replaced by \definevspacing which allows 
only keywords (penalty, category and order) with a value (e.g. 
\definevspacing[\v!samepage][penalty:10000]), you can also define 
synonyms (\definevspacing[\s!default][\v!white]).

The \defineblankmethod command is replaced by \definevspacingamount but 
both use a different syntax, while the old one expected the value in 
curly braces the new command wants them in brackets. This is also the 
command you can use because ot allows TeX skip values but it expects 
two, one for grid typesetting and another one for non grid text, e.g.

   \definevspacingmethod[test][3pt plus 1pt minus 1pt][3pt plus 1pt 
minus 1pt]

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
___________________________________________________________________________________


      reply	other threads:[~2010-02-08  9:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-08  1:10 Aditya Mahajan
2010-02-08  9:16 ` Wolfgang Schuster [this message]

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=4B6FD668.5060803@googlemail.com \
    --to=schuster.wolfgang@googlemail.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).