Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot add a comma before the year #1

Closed
damienchallet opened this issue Jan 23, 2018 · 3 comments
Closed

cannot add a comma before the year #1

damienchallet opened this issue Jan 23, 2018 · 3 comments

Comments

@damienchallet
Copy link

Hi

I need to have references in the following format: Bansal, R., and A. Yaron, 2004, Risks for the Long Run [...]

Thus, I have set

% The string before year only for aritcle type entry.
%
FUNCTION {bst.year.pre}
{ ", " }
% { " (" } % (default)

Yet, the output lacks the comma before the year, for example

Vuong, Q. H. 1989, Likelihood ratio tests

This seems to be a bug.

Thanks for your help

@damienchallet
Copy link
Author

I should add that the following works

FUNCTION {bst.year.pre}
{ ",, " }
% { " (" } % (default)

@ShiroTakeda
Copy link
Owner

Hi

The alternative solution may be that you change the definition of bst.author.post to the following,

FUNCTION {bst.author.post}
{ "," }
% { "" } % (default)

If you find other problems, let me know.

Regards,

@damienchallet
Copy link
Author

Indeed !

Thank you for your answer and for your work, which is very useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants