* Standalone markdown output with citations
@ 2014-06-20 16:27 Ruben Hernandez
[not found] ` <688f82c8-9ed5-4053-99e7-7a630bf004f9-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: Ruben Hernandez @ 2014-06-20 16:27 UTC (permalink / raw)
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw
[-- Attachment #1: Type: text/plain, Size: 1948 bytes --]
Hello,
I just joined the group and tried searching before posting my question but
did not find much, so here is my problem.
I'm trying to produce a markdown file with expanded citations from a
markdown source and bibtex bib file.
Here is some info.
I'm running pandoc (1.12.4.2) and pandoc-citeproc (0.3.1)
installed with `cabal install` under Ubuntu 12.04 (precise) 64-bit, Kernel
Linux 3.4.0-030400-generic.
I'm using the bib file from the nocite example in the documentation and the
command I'm using is:
pandoc -s -f markdown -o nocite-output.md --biblio=biblio.bib
nocite-example.md
The nocite-example.md file is:
---
nocite: |
@item1, @item2
...
@item3
# References
The output file nocite-output.md produced is:
---
biblio-files: biblio
bibliography: 'biblio.bib'
nocite: |
@item1, @item2
...
@item3
Is this the expected behavior? I would like to have as output something
like:
John Doe (2005)
References
========
Doe, John. 2005. *First Book*. Cambridge: Cambridge University Press.
———. 2006. “Article.” *Journal of Generic Studies* 6: 33–34.
Doe, John, and Jenny Roe. 2007. “Why Water Is Wet.” In *Third Book*, edited
by Sam Smith. Oxford: Oxford University Press.
Trying to produce pdf or html files as output works as expected.
Thanks,
Ruben.
--
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/688f82c8-9ed5-4053-99e7-7a630bf004f9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
[-- Attachment #2: Type: text/html, Size: 3167 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Standalone markdown output with citations
[not found] ` <688f82c8-9ed5-4053-99e7-7a630bf004f9-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2014-06-20 16:32 ` John MacFarlane
[not found] ` <20140620163219.GD6991-bi+AKbBUZKbivNSvqvJHCtPlBySK3R6THiGdP5j34PU@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: John MacFarlane @ 2014-06-20 16:32 UTC (permalink / raw)
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw
Try
pandoc -t markdown-citations
the "minus citations" turns off the markdown citations extension,
and you'll get formatted citations instead.
+++ Ruben Hernandez [Jun 20 14 09:27 ]:
> Hello,
> I just joined the group and tried searching before posting my question
> but did not find much, so here is my problem.
> I'm trying to produce a markdown file with expanded citations from a
> markdown source and bibtex bib file.
> Here is some info.
> I'm running pandoc (1.12.4.2) and pandoc-citeproc (0.3.1)
> installed with `cabal install` under Ubuntu 12.04 (precise)
> 64-bit, Kernel Linux 3.4.0-030400-generic.
> I'm using the bib file from the nocite example in the documentation and
> the command I'm using is:
> pandoc -s -f markdown -o nocite-output.md --biblio=biblio.bib
> nocite-example.md
> The nocite-example.md file is:
> ---
> nocite: |
> @item1, @item2
> ...
> @item3
> # References
> The output file nocite-output.md produced is:
> ---
> biblio-files: biblio
> bibliography: 'biblio.bib'
> nocite: |
> @item1, @item2
> ...
> @item3
> Is this the expected behavior? I would like to have as output something
> like:
> John Doe (2005)
> References
> ========
> Doe, John. 2005. *First Book*. Cambridge: Cambridge University Press.
> ———. 2006. “Article.” *Journal of Generic Studies* 6: 33–34.
> Doe, John, and Jenny Roe. 2007. “Why Water Is Wet.” In *Third Book*,
> edited
> by Sam Smith. Oxford: Oxford University Press.
> Trying to produce pdf or html files as output works as expected.
> Thanks,
> Ruben.
>
> --
> 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 [1]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To post to this group, send email to
> [2]pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To view this discussion on the web visit
> [3]https://groups.google.com/d/msgid/pandoc-discuss/688f82c8-9ed5-4053-
> 99e7-7a630bf004f9%40googlegroups.com.
> For more options, visit [4]https://groups.google.com/d/optout.
>
>References
>
> 1. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> 2. mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> 3. https://groups.google.com/d/msgid/pandoc-discuss/688f82c8-9ed5-4053-99e7-7a630bf004f9-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=footer
> 4. https://groups.google.com/d/optout
--
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/20140620163219.GD6991%40localhost.hsd1.ca.comcast.net.
For more options, visit https://groups.google.com/d/optout.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Standalone markdown output with citations
[not found] ` <20140620163219.GD6991-bi+AKbBUZKbivNSvqvJHCtPlBySK3R6THiGdP5j34PU@public.gmane.org>
@ 2014-06-20 17:19 ` Ruben Hernandez
2014-06-20 18:19 ` BPJ
1 sibling, 0 replies; 4+ messages in thread
From: Ruben Hernandez @ 2014-06-20 17:19 UTC (permalink / raw)
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw
[-- Attachment #1: Type: text/plain, Size: 3920 bytes --]
Thanks for the quick reply!
After reading the response, I searched for markdown-citations, and found
about
pandoc -t markdown-citations-markdown_in_html_blocks
and that worked just as I needed.
Thanks for a great tool! I've been using pandoc to produce beamer slides
and latex+pdf files from md inputs.
Best,
On Friday, June 20, 2014 11:32:33 AM UTC-5, John MacFarlane wrote:
>
> Try
>
> pandoc -t markdown-citations
>
> the "minus citations" turns off the markdown citations extension,
> and you'll get formatted citations instead.
>
> +++ Ruben Hernandez [Jun 20 14 09:27 ]:
> > Hello,
> > I just joined the group and tried searching before posting my question
> > but did not find much, so here is my problem.
> > I'm trying to produce a markdown file with expanded citations from a
> > markdown source and bibtex bib file.
> > Here is some info.
> > I'm running pandoc (1.12.4.2) and pandoc-citeproc (0.3.1)
> > installed with `cabal install` under Ubuntu 12.04 (precise)
> > 64-bit, Kernel Linux 3.4.0-030400-generic.
> > I'm using the bib file from the nocite example in the documentation
> and
> > the command I'm using is:
> > pandoc -s -f markdown -o nocite-output.md --biblio=biblio.bib
> > nocite-example.md
> > The nocite-example.md file is:
> > ---
> > nocite: |
> > @item1, @item2
> > ...
> > @item3
> > # References
> > The output file nocite-output.md produced is:
> > ---
> > biblio-files: biblio
> > bibliography: 'biblio.bib'
> > nocite: |
> > @item1, @item2
> > ...
> > @item3
> > Is this the expected behavior? I would like to have as output
> something
> > like:
> > John Doe (2005)
> > References
> > ========
> > Doe, John. 2005. *First Book*. Cambridge: Cambridge University Press.
> > ———. 2006. “Article.” *Journal of Generic Studies* 6: 33–34.
> > Doe, John, and Jenny Roe. 2007. “Why Water Is Wet.” In *Third Book*,
> > edited
> > by Sam Smith. Oxford: Oxford University Press.
> > Trying to produce pdf or html files as output works as expected.
> > Thanks,
> > Ruben.
> >
> > --
> > 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 [1]pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <javascript:>.
> > To post to this group, send email to
> > [2]pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <javascript:>.
> > To view this discussion on the web visit
> > [3]
> https://groups.google.com/d/msgid/pandoc-discuss/688f82c8-9ed5-4053-
> > 99e7-7a630bf004f9%40googlegroups.com.
> > For more options, visit [4]https://groups.google.com/d/optout.
> >
> >References
> >
> > 1. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <javascript:>
> > 2. mailto:pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <javascript:>
> > 3.
> https://groups.google.com/d/msgid/pandoc-discuss/688f82c8-9ed5-4053-99e7-7a630bf004f9-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=footer
> > 4. https://groups.google.com/d/optout
>
--
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/b0125c78-68a1-4c5e-be8d-d8855f948c51%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
[-- Attachment #2: Type: text/html, Size: 8937 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Standalone markdown output with citations
[not found] ` <20140620163219.GD6991-bi+AKbBUZKbivNSvqvJHCtPlBySK3R6THiGdP5j34PU@public.gmane.org>
2014-06-20 17:19 ` Ruben Hernandez
@ 2014-06-20 18:19 ` BPJ
1 sibling, 0 replies; 4+ messages in thread
From: BPJ @ 2014-06-20 18:19 UTC (permalink / raw)
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw
[-- Attachment #1: Type: text/plain, Size: 4174 bytes --]
Neat! I really need to stop writing my citations/bibliographies by hand! :-)
Den 20 jun 2014 18:32 skrev "John MacFarlane" <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>:
> Try
>
> pandoc -t markdown-citations
>
> the "minus citations" turns off the markdown citations extension,
> and you'll get formatted citations instead.
>
> +++ Ruben Hernandez [Jun 20 14 09:27 ]:
>
>> Hello,
>> I just joined the group and tried searching before posting my question
>> but did not find much, so here is my problem.
>> I'm trying to produce a markdown file with expanded citations from a
>> markdown source and bibtex bib file.
>> Here is some info.
>> I'm running pandoc (1.12.4.2) and pandoc-citeproc (0.3.1)
>> installed with `cabal install` under Ubuntu 12.04 (precise)
>> 64-bit, Kernel Linux 3.4.0-030400-generic.
>> I'm using the bib file from the nocite example in the documentation and
>> the command I'm using is:
>> pandoc -s -f markdown -o nocite-output.md --biblio=biblio.bib
>> nocite-example.md
>> The nocite-example.md file is:
>> ---
>> nocite: |
>> @item1, @item2
>> ...
>> @item3
>> # References
>> The output file nocite-output.md produced is:
>> ---
>> biblio-files: biblio
>> bibliography: 'biblio.bib'
>> nocite: |
>> @item1, @item2
>> ...
>> @item3
>> Is this the expected behavior? I would like to have as output something
>> like:
>> John Doe (2005)
>> References
>> ========
>> Doe, John. 2005. *First Book*. Cambridge: Cambridge University Press.
>> ———. 2006. “Article.” *Journal of Generic Studies* 6: 33–34.
>> Doe, John, and Jenny Roe. 2007. “Why Water Is Wet.” In *Third Book*,
>> edited
>> by Sam Smith. Oxford: Oxford University Press.
>> Trying to produce pdf or html files as output works as expected.
>> Thanks,
>> Ruben.
>>
>> --
>> 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 [1]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>> To post to this group, send email to
>> [2]pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>> To view this discussion on the web visit
>> [3]https://groups.google.com/d/msgid/pandoc-discuss/688f82c8-9ed5-4053-
>> 99e7-7a630bf004f9%40googlegroups.com.
>> For more options, visit [4]https://groups.google.com/d/optout.
>>
>> References
>>
>> 1. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>> 2. mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>> 3. https://groups.google.com/d/msgid/pandoc-discuss/688f82c8-
>> 9ed5-4053-99e7-7a630bf004f9-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=
>> email&utm_source=footer
>> 4. https://groups.google.com/d/optout
>>
>
> --
> 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/20140620163219.GD6991%40localhost.hsd1.ca.comcast.net
> .
> For more options, visit https://groups.google.com/d/optout.
>
--
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/CADAJKhAwBy1XFSLh696h5uYF3%3DcOzsh%2BEc-iUb1%2BuTuyX59h6A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
[-- Attachment #2: Type: text/html, Size: 6544 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-06-20 18:19 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-20 16:27 Standalone markdown output with citations Ruben Hernandez
[not found] ` <688f82c8-9ed5-4053-99e7-7a630bf004f9-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2014-06-20 16:32 ` John MacFarlane
[not found] ` <20140620163219.GD6991-bi+AKbBUZKbivNSvqvJHCtPlBySK3R6THiGdP5j34PU@public.gmane.org>
2014-06-20 17:19 ` Ruben Hernandez
2014-06-20 18:19 ` BPJ
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).