From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-fx0-f49.google.com (mail-fx0-f49.google.com [209.85.161.49]) by krisdoz.my.domain (8.14.3/8.14.3) with ESMTP id p8DKkjjg029627 for ; Tue, 13 Sep 2011 16:46:46 -0400 (EDT) Received: by fxg7 with SMTP id 7so1100460fxg.36 for ; Tue, 13 Sep 2011 13:46:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=x-authentication-warning:date:from:to:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=2vgjPKWq/oocvRwfo32QOBxuZsDYvBM1EiDMj8hi2p4=; b=IFQ0l8Pfx/pj/B3yRa6pBAzmE0SN+6VgByChC2GhvfCrQzhN4ITeSieU1UiCbzZSW3 1qiaWB5mUoZi0G3wYcAz0a7Q6yUYon5y2QOqa8LcU1nDSFY5k8kaPtWBOGGXMSeRcRow 8rkRpxFQn8P5pT9L7VxHF2fID9+mFf03C6H0M= Received: by 10.223.97.134 with SMTP id l6mr3972509fan.10.1315858295811; Mon, 12 Sep 2011 13:11:35 -0700 (PDT) Received: from procyon.xvoid.org ([213.132.76.142]) by mx.google.com with ESMTPS id f25sm7567433faf.7.2011.09.12.13.11.33 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 12 Sep 2011 13:11:34 -0700 (PDT) Received: from procyon.xvoid.org (yuri@procyon.xvoid.org [IPv6:::1]) by procyon.xvoid.org (8.14.5/8.14.5) with ESMTP id p8CKBVJC002367 for ; Tue, 13 Sep 2011 00:11:31 +0400 (MSD) (envelope-from yuri.pankov@gmail.com) Received: (from yuri@localhost) by procyon.xvoid.org (8.14.5/8.14.5/Submit) id p8CKBU5o002366 for discuss@mdocml.bsd.lv; Tue, 13 Sep 2011 00:11:30 +0400 (MSD) (envelope-from yuri.pankov@gmail.com) X-Authentication-Warning: procyon.xvoid.org: yuri set sender to yuri.pankov@gmail.com using -f Date: Tue, 13 Sep 2011 00:11:30 +0400 From: Yuri Pankov To: discuss@mdocml.bsd.lv Subject: Re: tbl issues with 1.11.1 Message-ID: <20110912201130.GB1331@procyon.xvoid.org> References: <20110414014526.GB1280@darklight.org.ru> <20110416213413.GI13629@iris.usta.de> <20110426201050.GA5448@britannica.bec.de> <20110512220226.GA23153@britannica.bec.de> <4DCD9CA4.2060708@bsd.lv> <20110514041228.GA30797@iris.usta.de> X-Mailinglist: mdocml-discuss Reply-To: discuss@mdocml.bsd.lv MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110514041228.GA30797@iris.usta.de> User-Agent: Mutt/1.5.21 (2010-09-15) On Sat, May 14, 2011 at 06:12:28AM +0200, Ingo Schwarze wrote: > Hi Kristaps and Joerg, > > >>> Ingo, that's your change from January. Care to check the attached patch? > >> Anyone? > > Ingo? I remember you checking these in... care to take another look? > > Er, jaja, i was a bit swamped... > > Unfortunately, Joergs patch is not right, i breaks the horizontal > spacing in tables without vertical rulers almost completely, see > for example captoinfo(1) and compare the groff and mandoc output. > > Getting this right in both cases - with and without vertical rulers - > requires rather large changes. The logic, as far as i understand it > so far, goes like this: > > - box produces "|" > - no spacing at this point > - first cell, width is max(lengths) > - one space > - vertical ruler, if none, another space > - another space, unless there was a double ruler (!!) > - second cell > - and so on. > > That is vastly different from what we have now, both regarding the > width calculations - which apparently must not include padding - and > regarding the output itself. > > The work-in-progress patch below comes closer. However, it still > has at least two deficiencies, so it is not ready for commit: > - There still is a bogus space after double rulers, see (!!). > - The handling of explicit spacing options got sweeped away > by the reorg i was forced to do. Probably, i need to put > it back in at the right places. It was in the calc routine > but probably belongs in the output routines themselves. > > Just sending this such that you finally get some feedback. > In case we need more discussion, we should probably move to tech@. Sorry for bringing this up again, but I'm still seeing the same behaviour in 1.11.6. Is there anything wrong with proposed patch? Yuri -- To unsubscribe send an email to discuss+unsubscribe@mdocml.bsd.lv