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?

--

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CAN1EhV-Oe9U__%2BPyDfajyYDoODS6_7OWPxF33LLWiG6gQEmrpA%40mail.gmail.com.

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/eace606fe51249efa0393dda0e829959%40unibe.ch.