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

geneva syllabus csl renders whole bib entry red instead of just the year #92

Closed
jhollway opened this issue Jul 20, 2021 · 4 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@jhollway
Copy link
Collaborator

Since upgrading RStudio to 1.4+ (with citation functionality built in), the geneva-syllabus.csl no longer renders only the year as red, but the whole entry.

@jhollway jhollway added the bug Something isn't working label Jul 20, 2021
@jhollway
Copy link
Collaborator Author

Not yet fixed: in this citation style, we still want the year to be in red and ideally contain the DOI or URL link.

@BBieri
Copy link
Collaborator

BBieri commented Aug 16, 2021

For posterity, this is most likely a Pandoc/citeproc issue since a version is bundled with RStudio and changes when updated to RStudio are done. On the problem itself, I have not found a way to alter the citation style to include hyperlinks in the date field. This is can't be done according to this issue via the CSL style and is left to the interpreters. Thus, one lead we could potentially follow is to create our own pandoc filter to add this "hyperlink on date" feature.

For now, due to time constraints, I have decided to use the howpublished attribute in the bibtex file as follows.

@Manual{iheiddown2020,
    title = {iheiddown: A RMarkdown class for IHEID dissertations},
    author = {Hollway, James},
    year = {2020},
    note = {R package version 0.0.1},
    howpublished = "\url{https://github.com/jhollway/iheiddown}",
    url = {https://github.com/jhollway/iheiddown},
  }

Which renders the following citation in the .pdf document with the URL at the end being clickable.
image.png

@jhollway
Copy link
Collaborator Author

But howpublished is not an exported field from e.g. Zotero. Either close this issue and open a new one to collect ideas for a future release, or kick this back to someday/maybe.

@BBieri
Copy link
Collaborator

BBieri commented Aug 16, 2021

Kicked back to Someday/Maybe

@BBieri BBieri closed this as completed in 69a19f1 Aug 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants