From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/20256 Path: news.gmane.org!not-for-mail From: Idris Samawi Hamid Newsgroups: gmane.comp.tex.context Subject: alignment issues Date: Sun, 8 May 2005 21:16:34 -0600 Message-ID: <42B74E00@webmail.colostate.edu> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1115608277 5664 80.91.229.2 (9 May 2005 03:11:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 9 May 2005 03:11:17 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon May 09 05:11:15 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1DUyfl-0000Ck-Fl for gctc-ntg-context-518@m.gmane.org; Mon, 09 May 2005 05:11:09 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 99C23127D9; Mon, 9 May 2005 05:18:23 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 30486-05; Mon, 9 May 2005 05:18:23 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 74A0C127CC; Mon, 9 May 2005 05:16:39 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6BCBC127CC for ; Mon, 9 May 2005 05:16:37 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 30404-04-3 for ; Mon, 9 May 2005 05:16:36 +0200 (CEST) Original-Received: from eagle.colostate.edu (eagle.acns.colostate.edu [129.82.100.90]) by ronja.ntg.nl (Postfix) with ESMTP id 0F8BD127C2 for ; Mon, 9 May 2005 05:16:35 +0200 (CEST) Original-Received: from lamar.colostate.edu (lamar.acns.colostate.edu [129.82.100.75]) by eagle.colostate.edu (AIX5.1/8.11.6p2/8.11.0) with ESMTP id j493GYS1362786 for ; Sun, 8 May 2005 21:16:35 -0600 Original-Received: from webmail.colostate.edu (csunts4.acns.colostate.edu [129.82.100.135]) by lamar.colostate.edu (AIX5.1/8.11.6p2/8.11.0) with ESMTP id j493FkH298086 for ; Sun, 8 May 2005 21:15:46 -0600 X-WebMail-UserID: ishamid Original-To: mailing list for ConTeXt users X-EXP32-SerialNo: 00002247, 00002264 X-Mailer: Infinite Mobile Delivery (Hydra) SMTP v3.62.01 X-Virus-Scanned: by amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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: by amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:20256 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:20256 Dear cartel, Two problems (annoyances?) with alignment,: PROBLEM 1: \startalignment[left] creates a spurious underfull hbox: ======================= % output=pdf interface=en \starttext \startalignment[left] This is a test of alignment. \stopalignment \stoptext ======================= log: ======================= Underfull \hbox (badness 10000) in paragraph at lines 7--8 []\*12ptrmtf* This is a test of align-ment. \hbox(8.26648+2.33331)x426.78743, glue set 12.00853 .\glue(\leftskip) 0.0 plus 24.0 .\hbox(0.0+0.0)x0.0 .\*12ptrmtf* T .\*12ptrmtf* h .\*12ptrmtf* i .etc. ======================= The other three alignments (see below) do not have this problem; PROBLEM 2: I think this may have came up a couple of years ago as well, don't remember if there was ever a resolution... The options to \start-\stopalignment are inconsistent and, in my view, contrary to common sense-). Try ======================= % output=pdf interface=en \starttext \rightaligned{This is a test of right alignment.} \startalignment[right] This is a test of right alignment. \stopalignment \blank[big] \leftaligned{This is a test of left alignment.} \startalignment[left] This is a test of left alignment. \stopalignment \stoptext ======================= \startalignment[right] does the opposite of \rightaligned; ditto for \startalignment[right] and \leftaligned. \rightaligned and \leftaligned are correct in my view. Aside: As ConTeXt develops bidi support, we need alternatives to [left] and [right] anyway. But it is still apparently inconsistent as it stands (with emphasis on `apparently' since I am missing/have forgotten the point of why things behave like this). Best Idris ============================ Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523