Re: [xml2rfc] Page break controls (Was:#311 (Version 2 cli): ability to suppress author org on first page)

Julian Reschke <julian.reschke@gmx.de> Wed, 31 May 2017 16:43 UTC

Return-Path: <julian.reschke@gmx.de>
X-Original-To: xml2rfc@ietfa.amsl.com
Delivered-To: xml2rfc@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E21BC129B53 for <xml2rfc@ietfa.amsl.com>; Wed, 31 May 2017 09:43:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.9
X-Spam-Level:
X-Spam-Status: No, score=-4.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-2.8, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] 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 dcmDZjg3eWCP for <xml2rfc@ietfa.amsl.com>; Wed, 31 May 2017 09:43:33 -0700 (PDT)
Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BC1981293DB for <xml2rfc@ietf.org>; Wed, 31 May 2017 09:43:32 -0700 (PDT)
Received: from [192.168.178.20] ([93.217.105.59]) by mail.gmx.com (mrgmx102 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MUm1o-1dPtpo2bGO-00YD7c; Wed, 31 May 2017 18:42:52 +0200
To: Henrik Levkowetz <henrik@levkowetz.com>, ietf@augustcellars.com
Cc: xml2rfc@ietf.org
References: <063.51428a1cd6409fe1fce654c06bff9ff4@tools.ietf.org> <078.790373a98a2bc1808546b983f4b0aa55@tools.ietf.org> <592ECE6B.2040409@levkowetz.com> <cb89f2ea-197a-dc41-49ff-69ec3bc1eee1@gmx.de> <592EE6F0.7010708@levkowetz.com>
From: Julian Reschke <julian.reschke@gmx.de>
Message-ID: <4c3d6aba-aa57-fb2b-f588-9ca050e67926@gmx.de>
Date: Wed, 31 May 2017 18:42:50 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1
MIME-Version: 1.0
In-Reply-To: <592EE6F0.7010708@levkowetz.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Provags-ID: V03:K0:ehPgBgOvkGjgmN0H/DQC5I9U3ef4nlEc2ofopn3rmpGq1TbsxbL 5sjg7RJ0FlY91/2HiBXK2C7I7ehbOgaUua8lPFONAELwYya0Dtn1+jLWDio47Cf8jOfaorb CNObsBdkB1ESPXDgJf3fArt+6BSJNkC+zwqM91hkUeGGH0EGJ3/cd654hun/j6jDEPtAxfk xfqOwagKqdA4mpZZHc+cg==
X-UI-Out-Filterresults: notjunk:1;V01:K0:MzDIUNBMAwU=:KSA696NS9xmLmi3uPtbxlC uzqwWhsQXJS6dlnhDDmB0hXIYA5DD8gC+QuUzLaHszewJJSYKcRWI4Wq13w3Y0E2gS1MnMDss 5OhoE2MeDLOUz2wKHy7ObtfIcgkybAl+GalkW1IFrG9AAVkj8leFB2NvX+tiECE7rtk6xfUa9 8opmMpNm7Jr4u/kgRRpPLIpJ+sxblygbgzHobisvuNKCGJ5VwKr9DB+o3+zKoUNm3tZ/Ro6ZU /nBBh6CET2LRTBxJhjiHUwvA2XboqBI/dPhZILQDUlmgj5EGevS7xyCIyXWpZp5+vdADmLPPk 16kjmm7Mk1fYxbnc4nm1lc4RRLuFGDTGGZeYcckJiMeXbiNaTdE1sjEWqoJe7/tkrqwnMwdOA YRiorSrOK+flvEIpV0FT3byab7cIjTnlrLy8b9W6olCtiO0AcA8JldGLM2jlC/PRNJyw2o7Y1 HtipGiWZM/mMcsTWYYQptFjyk+9hDgEXoO92PlemryBNM9pdQPV/Xa0yNy/qM/4S70Qut/49p HRJYdh1QrMZuTTv/OmORV5T+EXTTjRfbxu2zm7hs6nsuzf/IJaIXw6Od/qYsz6wA/PPoRdkrl w8GFLvbssa2hvjHqW115w/a0cfHd6i/nF4QXD7iD9PdM6sWXMhHF7Y2NPYmZArESsNdPLK0K/ y4ACr6Fdf7w8pDwDrDoLN1Wk/0+bmAKABOuGXrtgkMAOB+JRp8A2YDe9tWQlw0lWq8oOIKca5 bmtmO2+fx1Sv5IDMKofciUcW8CwYhc2ipw2yK0ICe2YGMD5+F028QP4Mu8QvFmUXng7UYNFN3 d4JWTyG
Archived-At: <https://mailarchive.ietf.org/arch/msg/xml2rfc/IKBKATMK2JU-ylH6EJuGfz58aGE>
Subject: Re: [xml2rfc] Page break controls (Was:#311 (Version 2 cli): ability to suppress author org on first page)
X-BeenThere: xml2rfc@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: <xml2rfc.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/xml2rfc>, <mailto:xml2rfc-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/xml2rfc/>
List-Post: <mailto:xml2rfc@ietf.org>
List-Help: <mailto:xml2rfc-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/xml2rfc>, <mailto:xml2rfc-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 31 May 2017 16:43:35 -0000

On 2017-05-31 17:53, Henrik Levkowetz wrote:
> Hi Julian,
> 
> On 2017-05-31 16:31, Julian Reschke wrote:
>> On 2017-05-31 16:08, Henrik Levkowetz wrote:
>>> Hi Julian,
>>>
>>> On 2017-05-30 15:42, xml2rfc issue tracker wrote:
>>>> #311: ability to suppress author org on first page
>>>>
>>>>
>>>> Comment (by julian.reschke@gmx.de):
>>>>
>>>>    I may sound like a broken record, but still...: we shouldn't add new
>>>>    functionality to PIs, in particular *not* when asked by the production
>>>>    center. If this is required functionality, it *has* to be added as a new
>>>>    v3 feature.
>>>
>>> Changing the subject a bit, triggered by the comment above and recent
>>> experience:
>>>
>>> So, I don't see any consideration given in v3 to how to better control
>>> orphans, widows, and page breaks.  That's an area where either better
>>> PIs or vocabulary support would be needed.  With the current official
>>> PIs there's no way to ask for a page break before the ToC, and the way
>>> to ask for a page break before a section or paragraph is very obscure.
>>>
>>> I don't personally really care whether it's done via PIs or vocabulary
>>> options, but I do care about having it.  I suspect that there are people
>>> who very much would like to get rid of the PIs -- well, in that case,
>>> I think it's necessary to provide knobs in the vocabulary which does
>>> what's needed.  Just ignoring page breaking isn't an option if we want
>>> to produce PDFs and paginated text that looks good.
>>> ...
>>
>> We had epic discussions about this topic, and IMHO the general feeling
>> was that paginated output really isn't that important.
> 
> I think the design group needs to accept that there are other people with
> legitimate needs which ask for this.  It really doesn't matter if you as
> a user don't see it as important, if there are users of the tool who does ...

Well, the audience in this context really was the RFC production center, 
FWIW.

>> Even the
>> attribute you're referring to didn't get a real consensus.
>>
>> Why would we ever want to control whether the ToC starts on a new page
>> or not? (yes, that's a serious question).
> 
> Because the ToC might fit on one page, and doing a page break before it
> would give a much nicer reader experience than getting a break in the
> middle of the ToC, when that can be avoided.

Then a formatter should just do that automatically. Why does it need a 
hint for that?

>>> (When I was poking at the IAB no-author-org-names-on-front-page issue,
>>> I used the draft xml for RFC 7754 as a test case, and wanted to see if
>>> I could make the xml2rfc output look exactly as the published RFC.  In
>>> order to do that, I had to insert <?rfc needLines="-1" ?> in a number
>>> of places, and also introduce a new PI "tocpagebreak" to trigger the
>>> needed page break before the Table of Contents.  Needing manual insertion
>>> of page break points because there are no proper orphan and widow controls
>>> is sad.  I don't see why we should not provide tools which will let the
>>> RFC Production Center staff easily produce documents that actually look
>>> the way they think they should look ...)
>>
>> Apparently you're looking at this from a different angle than I do. My
>> proposal is to entirely get rid of the "we control vertical whitespace"
>> topic. It's - again IMHO - an entire waste of time.
> 
> But then, as a user you're perfectly free to not care, and not use it --
> but you're blocking people who care from being able to write tooling which
> treats this right, when you refuse to listen to the request to include
> support for this.

If you feel strongly about this, raise tickets.

> The result will of course be that since there's no vocabulary support, there
> will be PIs (which I think you want to avoid).

And per RFC, these PIs will have zero effect on the final RFC production 
as they get removed by the preptool.

>> Yes, the defaults should be sensible - thus, under normal conditions, we
>> shouldn't see orphans or windows anyway.
> 
> There are defaults, which are set for 2 lines on each side of the page break.
> And for RFC 7754 the RFC-Editor staff seems to have done post-processing
> which instead used a value of 3.  3 is a perfectly legitimate choice, which
> cannot be provided by today's xml2rfc.

Why do we need to support both? Seriously? Isn't it a goal to have a 
consistent look for all RFCs?

Best regards, Julian