Re: [Tools-discuss] Hyperlinks to sections/subsections in current RFC HTML format

Julian Reschke <julian.reschke@gmx.de> Wed, 16 June 2021 14:40 UTC

Return-Path: <julian.reschke@gmx.de>
X-Original-To: tools-discuss@ietfa.amsl.com
Delivered-To: tools-discuss@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DF37B3A1AF4 for <tools-discuss@ietfa.amsl.com>; Wed, 16 Jun 2021 07:40:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level:
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, NICE_REPLY_A=-0.001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) 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 yKCab9PCzlmI for <tools-discuss@ietfa.amsl.com>; Wed, 16 Jun 2021 07:40:03 -0700 (PDT)
Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3860E3A1AF2 for <tools-discuss@ietf.org>; Wed, 16 Jun 2021 07:40:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1623854397; bh=RrnLJDZgjoH5QFdsmH0uFBCtOcgMPpdcxtzCqUDR17Q=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=RAC7oJkyfz0eGtQve93HPkfB8kmg4cFZxFEEtUQCJEl/qMUA7nTttRBo+wjnB3pZj LgCC2DsnsqR7gl0bpl2K1t9T0BUTWpS9F1UpAnGX431lIpFYFaNqOjT0a0ngKHl8HV q/mFs3upXyZCxiK110I75Jgc8d3lcd3F3Q8mEG2c=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from [192.168.178.20] ([91.61.55.84]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1M42nY-1ltWhx27jE-0001gi; Wed, 16 Jun 2021 16:39:57 +0200
To: Toerless Eckert <tte@cs.fau.de>
Cc: tools-discuss@ietf.org
References: <20210616143133.GA12022@faui48e.informatik.uni-erlangen.de>
From: Julian Reschke <julian.reschke@gmx.de>
Message-ID: <fbe6adaf-9674-12b6-6251-ff428e8a373c@gmx.de>
Date: Wed, 16 Jun 2021 16:39:57 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0
MIME-Version: 1.0
In-Reply-To: <20210616143133.GA12022@faui48e.informatik.uni-erlangen.de>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:BLYxC3gia0qd1WddMzG/+GE9JR/kLA6gQ8pH8P0ihKc3TLM2Yf1 fmbCEsrZBo9OeOCp02IBApShynOq7yyCjRYQoZWOFTDwiZAZzoJ9s7YeUmjlmidTdHr2NDM DeeJCVb4W226A6mA/v+tYra9Ha7LX21qfhVOyYoo2wpZadV2GYSuzNvM4pkn5ASqFgnKH4w dcscs0ZQ2sMVZtwGL0AKw==
X-UI-Out-Filterresults: notjunk:1;V03:K0:G0a3WjaZGP0=:9t/TU9Q9WUxrZ91/1VS/QX rokDF9UqsLgstFR0oTx7JsFGESA2E2pgeDS45EJ4KOHPCkHpaFgkshWn6rXFEiUCnK3fDpAzV OLMl/uTN7WPv+wRjin9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/arch/msg/tools-discuss/P3TRYTYpg8qXNDc0WmjTOhr-yPw>
Subject: Re: [Tools-discuss] Hyperlinks to sections/subsections in current RFC HTML format
X-BeenThere: tools-discuss@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: IETF Tools Discussion <tools-discuss.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tools-discuss>, <mailto:tools-discuss-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tools-discuss/>
List-Post: <mailto:tools-discuss@ietf.org>
List-Help: <mailto:tools-discuss-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tools-discuss>, <mailto:tools-discuss-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 16 Jun 2021 14:40:09 -0000

Am 16.06.2021 um 16:31 schrieb Toerless Eckert:
> Thanks, Julian
>
> Alas, the answer makes me wonder even more:
>
> Where would i find an example of such an IETF draft/RFC rendered with CSS
> page media attributes ? AFAIK, the older drafts/RFC do not do that,
> instead they render page breaks explicitly. And the post-reform ones
> do no contain those media attributes, right ?

xml2rfc inserts some of these, but not all.

rfc2629.xslt does, however. Example HTML output:
<https://greenbytes.de/tech/webdav/rfc7991.html>

> Even if i had an appropriate attributed html file, i would still not
> be able to persuade a normal browser to render the html with pagination ??
> ...

You could switch to "print preview"; but then, most browsers do ignore
most of the "paged media" related CSS.

You really need a tool designed for printing/pdfing HTML, such as
PrinceXML or WeasyPrint.

(you may want to read
<https://greenbytes.de/tech/webdav/rfc2629xslt/rfc2629xslt.html#output.pdf.html>)

Best regards, Julian