Skip to content

`~/.pandoc/default.csl` does not get used as mentioned in pandoc user guide? #2372

Closed
cinaeco opened this Issue · 0 comments

1 participant

@cinaeco

On OS X 10.10.4
pandoc: stable 1.15.0.6
pandoc-citeproc: stable 0.7.2

I was reading through the pandoc markdown docs to set up, and found that the documentation was misleading about default citation styles.

~/.pandoc/default.csl is never picked up. pandoc-citeproc will only accept ~/.csl/chicago-author-date.csl as a default file, according to the manpage and the code.

Should the documentation on the page be changed? (a pandoc issue?)
Or should pandoc-citeproc be updated to look for ~/.pandoc/default.csl before chicago-author-date? (a pandoc-citeproc issue?)

I think it would be better to get ~/.pandoc/default.csl recognised (defaults other than chicago-author-date make a lot of sense), but I'm not sure.

Of course, maybe I'm doing something wrong - does ~/.pandoc/default.csl work for anyone else?

@cinaeco cinaeco changed the title from `.pandoc/default.csl` does not get used as mentioned in pandoc user guide? to `~/.pandoc/default.csl` does not get used as mentioned in pandoc user guide?
@jgm jgm added a commit that closed this issue
@jgm Removed obsolete reference to default.csl.
Closes #2372.

@cinaeco as the pandoc-citeproc man page describes, the current
behavior if no style is specified is to look in
`~/.csl/chicago-author-date.csl`, and if nothing is found there,
to use a default version of chicago-author-date.csl.

You may want to open a separate issue on jgm/pandoc-citeproc
suggesting the use of `default.csl` rather than
`chicago-author-date.csl`.  I agree that this would make sense.
546201c
@jgm jgm closed this in 546201c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.