public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: <denis.maier-NSENcxR/0n0@public.gmane.org>
To: <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: AW: I need tables in ConTeXt output to NOT float
Date: Tue, 15 Jun 2021 14:39:27 +0000	[thread overview]
Message-ID: <eace606fe51249efa0393dda0e829959@unibe.ch> (raw)
In-Reply-To: <CAN1EhV-Oe9U__+PyDfajyYDoODS6_7OWPxF33LLWiG6gQEmrpA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 2661 bytes --]

Hi,

I also don’t 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’s XHTML mapping (https://github.com/ousia/from-pandoc-to-context) should get you started. (There’s also a slightly extended version at https://github.com/juh2/from-pandoc-to-context).

With that, you’ll be able to wrap your tables in divs and treat them differently depending on arbitrary attributes. Think of this:


::: {.floatingTable}
your table
:::

or


::: {float="true"}
your table
:::

Then

Best,
Denis

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 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<mailto: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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<mailto: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<https://groups.google.com/d/msgid/pandoc-discuss/CAN1EhV-Oe9U__%2BPyDfajyYDoODS6_7OWPxF33LLWiG6gQEmrpA%40mail.gmail.com?utm_medium=email&utm_source=footer>.

-- 
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/eace606fe51249efa0393dda0e829959%40unibe.ch.

[-- Attachment #2: Type: text/html, Size: 8630 bytes --]

  parent reply	other threads:[~2021-06-15 14:39 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-14 16:08 T. Kurt Bond
     [not found] ` <CAN1EhV-Oe9U__+PyDfajyYDoODS6_7OWPxF33LLWiG6gQEmrpA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2021-06-15 10:22   ` 'Frederik Elwert' via pandoc-discuss
2021-06-15 14:39   ` denis.maier-NSENcxR/0n0 [this message]
     [not found]     ` <eace606fe51249efa0393dda0e829959-NSENcxR/0n0@public.gmane.org>
2021-07-14 19:26       ` AW: " T. Kurt Bond
2021-07-14 21:54   ` T. Kurt Bond
     [not found]     ` <CAN1EhV94hy6m=KQ4A8=9PaRH=+VbR36oU-OwhAAj4=h1XHztCA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2021-07-15  1:00       ` T. Kurt Bond
     [not found]         ` <CAN1EhV_dFDBA28NCsXAiTS+f-nAQCx5zLymm=tAywQ9XHj1OQA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2021-07-15  3:28           ` T. Kurt Bond
     [not found]             ` <CAN1EhV-v2rayAb+oWQbcPcjccXcfRqwwdjpwjdn8g3==bhb6OA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2021-07-15  3:50               ` T. Kurt Bond
     [not found]                 ` <CAN1EhV-gLh=HsNf9kwT3dqLnbUXW27PDrQkJy5wL_QcbM6rfCg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2021-07-16  2:17                   ` T. Kurt Bond

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=eace606fe51249efa0393dda0e829959@unibe.ch \
    --to=denis.maier-nsencxr/0n0@public.gmane.org \
    --cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).