From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/50619 Path: news.gmane.org!not-for-mail From: Tim Wraight Newsgroups: gmane.comp.tex.context Subject: Re: Label alignment in descriptions Date: Wed, 20 May 2009 08:31:40 +0100 Message-ID: <25D77962-AB33-4858-8889-0F975D37B57B@wraight.net> References: <5C8489DD-E550-4708-84C4-758D607B7634@wraight.net> <4A132911.8040001@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v935.3) Content-Type: text/plain; charset="us-ascii"; Format="flowed"; DelSp="yes" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1242804849 22750 80.91.229.12 (20 May 2009 07:34:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 20 May 2009 07:34:09 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed May 20 09:34:02 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1M6gJN-00017j-Ks for gctc-ntg-context-518@m.gmane.org; Wed, 20 May 2009 09:34:01 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9E9201FDDE; Wed, 20 May 2009 09:34:00 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 16780-02-3; Wed, 20 May 2009 09:33:03 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E44F11FDEA; Wed, 20 May 2009 09:33:02 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CFB051FD91 for ; Wed, 20 May 2009 09:33:00 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 12748-04-2 for ; Wed, 20 May 2009 09:32:22 +0200 (CEST) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by ronja.ntg.nl (Postfix) with ESMTP id CF0C31FDEA for ; Wed, 20 May 2009 09:31:57 +0200 (CEST) Original-Received: from a2s43.a2hosting.com (a2s43.a2hosting.com [69.39.89.30]) by filter4-til.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n4K7VtSV031171 for ; Wed, 20 May 2009 09:31:56 +0200 Original-Received: from [91.107.42.127] (helo=[192.168.1.156]) by a2s43.a2hosting.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.69) (envelope-from ) id 1M6gHI-0002GC-5Y for ntg-context@ntg.nl; Wed, 20 May 2009 03:31:55 -0400 In-Reply-To: <4A132911.8040001@wxs.nl> X-Mailer: Apple Mail (2.935.3) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - a2s43.a2hosting.com X-AntiAbuse: Original Domain - ntg.nl X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - wraight.net X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=69.39.89.30; country=US; region=MI; city=Ann Arbor; postalcode=48104; latitude=42.2734; longitude=-83.7133; metrocode=505; areacode=734; http://maps.google.com/maps?q=42.2734,-83.7133&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 228802073 - fe2fa35e2384 - 20090520 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:50619 Archived-At: On 19 May 2009, at 22:48, Hans Hagen wrote: > Oliver Buerschaper wrote: >>> Hello, >>> >>> I can't get the 'align' parameter to have any effect on label text >>> in definitions. Here is a simple test case: >>> >>> >>> \setuplayout[backspace=40mm] >>> \definedescription >>> [test] >>> [location=inleft, >>> width=25mm, >>> align=left, >>> margin=standard] >>> \starttext >>> \test{Hello} World! \par >>> \test{Misaligned} Labels >>> \stoptext >>> >>> >>> Changing the value of 'align' to 'middle' or 'right' does nothing. >>> I'm using ConTeXt ver: 2009.04.28 08:46 MKIV fmt: 2009.5.9 int: >>> english/english, and LuaTeX, Version beta-0.40.0-2009042219 >>> luatex.web >= v2344 >> Confirmed on 2009.05.14 16:44 if a new line is inserted just before >> \stoptext: >> --- >> \setuplayout[backspace=40mm] >> \definedescription >> [test] >> [location=inleft, >> width=25mm, >> align=left, >> margin=standard] >> \starttext >> \test{Hello} World! \par >> \test{Misaligned} Labels >> \stoptext > > descriptions (and a few more commands) expect a \par (or empty line) > > best use > > \starttest{Hello} World! \stoptest > \starttest{Misaligned} Labels \stoptest In that case, perhaps there's a simper way to achieve my aim: I'm doing dialogue, and want to have the speakers' names right-aligned (ie. ragged left) in the margin. Is there a better way to do this than descriptions? for example: Jim: Isn't ConteXt fun? John: Sure. When you know what you're doing. > > > ----------------------------------------------------------------- > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com > | www.pragma-pod.nl > ----------------------------------------------------------------- > ___________________________________________________________________________________ > 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 : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___________________________________________________________________________________ ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________