From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32387 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Amy_de_Buitl=C3=A9ir?= Newsgroups: gmane.text.pandoc Subject: Re: ANN: pandoc-columns Date: Thu, 23 Mar 2023 06:44:01 -0700 (PDT) Message-ID: <4d2c47e7-e7d3-489f-8d08-36d0f4b186a1n@googlegroups.com> References: <028ea24c-05e7-4fca-aa6a-239c064e7fa5n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_1884_1935641843.1679579041449" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27668"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDR454V73YMRBIVP6GQAMGQEYVYA5MI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Mar 23 14:44:06 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oo1-f57.google.com ([209.85.161.57]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pfLEc-0006zM-2I for gtp-pandoc-discuss@m.gmane-mx.org; Thu, 23 Mar 2023 14:44:06 +0100 Original-Received: by mail-oo1-f57.google.com with SMTP id e2-20020a4a5502000000b0053b50daeaf9sf3707215oob.13 for ; Thu, 23 Mar 2023 06:44:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; t=1679579045; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:references:in-reply-to:message-id:to:from:date :sender:from:to:cc:subject:date:message-id:reply-to; bh=//eRGeAkPodNxomOzvKFYjbj6M/sY229Rq8HAOGHo3w=; b=EB7MYSxThQ5wxkGOWxCrlAglNiYgVAbuAq1OXpuubBXO49LaIlQO1/btD2/KWPOlVo aVNB2In/YYjPZKZ6QfQjCz9mpicF6gGaPWQWkKGypuwTAxgFjHOn/+cT78f3piwzrSbE ixMlywDhiUB5fsDKPYXFNB8VvoNapiW4xL2KZ9+n0Fc2b54OalU2fd0HHhVOG0XSo1of Uzlr/hPCJmPJslp4l3hx01RY/wSEOv1uL0tQIy0P7nKK9MRgHWwRzqkbpoam1ZWvCH6z eg0UICkaOnTKLnnyVvQR02mDjbNSi5oPgzRocapoYB2QRO2l17fXqw6mxo7vwgw5WAF2 c4/g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nualeargais-ie.20210112.gappssmtp.com; s=20210112; t=1679579045; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:references:in-reply-to:message-id:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=//eRGeAkPodNxomOzvKFYjbj6M/sY229Rq8HAOGHo3w=; b=h8hgEn5z4ME1Ie707rK2jMWmhSl5N7Iji5Tc/3hI0ctezMz+bErFmR5mC90dwdleJN l0PTkY+nHpyRydKpWwa2WCV/LThwYFWrqy2OFjE9RInpzjYBAEbB9t/PmWIctRxnlWWu hv3WM9dNOFjP4N23b9qAvt2JmAYsnfgLhSk0nLIDdOchhoTEzEI96yVzVxcAohGNBUPY SShRqZT3UHimN/hSLxd9Bal5QhOtVbZ1biGNjhlg+Tl5KaLSdPSGKHUi6wIr6ht7G7T9 +5tE9MCHuigfCN9IWe6VIV5EBgisEsOLR00tYQPzkJbz9/J6X5m/e1yqQfBSRaXaRPke SZlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679579045; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-sender:mime-version:subject:references:in-reply-to :message-id:to:from:date:x-gm-message-state:sender:from:to:cc :subject:date:message-id:reply-to; bh=//eRGeAkPodNxomOzvKFYjbj6M/sY229Rq8HAOGHo3w=; b=h8SFae2KbxMFEzLe7BtLDjm9B6JnE9OG6yFXtuOMiRXoGxsOogC2/vHSpa8r3ib2Gt EdtpBZwkOwZqEMfGdN3k/kQ+kAjUikg+WqXTdJ5ODDdVOgUZRphce7C4h4rQUgurfNBq FFCqh2I/VQiT8b8jZGi+PuhiaTy10BYAl+nQ81wVJLcCFq8p1J2TFy5sfagMjZzTBL9G x7AyuM+q/znyduui7bH8Lb6LG5bvmm+al+B/c1Q4h6LQ6StMPeqTh8oiaJjI5w8uNwc/ 2opkTUP7vzGEJE4/2KGl5JQXp+KoiH30X/T2dt2v7pztdA2quqU5nqEbOOHhXkoWtDJd Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AAQBX9dAQLA/oKJNmXMoqI7vvdtkdAcggpzXamv/4er/04QTn62v1WD9 +l3Kc2febtF6d9pnxN5PUDI= X-Google-Smtp-Source: AKy350aCdFFT+qa0lM8ej9eBGJ7YT4xdAc6nGg/EQaNys2/qAXzGVeO5eyoHnB7O5ckA0gwFt2butA== X-Received: by 2002:a05:6870:1358:b0:176:42a5:a544 with SMTP id 24-20020a056870135800b0017642a5a544mr1010802oac.2.1679579044978; Thu, 23 Mar 2023 06:44:04 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6870:2a48:b0:179:4735:e363 with SMTP id jd8-20020a0568702a4800b001794735e363ls7575442oab.8.-pod-prod-gmail; Thu, 23 Mar 2023 06:44:02 -0700 (PDT) X-Received: by 2002:a05:6870:130f:b0:17e:9e11:74d9 with SMTP id 15-20020a056870130f00b0017e9e1174d9mr1260964oab.3.1679579042241; Thu, 23 Mar 2023 06:44:02 -0700 (PDT) In-Reply-To: X-Original-Sender: amy-x92Y4IBCQKU6Cx7ujrKbww@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:32387 Archived-At: ------=_Part_1884_1935641843.1679579041449 Content-Type: multipart/alternative; boundary="----=_Part_1885_990974467.1679579041449" ------=_Part_1885_990974467.1679579041449 Content-Type: text/plain; charset="UTF-8" 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 on > behalf of Gwern Branwen > *Date: *Thursday, 23 March 2023 at 01:05 > *To: *pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > *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
, 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...-/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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@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. ------=_Part_1885_990974467.1679579041449 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I'm glad to know about your version Julien, and I will add a link to i= t 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 s= till be useful for people who want to invoke it in a Haskell system, like H= akyll. Also, both filters are probably simple enough to serve as good examp= les for people trying to write their own filters.

On Thursday, 23 March 2= 023 at 01:46:58 UTC Julien Dutant wrote:

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

=C2=A0

J

=C2=A0

=C2=A0

From: pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> on behalf o= f Gwern Branwen <gw...@gwern.= net>
Date: Thursday, 23 March 2023 at 01:05
To: pandoc-...@googlegrou= ps.com <pandoc-...@google= groups.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_mult= i-column_layouts
https:/= /www.caniuse.com/#feat=3Dmulticolumn , which is how other
packages like Markdeep do multi-columns
https://casual-effects.com/markd= eep/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 the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-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.
------=_Part_1885_990974467.1679579041449-- ------=_Part_1884_1935641843.1679579041449--