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

citations-hover not work when reference-location set to margin #8854

Closed
sun123zxy opened this issue Feb 22, 2024 · 1 comment
Closed

citations-hover not work when reference-location set to margin #8854

sun123zxy opened this issue Feb 22, 2024 · 1 comment
Assignees
Labels
backport bug Something isn't working
Milestone

Comments

@sun123zxy
Copy link
Contributor

Bug description

Hi I'm using Quarto 1.4.550. As the example below shows, it seems that citations-hover doesn't work when reference-location set to margin. Strange that this issue is triggered only if there is actually a footnote in the body.

Steps to reproduce

---
title: "Test"
bibliography: test.bib
format:
  html:
    reference-location: margin
    citations-hover: true
---

Footnote test^[Footnote.].

Citation test [@knuth_art_1997].

with a valid .bib file triggers this issue.

Expected behavior

The hover popup shows when mouse hovering over a citation.

Actual behavior

The hover popup does not show.

Your environment

  • IDE: VSCode
  • OS: Windows 11

Quarto check output

Quarto 1.4.550
[>] Checking versions of quarto binary dependencies...
      Pandoc version 3.1.11: OK
      Dart Sass version 1.69.5: OK
      Deno version 1.37.2: OK
[>] Checking versions of quarto dependencies......OK
[>] Checking Quarto installation......OK
      Version: 1.4.550
      Path: C:\Program Files\Quarto\bin
      CodePage: 936

[>] Checking tools....................OK
      TinyTeX: (not installed)
      Chromium: (not installed)

[>] Checking LaTeX....................OK
      Tex:  (not detected)

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

[>] Checking Python 3 installation....OK
      Version: 3.8.13 (Conda)
      Path: C:/Users/sun123zxy/.conda/envs/data/python.exe
      Jupyter: 4.11.1
      Kernels: python3

[>] Checking Jupyter engine render....OK

[>] Checking R installation...........(None)
@sun123zxy sun123zxy added the bug Something isn't working label Feb 22, 2024
@sun123zxy
Copy link
Contributor Author

Tested crossref-hover and citation-location as well. crossrefs-hover is also vulnerable to this issue, however setting citation-location to margin won't interfere with citations-hover nor crossref-hover.

These behaviors are not consistent, and I can't find any documentation clarifying them so far...

@dragonstyle dragonstyle self-assigned this Feb 22, 2024
@dragonstyle dragonstyle added this to the v1.5 milestone Feb 22, 2024
dragonstyle added a commit that referenced this issue Feb 22, 2024
Don’t allow margin footnotes to break hover.

Fixes #8854
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants