Re: [xml2rfc-dev] RFC 7991 issue #31: Schema Issue, RFC 7991, In Section 2.54, <table>

Henrik Levkowetz <henrik@levkowetz.com> Tue, 09 October 2018 18:20 UTC

Return-Path: <henrik@levkowetz.com>
X-Original-To: xml2rfc-dev@ietfa.amsl.com
Delivered-To: xml2rfc-dev@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0B07512426A for <xml2rfc-dev@ietfa.amsl.com>; Tue, 9 Oct 2018 11:20:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8qFlzug-w4GI for <xml2rfc-dev@ietfa.amsl.com>; Tue, 9 Oct 2018 11:20:16 -0700 (PDT)
Received: from zinfandel.tools.ietf.org (zinfandel.tools.ietf.org [IPv6:2001:1890:126c::1:2a]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2E183124C04 for <xml2rfc-dev@ietf.org>; Tue, 9 Oct 2018 11:20:16 -0700 (PDT)
Received: from h-37-140.a357.priv.bahnhof.se ([94.254.37.140]:60227 helo=tannat.localdomain) by zinfandel.tools.ietf.org with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <henrik@levkowetz.com>) id 1g9wcA-0002DL-GO; Tue, 09 Oct 2018 11:20:15 -0700
To: Heather Flanagan <rse@rfc-editor.org>, xml2rfc-dev@ietf.org
References: <70ee4cff-7533-13e0-d71a-ffecf2dc56f0@gmx.de> <24828f94-dbbd-4c18-8d85-333487bda367@levkowetz.com> <3ac63652-2df2-03c7-eee6-bad2cbd326d8@levkowetz.com> <B63F3A7C-AAB6-4281-BC5F-BC28E9693E43@icann.org> <2ab7b797-4a01-5327-10fb-5ae13587944f@nostrum.com> <a9cbe9b1-1ee4-b60b-bb88-d07d11afa6a3@gmx.de> <20181004192423.xexbgomdqs56pkok@miek.nl> <5694D337-A88C-4F3E-AE2D-8EA34C3A5A93@icann.org> <20181004193939.szec4ng47kp7lapv@miek.nl> <38897ac0-44a7-6b03-4e7e-e19a115fc53d@gmx.de> <f36e6a80-99ad-fd1a-f872-9b8fc83fb763@levkowetz.com> <050c01d45d97$714e51b0$53eaf510$@augustcellars.com> <efc18e10-416f-91ae-bff5-f7ecf2721df4@levkowetz.com> <052b01d45daa$87e71980$97b54c80$@augustcellars.com> <656afb2e-3aa7-53c5-5e39-55050387aa20@levkowetz.com> <0bac2940-1abc-87e3-35e7-f6d621e83f1c@rfc-editor.org>
From: Henrik Levkowetz <henrik@levkowetz.com>
Message-ID: <09d7b55e-a5a7-aada-c5ff-890242203242@levkowetz.com>
Date: Tue, 09 Oct 2018 20:20:07 +0200
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <0bac2940-1abc-87e3-35e7-f6d621e83f1c@rfc-editor.org>
Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="x1Mct7kA6wVEdLkUqM3Oiu5xJJL6jKGtl"
X-SA-Exim-Connect-IP: 94.254.37.140
X-SA-Exim-Rcpt-To: xml2rfc-dev@ietf.org, rse@rfc-editor.org
X-SA-Exim-Mail-From: henrik@levkowetz.com
X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000)
X-SA-Exim-Scanned: Yes (on zinfandel.tools.ietf.org)
X-Clacks-Overhead: GNU Terry Pratchett
Archived-At: <https://mailarchive.ietf.org/arch/msg/xml2rfc-dev/zz7dbg1gFN1xwG496-olWyhoULc>
Subject: Re: [xml2rfc-dev] RFC 7991 issue #31: Schema Issue, RFC 7991, In Section 2.54, <table>
X-BeenThere: xml2rfc-dev@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Discussion about particulars of xml2rfc V3 design, development and code." <xml2rfc-dev.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/xml2rfc-dev>, <mailto:xml2rfc-dev-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/xml2rfc-dev/>
List-Post: <mailto:xml2rfc-dev@ietf.org>
List-Help: <mailto:xml2rfc-dev-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/xml2rfc-dev>, <mailto:xml2rfc-dev-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 09 Oct 2018 18:20:18 -0000

Hi Heather,

On 2018-10-09 20:00, Heather Flanagan wrote:
> 
> On 10/6/18 2:53 PM, Henrik Levkowetz wrote:
>> On 2018-10-06 21:26, Jim Schaad wrote:
>>>>> What is the rule you have for doing the alignment of figure
>>>>> captions? I think that the same rules should apply to both
>>>>> figures and tables.
>>>> Till now, both have been centered.  That can be changed.
>>>>
>>> No, I would not change this.  I would keep the centering for the
>>> caption.  The next interesting question the caption is wider than the
>>> table should it be wrapped to the table width or run on past the edge
>>> of the table.  I don't think that I have a preference
>> I don't (at least currently) have a strong preference.  The current
>> code wraps the title to fit within the table width.
>>
> 
> I'm not entirely sure how this issue differs from the table alignment 
> discussed in issues 40 and 9?

In the previous release of xml2rfc, the table caption, e.g., "Table 1: Foo"
underneath the table, was always centered on the page in text format,
while the table was left-aligned (the left-alignment was an error, though,
a leftover from the artwork alignment).  That is, the table and caption
was rendered and aligned individually.

As a result of the discussion above, and the table alignment issue, the
latest release does the following:

 1) render the table as a block
 2) render the caption, with wrapping, with the same max width as the table
 3) center the caption under the table, as a new composite block
 4) align the block of table + caption left, center, or right on the page.

The discussion above concerned steps 2 and 3 above, while issues 40 and 9
concerned 4.


Best regards,

	Henrik