Skip to content
This repository has been archived by the owner on Apr 30, 2021. It is now read-only.

Use default.csl instead of chicago-author-date.csl #161

Closed
cinaeco opened this issue Aug 25, 2015 · 3 comments
Closed

Use default.csl instead of chicago-author-date.csl #161

cinaeco opened this issue Aug 25, 2015 · 3 comments

Comments

@cinaeco
Copy link

cinaeco commented Aug 25, 2015

While setting up to use pandoc, I ran into small issues getting a default CSL (jgm/pandoc#2372).

Users can currently set a default CSL by creating ~/.csl/chicago-author-date.csl. This works, but renaming/symlinking some-other-style.csl to chicago-author-date.csl feels strange.

Should we change pandoc-citeproc to instead look for ~/.csl/default.csl?

Also wondering: is there a reason pandoc-citeproc settings are split out into ~/.csl instead of being kept with other pandoc settings in ~/.pandoc? Seems they might sit well in a subfolder e.g. ~/.pandoc/csl.

@davepwsmith
Copy link

I think ~/.csl is a good default location for .csl files, which can be used by plenty of other programmes besides pandoc. Fully in favour of there being a default .csl file for pandoc named defauld.csl, but I think it should probably live in ~/.pandoc so that it doesn't get muddled in with a pool of .csl files which might be used by (for example) Zotero.

For me, the ideal situation would be:

~/.pandoc/default.csl #pandoc's default csl file, which you can symlink or whatever.
~/.csl/ #location for all other csl files

I would actually like to see this approach taken up by other CSL-using-programmes, but that seems less likely!

@adikari
Copy link

adikari commented Sep 27, 2015

I am in favor with having the ~/.pandoc/default.csl. Also I wouldn't prefer to have ~/.csl but its understandable that other program might be reading the common csl. I like what @davepwsmith suggested. Hope someone will look into this issue.

@jgm jgm closed this as completed in 558614d Oct 12, 2015
@jgm
Copy link
Owner

jgm commented Oct 12, 2015

I have adopted @davepwsmith 's suggestion.

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants