From: "amph...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" <amphiboly-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Re: alphabetic characters preceded by backslash (\) are ignored
Date: Thu, 16 Sep 2021 18:23:39 -0700 (PDT) [thread overview]
Message-ID: <089b0e7f-6b7d-4770-8f80-d9e9796178a6n@googlegroups.com> (raw)
In-Reply-To: <m2fsu4lbeb.fsf-d8241O7hbXoP5tpWdHSM3tPlBySK3R6THiGdP5j34PU@public.gmane.org>
[-- Attachment #1.1: Type: text/plain, Size: 2089 bytes --]
Nmmm, Not the OP, but the following demonstrates the issue described.
When the input is described as commonmark, all is well. Otherwise, turning
off raw-tex support may be what the OP want.
╰─► 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.
╰─► echo " aa \a\a \aa bb " | pandoc -f markdown -t html
<p>” aa bb ”</p>
╰─► echo " aa \a\a \aa bb " | pandoc -f commonmark -t html
<p>" aa \a\a \aa bb "</p>
╰─► echo " aa \a\a \aa bb " | pandoc -f markdown-raw_tex -t html
<p>” aa \a\a \aa bb ”</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...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:
>
> > This behavior does not comply with the CommonMark spec. You can check at
> > 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
> >> converting from markdown to html. Where is this behavior documented? Is
> it
> >> possible to change?
>
--
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/089b0e7f-6b7d-4770-8f80-d9e9796178a6n%40googlegroups.com.
[-- Attachment #1.2: Type: text/html, Size: 3077 bytes --]
next prev parent reply other threads:[~2021-09-17 1:23 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-16 9:56 Jiashu Zou
[not found] ` <96580712-620a-4eaa-a4dc-129037bf5f3bn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2021-09-16 10:01 ` Jiashu Zou
[not found] ` <353fea7b-e95d-4573-9614-693e4213eb92n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2021-09-16 10:18 ` Jiashu Zou
2021-09-16 16:42 ` John MacFarlane
[not found] ` <m2fsu4lbeb.fsf-d8241O7hbXoP5tpWdHSM3tPlBySK3R6THiGdP5j34PU@public.gmane.org>
2021-09-17 1:23 ` amph...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org [this message]
[not found] ` <089b0e7f-6b7d-4770-8f80-d9e9796178a6n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2021-09-17 2:49 ` John MacFarlane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=089b0e7f-6b7d-4770-8f80-d9e9796178a6n@googlegroups.com \
--to=amphiboly-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).