From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31026 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: PhilMac Newsgroups: gmane.text.pandoc Subject: Re: How to change dumb quotes to smart quotes without converting formats? Date: Tue, 19 Jul 2022 09:24:13 -0700 (PDT) Message-ID: <964a6bd4-8d97-4d25-b062-b60e7548a119n@googlegroups.com> References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_1414_2026173117.1658247853892" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37746"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCNPLQHPYMLBBL5V3OLAMGQEFVN7XNI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Jul 19 18:24:18 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-yb1-f191.google.com ([209.85.219.191]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1oDq1C-0009ah-8i for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 19 Jul 2022 18:24:18 +0200 Original-Received: by mail-yb1-f191.google.com with SMTP id u6-20020a25b7c6000000b00670862c5b16sf1127529ybj.12 for ; Tue, 19 Jul 2022 09:24:18 -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=v+twvx7thx06EzWqVx73G83r04EurLESR76UAOdj19k=; b=NLmnrtxdxZ20iqT6SA0yPFloaqRwX7I1vaTlFNVJharYGmzLovcR+sLeejNbHVoIuf g8IVD/e7wqRTsEiOFa6bjWj15YBNAVvkOSzUYWNmRCThmFfg6/npS56vyenbg9qSlovX etNxJQu3V2wHrZ3Z8GTEVb0wCk0L1cac0jQ58MxfPCwF+/kRVcDaXIqnG8pJTXPT8awO voLcZuZ8nRMFzuKJtGngT0/wbnpTST+N3CJrePmCVfg7BJ3LhLrtA4Aot0B/Lx60rwFQ WdMTxw2man9+AmqVNqxjU1hjg2bg58LHL5zOQB8s2rBb2RS7950BZ+t0+uyDyiidMtgM Gn4w== 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=v+twvx7thx06EzWqVx73G83r04EurLESR76UAOdj19k=; b=X/NcJXGmcryr431yL4jU2IEGpCJtHGSaU0B1obDPOxzCaJqaT8aqdYuqUZpzNxYv5N EFSazxIW98hkPZsBuhW2dgmRfHmJxVoMG2dAZ+MF0HzOs3moD2CL19/4PlnEEIaHljaw QV9eIIfIGGMptrrcDEIIt61NRgsxA6t1FNbcKY/5gg7GWo0Xb7smeeK8VX2fhxZgky13 5LuhG41ObbR4Et2c0tlhXOxI1DQ5cQHEi8XYiDGrUObIy05hegBLRMdmmc8dQF1lc6OC 622S+8B7LJE4Hoos5yfmAYdhziShZBkQWXZeedreK/L1uYp+fyFQsrcPcl0UHdXgNujX OlAQ== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AJIora/lXFmQLy4xz/eJQ8iFIkYLKObvUM8WwY91++7ALcX+wW2dOgzJ yqAGPo9FFA27B4j5+V39RaY= X-Google-Smtp-Source: AGRyM1tpJROTXmWZc+brZXnWf12BzevXrvVWxMz/R7dnIRh8tO5PfLo+gvMvJSG7kz+Lf47YNrQzuQ== X-Received: by 2002:a25:9f04:0:b0:670:92f9:92e2 with SMTP id n4-20020a259f04000000b0067092f992e2mr226576ybq.209.1658247857236; Tue, 19 Jul 2022 09:24:17 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a81:b60c:0:b0:313:306d:ddc7 with SMTP id u12-20020a81b60c000000b00313306dddc7ls294470ywh.3.-pod-prod-gmail; Tue, 19 Jul 2022 09:24:14 -0700 (PDT) X-Received: by 2002:a81:188a:0:b0:31c:86ee:2cf5 with SMTP id 132-20020a81188a000000b0031c86ee2cf5mr35718294ywy.471.1658247854519; Tue, 19 Jul 2022 09:24:14 -0700 (PDT) In-Reply-To: X-Original-Sender: philmac-97jfqw80gc6171pxa8y+qA@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:31026 Archived-At: ------=_Part_1414_2026173117.1658247853892 Content-Type: multipart/alternative; boundary="----=_Part_1415_1132450578.1658247853892" ------=_Part_1415_1132450578.1658247853892 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Perfect=E2=80=94thank you! On Tuesday, July 19, 2022 at 2:37:23 AM UTC-4 Bastien Dumont wrote: > Does adding "-t markdown-smart" meet you requirements? > > Le Monday 18 July 2022 =C3=A0 06:33:01PM, phi...-97jfqw80gc6171pxa8y+qA@public.gmane.org a =C3=A9crit= : > > I have text files written in Markdown, and I want to smarten their=20 > punctuation. > > I know that, when converting to Markdown, Pandoc does this by default= =20 > with the > > [1]smart extension. Is there a way to apply the effect of this extensio= n=20 > to a > > file that is already in Markdown and that I don't want to convert to=20 > some other > > format? > >=20 > > A wrinkle: I want to do this to all files in a directory, and I don't= =20 > want them > > text-wrapped. The command I'm presently using is: > >=20 > > for f in *.md; do pandoc --wrap=3Dnone "$f" -s -o "${f%.md}.md"; done > >=20 > > I guess it's no suprise that it doesn't do anything. I would appreciate= =20 > any > > help! > >=20 > > -- > > You received this message because you are subscribed to the Google Grou= ps > > "pandoc-discuss" group. > > To unsubscribe from this group and stop receiving emails from it, send= =20 > an email > > to [2]pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To view this discussion on the web visit [3] > https://groups.google.com/d/msgid/ > > pandoc-discuss/defefcc0-b18e-4ffd-a188-472ee4a90963n%40googlegroups.com= . > >=20 > > References: > >=20 > > [1] https://pandoc.org/MANUAL.html#extension-smart > > [2] mailto:pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > > [3]=20 > https://groups.google.com/d/msgid/pandoc-discuss/defefcc0-b18e-4ffd-a188-= 472ee4a90963n%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter > > --=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 e= mail 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/964a6bd4-8d97-4d25-b062-b60e7548a119n%40googlegroups.com. ------=_Part_1415_1132450578.1658247853892 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Perfect=E2=80=94thank you!

On Tuesday, July 19, 2022 at 2:37:23 AM UTC-4 Bast= ien Dumont wrote:
Does adding "-t markdown-smart" meet you requirements?

Le Monday 18 July 2022 =C3=A0 06:33:01PM, phi...-97jfqw80gc6171pxa8y+qA@public.gmane.org a =C3=A9crit :
> I have text files written in Markdown, and I want to smarten their= punctuation.
> I know that, when converting to Markdown, Pandoc does this by defa= ult with the
> [1]smart extension. Is there a way to apply the effect of this ext= ension to a
> file that is already in Markdown and that I don't want to conv= ert to some other
> format?
>=20
> A wrinkle: I want to do this to all files in a directory, and I do= n't want them
> text-wrapped. The command I'm presently using is:
>=20
> for f in *.md; do pandoc --wrap=3Dnone "$f" -s -o "= ${f%.md}.md"; done
>=20
> I guess it's no suprise that it doesn't do anything. I wou= ld appreciate any
> help!
>=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 [2]pandoc-discus...@= googlegroups.com.
> To view this discussion on the web visit [3]https://groups.google.com/d/msgid/
> pandoc-discuss/defefcc0-b18e-4ffd-a188-472ee4a90963n%40googlegroups.com.
>=20
> References:
>=20
> [1] https://pandoc.org/MANUAL.html#extension-smart
> [2] mailto:pandoc-discu= s...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> [3] https://gro= ups.google.com/d/msgid/pandoc-discuss/defefcc0-b18e-4ffd-a188-472ee4a90963n= %40googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter

--
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/964a6bd4-8d97-4d25-b062-b60e7548a119n%40googlegroups.= com.
------=_Part_1415_1132450578.1658247853892-- ------=_Part_1414_2026173117.1658247853892--