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

Martin Gwerder <martin@gwerder.net> Fri, 02 April 2021 10:24 UTC

Return-Path: <martin@gwerder.net>
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 CA66F3A0C83 for <xml2rfc@ietfa.amsl.com>; Fri, 2 Apr 2021 03:24:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.199
X-Spam-Level:
X-Spam-Status: No, score=-0.199 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=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 (2048-bit key) header.d=gwerder.net header.b=F5dGFcVA; dkim=pass (2048-bit key) header.d=gwerder.net header.b=NeaPu1oj
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 uSjUlq58nthH for <xml2rfc@ietfa.amsl.com>; Fri, 2 Apr 2021 03:24:04 -0700 (PDT)
Received: from horus.gwerder.net (horus.gwerder.net [5.9.56.41]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 76D323A0C82 for <xml2rfc@ietf.org>; Fri, 2 Apr 2021 03:24:04 -0700 (PDT)
Received: from localhost (localhost.localdomain [127.0.0.1]) by horus.gwerder.net (Postfix) with ESMTP id BB117E27598 for <xml2rfc@ietf.org>; Fri, 2 Apr 2021 12:24:00 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gwerder.net; s=mail; t=1617359040; bh=6pzyba5W3GCS9MMCckPkvfFFT/OqoH3wtQerPyTmZbM=; h=From:To:Subject:Date:From; b=F5dGFcVAKcDfwUgCGUqZbYU7w+hXp7AvXOKGH+PyMBTbxHvp6372khQlwPf2MWwv4 pOc/94Y3c5kI8WR0QXXz1sBMWgY3/ELTn4vqlyoeS9oCmOyjgPEByraUr8heTXsGUh gv6yWbbdlkTby7NxiDNWKq0m6deAG2PAzwtKwowl4HrTFFELu8AZQJWEkwY2G/FWi1 4i/j21rEx8mc9FWlPkppXKTRME7yepJMAihV6mds52QJ9ec2xKNwMrUKgW4cp8Acy5 0xgPQHZBJA3g+mN7VWyHrsxMw4R7jAerEJWV1uDGd++5etSJ/ggNv1WK52vJ1I2K8t n1bZttQEC52Pw==
X-Virus-Scanned: Debian amavisd-new at gwerder.net
Received: from horus.gwerder.net ([127.0.0.1]) by localhost (mail.gwerder.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XQsGXMf9OOzO for <xml2rfc@ietf.org>; Fri, 2 Apr 2021 12:23:57 +0200 (CEST)
Received: from DESKTOPM6DVN34 (16.189.1.85.dynamic.wline.res.cust.swisscom.ch [85.1.189.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: mgwerder) by horus.gwerder.net (Postfix) with ESMTPSA id 3DED8E25232 for <xml2rfc@ietf.org>; Fri, 2 Apr 2021 12:23:57 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gwerder.net; s=mail; t=1617359037; bh=6pzyba5W3GCS9MMCckPkvfFFT/OqoH3wtQerPyTmZbM=; h=From:To:Subject:Date:From; b=NeaPu1ojAkqwLlQ98CPF6Y8au6G1RZmKfAncId8Ylb7YjZjZ9iuu8U2lpJFI3THgH 537JVksjvFJnsKt7+tkKI4HS3LLyzyXukw4cOs+z2qzZ2o8FnXg7b0mQKqfD1Qfmhj bnydQIJEzwJUhtMEP2Z8bdHfHFMilwHJpgIZ/rMetdv5D2Zb+3RLKQZ/Ao6xa9CPJb S9cDvm0Qg9owZMEjt2dvLX+D8tCAWPw6Sy2uJNcLZ0lKGXTeopY+FnZZwwjbowT11Q 0Y8mCgCBWb4OsK7EM2XzXyDBi5uCvK76XpEYWvagmq6pngPjsbN+sgLVnIz3duloVO pZ+JghP5dU9cw==
From: "Martin Gwerder" <martin@gwerder.net>
To: <xml2rfc@ietf.org>
Date: Fri, 2 Apr 2021 12:23:57 +0200
Message-ID: <005001d727aa$4a3f1250$debd36f0$@gwerder.net>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_0051_01D727BB.0DC83070"
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AdcnqUiBY1azunzYRgWSSkOAMbnkrw==
Content-Language: de-ch
Archived-At: <https://mailarchive.ietf.org/arch/msg/xml2rfc/1jxUBkoBWIPiVaiYKIjBLfG2d00>
Subject: [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 10:24:10 -0000

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?

 

Regards

Martin