crsh / papaja_man

Manual for the R package papaja
https://crsh.github.io/papaja_man
5 stars 14 forks source link

Can't set the language for in-line apa citation #2

Open yyccnn opened 6 years ago

yyccnn commented 6 years ago

I'm writing an internship report with citations in the APA style. The report needs to be in a language other than English. The reference section is correctly generated in my language but in-lines citations are not. I tried:

crsh commented 6 years ago

By default, papaja relies on pandoc-citeproc to format citations (and here localization is currently not well-supported on the papaja end). If you need a different language (and only render PDF files), you could try using biblatex instead (which should respect the language mapping command). See here: https://crsh.github.io/papaja_man/tips-and-tricks.html#author-name-disambiguation

Let me know if you can get it to work. If you cannot, a reproducible example would be helpful.

crsh commented 4 years ago

This should now be fixed. Supported languages listed here: https://github.com/crsh/rmdfiltr/blob/6f9211461459d348ddc3d097d078caaab6cf2e98/inst/replace_ampersands.lua#L3

This should be noted in the documentation, though.