From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/1100 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: \placelist and horizontal expansion? Date: Wed, 27 Oct 1999 14:12:37 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <3816FA45.9FBC383D@wxs.nl> References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035391940 29838 80.91.224.250 (23 Oct 2002 16:52:20 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 16:52:20 +0000 (UTC) Original-To: Gilbert van den Dobbelsteen Xref: main.gmane.org gmane.comp.tex.context:1100 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:1100 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 -----------------------------------------------------------------