-
Notifications
You must be signed in to change notification settings - Fork 57
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
Support for note style in CSL - currently double citation is created on hover #423
Comments
Thanks for the report and sorry for the delay. I believe this happens because Pandoc's handles directly CSL of note style citation As distill will use inline hoverable style for all citation and put any footnotes as hoverable inline too, it is processed twice currently. One of the processing should not be done. I'll see if we can deactivate the one in Pandoc, otherwise distill will have to adjust to this. So basically, currently, distill does not support note style CSL. |
@sj-io can you try remotes::install_github("rstudio/distill#440") I have added a small JS tweak to only show on hover the distill usual reference tooltip. The reference in footnote should still be kept. Thanks for testing before I merge. |
It works! Thank you so much for getting to this. One small thing I noticed
is typically the footnotes will be hyperlink blue so they stand out, but
they're not in this version. It's not a big deal though, I'm just happy to
have the footnotes fixed.
[image: Screen Shot 2022-02-04 at 4.45.13 PM.png]
Thanks again!
…On Thu, Feb 3, 2022 at 4:23 AM Christophe Dervieux ***@***.***> wrote:
@sj-io <https://github.com/sj-io> can you try
remotes::install_github("rstudio/distill#440")
I have added a small JS tweak to only show on hover the *distill* usual
reference tooltip.
The reference in footnote should still be kept.
Thanks for testing before I merge.
—
Reply to this email directly, view it on GitHub
<#423 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANTQDKUCHI3H7GCQA5JBSK3UZJJRHANCNFSM5HTZWXZA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Great ! Regarding color, it does not seem like distill is using hyperlink blue for footnotes when I look at demo doc: Is it in your site ? |
Sorry for the delay in response. So the color isn't hyperlink blue, but it is some bluish color that's definitely different from color of the main text. Still, I don't think it's a major issue and I'd consider my problem resolved. Thanks for all the help! |
Great. Thanks for the confirmation, I have merged the PR now. |
Hey y'all! I'm trying to use a custom CSL for some blog posts so citations render as footnote-style instead of author-date format. I downloaded the Chicago Manual of Style 17th edition (note, with Ibid.) CSL file and added it to the folder for my post. When I began citing, distill automatically created a references.bib file to the folder. My YAML looks like:
The citations format correctly in text, but on hover there are two pop-ups:
In other posts I used an earlier version of this CSL, the Chicago Manual of Style 16th edition (full note), and had the same issue.
Thanks!
The text was updated successfully, but these errors were encountered: