From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/113407 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Adam Reviczky via ntg-context Newsgroups: gmane.comp.tex.context Subject: Paragraph break over pages with hanging float Date: Mon, 15 Nov 2021 05:26:02 +0000 Message-ID: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4695950801934107550==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36021"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Adam Reviczky To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Nov 15 06:29:50 2021 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mmUYv-00098F-S9 for gctc-ntg-context-518@m.gmane-mx.org; Mon, 15 Nov 2021 06:29:49 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 51EE228931D; Mon, 15 Nov 2021 06:26:17 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JSiwJn9BBmaE; Mon, 15 Nov 2021 06:26:16 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 28A1E28931E; Mon, 15 Nov 2021 06:26:16 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id AB196289318 for ; Mon, 15 Nov 2021 06:26:14 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tdh70RHNId1w for ; Mon, 15 Nov 2021 06:26:13 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.208.46; helo=mail-ed1-f46.google.com; envelope-from=reviczky@gmail.com; receiver= Original-Received: from mail-ed1-f46.google.com (mail-ed1-f46.google.com [209.85.208.46]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id AAEED288DC3 for ; Mon, 15 Nov 2021 06:26:13 +0100 (CET) Original-Received: by mail-ed1-f46.google.com with SMTP id g14so2834845edb.8 for ; Sun, 14 Nov 2021 21:26:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=eZPjBxMtMCOGe3eXB3pxqP3hqTmuOuGbkwPgxCh06Wo=; b=Upzvon6HaF4lBrGFSjUjRsE7VJBG10BRgBaHTQRQzlHOyoUxYAbJ2/ea73t3C1x7SF NVzU+M6LGnrmy8ZbA95N76JVQl7ai6SoEr9MpLUsn7IldIhP8XOaSo002lLIVduP6+bT PuLnIlTe2jCbSOBQGyDgx7n8lKvzj44UfqRUprF5tg6KASqpsw7OwzwzEiN6oEoD5P/j tW2zRmGlSiNj8fm6SQXQiwwJe6KmZfe6eIF+R9NBrCrLgCE+uyK0UqCsWcHD8YbOqHpg ZOG+FRKURSyEM9YZxE4d0Gthtf51H4PUvELpt/tgy7grN4Jres9Xeb4DtAQSWjyjB/bj eOAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=eZPjBxMtMCOGe3eXB3pxqP3hqTmuOuGbkwPgxCh06Wo=; b=30n9NNHJzNanGsCNrzkwqbszyg6/5VqIlCht5DfjCZYpfA7yhmm6rJrTNxZXS3ATDT p+rNvlP+uFhmp4CFNrrL/lz56jt5y4eQsuF5jQZqyRUNYus3/dZFIurvTgGB6cjegAVh 7iCj2LVjPsla2j0TH9oxOyvZPOIa+4mfqqm2D/zxAZvksfWCgQPPvezaXe1nUdY7M5Gp 0LRqbaqy41S8SZBVEzRrN0EkzETgMgRHhP3/3SIVms492OnGnaoEpPodcoP4FY4ZidSN LtDObJgkBIcYvUktYkzfovl6bkKMVlHaIuZUjSQz6qzRJjuyXVdtYDjobfdsTgwkbcXu aIVQ== X-Gm-Message-State: AOAM530gAEXdjKJIfublceuP5Cm5sAm+k9aS5OGQcIxluuG2RTp3er5H DdZfzvAQRKJESDtmJ1M9o4obtElM2XYnsaa2RXq+YAgD8UG0ow== X-Google-Smtp-Source: ABdhPJxbtGC+gjuDgvjgYA6nAE5VvWukmg4QlmW78D/w0E3lQhz052M/TnsHtqeP8Y4Gpojjw7Bb+UjNrXxb+TJrS3Q= X-Received: by 2002:a17:906:7ccf:: with SMTP id h15mr45881230ejp.386.1636953973011; Sun, 14 Nov 2021 21:26:13 -0800 (PST) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.io gmane.comp.tex.context:113407 Archived-At: --===============4695950801934107550== Content-Type: multipart/alternative; boundary="0000000000001337c105d0cd0c4b" --0000000000001337c105d0cd0c4b Content-Type: text/plain; charset="UTF-8" Hi, Is there a way to allow a paragraph to break over two pages (between the paragraph start and the placement of the float) with a hanging float further down the paragraph? MWE: \starttext \input lorem \blank[20*line] % commenting out the hanging float allows paragraph break \startplacefigure[location={right,15*hang}] \framed[width=3cm,height=2cm]{graphic} \stopplacefigure \dorecurse{10}{\input lorem} \stoptext When I remove the hanging float, the paragraph is broken down at the first pagebreak. With the float, the paragraph starts always on the next page, regardless of the space left on the previous page. Adam --0000000000001337c105d0cd0c4b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

Is there a way to allow = a paragraph to break over two pages (between the paragraph start and the pl= acement of the float) with a hanging float further down the paragraph?

MWE:

\starttext\input lorem
\blank[20*line]

% commenting out the hanging float = allows paragraph break
\startplacefigure[location=3D{right,15*hang}]
= \framed[width=3D3cm,height=3D2cm]{graphic}
\stopplacefigure

\dore= curse{10}{\input lorem}
\stoptext

When I remove= the hanging float, the paragraph is broken down at the first pagebreak.
With the float, the paragraph starts always on the next page, regar= dless of the space left on the previous page.

Adam=
--0000000000001337c105d0cd0c4b-- --===============4695950801934107550== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============4695950801934107550==--