From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/29252 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "amph...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" Newsgroups: gmane.text.pandoc Subject: Re: alphabetic characters preceded by backslash (\) are ignored Date: Thu, 16 Sep 2021 18:23:39 -0700 (PDT) Message-ID: <089b0e7f-6b7d-4770-8f80-d9e9796178a6n@googlegroups.com> References: <96580712-620a-4eaa-a4dc-129037bf5f3bn@googlegroups.com> <353fea7b-e95d-4573-9614-693e4213eb92n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_716_1593519264.1631841819127" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15985"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDL6NLHCUAMBBHG4R6FAMGQE7H3UJQY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Sep 17 03:23:42 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oo1-f59.google.com ([209.85.161.59]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mR2bO-0003uV-8g for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 17 Sep 2021 03:23:42 +0200 Original-Received: by mail-oo1-f59.google.com with SMTP id 68-20020a4a0d47000000b0028fe7302d04sf37717188oob.8 for ; Thu, 16 Sep 2021 18:23:42 -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=zI2NmXLgXJxycdOK9cwkCwJBR6CKJsSgkcSkwMr5Z3c=; b=HRyq4Kz4bIRkw2uuLB10/W0st9GeQiCl1e6hvikRa+373Op8hP8t/f6/EQSO3fR0Fp 9WlnGToL6NXJ6HW7thq/k5v+iVYJuOz3Pta8LzWyGEz4kaJ0PIesoZFWKeT0sto066r4 cK9CFBBWER21pp/cl7EaW9VV9G0dVPOIjh81bGDQD7DE3gh9k70boNf/eG6VuM0RDLwq IbxV7r4ZaehCRwtPzWY5D3gs1/if9hSFjd3BOo81eYssVvfgHPf0GCGyLtx/RbaXgY2H RvdnUduXavHyU+jB/h7/pP/ATfdfOOAlLPyIlMSI5OYCz5Vnl2QK/jP9TCYDvQ2prOA3 WXPA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=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=zI2NmXLgXJxycdOK9cwkCwJBR6CKJsSgkcSkwMr5Z3c=; b=JXRNMYZVUOLysLV2hkyongCLJiM6yeux9MyzXOaHaSonxctY0beWum8jk0Pw+5zUJp yug+9+bdoNoW1oI+LCO8ImsWCYazkZc/WJHtkPk3VOGgmNFTXnypgxG25ufZ6rnp2wjT MjKUw6P0FyEYZ3+WfHx1HAeDE6IO9O0Z6Pccij3A5QJ+h2AwCcaIdmip0Lix7PgDvnrM 2KmhjwOJfVI/exCUDj4RTEYn8fAg1FYmqXKBFCXNwVRW1A/b6yu/Wj7MdXGfV1O28MHj UnV5epB16zJRr+Rod/jcC62ML42hHyzgbAXNtwvWcyXa8zG7xmAbnV7W/sIbHPoph+x/ TsCg== 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=zI2NmXLgXJxycdOK9cwkCwJBR6CKJsSgkcSkwMr5Z3c=; b=cjNFmM4hBnq6ZxIEHeX6lDAjzAlSyOM+Gw7sbJDnH4Md2T6IUqDlqsMb2sJk/xsuGa AZztgOulZq07Wi2FuA/5FrpzRDjDo0KqNUkmr952YbxI/pe3EC1fmlNWFkXsO8cfNpqv 4kAT8ohIoVunGM6tyfvlJHuEHxCFqLShZfBwdGaqRhbhYmsqgvIsUexWkwyU8O7vePBL XAlzeaDbdmXQ4FkORvYbsiQX6lSuqSwSU09H3X+729uP3EFG3msUcDHmVRzUDe8jOBzB j44BvAYUN6W33VwagCB82781iwntwVoLj+5Wtdd3zbYTaIusqEJ2ipYkLkmxZAghzGId cI7g== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM532ltM3jvtOnyEIdIX6SsjW4RV6lzm/SAJphsJ4Bj9qAlx7TsHro jpZ+mLNto6baOsk5s93IV28= X-Google-Smtp-Source: ABdhPJwhqUW2BPZQDgadGtZYY4T+KkIbuydzXEAORotoahMKTEnHlEgJtWK2FqBFTscIcg5a6GHFMg== X-Received: by 2002:a05:6820:253:: with SMTP id b19mr4070506ooe.28.1631841821210; Thu, 16 Sep 2021 18:23:41 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:aca:210a:: with SMTP id 10ls2905964oiz.1.gmail; Thu, 16 Sep 2021 18:23:39 -0700 (PDT) X-Received: by 2002:a05:6808:1394:: with SMTP id c20mr11304313oiw.64.1631841819663; Thu, 16 Sep 2021 18:23:39 -0700 (PDT) In-Reply-To: X-Original-Sender: amphiboly-Re5JQEeQqe8AvxtiuMwx3w@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:29252 Archived-At: ------=_Part_716_1593519264.1631841819127 Content-Type: multipart/alternative; boundary="----=_Part_717_1855856090.1631841819127" ------=_Part_717_1855856090.1631841819127 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Nmmm, Not the OP, but the following demonstrates the issue described. When the input is described as commonmark, all is well. Otherwise, turning= =20 off raw-tex support may be what the OP want. =E2=95=B0=E2=94=80=E2=96=BA pandoc --version pandoc 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 User data directory: C:\Users\micro\AppData\Roaming\pandoc Copyright (C) 2006-2021 John MacFarlane. Web: https://pandoc.org This is free software; see the source for copying conditions. There is no warranty, not even for merchantability or fitness for a particular purpose. =E2=95=B0=E2=94=80=E2=96=BA echo " aa \a\a \aa bb " | pandoc -f markdown -t= html

=E2=80=9D aa bb =E2=80=9D

=E2=95=B0=E2=94=80=E2=96=BA echo " aa \a\a \aa bb " | pandoc -f commonmark = -t html

" aa \a\a \aa bb "

=E2=95=B0=E2=94=80=E2=96=BA echo " aa \a\a \aa bb " | pandoc -f markdown-ra= w_tex -t html

=E2=80=9D aa \a\a \aa bb =E2=80=9D

--=20 Rik On Thursday, September 16, 2021 at 12:43:07 PM UTC-4 John MacFarlane wrote: > > Perhaps you could use the permalink feature on the dingus to give > us a specific example? I tried \a\b and it worked fine. But > perhaps you're using some non-latin characters? > > Jiashu Zou writes: > > > This behavior does not comply with the CommonMark spec. You can check a= t=20 > > the commonmark.js demo https://spec.commonmark.org/dingus/ > > > > On Thursday, 16 September 2021 at 17:56:54 UTC+8 Jiashu Zou wrote: > > > >> alphabetic characters preceded by backslash (\) are ignored when=20 > >> converting from markdown to html. Where is this behavior documented? I= s=20 > it=20 > >> possible to change? > --=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/089b0e7f-6b7d-4770-8f80-d9e9796178a6n%40googlegroups.com. ------=_Part_717_1855856090.1631841819127 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Nmmm, Not the OP, but the following demonstrates the issue described.<= /div>

When the input is described as commonmark, all is = well. Otherwise, turning off raw-tex support may be what the OP want.
=

=E2=95=B0=E2=94=80=E2=96=BA pandoc --version
pando= c 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
User data directory: C:\Users\micro= \AppData\Roaming\pandoc
Copyright (C) 2006-2021 John MacFarlane. Web:&nb= sp; https://pandoc.org
This is free software; see the source for copying= conditions. There is no
warranty, not even for merchantability or fitne= ss for a particular purpose.

=E2=95=B0=E2=94=80=E2=96=BA echo " aa \= a\a \aa bb " | pandoc -f markdown -t html
<p>=E2=80=9D aa bb =E2= =80=9D</p>

=E2=95=B0=E2=94=80=E2=96=BA echo " aa \a\a \aa bb "= | pandoc -f commonmark -t html
<p>" aa \a\a \aa bb "</p>

=E2=95=B0=E2=94=80=E2=96=BA echo " aa \a\a \aa bb " | = pandoc -f markdown-raw_tex -t html
<p>=E2=80=9D aa \a\a \aa bb = =E2=80=9D</p>

--
Rik
On Thursday, September 16, 2021 at 12:43:07= PM UTC-4 John MacFarlane wrote:

Perhaps you could use the permalink feature on the dingus to give
us a specific example? I tried \a\b and it worked fine. But
perhaps you're using some non-latin characters?

Jiashu Zou <zjs...@gmail.= com> writes:

> This behavior does not comply with the CommonMark spec. You can ch= eck at=20
> the commonmark.js demo https://spec.commonmark.org/dingus/
>
> On Thursday, 16 September 2021 at 17:56:54 UTC+8 Jiashu Zou wrote:
>
>> alphabetic characters preceded by backslash (\) are ignored wh= en=20
>> converting from markdown to html. Where is this behavior docum= ented? Is it=20
>> possible to change?

--
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/089b0e7f-6b7d-4770-8f80-d9e9796178a6n%40googlegroups.= com.
------=_Part_717_1855856090.1631841819127-- ------=_Part_716_1593519264.1631841819127--