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

--suppress_author flag replaces author with title #351

Open
mshadbolt opened this issue Feb 8, 2023 · 2 comments
Open

--suppress_author flag replaces author with title #351

mshadbolt opened this issue Feb 8, 2023 · 2 comments

Comments

@mshadbolt
Copy link

mshadbolt commented Feb 8, 2023

Hello, thanks for the great plugin!
I am attempting to use the --suppress_author flag on my github pages site here:

https://github.com/AustralianBioCommons/human-omics-data-sharing-field-guide/blob/2ce95e4f5420eabdbc3c907c043c383e0bee65a7/pages/legal_ethical/australian_legal.md?plain=1#L27

But when it is rendered on my site it replaces the authors with the title of the paper:
https://australianbiocommons.github.io/human-omics-data-sharing-field-guide/australian_legal#the-privacy-act
Screen Shot 2023-02-09 at 10 42 21 am

I found an old issue (#88) that suggested using particular versions of citeproc so I added these to my gemfile:

https://github.com/AustralianBioCommons/human-omics-data-sharing-field-guide/blob/2ce95e4f5420eabdbc3c907c043c383e0bee65a7/Gemfile#L12

But this didn't fix the issue. Is there anything else I can try in order to successfully suppress the author?

I am using an older version of jekyll-scholar (5.16.0) as I am using a jekyll theme that relies on Jekyll ~3.9.

Thanks for any help you can offer.

@inukshuk
Copy link
Owner

inukshuk commented Feb 9, 2023

Hm, it does look like that other issue. Are you sure that the right version of the citeproc-ruby Gem is being used? What does bundle show citeproc-ruby and bundle show citeproc say?

Furthermore, I'd check if your CSL style does indeed declare name substitutions (if you don't need them, you could edit the style and remove them).

@shunzh
Copy link

shunzh commented Sep 7, 2023

Hi, I have the same issue using the default citation style (apa). Did you find out where the problem is?

Here are the versions of citeproc-ruby and citeproc.

> bundle show citeproc-ruby
/Users/shun/.gem/ruby/3.1.3/gems/citeproc-ruby-1.1.14
> bundle show citeproc
/Users/shun/.gem/ruby/3.1.3/gems/citeproc-1.0.10

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

3 participants