the second dash did it. Thanks! :-)
On Wednesday, 25 April 2012 11:07:12 UTC+2, arossato wrote:
> tolot27 writes:
> > Hi,
> > I'm using Pandoc 1.9.2 with Windows and Linux and try to get different
> > citation styles working. But whatever I do, the html (or docx) output
> > looks always the same. I've just a very simple markdown file
> > containing only the citation and reference section like this:
> > Bacterial evolution [@Woese1987]
> > # References
> > Then I have a bib file containing the above entry only.
> > I use the the following command to "compile" the markdown file to html:
> > pandoc test.md --bibliog test.bib -csl nature.csl -o test.html
> > I tried different CSL (nature, geopolitics, BMC Bioinformatics, ama,
> > etc) but the resulting html (or docx) file always looks like
> > following:
> > Bacterial evolution (Woese 1987)
> > References
> > Woese, C. R. 1987. “Bacterial evolution.” Microbiol Rev 51 (jun):
> 221–271.
> > What do I miss here? If I look at the html sources I can see that the
> > CSL file is merged into the html file. Why?
> Instead of
> pandoc test.md --bibliog test.bib -csl nature.csl -o test.html
> you should write:
> pandoc test.md --bibliog test.bib --csl nature.csl -o test.html
> (notice the '--csl' correction).
> If you omit a dash 'nature.csl' will be treated as some markdown source:
> this is the reason why you see the CSL file merged into the html file.
> Hope this helps.
> Best,
> Andrea