[rfc-i] An attempt to summarize the "page numbers in ToC" situation

Julian Reschke <julian.reschke@gmx.de> Wed, 28 October 2020 11:07 UTC

Return-Path: <rfc-interest-bounces@rfc-editor.org>
X-Original-To: ietfarch-rfc-interest-archive@ietfa.amsl.com
Delivered-To: ietfarch-rfc-interest-archive@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9BD423A0AD6; Wed, 28 Oct 2020 04:07:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.199
X-Spam-Level:
X-Spam-Status: No, score=-2.199 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, MAILING_LIST_MULTI=-1, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=fail (1024-bit key) reason="fail (message has been altered)" header.d=gmx.net
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 4nrVKJzRQ9vF; Wed, 28 Oct 2020 04:07:16 -0700 (PDT)
Received: from rfc-editor.org (rfc-editor.org [4.31.198.49]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BAFA63A0AD3; Wed, 28 Oct 2020 04:07:16 -0700 (PDT)
Received: from rfcpa.amsl.com (localhost [IPv6:::1]) by rfc-editor.org (Postfix) with ESMTP id 0DEF5F40717; Wed, 28 Oct 2020 04:07:02 -0700 (PDT)
X-Original-To: rfc-interest@rfc-editor.org
Delivered-To: rfc-interest@rfc-editor.org
Received: from localhost (localhost [127.0.0.1]) by rfc-editor.org (Postfix) with ESMTP id 044B1F40717 for <rfc-interest@rfc-editor.org>; Wed, 28 Oct 2020 04:07:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at rfc-editor.org
Authentication-Results: rfcpa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=gmx.net
Received: from rfc-editor.org ([127.0.0.1]) by localhost (rfcpa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ldiafvs1Pk7w for <rfc-interest@rfc-editor.org>; Wed, 28 Oct 2020 04:06:56 -0700 (PDT)
Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) by rfc-editor.org (Postfix) with ESMTPS id 62A6BF40715 for <rfc-interest@rfc-editor.org>; Wed, 28 Oct 2020 04:06:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1603883226; bh=fCTIYCuytp0ol15FjTp9blrZMhKGfFC2ICuSHPJS5Xg=; h=X-UI-Sender-Class:Subject:To:References:From:Date:In-Reply-To; b=kLHm1klK5psDeLDLR8q2kJBKvFyjsA4w1Z9PEgOhZDwhdJbz7U3v8PLJFgVcluBMr DqCoBn1TKCNsJCQUfpb8OjFGjqshPIrZIVHTSOi5ixreKIcLPFXXTi7z1YeLaYTdqr IYz6FPpE2AV9Hkb6TqzWiPgBRLPi36FeUndaOAl0=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from [192.168.1.236] ([217.91.35.233]) by mail.gmx.com (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MTABZ-1kxHhV2gBj-00UWhT for <rfc-interest@rfc-editor.org>; Wed, 28 Oct 2020 12:07:06 +0100
To: rfc-interest@rfc-editor.org
References: <20201026020433.GA19475@faui48f.informatik.uni-erlangen.de> <CADaq8je8gMwAkOndTNJ9ndwzOZb2HQMZrCUJ5wNUjw-6ax9QtA@mail.gmail.com>
From: Julian Reschke <julian.reschke@gmx.de>
Message-ID: <219861c7-9deb-cce8-d832-5cb64f34d391@gmx.de>
Date: Wed, 28 Oct 2020 12:07:06 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0
MIME-Version: 1.0
In-Reply-To: <CADaq8je8gMwAkOndTNJ9ndwzOZb2HQMZrCUJ5wNUjw-6ax9QtA@mail.gmail.com>
X-Provags-ID: V03:K1:qDSOgYAvXobB807Pe1ujOfVu0d611xSlmAZ7Znppm1jCfSz6Se3 JcRYJcS9g1bfYz/EzzOaNonTRK9PKUrsDs2QU0Ipo+PNPXA3hejZnjf1dkskm1q4kFc6yI/ DyN4gf/RsvKU2dYJMni3ediXqB/YvpTCLuRMmNBnL0ENecL1J9DzZ1QcjlMGXFcwKNW0rGM O1Hj2nFkAvNs5IOCkOCwA==
X-UI-Out-Filterresults: notjunk:1;V03:K0:Jj2Fwr1TTd8=:jxiol1P4kghu+SitSfSaAU 76Dw91tVwFBQqdDwxrKzuMQfwLHbwe1ZIcm7kKq/eLEyVYrH8eEO6mBYS9T7MG91dpxHR6e1O qNpkfCfxfaItk5gNfcKbcxe3Zv/vce9GDqEKUG1788HwoiJsNXMMDZtPjB1Ck/P5/4FkFz9jP DBeYC2eEY5Wfj9DxVxVGiEirwZAIScZFFN36OBJuoJdVAF1c4mSmWslga/Y1vXIyyCYnsH2zY qbeEK+iPOSzKZh4d/JBwJHl7vzc35OQKbjRR82fjY8Ut5qdsnBhat4Cv7yiMRfE30B9ZqnOsY PR6umDTuqGk1Emfu7AaqKNa2BSEzsHsX7N+sikNDQmwGzk8+K1cLa7EWEifwtlGk7YvY6oHaP ga+mPYcu9AX+VE61vlvAaqjJpnKtQ0996FKDNnZx4eb6SKGUdApWrTk70ZbIPM/VbqQigHtA3 KWlMNzgusdSEwFq3/Dic0QabGgTriwLPLWRJUPDhaQ28p+9njSWNMgnSzFpEoifRybJjNb5M7 tQq4fb9nUL0idkJa9u/O7ltMj7KxtgV85c4G+t6bpmFP0jUvztI/BKAAXmdp9fyV4sAVzMcSC PVYR/vJR5FsBDoP61IabuOBOYVPRVxU5NhhW8HeU1fASC+qzWdzGHRuFB1VftjNVLUkiO5zUr /I6Ut7KscO/TAiyMqW07NAQXH78q3mO+CeCFru5te9+6vJaXKQnX6b81nmAEbNM2QUkNsNgWM /TDECC8/URWTVNvm4AeAr8gXh1J0i/naVKqXtkkjtweexLFsY8qdJoappIinfJvGN2U6mSBjh cMjNtHfAm3tr3y3CCjfW0dPm/9SO69wrFSa0mcrqrAOHxpkyj8v3SENIjgrPO0xKBW1r87dOK SNX9zPg28ZfzwzBDB2eA==
Subject: [rfc-i] An attempt to summarize the "page numbers in ToC" situation
X-BeenThere: rfc-interest@rfc-editor.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "A list for discussion of the RFC series and RFC Editor functions." <rfc-interest.rfc-editor.org>
List-Unsubscribe: <https://www.rfc-editor.org/mailman/options/rfc-interest>, <mailto:rfc-interest-request@rfc-editor.org?subject=unsubscribe>
List-Archive: <http://www.rfc-editor.org/pipermail/rfc-interest/>
List-Post: <mailto:rfc-interest@rfc-editor.org>
List-Help: <mailto:rfc-interest-request@rfc-editor.org?subject=help>
List-Subscribe: <https://www.rfc-editor.org/mailman/listinfo/rfc-interest>, <mailto:rfc-interest-request@rfc-editor.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Errors-To: rfc-interest-bounces@rfc-editor.org
Sender: rfc-interest <rfc-interest-bounces@rfc-editor.org>

Hi there.

So the RPC currently produces three output formats:


1) Plain text

Plain text is not paginated, and that's intentional.

Paginated output in xml2rfc is supported, but turned off by default when
producing RFCs.


2) PDF

PDF is paginated, but currently lacks page numbers in the ToC. I
consider this a defect, and opened
<https://trac.tools.ietf.org/tools/xml2rfc/trac/ticket/558>.


3) HTML

HTML can be paginated, for instance when printed. There is CSS support
for controlling headers and footers, and generating page numbers.
Unfortunately, this is not supported by browsers (when printing HTML),
but there *are* tools implementing this.

rfc2629.xslt has supported this for ages, and I believe xml2rfc should
do so as well. Enhancement request:
<https://trac.tools.ietf.org/tools/xml2rfc/trac/ticket/559>.


I believe there is consensus that page numbers can not be used to refer
to parts of an RFC. xml2rfc generates stable paragraph/table/figure
anchors both in HTML and PDF (see, for instance
<https://www.rfc-editor.org/rfc/rfc8905.pdf#section-6-2> and
<https://www.rfc-editor.org/rfc/rfc8905.html#section-6-2>).

Page numbers are indeed useful when something *is* printed. Given the
fact that plain text does not support SVG, I would argue that PDF (or
HTML, with the improvement above) are better suited for printing, so
there really is no compelling reason to change the publishing default
for plain text (well, maybe except to prove that page numbers are
unstable, because they would differ between plain text and PDF).

Best regards, Julian


_______________________________________________
rfc-interest mailing list
rfc-interest@rfc-editor.org
https://www.rfc-editor.org/mailman/listinfo/rfc-interest