The dialoa/column filter does that, with subtle improvements (margin 0 on top to avoid an empty space we get by default), flexible markup (specify explicit column breaks rather than column divs, column spans, options for gaps and separator), and covers LaTeX/PDF output. See the test doc / manual https://github.com/dialoa/columns/blob/master/test.pdf

 

J

--

Julien Dutant

http://julien.dutant.free.fr/

https://github.com/jdutant

 

 

From: pandoc-discuss@googlegroups.com <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> on behalf of Gwern Branwen <gwern-v26ZT+9V8bxeoWH0uzbU5w@public.gmane.org>
Date: Thursday, 23 March 2023 at 01:05
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <pandoc-discuss@googlegroups.com>
Subject: Re: ANN: pandoc-columns

So I take it for HTML these two filters rely on
https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Columns/Using_multi-column_layouts
https://www.caniuse.com/#feat=multicolumn , which is how other
packages like Markdeep do multi-columns
https://casual-effects.com/markdeep/features.md.html#multiplecolumns

But you can just do that with some additional CSS and then marking up
a .columns class <div>, no? Are these filters intended for supporting
other formats like PDF, or are they doing something more than just
inserting the relevant CSS for HTML outputs?

--
gwern
https://gwern.net

--
You received this message because you are subscribed to a topic in the Google Groups "pandoc-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/pandoc-discuss/bA08vmSCzZs/unsubscribe.
To unsubscribe from this group and all its topics, 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/CAMwO0gyg9X6xUAbmiE%2Bf0AdSfzOw4wtkq-sBtjZ8uKuvu-APTA%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/PA4P194MB1024C2067B9C81E7476ACC85F1879%40PA4P194MB1024.EURP194.PROD.OUTLOOK.COM.