Hi everyone! I'm trying to output a Word document using APA bibliography style. When I compile my document in order to output a PDF, there is no problem at all: citations are listed correctly in the references section. It's the same with HTML output. On the other hand, when I compile my document using Word output, my references are not listed correctly. How could I fix that issue?
This is a reference bib I use:
@Book{Assoun1981,
author = {Assoun, Paul-Laurent},
title = {Introduction à l'épistémologie freudienne},
publisher = {Éditions Payot},
address = {Paris},
year = {1981}, }
Thanks for your help. I'm sorry: I didn't add that APA style requires an indented bibliography section and that is precisely the issue: using pdf output, my references are indented correctly, not when I try to get a Word output, as you can see on the two following pictures: the first alignment is the good one. My version of Pandoc is the latest. The same for RMarkdown.
I don't think the bib file content your provided allows to see this indented difference by the way.
I would suggest using a very small example file with no R to render only with latest Pandoc itself.
I suspect this could be an issue Pandoc citeproc which does not correctly apply the CSL file styling (supposing that the information is correctly encoded in the CSL file).
You may be able to overcome this limitation though by providing a custom template, but I think this is an issue in Pandoc.
---
title: test
csl: <your csl file or url>
bibliography: <bib file>
---
# Header 1
See < add reference here>
# References
I let you build this simple one as you have the necessary content to create it. Then if you see the issue in this case too, it means it is a Pandoc issue.
yes that is the idea. Otherwise, you can provide me with a github repo for example will all the necessary content that reproduce the issue (including correct CSL and bib file).
Then I can check and open an issue on Pandoc's side if that is necessary.
pandoc: test.md: openBinaryFile: does not exist (No such file or directory)
I noticed that my file in my Finder was named test.Rmd and not test.md. But, even when I change the name of the file, I get the same message from the terminal.