quarto-dev / quarto-cli

Open-source scientific and technical publishing system built on Pandoc.
https://quarto.org
Other
3.75k stars 306 forks source link

link-citations bug? #5088

Closed noahmf closed 1 year ago

noahmf commented 1 year ago

Bug description

When I implement "loud" citations, e.g., "... Berry (2021) ...", only the year is hyperlinked, not the name(s). Is this intentional? Seems odd.

PDF format. I have "link-citations: true" in my yaml header. Default citation method. Have tried changing document class etc.

RStudio version 2023.03.0+386. macOS Ventura 13.3

Quarto check:

[✓] Checking versions of quarto binary dependencies... Pandoc version 3.1.1: OK Dart Sass version 1.55.0: OK [✓] Checking versions of quarto dependencies......OK [✓] Checking Quarto installation......OK Version: 1.3.302 Path: /Applications/quarto/bin

[✓] Checking basic markdown render....OK

[✓] Checking Python 3 installation....OK Version: 3.11.2 Path: /opt/homebrew/opt/python@3.11/bin/python3.11 Jupyter: (None)

  Jupyter is not available in this Python installation.
  Install with python3 -m pip install jupyter

[✓] Checking R installation...........OK Version: 4.2.3 Path: /Library/Frameworks/R.framework/Resources LibPaths:

[✓] Checking Knitr engine render......OK

Thanks

Checklist

cscheid commented 1 year ago

Have you confirmed that your desired citation style is not possible from our documentation?

noahmf commented 1 year ago

It does not appear to be possible according to your documentation. The examples shown, e.g., in the second table (" ... Knuth (1984) ..."), demonstrate the behavior I am describing. ("1984" is hyperlinked, "Knuth" is not.) I have tried using an external ".csl" file and different options for the "cite-method: " yaml argument.

cscheid commented 1 year ago

the csl: option should be what you need. Can you share the full example you've tried and didn't work for you?

cscheid commented 1 year ago

I'm going to go ahead and close this one since I haven't heard back from you. If you provide us with the example that uses an external CSL file and doesn't work, we'll be happy to take another look at it.