From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/25110 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Balaji Newsgroups: gmane.text.pandoc Subject: Converting Markdown to (Multi)Markdown but citations are getting expanded twice? Date: Tue, 5 May 2020 04:40:30 -0700 (PDT) Message-ID: <5041cd75-7c55-41ec-a8c6-ac28580a39ef@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_438_719561908.1588678830947" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="93862"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDV6VCFWSEDRBL5BYX2QKGQEN4VDSEQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue May 05 13:40:37 2020 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oi1-f184.google.com ([209.85.167.184]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jVvwA-000OFI-RI for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 05 May 2020 13:40:34 +0200 Original-Received: by mail-oi1-f184.google.com with SMTP id a20sf1324572oic.23 for ; Tue, 05 May 2020 04:40:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=BvT09F5yAVHZE3m7GZTNfJeRh4UsmdudiQc8faiYNMo=; b=kqyG6S2Nwa1mm02FSKcpeg9qIRVPeS+xGbsQaFmrDQd93tymuPFRXIdZ9yS1KZmQGE lI6FYDEdRWZu05cmgxCD9IVUlM9NsxTi289djX+mZo9nPdxBaV0yEz+1RgjCfso48k0L x1YkzBS4PBUT3BAjwNeJzC4SpN9+LWMQRhixUhak4E1PIpYL3OKi8kGVun6qQVuSFU6k Vu3VKuN07sO197Eo07BmpUI8PUeUTzUq388rGHPyqk73OwBJKAMgv/+6KIQ6VGxBRMgI dAK5zquhrIk7waBxwZB/n8/+sh422ptbz4zIgZ6VGZYAlAj8BXoq/3cMa5BEZYRfJFPQ OAeQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:subject:mime-version:x-original-sender :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=BvT09F5yAVHZE3m7GZTNfJeRh4UsmdudiQc8faiYNMo=; b=PSLOU4IkBYrrmHtCbt8Ib+oPWZG34WQTTP5mgObyekGrCuGBhuQwwvdpetyP6pastg V5UaVVNUyo65qnos1b3JQ0HMwJLD+8+YhaXU5RKQ6NN0V4X4D9Z7ryHfxA6BesP6wc5o oVWEw/pljthjN0+/ke7dxbYVufoF0WfT8kntk+s+pmK6n7V10FcUoaiySJDwHAjzvl/u bmnrO3thyJm1S0ROc7r/RE9JPi6p6vTjYXI7+cuRZHIH2LbiyCoZFkhLWzcp2U+Wlcw+ jpfGA5n3Xyji1pfCWJuWqpzOlUODwRSVN/KO6g4lpdzql7H9qLrrUftJToKKJ+/HYoDg PiXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:date:from:to:message-id: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=BvT09F5yAVHZE3m7GZTNfJeRh4UsmdudiQc8faiYNMo=; b=JDVV8kDLutatQ8jThA5sMJYxeUUS82rW4Wwh3Q4ByuANvyXYYhZljpWqBewmvMsgis gcxigP+CJr+BU1Fk2g1femEYY0RTl+n/CeNokbjhNWQw8Nu9kmAB6yalioYG0niAmVb5 rqgseScBWXNKGLNewZkewpSM4rJrnyeVDhwr8gY6yWc4MX74lRn2fy5zbvQqkiNwF/VB WAuqEyDwCOvVq84pycOWSamza8zZTpaKUMnGETZJhirPeNehC0Sw1H+wU7Z31w+VIJba 2770dOFBhaiG2074NkqX9VWBaRI/MfAu1PxF+WcJNKZJJahTuqL+xqc7ZXS1u+vjVKuj ylGg== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AGi0PuaHxmykCrJTPVFFjIxNQIIb3IyMqbjBGCUY37K69q93U861NHN3 vnLjDh4IlGZMqsYcezTnN1g= X-Google-Smtp-Source: APiQypIrltH0nxVJJgVSlc7KvIOBFvZZ1tEUl5twEruKZvRcuRlQg0YjNvc9RbNHlaX3+DVRVDyOzA== X-Received: by 2002:a4a:a54a:: with SMTP id s10mr2496587oom.73.1588678833844; Tue, 05 May 2020 04:40:33 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a9d:467:: with SMTP id 94ls527919otc.11.gmail; Tue, 05 May 2020 04:40:31 -0700 (PDT) X-Received: by 2002:a9d:2dc1:: with SMTP id g59mr2087782otb.288.1588678831493; Tue, 05 May 2020 04:40:31 -0700 (PDT) X-Original-Sender: balaji.dutt-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:25110 Archived-At: ------=_Part_438_719561908.1588678830947 Content-Type: multipart/alternative; boundary="----=_Part_439_1274625617.1588678830948" ------=_Part_439_1274625617.1588678830948 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello, I'm very new to using tools such as pandoc so it's very possible that this= =20 is a case of mis-reading TFM, but hours of searching thru Stackoverflow and= =20 other community posts have left me at a dead-end so I hope someone can help= =20 me out. I'm trying to convert Markdown files that have BiBTeX style citations into= =20 Markdown again but expand the citation as a footnote. I've come close using= =20 the Chicago Manual of Style 17th edition CSL but am finding that the=20 citation gets expanded twice. A minimal example below: Original Markdown file - cite.md: Here is one reference citing the Reactome Project. [^1] [^1]: @deustachio_2003 BiB file - cite.bib: @article{deustachio_2003, title=3D{Pentose phosphate pathway}, volume=3D{5}= , DOI =3D{10.3180/react_1859.1}, journal=3D{Reactome - a curated knowledgebase of= =20 biological pathways}, author=3D{Deustachio, P}, year=3D{2003}, month=3D{Mar= }} Pandoc command: pandoc cite.md --filter pandoc-citeproc -t markdown_mmd -o cite-new.md -- bibliography=3Dcite.bib --csl=3Dchicago-full.csl Output file - cite-new.md: Here is one reference citing the Reactome Project.[^1]
Deustachio, P. =E2=80=9CPentose Phosphate Pathway.=E2=80=9D *Reactome - a C= urated Knowledgebase of Biological Pathways* 5 (March 2003). .
[^1]: P Deustachio, =E2=80=9CPentose Phosphate Pathway,=E2=80=9D *Reactome = - a Curated Knowledgebase of Biological Pathways* 5 (March 2003), I have not been able to figure out how to prevent the additional citation= =20 in the
from appearing in the output Markdown file and would=20 appreciate any help in this regard! FWIW, this is using pandoc 2.9.2.1 on Windows. --=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/5041cd75-7c55-41ec-a8c6-ac28580a39ef%40googlegroups.com. ------=_Part_439_1274625617.1588678830948 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,

I'm very new to u= sing tools such as pandoc so it's very possible that this is a case of = mis-reading TFM, but hours of searching thru Stackoverflow and other commun= ity posts have left me at a dead-end so I hope someone can help me out.

I'm trying to convert Markdown files that have Bi= BTeX style citations into Markdown again but expand the citation as a footn= ote. I've come close using the Chicago Manual of Style 17th edition CSL= but am finding that the citation gets expanded twice. A minimal example be= low:

Original Markdown file - cite.md:
Here<= /span> is one reference citing the Reactome Project. [^1]

[^1]: @deustachio_2003

<= /code>

BiB file - cite.bib:
@article{deustachio_2003, title=3D{Pentose phosphate pathway}, volume=3D{5},= DOI=3D{10.3180/react_1859.1}, journal=3D{Reactome - a curated k= nowledgebase of biological pathways}, author=3D{Deustachio, = P},= year=3D{2003}, month=3D{Mar}}

Pandoc command:
pandoc cite.md --filter pandoc-citeproc -t markdown_mmd -o cite-new= .md --bibliography=3Dcite.bib --csl=3Dchicago-full.csl

Output file - cite-new.md:
Here is one reference citing the Reactome Project.[^1]

<div id= =3D"r= efs" = class
=3D"references hangi= ng-indent" markdown=3D&qu= ot;1"= >
<div id<= span style=3D"color: #660;" class=3D"styled-by-prettify">=3D"ref-deustachio_2003= " mar= kdown=3D"1"= ;>

= Deustachio= , P. =E2=80=9CPentose Phosphate Pathway.= =E2=80=9D = *Reactome
- a Curated
Knowledgebase of Biological Pathways* 5= (March 2003).
<= https://doi.org/10.3= 180/react_1859.1>.

</div>

</
div>

[= ^1<= span style=3D"color: #660;" class=3D"styled-by-prettify">]:
P Deustachio, =E2=80=9CPentose Phosphate Pathway,= =E2=80=9D = *Reactome - a Curated
=C2=A0 =C2=A0
Knowledgebase of Biological Pathways* 5 (March 2003),
=C2=A0 =C2=A0
<https://doi.org/10.3180/react_1859.1>

I = have not been able to figure out how to prevent the additional citation in = the <div></div> from appearing in the output Markdown file and would = appreciate any help in this regard!

FWIW, this is using pandoc 2.9.2.1 on Windows.

--
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/5041cd75-7c55-41ec-a8c6-ac28580a39ef%40googlegroups.co= m.
------=_Part_439_1274625617.1588678830948-- ------=_Part_438_719561908.1588678830947--