Re: [xml2rfc] Page break before large <artwork>/<sourcecode> element

Julian Reschke <julian.reschke@gmx.de> Fri, 02 April 2021 14:23 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 0835F3A186C for <xml2rfc@ietfa.amsl.com>; Fri, 2 Apr 2021 07:23:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.919
X-Spam-Level:
X-Spam-Status: No, score=-1.919 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.01, RCVD_IN_MSPIKE_WL=-0.01, 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 Gtz9SDRKSsFJ for <xml2rfc@ietfa.amsl.com>; Fri, 2 Apr 2021 07:22:54 -0700 (PDT)
Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) (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 F35933A186B for <xml2rfc@ietf.org>; Fri, 2 Apr 2021 07:22:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1617373368; bh=vNSIuo5i91aflZRZci2tbq3jM8gxlQaxcHhPJlfxGtE=; h=X-UI-Sender-Class:Subject:To:References:From:Date:In-Reply-To; b=dhVYKSsMTDKjz8pXeVIBd4sBT9hK179JIJHwQlHiZ/4v5oMZKeZ+NeHfMPCuZwYBl iWFfREJ1qEvOaCQT+BQImDz0WMejYhxbdufHC7L+XA47GVKkHwGTUlaURiIb9jrSgF bIrEAgLi/w8P0+1LYU8XXUFzc4PRnv7NiTrWJwec=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from [192.168.178.20] ([91.61.60.197]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MVeI2-1l0sDE3NCu-00RZaA for <xml2rfc@ietf.org>; Fri, 02 Apr 2021 16:22:48 +0200
To: xml2rfc@ietf.org
References: <005001d727aa$4a3f1250$debd36f0$@gwerder.net>
From: Julian Reschke <julian.reschke@gmx.de>
Message-ID: <f754d0e0-7afe-522c-cc70-a69d7fd7e043@gmx.de>
Date: Fri, 2 Apr 2021 16:22:47 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.9.0
MIME-Version: 1.0
In-Reply-To: <005001d727aa$4a3f1250$debd36f0$@gwerder.net>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:VPOpG0M/9zKhwSAv1Cq8d4/tCI32U1K49TCfFOsaQ78hVpTvyH0 a8yCByHXFcT57Fws9stGzExfx1im4rulpKzwus6uwxf2/YDjYuNuxvD+ACh+UOZilL0KDMq X9nnpEwTWXJHL/xqLqo8/FzdZHZ55qhtoWCPGM45BucgEvs+fgWwqqdDheUnPJUi5Fj6oxI +f0OIZfsg8T3C7cLD7fHw==
X-UI-Out-Filterresults: notjunk:1;V03:K0:E2NOhuZPadQ=:8oSCR1o6/+wYEIx4olyqWc PylLOi1fm3Yv8X3tN1GWqe0fr0VghsUz+FXSUXdy0O2nyxckB9/jKRKlg21Xolkhm8J5f6wJg pH6z7YNqBhcqgFkc7vquKCMzycEun2usQX6cRcSkWMAaOhcSgpuC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MQ8oX+7Zx/WGHZN fWhw4QVuwEFXOsBew
Archived-At: <https://mailarchive.ietf.org/arch/msg/xml2rfc/-zP5dG9vGd-wDe7EyWb6PDZOWnM>
Subject: Re: [xml2rfc] Page break before large <artwork>/<sourcecode> element
X-BeenThere: xml2rfc@ietf.org
X-Mailman-Version: 2.1.29
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: Fri, 02 Apr 2021 14:23:00 -0000

Am 02.04.2021 um 12:23 schrieb Martin Gwerder:
> Hi all
>
> Is anyone aware of a way to suppress the page break before a large
> artwork/sourcecode element when using the pdf renderer?
>
> I do not think that it is a bug in principal but maybe something of the
> category “not nice”. The renderer seems to work by the logic “if does
> not fit on the current page then insert page break”. In my eyes it
> should be “if not fit on the current page AND ELEMENT IS SMALLER THAN A
> PAGE then insert page break”. In my eyes it should be considered as a
> future improvement. At the moment I would be very happy with a attribute
> that allows me to suppress the initial page break at the beginning of an
> artwork/sourcecode or any comparable workaround. Anyone aware of such a
> thing?

That sounds like an actual bug, and I would report it at
<https://trac.tools.ietf.org/tools/xml2rfc/trac/newticket>.

Best regards, Julian