From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/29393 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: William Lupton Newsgroups: gmane.text.pandoc Subject: Re: "The extension pipe_tables is not supported for html" Date: Tue, 26 Oct 2021 11:13:13 +0100 Message-ID: References: <16d832b0-765d-4bad-8974-702ef88c4b0an@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000509e1505cf3eba4d" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5062"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCS4HJ6WSAHBBRNJ36FQMGQEGASLTBA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Oct 26 12:13:28 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-lf1-f63.google.com ([209.85.167.63]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mfJSS-00019Y-Jo for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 26 Oct 2021 12:13:28 +0200 Original-Received: by mail-lf1-f63.google.com with SMTP id l8-20020a056512110800b003ffc312549esf311123lfg.19 for ; Tue, 26 Oct 2021 03:13:28 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1635243207; cv=pass; d=google.com; s=arc-20160816; b=ON/asdi1NHVRUdedZs3hq0uvWeGBdLUw+beJQX9hIR7yj+3dj+7OiecQniz6FfdSgU U1UsBgBTbs9Knfg5o+hWQMC5jx2o6taXXkttpOaALs1nNBCQG+r8YWNGorKY5c0/uRwT k+L3MaTIztJ7p68dVFZZhVU1FphOCAqp4tjZsDNrjcV/8Cfd0PWBousBR21NbeR/cO3t gzNbVXLOgP8HwO0WIpnezGlX6AOXcbhTleGlxzjeiY4rfRuAndFmH1BP1ac+J9i4eNPk LobNmBG+byLeraeutc62snDLi0gtRWV7vYgWgEi1XBsVANJKfINsXt11cvI0PG6V63OT V8dQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:to:subject:message-id:date :from:in-reply-to:references:mime-version:sender:dkim-signature; bh=g7kXahWaPy3ZpisJZ14dPJORmF3KaoRHtn+lrgi7b5k=; b=aT02/izc00ABVYtbFVdowuxkJSDC2xcqJvz7TQe9xZ3dQTmJ1Pcn/P9NA/s1+7IWDw RKX15a2cWrwfUjK6h+BZokk3wYmInvJaSKv4HYv/5f2MRY+41favcMwTn5Tp51cKZ3Au plP1TVr/wx8D1yzxvy+DcYHUO1Y5LLVtzghixdKoZh93pQUv4mRJm+W02HRygNSxiwWw TDETrTrLUcOxeXx9qloyuZXUke9hGYE+F2AJN6SsuOLSrCMUA4VOOLKHtWXKk/njMkrD DZROo57KEP2b/KKsVvf1cSDczAKnw0sq8fN/wrt9Am+iipadQsOXrrk3DCDELNSWCevQ sN1A== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@broadband-forum-org.20210112.gappssmtp.com header.s=20210112 header.b=sPQ3xd0w; spf=pass (google.com: domain of wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org designates 2a00:1450:4864:20::52f as permitted sender) smtp.mailfrom=wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:mime-version:references:in-reply-to:from:date:message-id :subject:to:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=g7kXahWaPy3ZpisJZ14dPJORmF3KaoRHtn+lrgi7b5k=; b=QeOwJl1uL1AVu084l6YK/L0bSVtdZ19QJzRrgZ0iTx55yD09g5+1V9Cy8M+wjY8ZyB P/6YYS+Rj9vlqYb23Wl5FlTaxWNgVsqRyL/yC3R8YANmThBGb9w6r30fIAJGCfJq2qSK BVuB9XzHveF7FIqg4D3U7gBmYO2DS1og8WA4u3Y9VOXcYGILI4El42iLS3bGcKbAoWOR CTJ06/Z0daLXgZoXc4wR09H9v1p1DsjjhFXKordeHJ2mhGD2ItiGnhxNUIQpsCBL1803 RMX7Q4QeGF7aasNjRn2KFpMtvaXjvUaBMXh6g/iaVY3PQNTNAe/KZY+xCs1aEhG3cC6X MoXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:mime-version:references:in-reply-to:from :date:message-id:subject:to:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=g7kXahWaPy3ZpisJZ14dPJORmF3KaoRHtn+lrgi7b5k=; b=1Z67ECIUjjkSLiA1MKyulMg0SuFgq4XsSFabCokyn2c7TJ2vafJ9eun1xhC3xDs+ci P2xWHS7LA7qih1palV3UZIdDJRY4kgHsxC8doo7AUNVA7lRC5wzs4jDDLah7ALKd6bux nnwY8djjeAyGMgsi4vgiUcELH91E1nSzRSFk8qIc7ITF0cC8jpbCxQYaZ4L0SLNJtnLA r1YV95pp1meYSPe8BlaWiSnxM0Ci5c9rrP1l34GFOXa3KVVgVFiQl0uHKiVVo6Ccb229 Dt2XDR1YsaXIDWk8Is4bICneAGP/ABRduo9mFsUZWzoastSvOtuLdlBaMtAD91JJAIwG Wv2w== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM531Ig7ZzeI9laoIP09Y8h7IWWoZna0VLqP6lvkB6JFM1xHFoxAPL KGy0QY/T4Y/3JpIyErz3jRY= X-Google-Smtp-Source: ABdhPJwErlzyj+1n3ck6W1mk+Y0JCsYeGC40VLa83M1Uk4RSvVfWKtYChDcflVkNc0CGSrBtkblxcw== X-Received: by 2002:ac2:5d69:: with SMTP id h9mr22966435lft.675.1635243207712; Tue, 26 Oct 2021 03:13:27 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6512:3499:: with SMTP id v25ls2077441lfr.0.gmail; Tue, 26 Oct 2021 03:13:25 -0700 (PDT) X-Received: by 2002:a05:6512:b83:: with SMTP id b3mr16239011lfv.654.1635243205178; Tue, 26 Oct 2021 03:13:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635243205; cv=none; d=google.com; s=arc-20160816; b=qJrFIbaqPZ5EU9Qownc6Om2TkK2SPvDYz4pL9pr2Hu3Rq+Er3vxUxwR2s5WFhSAQ0w Mfh0q04S+rZzeF98HAh+v1Sk5JLkPnYArztH9wX42jcZB3yUF1z54ExtqyE4CM/9t6lT n57wC2/VzfNXmyt7/yjqvypjZAUVjM3eUCXUnQ05TtOpOOuVS01sddpGaGqoVvXKixmS VkV0/WNJXqPpSjTNQWr8B927ZHuzSZWxssQOYi4nGsBLy0DdRl2OcLcAxih9lf5DTiPf veE9jy6Abx1bLGYuT9rsXNSWXEvVLn5/bY8LbRonH+uyPbJeUAJ6D0JYvIcxIozpuQWd qCHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=9s3W9Yo00khCnc5wBd54Br0rCrtodBsEmKx9AR9ZoTg=; b=coET+bNtdJfRLXlPTBFol17K+ljiBd9wI8Jy0NmkyCE1uNGnTKe5Qa0ITvbFXgPDIq FRb9GpTJXdDe6/ZYvAyb2x+lruQ/x6dJaIUTJYgHakBWMEkbZxk63eD8mPTVLALnkrcF obfMHDBYrTFNwDqRK4UrHg02gysDTzopmcvHfIEabeyxZI1vdQsKEGqHjnke34jVWq75 zu3jk1dZy4mFEWw3QIS0NaTJIP+o25PntMYL0Xl9WV0c8tFStb4HAyuRfXkN8C6G8PxT nH3tidE2f59nT6esD6Psna6Vsp00gL/Sgn6iUPtFjz7WgCx3jTQgjpavYsVWlbfvO7MM zNRg== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@broadband-forum-org.20210112.gappssmtp.com header.s=20210112 header.b=sPQ3xd0w; spf=pass (google.com: domain of wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org designates 2a00:1450:4864:20::52f as permitted sender) smtp.mailfrom=wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org Original-Received: from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com. [2a00:1450:4864:20::52f]) by gmr-mx.google.com with ESMTPS id q4si1478708lji.6.2021.10.26.03.13.24 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 26 Oct 2021 03:13:24 -0700 (PDT) Received-SPF: pass (google.com: domain of wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org designates 2a00:1450:4864:20::52f as permitted sender) client-ip=2a00:1450:4864:20::52f; Original-Received: by mail-ed1-x52f.google.com with SMTP id l13so11528462edi.8 for ; Tue, 26 Oct 2021 03:13:24 -0700 (PDT) X-Received: by 2002:a17:907:d89:: with SMTP id go9mr28447941ejc.451.1635243204314; Tue, 26 Oct 2021 03:13:24 -0700 (PDT) In-Reply-To: <16d832b0-765d-4bad-8974-702ef88c4b0an-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Original-Sender: wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@broadband-forum-org.20210112.gappssmtp.com header.s=20210112 header.b=sPQ3xd0w; spf=pass (google.com: domain of wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org designates 2a00:1450:4864:20::52f as permitted sender) smtp.mailfrom=wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@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:29393 Archived-At: --000000000000509e1505cf3eba4d Content-Type: text/plain; charset="UTF-8" They can be enabled (or disabled) on the command-line but (because they're enabled by default for markdown input) they don't need to be. % cat pipe-table.md | Right | Left | Default | Center | |------:|:-----|---------|:------:| | 12 | 12 | 12 | 12 | % pandoc pipe-table.md --to=markdown Right Left Default Center ------- ------ --------- -------- 12 12 12 12 % pandoc --from=markdown+pipe_tables pipe-table.md --to=markdown Right Left Default Center ------- ------ --------- -------- 12 12 12 12 % pandoc --from=markdown-pipe_tables pipe-table.md --to=markdown | Right \| Left \| Default \| Center \| \|------:\|:-----\|---------\|:------:\| \| 12 \| 12 \| 12 \| 12 \| On Tue, 26 Oct 2021 at 10:33, jn wrote: > Thank you very much, William and BPJ! > > So it is just as simple: The extensions cannot be enabled on the command > line, because they are already by default. Just the message brought me to > wrong assumptions. > > Thanks again - cheers, Joachim > > On Tuesday, October 26, 2021 at 9:07:21 AM UTC BPJ wrote: > >> I was going to say the same: +fenced_divs and +bracketed_spans are >> associated with the input format (-f markdown) rather than the html output >> format, where they don't make sense, and they are enabled by default for >> Pandoc's Markdown both input and output. >> >> Den tis 26 okt. 2021 10:36William Lupton >> skrev: >> >>> Hello, >>> >>> I think that these extensions are associated with the input format >>> (markdown) rather than the output format (html). I guess previous versions >>> of pandoc must have been more permissive in this regard? >>> >>> See below (and note that the extensions that you mentioned are all >>> enabled by default for markdown input). >>> >>> Hope this helps. >>> >>> Cheers, >>> William >>> >>> % pandoc --version >>> pandoc 2.14.1 >>> >>> % pandoc --list-extensions=markdown | egrep 'tables|divs|spans' >>> +bracketed_spans >>> +fenced_divs >>> +grid_tables >>> +multiline_tables >>> +native_divs >>> +native_spans >>> +pipe_tables >>> +simple_tables >>> >>> % pandoc --list-extensions=html | egrep 'tables|divs|spans' >>> +native_divs >>> +native_spans >>> >>> On Tue, 26 Oct 2021 at 07:42, jn wrote: >>> >>>> I use pandoc 1.7.5.4 in production for converting large md files, >>>> generated from databases, to html. >>>> >>>> When I try to upgrade to pandoc 2.x, I get the following error: >>>> >>>> $ ./pandoc-2.14.2 --standalone -t html+pipe_tables test_input.md >>>> The extension pipe_tables is not supported for html >>>> >>>> Same is true for the extensions fenced_divs and bracketed_spans, which >>>> also work fine with pandoc 1.7 >>>> >>>> OS is 4.19.205-gentoo-x86_64, pandoc was compiled from source with the >>>> flag "pandoc:embed_data_files" >>>> >>>> $ ./pandoc-2.14.2 --version >>>> pandoc-2.14.2 2.14.2 >>>> Compiled with pandoc-types 1.22, texmath 0.12.3.1, skylighting 0.11, >>>> citeproc 0.5, ipynb 0.1.0.1 >>>> >>>> >>>> -- >>>> 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-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/pandoc-discuss/d2e886d8-e4e4-49a7-af86-8b336b7f9d41n%40googlegroups.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-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>> >> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/pandoc-discuss/CAEe_xxgYPz8nSAhifZO9xmv5M%3DQuHj%3Do9kpaWjG3VObgEmKMjw%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/16d832b0-765d-4bad-8974-702ef88c4b0an%40googlegroups.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/CAEe_xxiQsD5%3DhY80pcDcZct2_5HmOxUS0rJVvxLsWW5TNwoe1w%40mail.gmail.com. --000000000000509e1505cf3eba4d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
They can be enabled (or disabled) on the command-line but = (because they're enabled by default for markdown input) they don't = need to be.

% cat pipe-table.md=
| Right | Left | Default | Center |
|------:|:-----|---------|:----= --:|
| =C2=A0 12 =C2=A0| =C2=A012 =C2=A0| =C2=A0 =C2=A012 =C2=A0 | =C2= =A0 =C2=A012 =C2=A0|

% pa= ndoc pipe-table.md --to=3Dmarkdown
=C2=A0 =C2=A0 Right Left =C2=A0 Defau= lt =C2=A0 =C2=A0Center
=C2=A0 ------- ------ --------- --------
=C2= =A0 =C2=A0 =C2=A0 =C2=A012 12 =C2=A0 =C2=A0 12 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 12

% pandoc --from=3Dmarkdown+pipe_tables pipe-tab= le.md --to=3Dmarkdown
=C2=A0 =C2=A0 Right Left =C2=A0 Default =C2=A0 =C2= =A0Center
=C2=A0 ------- ------ --------- --------
=C2=A0 =C2=A0 =C2= =A0 =C2=A012 12 =C2=A0 =C2=A0 12 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 12
<= br>
% pandoc --from=3Dmarkdown-pi= pe_tables pipe-table.md --to=3Dmarkdown
| Right \| Left \| Default \| Ce= nter \|

\|------:\|:-----\|---------\|:------:\| \| 12 \| 12 \| 12 \= | 12 \|


On Tue, 26 Oct 2021 at 10:33, jn <j.neubert-oT7SxkCgseY@public.gmane.org> wrote:
Thank you very much, William and= BPJ!

So it is just as simple: The extensions= cannot be enabled on the command line, because they are already by default= . Just the message brought me to wrong assumptions.

Thanks again - cheers, Joachim

On Tuesday, October 26, 20= 21 at 9:07:21 AM UTC BPJ wrote:
I was going to say the same: +fenced_divs= and +bracketed_spans are associated with the input format (-f markdown) ra= ther than the html output format, where they don't make sense, and they= are enabled by default for Pandoc's Markdown both input and output.
Den tis 26 okt. 2021 10:36William Lupton <= wlu...-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org> skrev:
Hello,

I think that these ext= ensions are associated with the input format (markdown) rather than the out= put format (html).=C2=A0I guess previous versions of pandoc must have been = more permissive in this regard?

See below (and note that= the extensions that=C2=A0you mentioned are all enabled by default for mark= down input).

Hope this helps.

=
Cheers,
William

% pandoc --versionpandoc 2.14.1

% pandoc --list-extensions=3Dma= rkdown | egrep 'tables|divs|spans'
+bracketed_spans
+fenced_d= ivs
+grid_tables
+multiline_tables
+native_divs
+native_spans+pipe_tables
+simple_tables

% pandoc --list-extensio= ns=3Dhtml | egrep 'tables|divs|spans'
+native_divs
+native_sp= ans

On Tue, 26 Oct 2021 at 07:42, jn <j.ne...-oT7SxkCgseY@public.gmane.org> wrote:
I use pandoc 1.7.5.4 in production for converting= large md files, generated from databases, to html.

When I try to up= grade to pandoc 2.x, I get the following error:

$ ./pandoc-2.14.2 --= standalone -t html+pipe_tables test_input.md
The extension pipe_tables i= s not supported for html

Same is true for the extensions fenced_divs= and bracketed_spans, which also work fine with pandoc 1.7

OS is 4.1= 9.205-gentoo-x86_64, pandoc was compiled from source with the flag "pa= ndoc:embed_data_files"

$ ./pandoc-2.14.2 --version
pandoc-2.= 14.2 2.14.2
Compiled with pandoc-types 1.22, texmath 0.12.3.1, skylighti= ng 0.11,
citeproc 0.5, ipynb 0.1.0.1


--
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 pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit
https://groups.google.com/d/msgid/pandoc-discuss/d2e= 886d8-e4e4-49a7-af86-8b336b7f9d41n%40googlegroups.com.

--
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 pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.

--
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 pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https= ://groups.google.com/d/msgid/pandoc-discuss/16d832b0-765d-4bad-8974-702ef88= c4b0an%40googlegroups.com.

--
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://group= s.google.com/d/msgid/pandoc-discuss/CAEe_xxiQsD5%3DhY80pcDcZct2_5HmOxUS0rJV= vxLsWW5TNwoe1w%40mail.gmail.com.
--000000000000509e1505cf3eba4d--