From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/11177 Path: main.gmane.org!not-for-mail From: =?iso-8859-2?Q?Martin_Kola=F8=EDk?= Newsgroups: gmane.comp.tex.context Subject: Using command in section Date: Tue, 4 Mar 2003 17:16:14 +0100 Sender: ntg-context-admin@ntg.nl Message-ID: <004001c2e269$60ff4220$2197fac3@mii.cz> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1046794759 24881 80.91.224.249 (4 Mar 2003 16:19:19 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 4 Mar 2003 16:19:19 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Tue Mar 04 17:19:09 2003 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18qF7A-0006Mt-00 for ; Tue, 04 Mar 2003 17:18:00 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 3F3F210B3C; Tue, 4 Mar 2003 17:18:27 +0100 (MET) Original-Received: from belinda.mii.cz (rhea.mii.cz [212.27.214.13]) by ref.ntg.nl (Postfix) with SMTP id A5A1610B2E for ; Tue, 4 Mar 2003 17:16:15 +0100 (MET) Original-Received: (qmail 12276 invoked from network); 4 Mar 2003 16:16:14 -0000 Original-Received: from enceladus.mii.cz (HELO enceladus) (195.250.151.33) by belinda.mii.cz with SMTP; 4 Mar 2003 16:16:14 -0000 Original-To: "ConTeXt" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk X-Reply-To: List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:11177 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:11177 Hi all, I'm using private macro for title of section: \setuphead[section][command=\doTitle] and if I typeset inside this \doTitle#1#2 something like (test code): \vbox to 0pt{ \hsize=3cm \hbox{\vtop{#1}\vtop{#2}} \hbox{\vtop{X} \vtop{The quick brown fox jumped over the lazy dog.}} \vss } I get two boxes -- the first (made from #1 and #2) NOT aligning the first lines of vtop's (#1 is higher) and the second, which is aligned as I expect -- both "X" and "The quick..." in the one "line". So I traced data coming into #2 and content of \vtop filled with it and I saw the #2 contains some vertical glue at the beginning. What should I do to avoid this behaviour? (excluding splitting of the resulting box using low level TeX primitives :-), have a nice day and thanks, Martin -------- Martin Kolarik Moravske Pristroje, a.s., Masarykova 1148, Zlin 76302 tel. +420 603 498 498, fax +420 577 107 171 web: http://www.mii.cz -------- e-mail: kolarik@mii.cz e-mail: kolarik@click.cz tel. +420 603 535 593