* How to specify bibliography in metadata @ 2018-01-04 16:04 Aditya Mahajan [not found] ` <alpine.OSX.2.03.1801041059120.8428-WEgwVTkZBn3/PtFMR13I2A@public.gmane.org> 0 siblings, 1 reply; 3+ messages in thread From: Aditya Mahajan @ 2018-01-04 16:04 UTC (permalink / raw) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw [-- Attachment #1: Type: TEXT/PLAIN, Size: 747 bytes --] Based on the docs, it appears that it is possible to specify the bibliography in the document metadata, but I could not get it to work. ``` --- link-citations: true csl: chicago-author-date references: - volume: '35' page: '917-927' container-title: Bell System Technical Journal author: - family: Kelly given: J.L. id: Kelly1956 issued: date-parts: - - 1956 title: A new interpretation of information rate type: article-journal issue: '4' ... In [@Kelly1956], it is shown that ... ``` Running `pandoc filename.md` gives: ``` <p>In <span class="citation" data-cites="Kelly1956">[@Kelly1956]</span>, it is shown that …</p> ``` What am I missing? Thanks, Aditya ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <alpine.OSX.2.03.1801041059120.8428-WEgwVTkZBn3/PtFMR13I2A@public.gmane.org>]
* Re: How to specify bibliography in metadata [not found] ` <alpine.OSX.2.03.1801041059120.8428-WEgwVTkZBn3/PtFMR13I2A@public.gmane.org> @ 2018-01-04 16:26 ` John MacFarlane [not found] ` <20180104162629.GC15709-9Rnp8PDaXcadBw3G0RLmbRFnWt+6NQIA@public.gmane.org> 0 siblings, 1 reply; 3+ messages in thread From: John MacFarlane @ 2018-01-04 16:26 UTC (permalink / raw) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw You're missing --filter pandoc-citeproc This is added implicitly when you use --bibilography on the command line (for backwards compatibility), but not when you have 'references' in the metadata. +++ Aditya Mahajan [Jan 04 18 11:04 ]: >Based on the docs, it appears that it is possible to specify the >bibliography in the document metadata, but I could not get it to work. > >``` >--- >link-citations: true >csl: chicago-author-date >references: >- volume: '35' > page: '917-927' > container-title: Bell System Technical Journal > author: > - family: Kelly > given: J.L. > id: Kelly1956 > issued: > date-parts: > - - 1956 > title: A new interpretation of information rate > type: article-journal > issue: '4' >... > >In [@Kelly1956], it is shown that ... >``` > >Running `pandoc filename.md` gives: > >``` ><p>In <span class="citation" >data-cites="Kelly1956">[@Kelly1956]</span>, it is shown that …</p> >``` > >What am I missing? > >Thanks, >Aditya -- 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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/20180104162629.GC15709%40Johns-MacBook-Pro.local. For more options, visit https://groups.google.com/d/optout. ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <20180104162629.GC15709-9Rnp8PDaXcadBw3G0RLmbRFnWt+6NQIA@public.gmane.org>]
* Re: How to specify bibliography in metadata [not found] ` <20180104162629.GC15709-9Rnp8PDaXcadBw3G0RLmbRFnWt+6NQIA@public.gmane.org> @ 2018-01-04 16:41 ` Aditya Mahajan 0 siblings, 0 replies; 3+ messages in thread From: Aditya Mahajan @ 2018-01-04 16:41 UTC (permalink / raw) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw [-- Attachment #1: Type: TEXT/PLAIN, Size: 1768 bytes --] On Thu, 4 Jan 2018, John MacFarlane wrote: > You're missing > > --filter pandoc-citeproc > > This is added implicitly when you use --bibilography on the > command line (for backwards compatibility), but not when you > have 'references' in the metadata. Ah, thanks! Aditya > +++ Aditya Mahajan [Jan 04 18 11:04 ]: >> Based on the docs, it appears that it is possible to specify the >> bibliography in the document metadata, but I could not get it to work. >> >> ``` >> --- >> link-citations: true >> csl: chicago-author-date >> references: >> - volume: '35' >> page: '917-927' >> container-title: Bell System Technical Journal >> author: >> - family: Kelly >> given: J.L. >> id: Kelly1956 >> issued: >> date-parts: >> - - 1956 >> title: A new interpretation of information rate >> type: article-journal >> issue: '4' >> ... >> >> In [@Kelly1956], it is shown that ... >> ``` >> >> Running `pandoc filename.md` gives: >> >> ``` >> <p>In <span class="citation" data-cites="Kelly1956">[@Kelly1956]</span>, >> it is shown that …</p> >> ``` >> >> What am I missing? >> >> Thanks, >> Aditya > > -- > 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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit > https://groups.google.com/d/msgid/pandoc-discuss/20180104162629.GC15709%40Johns-MacBook-Pro.local. > For more options, visit https://groups.google.com/d/optout. > ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-01-04 16:41 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2018-01-04 16:04 How to specify bibliography in metadata Aditya Mahajan [not found] ` <alpine.OSX.2.03.1801041059120.8428-WEgwVTkZBn3/PtFMR13I2A@public.gmane.org> 2018-01-04 16:26 ` John MacFarlane [not found] ` <20180104162629.GC15709-9Rnp8PDaXcadBw3G0RLmbRFnWt+6NQIA@public.gmane.org> 2018-01-04 16:41 ` Aditya Mahajan
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).