I'm glad to know about your version Julien, and I will add a link to it in my README. It's great to have both. It's my understanding that the way Pandoc invokes them, Lua filters are actually faster than Haskell filters. So yours is probably a better option for most people. However, mine will still be useful for people who want to invoke it in a Haskell system, like Hakyll. Also, both filters are probably simple enough to serve as good examples for people trying to write their own filters.

On Thursday, 23 March 2023 at 01:46:58 UTC Julien Dutant wrote:

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-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> on behalf of Gwern Branwen <gw...@gwern.net>
Date: Thursday, 23 March 2023 at 01:05
To: pandoc-...@googlegroups.com <pandoc-...@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-discus...-/JYPxA39Uh5TLH3MbocFFw@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/4d2c47e7-e7d3-489f-8d08-36d0f4b186a1n%40googlegroups.com.