From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/28823 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "T. Kurt Bond" Newsgroups: gmane.text.pandoc Subject: Re: I need tables in ConTeXt output to NOT float Date: Wed, 14 Jul 2021 21:00:29 -0400 Message-ID: References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000f3d27c05c71eff73" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26917"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDJYFKFHUYHRBOMRX2DQMGQEDYA3TFI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Jul 15 03:00:44 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oo1-f56.google.com ([209.85.161.56]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1m3pk3-0006q0-Vh for gtp-pandoc-discuss@m.gmane-mx.org; Thu, 15 Jul 2021 03:00:44 +0200 Original-Received: by mail-oo1-f56.google.com with SMTP id t19-20020a4ae4130000b029023950cb8d35sf3102820oov.6 for ; Wed, 14 Jul 2021 18:00:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1626310842; cv=pass; d=google.com; s=arc-20160816; b=Ot9nh2984o0yF5FG6HrOIcXNlCrcWulj16bsfpR4hC+D5Z1D9/cA3YLvBMq/j8rQTh rInL6MNFcJyz7koez52bHhBm3I+byEEoqEOEuh8I2NbxpVv9MuHBP8H695POcaDJNdhf yWhiV2NmmFZIZUmwV/S8L9qRj36rqmRUH3lkp80Zv5nMEP3qkYCD/xI2WFXV3Y0M1eK5 GX5idp3VYItBXxY35OEfZf2H7ufIar8B3ot+5RQZ8VbZtnrpQMDfI0jEEw/vwRO2t6Bp 3ryFlaBDzS0xOE7RSs1tQdD9vzZxh3FjwQsZSPLl7PxWmyW8JPQHmCmyr1TCAjOWZZPO mmuw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:to:subject:message-id:date :from:in-reply-to:references:mime-version:sender:dkim-signature :dkim-signature; bh=lmhwZQcaEHq6BTNv6KGoDMtQ4w6Iol/N8OyE2UBBhd0=; b=bzmuoofgG0bpQ5UaZcJr8L1tDJkTixNdoOYwWr7lSWilwqNlKLSO0b8rOXP1sEM+ma wm7ASGg4LZl9DXb5u6UVkVWATCZNgqKGYGzfDA8Z+thQNBKVfiOh8kiI7ha+gDTpUrxD BEB1ONVBw5Fu4ktg83h/2dl4ve6gp/u92wdtX2uyPlBAnm0PM/dyiThlskve0ISa0iUa igZ2nACi0Dzcb4ca2Tsfgu8Gew3//2j5OKBRbQDoc4uE7MA3HwuHfjcP9tL8plerTUlE VFOsoNZYIofYF+k1CbwiKhVnNOHVzazAwSvP/vJPbqugFisgWd8TE5+2u5z2+foGlSct 3zfg== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=gsodXfGV; spf=pass (google.com: domain of tkurtbond-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::d34 as permitted sender) smtp.mailfrom=tkurtbond-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:mime-version:references:in-reply-to:from:date:message-id :subject:to:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=lmhwZQcaEHq6BTNv6KGoDMtQ4w6Iol/N8OyE2UBBhd0=; b=fePQ23Ln/ZfGmHXnvUxxrV3BltyVjDrJUfS1sauZ+Nrkfc841SuG9k6kIVkmkCb76n ZJK89Fq8wfyQIoMGBJ8eLrTaERRwaxqWvb4leI3XtgMAXW82vJOzC9CGq71DkbkVfvBU Qff1cxize66z+HMQSUi+bqqyHt5/CsVztYzb0kCT5hvvb1IUzVXIo7zEFTaqLSGj6cW2 txrzK/SwoW5RO2rOFnpHIU0SHHvcPF+m/yb+G+69xWzqpCWvf6/xR5zpb9cFfyoTU3qP xYd6XNeOyv/Qa3+0GFMHWof5oauJwmBJ9f9wla9FlaudImFz+W3iG/rTvr4g7PyAN8CP w/tw== 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 :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=lmhwZQcaEHq6BTNv6KGoDMtQ4w6Iol/N8OyE2UBBhd0=; b=SGxqRJfSx7pGRFhhCNxON8k/KWK+DOr+SwWzcHB/zpIEMhKITo8up15Ap+8QcPExUe b4r6Qsy75zpuLsbOwk4XqHJ9UtQ4wLzT/kgDpAdbZ1rZdrGzLi0GzZNa+tB4rjc80vLx MnB83XL7nltwANEp4J2UPCq6kGkoArfCcOV0As5WuHqx0e+7AYS8m6z7wFDIHBf1pI7r uuPCY+0pOqbrkOHAKL+eAh8daFQbifRnP3tIlujFhbl85iESDi5CsV96fRAlZivgCz5u w/AjZeZUJPNgMziK8ZrOLfqUBft4qV9YAFqu6OmUf7YW3TkDiivdbXgTxWdBggbZTrzh t5Rw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:mime-version:references:in-reply-to:from :date:message-id:subject:to:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=lmhwZQcaEHq6BTNv6KGoDMtQ4w6Iol/N8OyE2UBBhd0=; b=AVxDSMVKHYe9stQsBuSWS5LD3YiRhhKOm9wLshmkOYbrQXcvEwAP8JVtlPKHvowNE2 nCFxWho/SoxEK11hu/OO7bjHH6GezY5if1xr4n1DR6zyN1UpWse0pccvdhvuLgBJ+vVV fFH73w5jT16rijS8c5dvKyFE4P1nXfS9LIqpH8voTILOvsBuw90/hMpB8cUzLHVDRocn ZWyEfx8wCz4Fc2LFhIZH2nnvkgSxgmV7BvoSF1Kqcwj1j5OCosj2tdskR+oTbdmPBoPv mRTicL1eW9pLOVnHSLFQ651fIPiDB56hUHdy28KzOINxGs43J4va941cPrv7X8wwuzTo Tr9w== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM533zYxdi5Tbs0tV1Wgp3LOh7hLSNaOpgWcsH0QxB3ocsM8fK8iIg P+z0x/CbprB7Qp2rX5857T8= X-Google-Smtp-Source: ABdhPJxaWJL8QG5tuYmOI7FWuqZM+sJwcwgRJaQOzk9hAabwTbRbRZgQTF82t4cZtvm+eymHCNmanQ== X-Received: by 2002:a9d:6558:: with SMTP id q24mr787676otl.312.1626310842386; Wed, 14 Jul 2021 18:00:42 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6830:4116:: with SMTP id w22ls1709898ott.9.gmail; Wed, 14 Jul 2021 18:00:41 -0700 (PDT) X-Received: by 2002:a9d:7d92:: with SMTP id j18mr763460otn.275.1626310841156; Wed, 14 Jul 2021 18:00:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626310841; cv=none; d=google.com; s=arc-20160816; b=A/1aEMZIan8PnVr3YN0u8pVS+4wJBFJfmgNFElqYhEhiFEOWoXI/ndeOQYcfZBnz93 8URQvtKSDoA2qnGGFtlRVHp7JqO3gdgmUXW7CdaPyLLl4SUj9CgcUxD513BetFyO25Jq sFyqt9HxtvD8hS0y7E2IKeBha2ztSqjZjsBovK6TA9MGrHr5llCuAoyx5uJ9tIx6NL0L Jkq7lX4OfyrTC6Nm5zpNSYEJRblgQDQ7pFjqmdc9c6TG5Xfl2Ppn6ubWPUUoGO2vmO7K ffLal4e90OTGWn4no/83+UUfPS1lcgCQWeZrIKImZTPdY8vSKL0GQeV/QzYdUODlo2ZT qaBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=TJiOfzyNb1DNwDsrumdMIcDMy72cYv61aMV9rX/b1Oo=; b=ZEehpPcW5nht7FAQsbMn0SN4ids6t+d4Eque/7q8scE0IPxygOSlVMiYSUCa8a28iO 2VWlpO2hIHEisOVcUnOWBlUDV+chpO/hCnnbpKYTAKUxKBs/GSvFl4hoC5vEehJj+X4r JkmMhTaLjAd4KNpkfUveU+aMdVyS7ieCm8D6JSNdiPzKoaKebFTPJ53WpyXATuvFH3l8 30vJZch0ZSGb4xc1byvuRf3b/SMZxWKl65XgfGxVFXAXENfjpqtjVOaYimzACIsUhed5 i/4DDALVeM3efP/JIzErPAKmnDuY8Jk1CzKGTMcgYZBpmw5NofWfaOMATe64nN7rzWEs i3Jw== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=gsodXfGV; spf=pass (google.com: domain of tkurtbond-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::d34 as permitted sender) smtp.mailfrom=tkurtbond-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Original-Received: from mail-io1-xd34.google.com (mail-io1-xd34.google.com. [2607:f8b0:4864:20::d34]) by gmr-mx.google.com with ESMTPS id c22si318192oiy.1.2021.07.14.18.00.41 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 14 Jul 2021 18:00:41 -0700 (PDT) Received-SPF: pass (google.com: domain of tkurtbond-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::d34 as permitted sender) client-ip=2607:f8b0:4864:20::d34; Original-Received: by mail-io1-xd34.google.com with SMTP id z11so4499609iow.0 for ; Wed, 14 Jul 2021 18:00:41 -0700 (PDT) X-Received: by 2002:a5d:858b:: with SMTP id f11mr711156ioj.156.1626310840667; Wed, 14 Jul 2021 18:00:40 -0700 (PDT) In-Reply-To: X-Original-Sender: tkurtbond-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=gsodXfGV; spf=pass (google.com: domain of tkurtbond-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::d34 as permitted sender) smtp.mailfrom=tkurtbond-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:28823 Archived-At: --000000000000f3d27c05c71eff73 Content-Type: text/plain; charset="UTF-8" Ok, I did something wrong. It compiles, but it always outputs the non-floating version. I'm a programmer, but I don't know Haskell, alas. (I'm learning.) Any ideas? On Wed, Jul 14, 2021 at 5:54 PM T. Kurt Bond wrote: > I've made a patch against git head, commit > 06408d08e5ccf06a6a04c9b77470e6a67d98e52c, that implements a > --no-table-float writer option for the ConTeXt writer. I've attached it > to this email. > > Any hope of something like this being accepted? > > On Mon, Jun 14, 2021 at 12:08 PM T. Kurt Bond wrote: > >> When the ConTeXt writer produces tables it starts with >> >> \startplacetable[title={Table Caption}] >> >> if the table has a caption, or >> >> \startplacetable[location=none] >> >> This allows the tables to float. >> >> I need tables to *not* float. For tables with captions I want them to >> start with >> >> \startplacetable[location=force,title={Table Caption}] >> >> and for tables without captions I want them to start with >> >> \startplacetable[location={force,none}] >> >> Would it be possible to add an option to force the tables not to float? >> -- >> T. Kurt Bond, tkurtbond-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, https://tkurtbond.github.io >> > > > -- > T. Kurt Bond, tkurtbond-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, https://tkurtbond.github.io > -- T. Kurt Bond, tkurtbond-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, https://tkurtbond.github.io -- You received this message because you are subscribed to the Google Groups "pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CAN1EhV_dFDBA28NCsXAiTS%2Bf-nAQCx5zLymm%3DtAywQ9XHj1OQA%40mail.gmail.com. --000000000000f3d27c05c71eff73 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Ok, I did something wrong.=C2=A0 It compiles, but it alway= s outputs the non-floating version.=C2=A0 I'm a programmer, but I don&#= 39;t know Haskell, alas.=C2=A0 (I'm learning.)

Any i= deas?



On Wed, Jul 14, 2021 at 5:54 P= M T. Kurt Bond <tkurtbond@gmail.c= om> wrote:
I've made a patch against git head, commit 06408d08e= 5ccf06a6a04c9b77470e6a67d98e52c,=C2=A0 that implements a --no-table-float w= riter option for the ConTeXt writer.=C2=A0 I've attached it to=C2=A0thi= s email.

Any hope of something like this being accepted?=

On Mon, Jun 14, 2021 at 12:08 PM T. Kurt Bond <tkurtbond-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
W= hen the ConTeXt writer produces tables it starts with=C2=A0
\startplacetable[title=3D{Table Caption}]
if the table has a caption, or=C2=A0
\s= tartplacetable[location=3Dnone]
This allows t= he tables to float.

I need tables=C2=A0to not=C2=A0float.=C2=A0 For tables with captions I want them to start with=C2= =A0
\startplacetable[location=3Dforce,ti= tle=3D{Table Caption}]
and for tab= les without captions I want them to start with=C2=A0
\startplacetable[location=3D{force,none}]
Would it be possible to add an option to force t= he tables not to float?
--


--


--

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://gro= ups.google.com/d/msgid/pandoc-discuss/CAN1EhV_dFDBA28NCsXAiTS%2Bf-nAQCx5zLy= mm%3DtAywQ9XHj1OQA%40mail.gmail.com.
--000000000000f3d27c05c71eff73--