From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32224 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: A A Newsgroups: gmane.text.pandoc Subject: Re: Can math elements have attributes Date: Thu, 23 Feb 2023 10:36:51 +0100 Message-ID: References: <0845b275-aa43-4fc3-86a5-17b20de652een@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000004c0e2705f55ac187" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18041"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDJ77HUDRUCBBP7H3SPQMGQE7INYX6A-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Feb 23 10:37:08 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-pj1-f57.google.com ([209.85.216.57]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pV82G-0004VK-2z for gtp-pandoc-discuss@m.gmane-mx.org; Thu, 23 Feb 2023 10:37:08 +0100 Original-Received: by mail-pj1-f57.google.com with SMTP id d3-20020a17090acd0300b00237659aae8dsf461368pju.1 for ; Thu, 23 Feb 2023 01:37:07 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1677145026; cv=pass; d=google.com; s=arc-20160816; b=WIlhKc819tA9zXTTXLsOX6V2wVSQrILJmFiHcm2eb0ACqhzSJahL4Psl4DIE35JMYR ASL2/WdqPVlaIXjbBNgHIjL4k0zf+ujWYCIRBeM4J1XMPnxxTlZ4VKlcPTevV7nX1GHH ULRf5/JeE0jv8vUZl0sd9ZqLxNv50kFD5HV4/ZZeaN4WXYm4wQWqZJ7Qnbfcpw0Gk/dz yLjCFKIyR+tO7tCOn0PRvDxzMIzddlEZb+6j7oY7WkWUzkB4zdk/RcApXPRef2in/eSV xQ9zwk/jdBPWKGniXhuHwJZlP9tPXTGTHjk39VBBEUyIa+u2Z7yuu6KrKaJ3nw2h42vE j/jQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:to:subject:message-id:date :from:in-reply-to:references:mime-version:sender:dkim-signature :dkim-signature; bh=mWArDTwIVJivPjszNRvCFY01c1/NWaS58DZY7QDVX/o=; b=LsbXTmpyAfyO2x68CkVi7536Bd20Q4VKQHTSDrCxCyrPs8NE0IXJhHnlLlQhcP1R8l eIaGS8ou1ACJ8/dbgVktxcGgfMRD8nZYQJ5WSNeVyKBTvLrLi98kX/0BKs8dhbGj2ApK bCl7NoJsPP1FZHBD82O5lBwpQ3DxIo48sFHQLyZDDjB7uxjxfecunbgNXTaXl5Es3eX5 8TfFCNOE3GHgM/KlXKKI4bALGohMLzJiwonzNjdcmcXPa1iHSuXN+k1w4yqVSnMrePmC GmG/IYCzttok3W/JVaEAvcvZAPAcrdPcKEKrOryVKioRm9DGBNT3OF0jmBA6bbxw7Gsu RxMg== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=nRI7BBem; spf=pass (google.com: domain of amine.aboufirass-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::531 as permitted sender) smtp.mailfrom=amine.aboufirass-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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-authentication-results:x-original-sender:to:subject :message-id:date:from:in-reply-to:references:mime-version:sender :from:to:cc:subject:date:message-id:reply-to; bh=mWArDTwIVJivPjszNRvCFY01c1/NWaS58DZY7QDVX/o=; b=rl+SkjZ5qGr9ZahAuPuPrt6Czd1KeBv4yygs144RVujwCVJpfMj+O/l5cOAhGJdDbQ wWjFEvqZusZTeBffRsnEhJzNW+CdDfg8bwHjuY3ePwcutpvINiT8fX1aDAncx6wDtDgz RzlYz9R+CxyW6cT2s6MsfI8PdToblQ+BHMzSBWEIqPzR9+sVbj58kfFWKE5OqvFk0TOt mJ++Z09n2xP05lIl+R/Fap8dINX0nZHNTbYlm2/Q3qi8yA2JFLH/CYy1dor4WF5+82ri K4TxcUX42Nsemo8Zt22tE7yIt1NrW+9twpwWBaI21MFbz8eUBrYpMw9IOR1JXn3r8W+Y Fk1w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:to:subject :message-id:date:from:in-reply-to:references:mime-version:from:to:cc :subject:date:message-id:reply-to; bh=mWArDTwIVJivPjszNRvCFY01c1/NWaS58DZY7QDVX/o=; b=AGrKOl/t9k1P07FPR4x2K/U9Xw0jFtzB8RwvL1bgqKSEmVfakyqtgA2cHjBOziypwC dn121/x2pukL9Vs3C+mNCURG8YVbtH9Sc5Q5dvgmucT0/6uNXhPJqj9Tur3agDSGTz6I jaVymi2ByJcRaZk2qQA1wcpL/Asegapc4Lm7Q6oxDR+SasfVbSX6N7/IB5IiOYUDaH7y I1umcpVy9IrsPRTaJG/+3qxccDh3nLvO958i6QIhkV+mFbT8TN+PLLHKNJ0ZbQxE/G2H zdx1qZRFIBiD5DUkJlM5s8X38nOaFzwGeoUXyOpe4/WeSUVMTfv/gxnpR0upVeg7M+VC fOFg== 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-authentication-results:x-original-sender:to:subject :message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:sender:from:to:cc:subject:date:message-id :reply-to; bh=mWArDTwIVJivPjszNRvCFY01c1/NWaS58DZY7QDVX/o=; b=p0uvbNpJt0s4wHJ5yH118BhlzGzXvB++blQRdFQI6KeUuZffOfLop851odekQItSZ/ G3kLThtcu9unMn+iwrvH9Ach5frYq8MLMGy3tbQHKmLkSUS3xh3FHajYUTSlRFaqNtY7 McOeDKbh7HoMDMUAQwhEyduH3zT7JaenLUSD3grtpgqVdQE5ktQtijVWX9J+lvFTwNic eIwcY5QevH4WyiqaRnnnyMR4maU9QZRMY/fO1ZUMskh56/mPNzHSOVDU3WejSCptFkCm 0SM2ba1HZaRrOsFDOv0vpqXf+fpRzpRvnieTqNkkwdCP3E Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AO0yUKVA18cDFc0quNuiOZWpzU6vewybVASsiIuq5YC7UNn84uINKd+i fy7tUXDC/O2wv+CP1XandFU= X-Google-Smtp-Source: AK7set80cdiqjiG07edf2+cpMhR3G3KPndTPhxrukpZBm9KZiSXwEEuWJ+TEETj7QkznUMkCsn/d5A== X-Received: by 2002:a17:90b:48cf:b0:236:8e3e:1cd7 with SMTP id li15-20020a17090b48cf00b002368e3e1cd7mr3634151pjb.111.1677145026654; Thu, 23 Feb 2023 01:37:06 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a17:90b:4fc2:b0:234:bff4:2e74 with SMTP id qa2-20020a17090b4fc200b00234bff42e74ls1827140pjb.1.-pod-preprod-gmail; Thu, 23 Feb 2023 01:37:03 -0800 (PST) X-Received: by 2002:a17:90b:4ad0:b0:22c:5cc0:eecc with SMTP id mh16-20020a17090b4ad000b0022c5cc0eeccmr13787344pjb.29.1677145022943; Thu, 23 Feb 2023 01:37:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677145022; cv=none; d=google.com; s=arc-20160816; b=uv27oPdlxwovsSMpRilreCdpx52RIFXsodfcvrI1GYHpXZqZU7VWKkfQfbc/hbuRBi 1Sa5ISxPDk0hOq1dHenv8a9IgccqB8ism+62cCtEGT8ieSGxqZqkahC+URboFCq8pkA7 afAfavlNgLLV8tuqkWx8BIWfoz4fVlbzKcjef6m/PSpzxI0IETmuORQsTS5vyRgsNdIy 3vWG4C1qWy51qbk8YbJTmR0UR0+yDi9Oqr33YjYpK/ta1+tkDGBpcexGe7CM75Bh5mbF 9vuCqUEJBNAfhX0MHmqlZvAoE9DGMOQ7bvxZGkP6O6zCypLaaFqOLaJ2iwFPj1jny754 epPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=uEv37Dx2edWkkQAXRGHcu6rGOvX4VH4k1DSSNa24Gik=; b=abB4FyaqADsW9UU+jPQtixhrcIw586O+aWo9Nkqgwjic3/O++E3POQ4NU2GijAwE7k oIL96TtpFxnPjz+KCz1yt9SfuPOuGEQIGFsmsRkI2bme+UQbpkzbVuk+7km5GwGpufMX Eyzsrrjle/gR5j3iBvZh4hDhaMwr5g+sPVvUSOaTWDH36wLaEjw6/R3myNlsFtgmWqQL i9Pad+i2ZlRJTedX3rZo5CXKzB4yx43uqPkvcdGUKxna1ElgVNjyRw8+HH5rvBBpGe7s yEBE1gtgoeTwvCAbR6vrCk4UdtCf/6XXTtJuqclT0XroFGFfqvpUvWxdW7ivhsoXsMEI KnVw== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=nRI7BBem; spf=pass (google.com: domain of amine.aboufirass-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::531 as permitted sender) smtp.mailfrom=amine.aboufirass-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Original-Received: from mail-pg1-x531.google.com (mail-pg1-x531.google.com. [2607:f8b0:4864:20::531]) by gmr-mx.google.com with ESMTPS id jx18-20020a17090b46d200b002373b032314si303659pjb.0.2023.02.23.01.37.02 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 23 Feb 2023 01:37:02 -0800 (PST) Received-SPF: pass (google.com: domain of amine.aboufirass-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::531 as permitted sender) client-ip=2607:f8b0:4864:20::531; Original-Received: by mail-pg1-x531.google.com with SMTP id p6so5525985pga.0 for ; Thu, 23 Feb 2023 01:37:02 -0800 (PST) X-Received: by 2002:a63:3e4f:0:b0:4fc:a80e:e6ec with SMTP id l76-20020a633e4f000000b004fca80ee6ecmr1626622pga.5.1677145022398; Thu, 23 Feb 2023 01:37:02 -0800 (PST) In-Reply-To: X-Original-Sender: amine.aboufirass-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=nRI7BBem; spf=pass (google.com: domain of amine.aboufirass-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::531 as permitted sender) smtp.mailfrom=amine.aboufirass-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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:32224 Archived-At: --0000000000004c0e2705f55ac187 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I see. It sounds like there is definitely an advantage here. Thanks. On Thu, 23 Feb 2023 at 10:30, Bastien DUMONT wrote: > Semantically, it signals the text as a mathematical expression. > Pragmatically, you get access to it via the Math element in your writer, > where it is represented as a plain string, not as a list of Inlines, whic= h > makes it more easy to handle and prevents it to be interpreted as markdow= n > (think of what could happen with the characters ^ and _). > > Le Thursday 23 February 2023 =C3=A0 10:17:35AM, A A a =C3=A9crit : > > I see, thank you both for your response. I guess I will have to go with > > enclosing things in a Span or Div element. > > > > If I=E2=80=99m designing my own writer though, I=E2=80=99m not sure why= this: > > > > [$x =3D 1+2$]{ .cs #math:equation caption=3Dtest} > > > > Is any better than this: > > > > [x =3D 1+2]{ .cs #math:equation caption=3Dtest} > > > > Because in both cases I have access to the LaTeX math inside of the > span. What > > added advantage does including the mathematical expression between > dollar signs > > $...$ provide? > > > > Regards, > > > > Amine > > > > > > On Wed, 22 Feb 2023 at 17:38, Bastien DUMONT <[1] > bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org> > > wrote: > > > > For spans, it would rather be: > > > > [$$x =3D 1+2$$]{ .cs #math:equation caption=3Dtest} > > > > [$x =3D 1+2$]{ .cs #math:equation caption=3Dtest} > > > > (Backticks are for code elements.) > > > > Le Wednesday 22 February 2023 =C3=A0 08:33:36AM, Julien Dutant a = =C3=A9crit : > > > I'd check out if there's an extension flag ([2]https://pandoc.org= / > > MANUAL.html# > > > extensions) you can add to commonmark_x input for it to process > multiline > > > attributes. Or one that can be added to markdown to process math > > attributes. > > > > > > As the Pandoc AST doesn't have attributes on Math elements > ([3]https:// > > pandoc.org/ > > > lua-filters.html#type-math) the common mark reader turns them int= o > > attributes > > > of a container Span element, as your output shows. So an > alternative > > would be > > > to simply write the span in Pandoc's markdown by simply adding a > backtick > > > before and after: > > > > > > `$$x =3D 1+2$$`{ .cs #math:equation caption=3Dtest} > > > > > > `$x =3D 1+2$ `{ .cs #math:equation caption=3Dtest} > > > > > > ~~~{ > > > .cs > > > #lst:my-listing > > > caption=3Dtest } > > > def f(x): > > > return x > > > ~~~ > > > > > > Writing a Lua filter that picks up either is also an option. > Picking up > > > attributes list after equations is probably a bit complicated. Bu= t > using > > > pattern matching to process the initial {...} in a code block is > more > > feasible. > > > > > > All the best, > > > > > > On Wednesday, February 22, 2023 at 8:15:53 AM UTC A A wrote: > > > > > > Anyone? I also opened an issue in Github but no response. > > > > > > On Fri, 17 Feb 2023 at 12:01, A A <[4]amine.ab...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > wrote: > > > > > > Dear all, > > > > > > > > > Having not received a response to my query below, I ran a > few of > > my own > > > tests to try to understand what is going on. > > > > > > It seems that commonmark_x does recognize attributes for > both > > inline > > > and display math. If I have the following in my markdown > file: > > > > > > $$x =3D 1+2$${ .cs #math:equation caption=3Dtest} > > > > > > $x =3D 1+2${ .cs #math:equation caption=3Dtest} > > > > > > ~~~{ > > > .cs > > > #lst:my-listing > > > caption=3Dtest > > > } > > > def f(x): > > > return x > > > ~~~ > > > > > > And I run pandoc --from commonmark_x --to native test.md = I > will > > get the > > > following: > > > > > > [ Para > > > [ Span > > > ( "math:equation" , [ "cs" ] , [ ( "caption" , > "test" ) ] > > ) > > > [ Math DisplayMath "x =3D 1+2" ] > > > ] > > > , Para > > > [ Span > > > ( "math:equation" , [ "cs" ] , [ ( "caption" , > "test" ) ] > > ) > > > [ Math InlineMath "x =3D 1+2" ] > > > ] > > > , CodeBlock > > > ( "" , [ "{" ] , [] ) > > > " .cs \n #lst:my-listing \n caption=3Dtest\n }\nd= ef > f(x):\ > > n return x" > > > ] > > > > > > Notice that the multiline attributes for the CodeBlock > element > > are not > > > picked up. If I instead try pandoc --from markdown --to > native > > test.md: > > > > > > [ Para > > > [ Math DisplayMath "x =3D 1+2" > > > , Str "{" > > > , Space > > > , Str ".cs" > > > , Space > > > , Str "#math:equation" > > > , Space > > > , Str "caption=3Dtest}" > > > ] > > > , Para > > > [ Math InlineMath "x =3D 1+2" > > > , Str "{" > > > , Space > > > , Str ".cs" > > > , Space > > > , Str "#math:equation" > > > , Space > > > , Str "caption=3Dtest}" > > > ] > > > , CodeBlock > > > ( "lst:my-listing" , [ "cs" ] , [ ( "caption" , "test= " > ) ] ) > > > "def f(x):\n return x" > > > ] > > > > > > > > > The attributes in the CodeBlock element are picked up, bu= t > the > > > attributes for display and inline math are not. > > > > > > Unfortunately, for my use case I would like to be able to > assign > > > multiline attributes to code block elements and assign > attributes > > to > > > display and inline math elements. > > > > > > Is there a way to achieve both in the same markdown file? > Thanks > > for > > > your consideration. > > > > > > Regards, > > > > > > Amine > > > > > > > > > ---------- Forwarded message --------- > > > From: A A <[5]amine.ab...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > > > Date: Wed, 8 Feb 2023 at 13:52 > > > Subject: Can math elements have attributes > > > To: <[6]pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > > > > > > > > > Dear all, > > > > > > I am writing my own pandoc to latex converter using > panflute and > > would > > > like to attach attributes to Math elements. I have tried > the > > following > > > syntax, but it seems that the attribute is not being > picked up by > > > panflute: > > > > > > ``` > > > $$x=3Dy$${ a=3Db } > > > ``` > > > > > > I did some of my own research to figure out what I was > doing > > wrong. And > > > a couple of things became apparent: > > > > > > - On the one hand, it looks like pandoc might not support > this: > > > - [1][7]https://github.com/jgm/pandoc/issues/684 > > > - [2][8]https://github.com/jgm/pandoc/issues/5286 > > > - On the other hand, `pandoc-crossref` seems to be able t= o > handle > > this > > > syntax: > > > - [3][9]https://github.com/lierdakil/pandoc-crossref > > > - [4][10]https://lierdakil.github.io/pandoc-crossref/= # > > equation-labels > > > > > > Is this currently supported by pandoc? If not then how is > > > `pandoc-crossref` able to handle it? Thanks for your > > consideration. > > > > > > Regards, > > > > > > Amine > > > > > > > > > > > > -- > > > You received this message because you are subscribed to the Googl= e > Groups > > > "pandoc-discuss" group. > > > To unsubscribe from this group and stop receiving emails from it, > send an > > email > > > to [5][11]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > > To view this discussion on the web visit [6][12] > https://groups.google.com > > /d/msgid/ > > > pandoc-discuss/0845b275-aa43-4fc3-86a5-17b20de652een%[13] > > 40googlegroups.com. > > > > > > References: > > > > > > [1] [14]https://github.com/jgm/pandoc/issues/684 > > > [2] [15]https://github.com/jgm/pandoc/issues/5286 > > > [3] [16]https://github.com/lierdakil/pandoc-crossref > > > [4] [17] > https://lierdakil.github.io/pandoc-crossref/#equation-labels > > > [5] mailto:[18]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > > > [6] [19]https://groups.google.com/d/msgid/pandoc-discuss/ > > 0845b275-aa43-4fc3-86a5-17b20de652een% > 40googlegroups.com?utm_medium=3Demail& > > utm_source=3Dfooter > > > > -- > > 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 [20]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To view this discussion on the web visit [21] > https://groups.google.com/d/ > > msgid/pandoc-discuss/Y/ZFCMVKXpyaki12%40localhost. > > > > -- > > 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 > an email > > to [22]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To view this discussion on the web visit [23] > https://groups.google.com/d/msgid/ > > pandoc-discuss/ > > CAMwawgMca58Ae4Ag0mB0XP_PMPbYubUY2UxBjTvPxXiS4DvozA%40mail.gmail.com. > > > > References: > > > > [1] mailto:bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org > > [2] https://pandoc.org/MANUAL.html# > > [3] https://pandoc.org/ > > [4] mailto:amine.ab...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > > [5] mailto:amine.ab...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > > [6] mailto:pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > > [7] https://github.com/jgm/pandoc/issues/684 > > [8] https://github.com/jgm/pandoc/issues/5286 > > [9] https://github.com/lierdakil/pandoc-crossref > > [10] https://lierdakil.github.io/pandoc-crossref/#equation-labels > > [11] mailto:pandoc-discuss%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > > [12] https://groups.google.com/d/msgid/ > > [13] http://40googlegroups.com/ > > [14] https://github.com/jgm/pandoc/issues/684 > > [15] https://github.com/jgm/pandoc/issues/5286 > > [16] https://github.com/lierdakil/pandoc-crossref > > [17] https://lierdakil.github.io/pandoc-crossref/#equation-labels > > [18] mailto:pandoc-discuss%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > > [19] > https://groups.google.com/d/msgid/pandoc-discuss/0845b275-aa43-4fc3-86a5-= 17b20de652een%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter > > [20] mailto:pandoc-discuss%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > > [21] > https://groups.google.com/d/msgid/pandoc-discuss/Y/ZFCMVKXpyaki12%40local= host > > [22] mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > > [23] > https://groups.google.com/d/msgid/pandoc-discuss/CAMwawgMca58Ae4Ag0mB0XP_= PMPbYubUY2UxBjTvPxXiS4DvozA%40mail.gmail.com?utm_medium=3Demail&utm_source= =3Dfooter > > -- > 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/Y/cyOCyZLIs9UXPC%40local= host > . > --=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/CAMwawgMia8TwdPJdyZuub-4xGjDJ9aVTOUGP%3Dwf7nbtb3BmbpA%40mail= .gmail.com. --0000000000004c0e2705f55ac187 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I see. It sounds like there is definitely an advantage her= e. Thanks.

On Thu, 23 Feb 2023 at 10:30, Bastien DUMONT <bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org> wrote:
Semantically, it sign= als the text as a mathematical expression. Pragmatically, you get access to= it via the Math element in your writer, where it is represented as a plain= string, not as a list of Inlines, which makes it more easy to handle and p= revents it to be interpreted as markdown (think of what could happen with t= he characters ^ and _).

Le Thursday 23 February 2023 =C3=A0 10:17:35AM, A A a =C3=A9crit :
> I see, thank you both for your response. I guess I will have to go wit= h
> enclosing things in a Span or Div element.
>
> If I=E2=80=99m designing my own writer though, I=E2=80=99m not sure wh= y this:
>
> [$x =3D 1+2$]{ .cs #math:equation caption=3Dtest}
>
> Is any better than this:
>
> [x =3D 1+2]{ .cs #math:equation caption=3Dtest}
>
> Because in both cases I have access to the LaTeX math inside of the sp= an. What
> added advantage does including the mathematical expression between dol= lar signs
> $...$ provide?
>
> Regards,
>
> Amine
>
>
> On Wed, 22 Feb 2023 at 17:38, Bastien DUMONT <[1]bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org&= gt;
> wrote:
>
>=C2=A0 =C2=A0 =C2=A0For spans, it would rather be:
>
>=C2=A0 =C2=A0 =C2=A0[$$x =3D 1+2$$]{ .cs #math:equation caption=3Dtest}=
>
>=C2=A0 =C2=A0 =C2=A0[$x =3D 1+2$]{ .cs #math:equation caption=3Dtest} >
>=C2=A0 =C2=A0 =C2=A0(Backticks are for code elements.)
>
>=C2=A0 =C2=A0 =C2=A0Le Wednesday 22 February 2023 =C3=A0 08:33:36AM, Ju= lien Dutant a =C3=A9crit :
>=C2=A0 =C2=A0 =C2=A0> I'd check out if there's an extension = flag ([2]https://pandoc.org/
>=C2=A0 =C2=A0 =C2=A0MANUAL.html#
>=C2=A0 =C2=A0 =C2=A0> extensions) you can add to commonmark_x input = for it to process multiline
>=C2=A0 =C2=A0 =C2=A0> attributes. Or one that can be added to markdo= wn to process math
>=C2=A0 =C2=A0 =C2=A0attributes.
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0> As the Pandoc AST doesn't have attributes = on Math elements ([3]https://
>=C2=A0 =C2=A0 =C2=A0pandoc.org/
>=C2=A0 =C2=A0 =C2=A0> lua-filters.html#type-math) the common mark re= ader turns them into
>=C2=A0 =C2=A0 =C2=A0attributes
>=C2=A0 =C2=A0 =C2=A0> of a container Span element, as your output sh= ows. So an alternative
>=C2=A0 =C2=A0 =C2=A0would be
>=C2=A0 =C2=A0 =C2=A0> to simply write the span in Pandoc's markd= own by simply adding a backtick
>=C2=A0 =C2=A0 =C2=A0> before and after:
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0> `$$x =3D 1+2$$`{ .cs #math:equation caption=3D= test}
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0> `$x =3D 1+2$ `{ .cs #math:equation caption=3Dt= est}
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0> ~~~{
>=C2=A0 =C2=A0 =C2=A0> =C2=A0 .cs
>=C2=A0 =C2=A0 =C2=A0> =C2=A0 #lst:my-listing
>=C2=A0 =C2=A0 =C2=A0> =C2=A0 caption=3Dtest=C2=A0}
>=C2=A0 =C2=A0 =C2=A0> def f(x):
>=C2=A0 =C2=A0 =C2=A0> =C2=A0=C2=A0 return x
>=C2=A0 =C2=A0 =C2=A0> ~~~
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0> Writing a Lua filter that picks up either is a= lso an option. Picking up
>=C2=A0 =C2=A0 =C2=A0> attributes list after equations is probably a = bit complicated. But using
>=C2=A0 =C2=A0 =C2=A0> pattern matching to process the initial {...} = in a code block is more
>=C2=A0 =C2=A0 =C2=A0feasible.
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0> All the best,
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0> On Wednesday, February 22, 2023 at 8:15:53 AM = UTC A A wrote:
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0Anyone? I also opened an is= sue in Github but no response.
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0On Fri, 17 Feb 2023 at 12:0= 1, A A <[4]am= ine.ab...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Dear all,
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Having not re= ceived a response to my query below, I ran a few of
>=C2=A0 =C2=A0 =C2=A0my own
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0tests to try = to understand what is going on.
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0It seems that= commonmark_x does recognize attributes for both
>=C2=A0 =C2=A0 =C2=A0inline
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0and display m= ath. If I have the following in my markdown file:
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0$$x =3D 1+2$$= { .cs #math:equation caption=3Dtest}
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0$x =3D 1+2${ = .cs #math:equation caption=3Dtest}
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0~~~{
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0.cs >=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0#lst:m= y-listing
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0captio= n=3Dtest
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0}
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0def f(x):
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0return x
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0~~~
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0And I run pan= doc --from commonmark_x --to native test.md I will
>=C2=A0 =C2=A0 =C2=A0get the
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0following: >=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0[ Para
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0[ Span
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0( "math:equation" , [ "cs" ] , [ ( &qu= ot;caption" , "test" ) ]
>=C2=A0 =C2=A0 =C2=A0)
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0[ Math DisplayMath "x =3D 1+2" ]
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0]
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0, Para
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0[ Span
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0( "math:equation" , [ "cs" ] , [ ( &qu= ot;caption" , "test" ) ]
>=C2=A0 =C2=A0 =C2=A0)
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0[ Math InlineMath "x =3D 1+2" ]
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0]
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0, CodeBlock >=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0( "" , [ "{" ] , [] )
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0"=C2=A0 .cs \n=C2=A0 #lst:my-listing \n=C2=A0 caption=3Dtest\n=C2= =A0 }\ndef f(x):\
>=C2=A0 =C2=A0 =C2=A0n=C2=A0 =C2=A0 return x"
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0]
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Notice that t= he multiline attributes for the CodeBlock element
>=C2=A0 =C2=A0 =C2=A0are not
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0picked up. If= I instead try pandoc --from markdown --to native
>=C2=A0 =C2=A0 =C2=A0test.md:
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0[ Para
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0[ Math DisplayMath "x =3D 1+2"
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0, Str "{"
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0, Space
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0, Str ".cs"
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0, Space
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0, Str "#math:equation"
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0, Space
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0, Str "caption=3Dtest}"
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0]
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0, Para
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0[ Math InlineMath "x =3D 1+2"
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0, Str "{"
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0, Space
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0, Str ".cs"
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0, Space
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0, Str "#math:equation"
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0, Space
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0, Str "caption=3Dtest}"
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0]
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0, CodeBlock >=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0( "lst:my-listing" , [ "cs" ] , [ ( "caption&qu= ot; , "test" ) ] )
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0"def f(x):\n=C2=A0 =C2=A0 return x"
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0]
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0The attribute= s in the CodeBlock element are picked up, but the
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0attributes fo= r display and inline math are not.
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Unfortunately= , for my use case I would like to be able to assign
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0multiline att= ributes to code block elements and assign attributes
>=C2=A0 =C2=A0 =C2=A0to
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0display and i= nline math elements.
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Is there a wa= y to achieve both in the same markdown file? Thanks
>=C2=A0 =C2=A0 =C2=A0for
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0your consider= ation.
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Regards,
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Amine
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0---------- Fo= rwarded message ---------
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0From: A A <= ;[5]amine.ab...@= gmail.com>
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Date: Wed, 8 = Feb 2023 at 13:52
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Subject: Can = math elements have attributes
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0To: <[6]pandoc-...@g= ooglegroups.com>
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Dear all,
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0I am writing = my own pandoc to latex converter using panflute and
>=C2=A0 =C2=A0 =C2=A0would
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0like to attac= h attributes to Math elements. I have tried the
>=C2=A0 =C2=A0 =C2=A0following
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0syntax, but i= t seems that the attribute is not being picked up by
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0panflute:
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0```
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0$$x=3Dy$${ a= =3Db }
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0```
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0I did some of= my own research to figure out what I was doing
>=C2=A0 =C2=A0 =C2=A0wrong. And
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0a couple of t= hings became apparent:
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0- On the one = hand, it looks like pandoc might not support this:
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0 =C2=A0= - [1][7]https://github.com/jgm/pandoc/issues/684
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0 =C2=A0= - [2][8]https://github.com/jgm/pandoc/issues/5286
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0- On the othe= r hand, `pandoc-crossref` seems to be able to handle
>=C2=A0 =C2=A0 =C2=A0this
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0syntax:
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0 =C2=A0= - [3][9]https://github.com/lierdakil/pandoc-crossref

>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0 =C2=A0= - [4][10]
https://lierdakil.github.io/pandoc-crossref/#=
>=C2=A0 =C2=A0 =C2=A0equation-labels
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Is this curre= ntly supported by pandoc? If not then how is
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0`pandoc-cross= ref` able to handle it? Thanks for your
>=C2=A0 =C2=A0 =C2=A0consideration.
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Regards,
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Amine
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0> --
>=C2=A0 =C2=A0 =C2=A0> You received this message because you are subs= cribed to the Google Groups
>=C2=A0 =C2=A0 =C2=A0> "pandoc-discuss" group.
>=C2=A0 =C2=A0 =C2=A0> To unsubscribe from this group and stop receiv= ing emails from it, send an
>=C2=A0 =C2=A0 =C2=A0email
>=C2=A0 =C2=A0 =C2=A0> to [5][11]pandoc-discuss+unsubscribe@g= ooglegroups.com.
>=C2=A0 =C2=A0 =C2=A0> To view this discussion on the web visit [6][1= 2]https://groups.google.com
>=C2=A0 =C2=A0 =C2=A0/d/msgid/
>=C2=A0 =C2=A0 =C2=A0> pandoc-discuss/0845b275-aa43-4fc3-86a5-17b20de= 652een%[13]
>=C2=A0 =C2=A0 =C2=A040googlegroups.com.
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0> References:
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0> [1] [14]https://github.com/jgm/= pandoc/issues/684
>=C2=A0 =C2=A0 =C2=A0> [2] [15]https://github.com/jgm= /pandoc/issues/5286
>=C2=A0 =C2=A0 =C2=A0> [3] [16]https://github.com/= lierdakil/pandoc-crossref
>=C2=A0 =C2=A0 =C2=A0> [4] [17]htt= ps://lierdakil.github.io/pandoc-crossref/#equation-labels
>=C2=A0 =C2=A0 =C2=A0> [5] mailto:[18]pandoc-discuss+unsubscr= ibe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>=C2=A0 =C2=A0 =C2=A0> [6] [19]https://groups= .google.com/d/msgid/pandoc-discuss/
>=C2=A0 =C2=A0 =C2=A00845b275-aa43-4fc3-86a5-17b20de652een%40googlegroups.com?utm_medium=3Demail&
>=C2=A0 =C2=A0 =C2=A0utm_source=3Dfooter
>
>=C2=A0 =C2=A0 =C2=A0--
>=C2=A0 =C2=A0 =C2=A0You received this message because you are subscribe= d to the Google Groups
>=C2=A0 =C2=A0 =C2=A0"pandoc-discuss" group.
>=C2=A0 =C2=A0 =C2=A0To unsubscribe from this group and stop receiving e= mails from it, send an
>=C2=A0 =C2=A0 =C2=A0email to [20]pandoc-discuss+unsubscribe@goo= glegroups.com.
>=C2=A0 =C2=A0 =C2=A0To view this discussion on the web visit [21]htt= ps://groups.google.com/d/
>=C2=A0 =C2=A0 =C2=A0msgid/pandoc-discuss/Y/ZFCMVKXpyaki12%40localhost.<= br> >
> --
> You received this message because you are subscribed to the Google Gro= ups
> "pandoc-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send= an email
> to [22]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
> To view this discussion on the web visit [23]https://groups.g= oogle.com/d/msgid/
> pandoc-discuss/
> CAMwawgMca58Ae4Ag0mB0XP_PMPbYubUY2UxBjTvPxXiS4DvozA%40mail.gmail.com= .
>
> References:
>
> [1] mailto:bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org
> [2] https://pandoc.org/MANUAL.html#
> [3] https://pandoc.org/
> [4] mailto:= amine.ab...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
> [5] mailto:= amine.ab...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
> [6] mailto:pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> [7] https://github.com/jgm/pandoc/issues/684
> [8] https://github.com/jgm/pandoc/issues/5286
> [9] https://github.com/lierdakil/pandoc-crossref
> [10]
https://lierdakil.github.io/pa= ndoc-crossref/#equation-labels
> [11] mailto:pandoc-discuss%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> [12]
https://groups.google.com/d/msgid/
> [13] http://40googlegroups.com/
> [14] https://github.com/jgm/pandoc/issues/684
> [15] https://github.com/jgm/pandoc/issues/5286
> [16] https://github.com/lierdakil/pandoc-crossref
> [17]
https://lierdakil.github.io/pa= ndoc-crossref/#equation-labels
> [18] mailto:pandoc-discuss%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> [19]
https://groups.go= ogle.com/d/msgid/pandoc-discuss/0845b275-aa43-4fc3-86a5-17b20de652een%40goo= glegroups.com?utm_medium=3Demail&utm_source=3Dfooter
> [20] mailto:pandoc-discuss%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> [21]
https://group= s.google.com/d/msgid/pandoc-discuss/Y/ZFCMVKXpyaki12%40localhost
> [22] mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > [23] http= s://groups.google.com/d/msgid/pandoc-discuss/CAMwawgMca58Ae4Ag0mB0XP_PMPbYu= bUY2UxBjTvPxXiS4DvozA%40mail.gmail.com?utm_medium=3Demail&utm_source=3D= footer

--
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 pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/Y/cyOCyZ= LIs9UXPC%40localhost.

--
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://group= s.google.com/d/msgid/pandoc-discuss/CAMwawgMia8TwdPJdyZuub-4xGjDJ9aVTOUGP%3= Dwf7nbtb3BmbpA%40mail.gmail.com.
--0000000000004c0e2705f55ac187--