* alphabetic characters preceded by backslash (\) are ignored @ 2021-09-16 9:56 Jiashu Zou [not found] ` <96580712-620a-4eaa-a4dc-129037bf5f3bn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> 0 siblings, 1 reply; 6+ messages in thread From: Jiashu Zou @ 2021-09-16 9:56 UTC (permalink / raw) To: pandoc-discuss [-- Attachment #1.1: Type: text/plain, Size: 573 bytes --] 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/96580712-620a-4eaa-a4dc-129037bf5f3bn%40googlegroups.com. [-- Attachment #1.2: Type: text/html, Size: 860 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <96580712-620a-4eaa-a4dc-129037bf5f3bn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>]
* Re: alphabetic characters preceded by backslash (\) are ignored [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> 0 siblings, 1 reply; 6+ messages in thread From: Jiashu Zou @ 2021-09-16 10:01 UTC (permalink / raw) To: pandoc-discuss [-- Attachment #1.1: Type: text/plain, Size: 783 bytes --] 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/353fea7b-e95d-4573-9614-693e4213eb92n%40googlegroups.com. [-- Attachment #1.2: Type: text/html, Size: 1283 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <353fea7b-e95d-4573-9614-693e4213eb92n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>]
* Re: alphabetic characters preceded by backslash (\) are ignored [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 1 sibling, 0 replies; 6+ messages in thread From: Jiashu Zou @ 2021-09-16 10:18 UTC (permalink / raw) To: pandoc-discuss [-- Attachment #1.1: Type: text/plain, Size: 992 bytes --] Clarification: by "alphabetic characters preceded by backslash" I mean alphabetic characters preceded by A SINGLE backslash. On Thursday, 16 September 2021 at 18:01:37 UTC+8 Jiashu Zou wrote: > 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/18107b7e-0b5f-48d6-89c9-acb90531b7f1n%40googlegroups.com. [-- Attachment #1.2: Type: text/html, Size: 1948 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: alphabetic characters preceded by backslash (\) are ignored [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> 1 sibling, 1 reply; 6+ messages in thread From: John MacFarlane @ 2021-09-16 16:42 UTC (permalink / raw) To: Jiashu Zou, pandoc-discuss 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 <zjsdut-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? ^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <m2fsu4lbeb.fsf-d8241O7hbXoP5tpWdHSM3tPlBySK3R6THiGdP5j34PU@public.gmane.org>]
* Re: alphabetic characters preceded by backslash (\) are ignored [not found] ` <m2fsu4lbeb.fsf-d8241O7hbXoP5tpWdHSM3tPlBySK3R6THiGdP5j34PU@public.gmane.org> @ 2021-09-17 1:23 ` amph...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org [not found] ` <089b0e7f-6b7d-4770-8f80-d9e9796178a6n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> 0 siblings, 1 reply; 6+ messages in thread From: amph...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org @ 2021-09-17 1:23 UTC (permalink / raw) To: pandoc-discuss [-- 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 --] ^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <089b0e7f-6b7d-4770-8f80-d9e9796178a6n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>]
* Re: alphabetic characters preceded by backslash (\) are ignored [not found] ` <089b0e7f-6b7d-4770-8f80-d9e9796178a6n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> @ 2021-09-17 2:49 ` John MacFarlane 0 siblings, 0 replies; 6+ messages in thread From: John MacFarlane @ 2021-09-17 2:49 UTC (permalink / raw) To: amph...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, pandoc-discuss Oh, right. If you're using `-f markdown`, then `\a` is treated as a raw tex command. Turn this off using `-f markdown-raw_tex` or use `commonmark` or `gfm`. Thanks Rik. "amph...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" <amphiboly-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes: > 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. -- 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/m2a6kblxvf.fsf%40Johns-Air.hsd1.ca.comcast.net. ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2021-09-17 2:49 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2021-09-16 9:56 alphabetic characters preceded by backslash (\) are ignored 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 [not found] ` <089b0e7f-6b7d-4770-8f80-d9e9796178a6n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> 2021-09-17 2:49 ` John MacFarlane
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).