From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/99107 Path: news.gmane.org!.POSTED!not-for-mail From: Christoph Reller Newsgroups: gmane.comp.tex.context Subject: Re: Caption location in floatcombination Date: Mon, 18 Sep 2017 05:19:38 +0000 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5285991752198413873==" X-Trace: blaine.gmane.org 1505712023 25119 195.159.176.226 (18 Sep 2017 05:20:23 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 18 Sep 2017 05:20:23 +0000 (UTC) To: ntg-context Original-X-From: ntg-context-bounces@ntg.nl Mon Sep 18 07:20:18 2017 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dtoTh-0006Fx-IH for gctc-ntg-context-518@m.gmane.org; Mon, 18 Sep 2017 07:20:17 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 9A65F888C8; Mon, 18 Sep 2017 07:20:02 +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 2NGsqzI5L07j; Mon, 18 Sep 2017 07:20:01 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 34B68888C2; Mon, 18 Sep 2017 07:20:01 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id D341B888C2 for ; Mon, 18 Sep 2017 07:20:00 +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 7beTzL2Xtk-M for ; Mon, 18 Sep 2017 07:20:00 +0200 (CEST) Original-Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com [74.125.82.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 3D950888BF for ; Mon, 18 Sep 2017 07:19:49 +0200 (CEST) Original-Received: by mail-wm0-f52.google.com with SMTP id v142so18972222wmv.5 for ; Sun, 17 Sep 2017 22:19:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=xxKaGu/hPigYBPkK2M8l7r7GqsFUUI8XuJicdEf46XY=; b=RYN8s3B0YP11bgoXqYdElcgp6eY6zlJe3bzMmm/Qxhuh3AIHIgLthC2kCuDz6wZlZl 9zQz7AIms8uBqxu3CdpGAgefPweeyGfpymxUOAoQ2MFGrvvFbkKGP7wxOGXIgpEqMGAj NG0zb2LJ+xWTxx9cfV8P1V+V+f97X0xEGWtI7W9Yq7BukTaUwejDMR7DobEymOImYBbo yjFgoU6La2mz1diDTs92SdLovKkIt3tOrnt/OWANb7f9RjfuOmcjpWdn7gHi5XG+dwQ/ b4vxDT2wbUcAq9c3TVIAD2QgLzPi13p0Xbm8iYR0oxNKfHifUJLxwwROof8Sb6NpeSKT xADA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=xxKaGu/hPigYBPkK2M8l7r7GqsFUUI8XuJicdEf46XY=; b=ukhSLMQO+4hr36SLM6vCECQVaA28/fiDCYiGiIy4+9sPCum9F0Kbjpsu82M+mq9bl8 Udl4AdFLCoTdi+M+rGhsMagH2lftH+U98UedFGo28vv8/owNrV3F6r3dYuBXz68AfhSW GJ90YZ2oGFAxo773nbJJRDuKi62nx8brTy2JQJPL/hVb7U8jUJZuFzQuMAu53EhqGSmq xETi8o5ZTtjmyvwVtrX7LV1oWrPunjhfusnRfrG1sQ6CdX6D3TViMPJ4QSt+FOzsatdt 8UZ3lhscdPBVkeTWDApa27SomEdVXLxTdGGrWtOYrbsqRldKGl5Td1DqL1RwlTIx++/3 1LLg== X-Gm-Message-State: AHPjjUi7CQloDuvMlCMMu2i05uyJ/iXTXvtP5lSiYtqg/kRy0jazpi3o 5p3y3nEyJlEGnQrl5fpRppmi2cneujhnZvRes/U= X-Google-Smtp-Source: AOwi7QDjsZE3cpC0qDNDJoyIuvmnNN1c4sOqJmmazuQn1HymLXX2Ljsmxi1+sHLjDG3Co4C5v6Kf1i7F9HXuYXAaJLI= X-Received: by 10.80.166.145 with SMTP id e17mr15635158edc.51.1505711988987; Sun, 17 Sep 2017 22:19:48 -0700 (PDT) In-Reply-To: X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 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.org gmane.comp.tex.context:99107 Archived-At: --===============5285991752198413873== Content-Type: multipart/alternative; boundary="94eb2c1978ce3cda4e05596fe4d2" --94eb2c1978ce3cda4e05596fe4d2 Content-Type: text/plain; charset="UTF-8" On Sun, Sep 17, 2017 at 6:03 PM Hans Hagen wrote: > On 9/13/2017 8:30 AM, Christoph Reller wrote: > > Hi, > > > > It seems to me that the location given to \setupcaptions is not honored > > correctly in floatcombinations anymore. Consider the following MWE: > > > > \setupcaptions[location=top, number=no] > > \starttext > > \placetable[][]{One}{ > > \bTABLE \bTR \bTD First \eTD \eTR \eTABLE} > > \placefloat[][]{}{ > > \startfloatcombination > > \placetable[][]{Two}{ > > \bTABLE \bTR \bTD Second \eTD \eTR \eTABLE} > > \stopfloatcombination} > > \stoptext > > > > In earlier versions of ConTeXt, both captions "One" and "Two" of both > > tables are rendered above the respective table. In the currently latest > > version, the caption "Two" is rendered below the table. Is this a bug or > > do I have to setup caption location separately for floatcombinations? > > > > Any feedback is welcome.\setupcaptions[location=top,number=no] > > \starttext > > \placetable{TABLE}{\bTABLE \bTR \bTD First \eTD \eTR \eTABLE} > > \placefloat{FLOAT}{% > \startfloatcombination > \placetable{Two}{\bTABLE \bTR \bTD Second \eTD \eTR \eTABLE} > \placetable{Two}{\bTABLE \bTR \bTD Second \eTD \eTR \eTABLE} > \stopfloatcombination > } > \stoptext Thank you for your input, Hans! I see that the captions "TABLE" and "FLOAT" are placed on top while the captions "Two" and "Two" are placed on the bottom. Is there a way to setup the locations of the captions of floats within a floatcombination? In this particular example, the goal is, that the captions "Two" and "Two" are placed on top of the respective tables. Cheers, Christoph --94eb2c1978ce3cda4e05596fe4d2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sun, Sep 17= , 2017 at 6:03 PM Hans Hagen <pragma@wx= s.nl> wrote:
On 9/13/2017 8:= 30 AM, Christoph Reller wrote:
> Hi,
>
> It seems to me that the location given to \setupcaptions is not honore= d
> correctly in floatcombinations anymore. Consider the following MWE: >
> \setupcaptions[location=3Dtop, number=3Dno]
> \starttext
> \placetable[][]{One}{
>=C2=A0 =C2=A0 \bTABLE \bTR \bTD First \eTD \eTR \eTABLE}
> \placefloat[][]{}{
>=C2=A0 =C2=A0 \startfloatcombination
>=C2=A0 =C2=A0 =C2=A0 \placetable[][]{Two}{
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 \bTABLE \bTR \bTD Second \eTD \eTR \eTABLE}=
>=C2=A0 =C2=A0 \stopfloatcombination}
> \stoptext
>
> In earlier versions of ConTeXt, both captions "One" and &quo= t;Two" of both
> tables are rendered above the respective table. In the currently lates= t
> version, the caption "Two" is rendered below the table. Is t= his a bug or
> do I have to setup caption location separately for floatcombinations?<= br> >
> Any feedback is welcome.\setupcaptions[location=3Dtop,number=3Dno]

\starttext

\placetable{TABLE}{\bTABLE \bTR \bTD First \eTD \eTR \eTABLE}

\placefloat{FLOAT}{%
=C2=A0 =C2=A0\startfloatcombination
=C2=A0 =C2=A0 =C2=A0\placetable{Two}{\bTABLE \bTR \bTD Second \eTD \eTR \eT= ABLE}
=C2=A0 =C2=A0 =C2=A0\placetable{Two}{\bTABLE \bTR \bTD Second \eTD \eTR \eT= ABLE}
=C2=A0 =C2=A0\stopfloatcombination
}
\stoptext
=C2=A0
Thank you for your input, Hans!=

I see that the captions "TABLE" and &qu= ot;FLOAT" are placed on top while the captions "Two" and &qu= ot;Two" are placed on the bottom. Is there a way to setup the location= s of the captions of floats within a floatcombination? In this particular e= xample, the goal is, that the captions "Two" and "Two" = are placed on top of the respective tables.

Cheers= ,
Christoph

--94eb2c1978ce3cda4e05596fe4d2-- --===============5285991752198413873== 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 X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f --===============5285991752198413873==--