ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: Re: \placelist and horizontal expansion?
Date: Wed, 27 Oct 1999 14:12:37 +0100	[thread overview]
Message-ID: <3816FA45.9FBC383D@wxs.nl> (raw)
In-Reply-To: <Pine.LNX.4.04.9910270950160.23382-100000@panter>

Gilbert van den Dobbelsteen wrote:
> 
> Hi there,
> 
> I needed to generate a list in horizontal mode. I am not sure f this is
> correct but the correct result (for me) was obtained by (sorry for the
> Dutch commands):
> 
> \def\MyCommand#1#2#3{#2}
> 
> \vbox{\hsize=10cm%
> \plaatslijst
>   [hoofdstuk]
>   [variant=geen,
>    voor=\leavevmode,
>    na=\penalty-1,
>    commando=\MyCommand]}
> 
> If I leave out the penalty-1 the list will only be horizontal, and will
> not wrap at the width of the \vbox.
> 
> So Hans, if this is entirely incorrect, give me a hint.

I suppose \allowbreak also works. Did you try a \space? voor=\noindent
is probably better. 

BTW, there is also (at least in the latest version)
alternative=horizontal. And, why not say:

\def\MyCommand#1#2#3{#2\space} 

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.nl
-----------------------------------------------------------------


      reply	other threads:[~1999-10-27 13:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-10-27  7:55 Gilbert van den Dobbelsteen
1999-10-27 13:12 ` Hans Hagen [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=3816FA45.9FBC383D@wxs.nl \
    --to=pragma@wxs.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).