From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/108648 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mikael Sundqvist Newsgroups: gmane.comp.tex.context Subject: Force bottom float to be at the bottom Date: Mon, 7 Sep 2020 14:08:08 +0200 Message-ID: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4417634786543355193==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37586"; mail-complaints-to="usenet@ciao.gmane.io" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Sep 07 14:08:55 2020 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 1kFFx8-0009gW-Nu for gctc-ntg-context-518@m.gmane-mx.org; Mon, 07 Sep 2020 14:08:54 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id E3B251A8916; Mon, 7 Sep 2020 14:08:38 +0200 (CEST) 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 UIKGGSD8h-qI; Mon, 7 Sep 2020 14:08:38 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 00E341A8BBF; Mon, 7 Sep 2020 14:08:38 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 29CA31A8916 for ; Mon, 7 Sep 2020 14:08:37 +0200 (CEST) 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 vLcbSDiwoU5N for ; Mon, 7 Sep 2020 14:08:36 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.222.172; helo=mail-qk1-f172.google.com; envelope-from=mickep@gmail.com; receiver= Original-Received: from mail-qk1-f172.google.com (mail-qk1-f172.google.com [209.85.222.172]) (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 75D411A7958 for ; Mon, 7 Sep 2020 14:08:36 +0200 (CEST) Original-Received: by mail-qk1-f172.google.com with SMTP id p4so12489778qkf.0 for ; Mon, 07 Sep 2020 05:08:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=4fCP1U4kDTgtl1KbKU56bjJR+hnxNOkCFF3rVGk496g=; b=WNXiJEWGkf69EOps0BHO4HR0yZngHZBUhg4i/G0lR1ZPA8BUcPla/QcYsKjPwrK9tQ WQEtr7NemiGn6f9/4S995Or8q8QBVFA/p9d82gYPJ2PN6Y+6WplwJoCs3joHquh+7lhN OomXDaPZIkBYXINDh/jqr8FC7ZSX2Rlz5WjaZwtfg4N9Q0R4NF+bO15O4j+fvZvA4IFp OaPFzkfWwXDkmvoyo32A9DjB5YruRQC2nXYwkOmT69EpySWwpoJLda/E6ocRvshHbF2M kyqP0FLz+WCIK/w11qK6qNhDvd8lJ+mBB6QXRj/H0aIeF0nYVsKBeFN+cs02ah1UeGSO B9RQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=4fCP1U4kDTgtl1KbKU56bjJR+hnxNOkCFF3rVGk496g=; b=Jg1Xq0zr+qFJNnhkqZ8tj6+k1LibHTIefvmW2fXt9+vx/AdekxWwvw/E58rHqvrczs Hh5EPYkMj8v6ZpEM06jwm2zqL+zTUehIKuMj8aaXxJFO22gmcF25xylyf0iQOv6CJb1W +OK7scAhkq4gsnU4MkUQ4QRaac4UfyPfJEP9fN0s7hmczG2zprbhTlmBiWytTWPFfhay PjHgEBgEbR711rUpl87dcXFpRVKnxAksDVrKSrXRwc3FXrgMRMU9RiAD+KC2JuQozzpr 8s1svaficTad/Y8MNmoig+io1szuxQrLX6Mka874IH+woogiRVq3DN5SSg7qmFJtTZ10 H6qQ== X-Gm-Message-State: AOAM5327H/VxTmmGETQ/npFWWZQmboXmNFX5kYNCdwVzokugPmqzk8WD WzWdTvTks2VN9cS8gFPCkzUg2/oBc5Oztth52gT7HxLj6Y85/g== X-Google-Smtp-Source: ABdhPJwd+o2D6U1zqarxNu10vW8XCV2shjW84h1Oavh+q0ff+P//t+cj4io0tOW2QbybF4unPuOS52o/TFJb+2wwyW8= X-Received: by 2002:a37:606:: with SMTP id 6mr17476143qkg.177.1599480514409; Mon, 07 Sep 2020 05:08:34 -0700 (PDT) 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:108648 Archived-At: --===============4417634786543355193== Content-Type: multipart/alternative; boundary="000000000000e2f7ee05aeb81390" --000000000000e2f7ee05aeb81390 Content-Type: text/plain; charset="UTF-8" Hi, I'm defining a bottomfigure with default=bottom, but it does not always seem to work (example below). If the float does not fit on the page, it appears instead in the top of the next page. Can I force it to be in the bottom of the next page? That is, can I setup a float that is always at the bottom of the page? I hope what I ask makes sense. /Mikael \useMPlibrary[dum] \definefloat[bottomfigure][bottomfigures][figure] \setupfloat[bottomfigure][default=bottom] \starttext \dorecurse{4}{\samplefile{knuth}} \startplacebottomfigure \externalfigure[dummy][width=\textwidth] \stopplacebottomfigure \samplefile{knuth} \stoptext --000000000000e2f7ee05aeb81390 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

I'm defining a bottomfigure= =C2=A0with default=3Dbottom, but it does not always seem to work (example b= elow). If the float does not fit on the page, it appears instead in the top= of the next page. Can I force it to be in the bottom of the next page? Tha= t is, can I setup a float that is always at the bottom of the page? I hope = what I ask makes sense.

/Mikael

\useMPlibrary[dum]

\def= inefloat[bottomfigure][bottomfigures][figure]
\setupfloat[bottomfigure][default=3D<= /span>bottom]

\starttext
\dorecurse{4}{\samplefile{knuth}}

\st= artplacebottomfigure
\externalfigure[dummy][width=3D\textwidth<= /span>]
\stopplacebottomfigure

\samplefile{knuth}=
\stoptext<= /span>
--000000000000e2f7ee05aeb81390-- --===============4417634786543355193== 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== --===============4417634786543355193==--