I am trying to convert a pretty basic latex file to docx format using pandoc and am having a slight issue with the in-text citation not being enclosed in parentheses ()

tex doc minimal example





And the bib file looks like:

    title = {Resource use and environmental emissions of {US} construction sectors},
    volume = {126},
    issn = {0733-9364},
    number = {1},
    journal = {Journal of Construction Engineering and Management},
    author = {Hendrickson, Chris and Horvath, Arpad},
    year = {2000},
    pages = {38--44}

Using an APA citation style, such as: https://github.com/citation-style-language/styles/blob/master/apa-5th-edition.csl I would expect that the in-text citation would be:

(Hendrickson & Horvath, 2000)

...but instead it is:

Hendrickson & Horvath (2000)

I have tried multiple conversion paths, styles and command line options and am not getting any change in the in-text citation despite changes in the overall reference list / bibliography.

My current attempt is:

pandoc -o test.docx test.tex --bibliography References.bibtex --csl apa5.csl

How do I get the intended enclosed in-text citation?


Instead of \cite{hendrickson_resource_2000}, perhaps you could try \citep{hendrickson_resource_2000}?

See https://groups.google.com/d/msg/pandoc-discuss/wSdhT4GxEog/1vDHtEOwfUYJ for some possibly related info.

| improve this answer | |
  • Bingo. That did it. – thelatemail Jun 17 '13 at 0:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.