From: "'Frederik Elwert' via pandoc-discuss" <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
To: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Re: I need tables in ConTeXt output to NOT float
Date: Tue, 15 Jun 2021 03:22:07 -0700 (PDT) [thread overview]
Message-ID: <956ccb4f-ce76-4b84-93be-af36607a0496n@googlegroups.com> (raw)
In-Reply-To: <CAN1EhV-Oe9U__+PyDfajyYDoODS6_7OWPxF33LLWiG6gQEmrpA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
[-- Attachment #1.1: Type: text/plain, Size: 1913 bytes --]
I don’t have a solution for this, but I wanted to mention that there’s the
opposite issue in LaTeX output: Because it uses `longtable` for tables (and
understandably this is a good default solution in many cases), LaTeX tables
produced by pandoc _don’t_ float. This strips LaTeX output of one of its
central features that make it superior when compared to Word etc.
I tried to add floating tables with a custom filter, but that basically
means re-constructing the complete LaTeX code that a table can contain
within the filter.
So while I don’t have an easy solution, I agree that a bit more control
over table rendering/positioning in ConTeXt and LaTeX would be much
appreciated.
Frederik
tkur...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org schrieb am Montag, 14. Juni 2021 um 18:08:30 UTC+2:
> 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, tkur...-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/956ccb4f-ce76-4b84-93be-af36607a0496n%40googlegroups.com.
[-- Attachment #1.2: Type: text/html, Size: 3394 bytes --]
next prev parent reply other threads:[~2021-06-15 10:22 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 [this message]
2021-06-15 14:39 ` AW: " denis.maier-NSENcxR/0n0
[not found] ` <eace606fe51249efa0393dda0e829959-NSENcxR/0n0@public.gmane.org>
2021-07-14 19:26 ` 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=956ccb4f-ce76-4b84-93be-af36607a0496n@googlegroups.com \
--to=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).