-
Notifications
You must be signed in to change notification settings - Fork 25
Description
Hello,
This is maybe more a question than a proper issue, but the template says:
Using CSL
If
cite-methodis set tociteprocinelsevier_article(), ...
What is exactly elsevier_article() -- especially since the way it is formatted suggests that it's an R function?
I could not figure out exactly how to specify an external CSL file. For instance, if I need the two following parameters:
cite-method: citeproc
csl: global-ecology-and-conservation.csl
where am I supposed to insert them in the YAML header? Whichever place I tried (e.g., as subparameters of elsevier-pdf), I got the following error message:
ERROR:
compilation failed- error
Package natbib Error: Bibliography not compatible with author-year citations.
(natbib) Press <return> to continue in numerical citation style.
See the natbib package documentation for explanation.
Type H <return> for immediate help.
Conversely, if I remove cite-style: authoryear in the YAML and add the two previous parameters instead, the document can now be compiled with no error... but the journal style is not taken into account.
Are these CSL instructions still up to date?
Thanks!