From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/29392 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: jn Newsgroups: gmane.text.pandoc Subject: Re: "The extension pipe_tables is not supported for html" Date: Tue, 26 Oct 2021 02:33:13 -0700 (PDT) Message-ID: <16d832b0-765d-4bad-8974-702ef88c4b0an@googlegroups.com> References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_15378_377983190.1635240793774" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5244"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCC5Z6UJTEPRBWUW36FQMGQEFXEPPZI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Oct 26 11:33:18 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-ot1-f57.google.com ([209.85.210.57]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mfIpZ-00015m-8a for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 26 Oct 2021 11:33:17 +0200 Original-Received: by mail-ot1-f57.google.com with SMTP id c19-20020a056830001300b00546faa88f0csf8793653otp.13 for ; Tue, 26 Oct 2021 02:33:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:date:from:to:message-id:in-reply-to:references:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=uB5lYM16vxF3sSNLL1At38McxlrYOl6+n5r7lxfRaeA=; b=MUfK2wrCyT5ieL8BYG0zymNBn+1lEzRhdN2MpnZ2A1LwlXZGXiTmVrE5NLDSQDcHHr xfC0FQ4C6NtjVl6VIx9Uq2rfSrK28UulVNzxnxB2fHOt2Vdwryvm6dvIskAyphzJvJwj s/jZ7SbQJeBv8n3Vbyl7UU4vhLJilZ9xPtUZvIgm/MU51O6C7AjLDDdxU9FT1qQRy+RC sI/e/g40c4qGSwuYPzoA/tB9Y8qlzWdG+pUod3L8J6b8dSw4oWLKi/NDe1OMWUqB+QbF vH5BMzEoZZ81qOMx7D3vWdZ7lyep29AKbQKWJfAQBA2jkkvNCv+gYCMMenUNIEdnscD2 FtxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:date:from:to:message-id:in-reply-to :references:subject:mime-version:x-original-sender:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=uB5lYM16vxF3sSNLL1At38McxlrYOl6+n5r7lxfRaeA=; b=JSSHMdZK9XFH3ptaq64UOz1x6OFbdPupf4DrQA+EJnMvjcFJJ6keJGuuCQbt3c3iSl lVjVCZws50sKu0AJyeUU26jJX0DE1eRTw/y9eB4TTayiBzJqG93HsLs5txuzrBVCL8uH ItcOSTEp7ocMbY43jmYVLGlhMnNSddd7lzJEDZN1+yRg5XoqVXVX+U3oyG9wuLKFJpvP FJHhZI0vYDADqDPKZQK3XyMRtN+R1h3ucL/gsH8+s52pDHXAq6wyE6lHhpHv/e+AAqhB T+x+KvO6HeZtn9yVe750flSMYQfEKRIltIpf5TDmcuxoQ7h+a+8AL5ycu/hms2bpVuOV IJWw== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM533tOKkdN+Jv2Gwl43mGhOs+WdGse9pwxjziY6RqFDzNoWFvmE2K EAKzPRltTX9AChT8vTEQTrM= X-Google-Smtp-Source: ABdhPJwwGiqi3iVpAw2L4g2ClroNETiV02TLb128Tv81hkMmvH1As0WzCBTB/VIqZZf5Lezp4zNLag== X-Received: by 2002:aca:604:: with SMTP id 4mr26454043oig.8.1635240796182; Tue, 26 Oct 2021 02:33:16 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:aca:5989:: with SMTP id n131ls1744127oib.3.gmail; Tue, 26 Oct 2021 02:33:14 -0700 (PDT) X-Received: by 2002:a05:6808:1805:: with SMTP id bh5mr26641085oib.47.1635240794470; Tue, 26 Oct 2021 02:33:14 -0700 (PDT) In-Reply-To: X-Original-Sender: j.neubert-oT7SxkCgseY@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:29392 Archived-At: ------=_Part_15378_377983190.1635240793774 Content-Type: multipart/alternative; boundary="----=_Part_15379_1568460175.1635240793774" ------=_Part_15379_1568460175.1635240793774 Content-Type: text/plain; charset="UTF-8" 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. ------=_Part_15379_1568460175.1635240793774 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
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<= /div>

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 associate= d with the input format (-f markdown) rather than the html output format, w= here they don't make sense, and they are enabled by default for Pandoc&= #39;s Markdown both input and output.

<= /div>
Den t= is 26 okt. 2021 10:36William Lupton <wlu...-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org> skrev:
Hello= ,

I think that these extensions are associated with the= input format (markdown) rather than the output 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 m= entioned are all enabled by default for markdown input).

Hope this helps.

Cheers,
William<= br>

% pandoc --version
pandoc 2.14.1
% pandoc --list-extensions=3Dmarkdown | egrep 'tables|divs= |spans'
+bracketed_spans
+fenced_divs
+grid_tables
+multili= ne_tables
+native_divs
+native_spans
+pipe_tables
+simple_table= s

% pandoc --list-extensions=3Dhtml | egrep 'tables|d= ivs|spans'
+native_divs
+native_spans

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

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

$ ./pandoc-2.14.2 --standalo= ne -t html+pipe_tables test_input.md
The extension pipe_tables is not su= pported for html

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

OS is 4.19.205-ge= ntoo-x86_64, pandoc was compiled from source with the flag "pandoc:emb= ed_data_files"

$ ./pandoc-2.14.2 --version
pandoc-2.14.2 2.1= 4.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 &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pandoc-discus= ...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-dis= cuss/d2e886d8-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= ...@googlegroups.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://groups.google.com/d= /msgid/pandoc-discuss/16d832b0-765d-4bad-8974-702ef88c4b0an%40googlegroups.= com.
------=_Part_15379_1568460175.1635240793774-- ------=_Part_15378_377983190.1635240793774--