From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/28594 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Newsgroups: gmane.text.pandoc Subject: AW: I need tables in ConTeXt output to NOT float Date: Tue, 15 Jun 2021 14:39:27 +0000 Message-ID: References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="_000_eace606fe51249efa0393dda0e829959unibech_" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34998"; mail-complaints-to="usenet@ciao.gmane.io" To: Original-X-From: pandoc-discuss+bncBCZ27W53TUFBBJHXUKDAMGQEMW4LECI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Jun 15 16:39:37 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-lj1-f185.google.com ([209.85.208.185]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1ltAE3-0008s7-DG for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 15 Jun 2021 16:39:35 +0200 Original-Received: by mail-lj1-f185.google.com with SMTP id y10-20020a05651c154ab02901337d2c58f3sf6516532ljp.9 for ; Tue, 15 Jun 2021 07:39:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1623767975; cv=pass; d=google.com; s=arc-20160816; b=KU5NBWN5artVWQnqOioQ/WUFELqCxHH1FKLEQOkziNlYR0qUtMIpd8YwOUlo+Xae9Y WV9KfmL4bHlu1jY2caWelH1hEe/oRFv/lskUnKtmYv1rMVltqR8cHkDN/sp8e1NYq2vT 3/K+uKIKnBTMQ2DjFyc+Vi9PAPmNBmtgsb8xQzi/8HoxiXqFb+2hZdH8xGtJ+UOQ0Yko Qo8/YLORkezakfWhuiXmrQqeVWvhlTK4WvRz51ELe2/8c/wvSXAukV+uG283SlZiMN74 g9ArFJwZccrPTHuQLvbZsSwx/1ZqRPhXzmUMy+09rZcUteMqB5NiiRXkctiNdbJSbgTs QdJQ== 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:mime-version :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:to:from:sender :dkim-signature; bh=RkwnqzjivVITAOuEoYbELSNuIh++YLdh1yrU9n+xd3Y=; b=LWKlHX261o7PLhKOFT6qWLUUbbNV3kLI8QFW/kHZ16yEnunB5H0VHUad55QTUTBIKF Qx1rtqoYhKLJ8LBzQIXPnv2z6SUVWF6kDkRm6bZZKfQJzFPIXsxTYg50Rtn9YaeCr0Mt bMqfwdwUoZnw7zWRILxdT0jC8sn6hznyype6CqGEj+Kk6tJd90tXUWUVI5bIJD23Llgt 4QVmlCWLtoFUWggTQmX74xadJvNXIQrYNIzUsrCAenjym/fg1KzvNL4r4WWQH5QS6ZTN kw/s+hEi88VpJsdVgpyo4oxEanr8rEYKL4zwRV7Ew7+AB8jOKU/+ZqmuTIEeEm5EV7KN jCrA== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of denis.maier-NSENcxR/0n0@public.gmane.org designates 130.92.0.82 as permitted sender) smtp.mailfrom=denis.maier-NSENcxR/0n0@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=unibe.ch DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:from:to:subject:thread-topic:thread-index:date:message-id :references:in-reply-to:accept-language:content-language :mime-version: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=RkwnqzjivVITAOuEoYbELSNuIh++YLdh1yrU9n+xd3Y=; b=epR/YkK4sIZ/1iSYjoa1irx8e6UbqePS3ZJKsepvlgk+OT4O2ZeGCrreEfwNtP1d0B 4191fMNoOOMvGImvyfK0uDP6gknIqEThv/2p2Q7ncGSOsdeX6qgYg5NBB08r6PBqotDg 0lww5vsPyaT43R88DWCkQcirZgLGim5rBnQwOc+Vmhubv8busSwIWGaO9v1FgUsV4kGQ IHODe6gWSWKl0ZNU+xsyfxCuSFRpFQwQRNlzTxxOWLpRQJjoRtsDfJlOAvSji+WofL9X QCSGZr4pk+I3zcgRDWRXgqs+u/TWxMAF0zihuA9mZR+NgrjP07yHMxSZiEFGnUl2j9GP lEXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:from:to:subject:thread-topic:thread-index :date:message-id:references:in-reply-to:accept-language :content-language:mime-version: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=RkwnqzjivVITAOuEoYbELSNuIh++YLdh1yrU9n+xd3Y=; b=oxrJ87QbgoPql0Msqr/6Bc2rK0YoJjQfGN10C7nMyfrPWnmeQI6w3W6btGRYeLGrHa No8ujmzAEYFQ17eyRsduI9XCzwPLdCagwHd3cEORU7FqdGORCx0rZZK3oET07TfkGmRR aHo1iKmw7xHEh3qgR1nMnWOt85y2ObWqTX5UGf64T+dyFN5SRrd5oE73/2B2O8n93XAw YOuPymfz93ssQYjeltX1tqczFmVSSk5xA9iLolNAwcE9qsxq4eAKVZ4OPCYjuPe9oJjy rAcRPZqPEBv4nZej7KcSGJv94q6GSSP Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM5323SK8mZHrv+75xZ3M7LcxM8Gud0YEQMz3NO9FAF7qxbdQKo9UU P/tpILq95NjC+qpHKYQrUSk= X-Google-Smtp-Source: ABdhPJxySoKWFe/9ciikMZmSvZfnjHffZjLsiow8GTx+wJVtu/veapNuoVWwfeRL2RzZDRwxj5E9iw== X-Received: by 2002:a2e:93d0:: with SMTP id p16mr18304059ljh.444.1623767974856; Tue, 15 Jun 2021 07:39:34 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a2e:8790:: with SMTP id n16ls4513273lji.11.gmail; Tue, 15 Jun 2021 07:39:32 -0700 (PDT) X-Received: by 2002:a19:8157:: with SMTP id c84mr16384357lfd.529.1623767971817; Tue, 15 Jun 2021 07:39:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623767971; cv=none; d=google.com; s=arc-20160816; b=BUDP21MfNdzO0CojrmAv/VEmPolou8z2skM+XZU1IhfFmhRMZ8YymzcfDe9SJzTRfW hmy9z/axbcFjo1O5wg3C2WADcBspFe8G5c8BQeZT/+axPJDMijXc0QuJWapeOk0z9pzE ZkzhdQ5lmE0sO19KFR2aqmfeAJG0kpcfJeOW1fdcqFl2CctI6otuFjOc0alwRy/DhPoG pPzJSZHIB93gqH9KS8mHl5akBko8ZzN7PRXdYnLoZvGx7wQf+OzNgw8h1gdH7h89EG6Y nxPKKOrfR6tO4k48lEOQuQXcqlGhJNols5iQ2+3RjxAOki4gNKjg+lrv4OdDmhjrf61y p10g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:to :from; bh=InaWq8yzrawBohCpAI6vjjmkFUBhzPqJSXDkigaG+FA=; b=qObJzAk5K6pVJAWj1sCvqL5JIo9TunpqAEUdzBcI/HpleXyb3odrZDfilfrjlUE84w LifZlkTq4rG/iKE3Ni2mLef3ys14scyQgdVt2jxbdxkBFk8hza3CqM+idnRKSOlv+OsA AB5KyTfeRD2u5a8TL2RHP17BxRzobvQRGVyhbmzY+71clokcPmLQH+WnuuAVXvB9iOb/ dCE4IKHHKikWqed4f153bTla13hp3kHY7tlDVz1siAhHSf7bEXjbG6fmdLffl8cRqYc0 iWTLDZrWbmwdk+1OAk1b7nx9CHIc/TIxZkhdTjMEA+OUvKulWBTEnWfRL2ePqhMt50Ax Jv1A== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of denis.maier-NSENcxR/0n0@public.gmane.org designates 130.92.0.82 as permitted sender) smtp.mailfrom=denis.maier-NSENcxR/0n0@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=unibe.ch Original-Received: from mailhub-lb1.unibe.ch (mailhub-lb1.unibe.ch. [130.92.0.82]) by gmr-mx.google.com with ESMTPS id d11si104829lfs.2.2021.06.15.07.39.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Jun 2021 07:39:30 -0700 (PDT) Received-SPF: pass (google.com: domain of denis.maier-NSENcxR/0n0@public.gmane.org designates 130.92.0.82 as permitted sender) client-ip=130.92.0.82; X-Virus-Scanned: By University of Bern - MGW Original-Received: from mail.campus.unibe.ch (aai-edge-01.campus.unibe.ch [130.92.13.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailhub-lb1.unibe.ch (Postfix) with ESMTPS id 354DF5000A9 for ; Tue, 15 Jun 2021 16:39:28 +0200 (CEST) Thread-Topic: I need tables in ConTeXt output to NOT float Thread-Index: AQHXYTeFlshEz4SAq0m8ZPdmTwHHuKsVItEg In-Reply-To: Accept-Language: de-CH, en-US Content-Language: de-DE x-originating-ip: [130.92.13.161] X-Original-Sender: denis.maier-NSENcxR/0n0@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of denis.maier-NSENcxR/0n0@public.gmane.org designates 130.92.0.82 as permitted sender) smtp.mailfrom=denis.maier-NSENcxR/0n0@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=unibe.ch 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:28594 Archived-At: --_000_eace606fe51249efa0393dda0e829959unibech_ Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, I also don=E2=80=99t have an easy solution, but you might want to consider = going through XHTML rather than directly to ConTeXt. As ConTeXt can process= XML files this might give you more options. Pablo=E2=80=99s XHTML mapping = (https://github.com/ousia/from-pandoc-to-context) should get you started. (= There=E2=80=99s also a slightly extended version at https://github.com/juh2= /from-pandoc-to-context). With that, you=E2=80=99ll be able to wrap your tables in divs and treat the= m differently depending on arbitrary attributes. Think of this: ::: {.floatingTable} your table ::: or ::: {float=3D"true"} your table ::: Then Best, Denis Von: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Im A= uftrag von T. Kurt Bond Gesendet: Montag, 14. Juni 2021 18:08 An: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Betreff: I need tables in ConTeXt output to NOT float When the ConTeXt writer produces tables it starts with \startplacetable[title=3D{Table Caption}] if the table has a caption, or \startplacetable[location=3Dnone] This allows the tables to float. I need tables to not float. For tables with captions I want them to start = with \startplacetable[location=3Dforce,title=3D{Table Caption}] and for tables without captions I want them to start with \startplacetable[location=3D{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://tkur= tbond.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 e= mail to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org. To view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/CAN1EhV-Oe9U__%2BPyDfajyYDoODS6_7OWPxF33LLWiG6gQEmrpA%40mail= .gmail.com. --=20 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 e= mail 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/eace606fe51249efa0393dda0e829959%40unibe.ch. --_000_eace606fe51249efa0393dda0e829959unibech_ Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Hi,<= /o:p>

&nbs= p;

I also do= n=E2=80=99t have an easy solution, but you might want to consider going thr= ough XHTML rather than directly to ConTeXt. As ConTeXt= can process XML files this might give you more options. Pablo=E2=80=99s XH= TML mapping (https:= //github.com/ousia/from-pandoc-to-context) should get you started. = (There=E2=80=99s also a slightly extended version at https://github.c= om/juh2/from-pandoc-to-context).

&nbs= p;

With that= , you=E2=80=99ll be able to wrap your tables in divs and treat them differe= ntly depending on arbitrary attributes. Think of this:

&nbs= p;

::: {.floatingTable}

your tabl= e

:::<= /o:p>

&nbs= p;

or

&nbs= p;

::: {float=3D"true"}

your tabl= e

:::<= /o:p>

&nbs= p;

Then=

&nbs= p;

Best,

Denis

&nbs= p;

Von: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> Im Auftrag von T. Kurt Bond
Gesendet: Montag, 14. Juni 2021 18:08
An: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Betreff: I need tables in ConTeXt output to NOT float

 

When the ConTeXt writer produces tables it starts wi= th 

= \startplacetable[title=3D{Table Caption}]

if the table has a caption, or 

= \startplacetable[location=3Dnone]

This allows the tables to float.

 

I need tables to not float.  F= or tables with captions I want them to start with 

= \startplacetable[location=3Dforce,title=3D{Table Caption}]

and for tables without captions I want them to start= with 

= \startplacetable[location=3D{force,none}]

Would it be possible to add an option to force the t= ables 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 pandoc-d= iscuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CAN1EhV-Oe9U__%2BPyDfajyYD= oODS6_7OWPxF33LLWiG6gQEmrpA%40mail.gmail.com.

--
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://groups.google.com/d/msgid/pandoc= -discuss/eace606fe51249efa0393dda0e829959%40unibe.ch.
--_000_eace606fe51249efa0393dda0e829959unibech_--