From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32214 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "'Charles Teague' via pandoc-discuss" Newsgroups: gmane.text.pandoc Subject: Re: Pandoc 3 Change in commonmark extensions Date: Tue, 21 Feb 2023 10:34:54 -0800 (PST) Message-ID: References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_3338_1958601046.1677004494330" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20747"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCX7P4VBRQBRBT452SPQMGQEPOTRACA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Feb 21 19:34:59 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-qv1-f58.google.com ([209.85.219.58]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pUXTe-0005Aw-VX for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 21 Feb 2023 19:34:58 +0100 Original-Received: by mail-qv1-f58.google.com with SMTP id pz4-20020ad45504000000b0056f060452adsf2149484qvb.6 for ; Tue, 21 Feb 2023 10:34:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; 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=tVtsNd78yS1LGWcOmPojVz8BQHSq2AWK1WPXbyHZkbY=; b=KO0zN+ld/t11hWBMfMBWLIQS0QSNG5BqFBpL5cun8nT7Ujj5iuS0jvtKD14923gZq6 BWDSiXnL8USHOm5qWJ5CeFbS+X+fCcX8DgpYB/0sCeg3rMb7DHl+H2CYVLln4ii0uC4Y Qw5dKLqoMVft0QPvbdehl7Pku63qO8dTBMu6f3TICIy9r/tdPVXIpsDns+jlGA8PWPxa Z0m2UAliuWJzf1IJ2uNLVtgFgbfAtZMSklrwaFNXNpT9Cpz7zI5XvVlk78gs3si+nIqP 8/rAru2THzPudNMwaU44Fxq2azJRDhzxcluIBQPmYtxAI/3+Y8kQL9dqpohIWKo1ni0B MunA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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:from:to:cc:subject:date :message-id:reply-to; bh=tVtsNd78yS1LGWcOmPojVz8BQHSq2AWK1WPXbyHZkbY=; b=jJP9yx7M6yogH5b9Ru/YkTRWo30O5aw4BSVqkgSBKZ2lRPdDMO7A2wQfZENsMrPqEf Td1tR2ux5bRrFUok7uwUAfTKrI6lWZ6zAkBhDUnj+B8r2+eVovrAUnIg2F1x0fQOmCSz l16mnnKJwj3lSL7dSuqjUVT8F2SWdS4rlZVBeINmyJ+LOZMu0IJgTY7nEu2EJphOykbE +7bPVo3X5SNaZFfpGlGhdYtDoyC2zXv8MmyUzHh/q0qsz5tQ56hwUsOGCy9F4Ya29Joj u9gAf8jDvTeNPM0sH11EEAnVvZxPCUptc4kfg0GvyQcINJAorhlh3FH+lZEfg7UnJ/QB Akfg== X-Gm-Message-State: AO0yUKUKxGAgKlaauN7bW1CteJ4Pl5PcxfJxSGO3/lYo3cSPVvosf9na nQ72Gfh4BGc9xv2GbaMXEJc= X-Google-Smtp-Source: AK7set9cr/5UW8e0dpHfV0I6N5c/z2vxp3DmnhFZB8OKvn8NO9Nc4PdDYAi2DTtoQfbIbFBn+rAHiQ== X-Received: by 2002:ac8:701b:0:b0:3b7:fda5:1cbc with SMTP id x27-20020ac8701b000000b003b7fda51cbcmr694256qtm.5.1677004497757; Tue, 21 Feb 2023 10:34:57 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6214:508d:b0:56e:a8ad:64c2 with SMTP id kk13-20020a056214508d00b0056ea8ad64c2ls4240385qvb.1.-pod-prod-gmail; Tue, 21 Feb 2023 10:34:55 -0800 (PST) X-Received: by 2002:a0c:f306:0:b0:571:dc47:6dd7 with SMTP id j6-20020a0cf306000000b00571dc476dd7mr200197qvl.59.1677004494792; Tue, 21 Feb 2023 10:34:54 -0800 (PST) In-Reply-To: X-Original-Sender: charles-X8LGipqgNpM@public.gmane.org X-Original-From: Charles Teague 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:32214 Archived-At: ------=_Part_3338_1958601046.1677004494330 Content-Type: multipart/alternative; boundary="----=_Part_3339_715518068.1677004494330" ------=_Part_3339_715518068.1677004494330 Content-Type: text/plain; charset="UTF-8" That is exactly the issue, ty! On Tuesday, February 21, 2023 at 12:41:56 PM UTC-5 John MacFarlane wrote: > The documented syntax is > > pandoc --list-extensions=commonmark > > That should give you the right list. > > Without the `=`, pandoc is giving you extensions for the default format, > and treating `commonmark` as an additional argument which is ignored. > > The `=` is necessary here (unlike with `--to`) because the argument is > optional. (If the `=` is not used, the option parser assumes you're not > providing an argument, because otherwise there'd be an ambiguity.) > > > On Feb 20, 2023, at 8:21 AM, 'Charles Teague' via pandoc-discuss < > pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> wrote: > > > > Starting in Pandoc 3, I've noticed that the commonmark format appears to > have a different set of extensions when enumerated via: > > > > `pandoc --list-extensions commonmark` > > > > The changes are: > > > > Removed: > > -amuse > > -attributes > > -element_citations > > -empty_paragraphs > > -epub_html_exts > > -mark > > -markdown_attribute > > -native_numbering > > -ntb > > -raw_markdown > > -sourcepos > > -styles > > -xrefs_name > > -xrefs_number > > > > Added: > > -wikilinks_title_after_pipe > > -wikilinks_title_before_pipe > > > > The removes were unexpected to us (things like `-sourcepos` appear to > work even though they are not listed in the output from that command). > Before I open an issue I just wanted to double check that this wasn't > expected and perhaps I just misunderstood something... > > > > Thanks > > > > Charles > > > > -- > > 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/e7c74574-45ce-43fa-a0b9-f3e70571b45en%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/be4647e6-a36d-4ae0-a2be-4c440ff9d170n%40googlegroups.com. ------=_Part_3339_715518068.1677004494330 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable That is exactly the issue, ty!

On Tuesday, February 21, 2023 at 12:41:56 = PM UTC-5 John MacFarlane wrote:
The documented syntax is

pandoc --list-extensions=3Dcommonmark

That should give you the right list.

Without the `=3D`, pandoc is giving you extensions for the default form= at, and treating `commonmark` as an additional argument which is ignored.

The `=3D` is necessary here (unlike with `--to`) because the argument i= s optional. (If the `=3D` is not used, the option parser assumes you'r= e not providing an argument, because otherwise there'd be an ambiguity.= )

> On Feb 20, 2023, at 8:21 AM, 'Charles Teague' via pandoc-d= iscuss <pandoc-...@googlegrou= ps.com> wrote:
>=20
> Starting in Pandoc 3, I've noticed that the commonmark format = appears to have a different set of extensions when enumerated via:
>=20
> `pandoc --list-extensions commonmark`
>=20
> The changes are:
>=20
> Removed:
> -amuse
> -attributes
> -element_citations
> -empty_paragraphs
> -epub_html_exts
> -mark
> -markdown_attribute
> -native_numbering
> -ntb
> -raw_markdown
> -sourcepos
> -styles
> -xrefs_name
> -xrefs_number
>=20
> Added:
> -wikilinks_title_after_pipe
> -wikilinks_title_before_pipe
>=20
> The removes were unexpected to us (things like `-sourcepos` appear= to work even though they are not listed in the output from that command). = Before I open an issue I just wanted to double check that this wasn't e= xpected and perhaps I just misunderstood something...
>=20
> Thanks
>=20
> Charles
>=20
> --=20
> 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..= .@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/e7c74574-4= 5ce-43fa-a0b9-f3e70571b45en%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://groups.google.com/d= /msgid/pandoc-discuss/be4647e6-a36d-4ae0-a2be-4c440ff9d170n%40googlegroups.= com.
------=_Part_3339_715518068.1677004494330-- ------=_Part_3338_1958601046.1677004494330--