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 p8IHPFi6002701 for ; Sun, 18 Sep 2011 13:25:16 -0400 (EDT) Received: by fxg7 with SMTP id 7so3989087fxg.36 for ; Sun, 18 Sep 2011 10:25:09 -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=Qh+p3nz0zAiUPSfja374VgprwkBAAH0z0xoikaeDyVk=; b=tSBun8y4s4+Hw9vtbZ21f1GYWAyXWMzJ9pHhtGVgMhAqemL+0CdqSlirfdu9iU3ftt Cds7a5BSpbTWEhl5c+WRVorQ6Z+BuX6yWWDiKTVc2HkaybruYAUEDHMlzweMFYExLUfq z0MNWKg+tCaLov9Kphzw9Gq4T9BZcyxTUrUEs= Received: by 10.223.10.25 with SMTP id n25mr3525494fan.72.1316366709523; Sun, 18 Sep 2011 10:25:09 -0700 (PDT) Received: from procyon.xvoid.org ([213.132.76.142]) by mx.google.com with ESMTPS id f25sm18932179faf.7.2011.09.18.10.25.07 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 18 Sep 2011 10:25:08 -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 p8IHP5Pd036861 for ; Sun, 18 Sep 2011 21:25:05 +0400 (MSD) (envelope-from yuri.pankov@gmail.com) Received: (from yuri@localhost) by procyon.xvoid.org (8.14.5/8.14.5/Submit) id p8IHP57V036860 for discuss@mdocml.bsd.lv; Sun, 18 Sep 2011 21:25:05 +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: Sun, 18 Sep 2011 21:25:05 +0400 From: Yuri Pankov To: discuss@mdocml.bsd.lv Subject: Re: tbl issues with 1.11.1 Message-ID: <20110918172505.GA1275@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> <20110912201130.GB1331@procyon.xvoid.org> 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: <20110912201130.GB1331@procyon.xvoid.org> User-Agent: Mutt/1.5.21 (2010-09-15) On Tue, Sep 13, 2011 at 12:11:30AM +0400, Yuri Pankov wrote: > 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? And sorry for sending this again, but I'm not sure it got through due do the site downtime... Yuri -- To unsubscribe send an email to discuss+unsubscribe@mdocml.bsd.lv