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

Show CiTO properties when hovering over the citation with the mouse (HTML and PDF) #2

Open
LibrEars opened this issue Dec 1, 2022 · 1 comment

Comments

@LibrEars
Copy link

LibrEars commented Dec 1, 2022

As discussed in #1 we split the issue

Idea: Implement the rendered HTML and PDF in a way, that hovering over the citation would show the CiTO properties together with the link/citation etc.

@LibrEars
Copy link
Author

LibrEars commented Dec 1, 2022

From #1: You may also be interested in https://github.com/jcheminform/markdown-jcheminf; CiTO properties are added to the bibliography entries.

If this would be implemented directly in CiTO this would implement the feature I think.

I tried to use the lua filters together with my setup jalvesaq/zotcite#54 from the cited markdown template in quarto via adding it as

bibliography: dr_zotcite.bib
filters:
  - cito  # list here because it needs to be run before citeproc, installed via extensions:
          # For semantic enhanced citations we use cito: https://github.com/pandoc-ext/cito
          # see https://quarto.org/docs/extensions/managing.html for details on how to install
  - /home/m/.vim/plugged/zotcite/python3/zotref.py # see
  - ./Scripting/Lua_filter/extract-cito.lua
  - ./Scripting/Lua_filter/insert-cito-in-ref.lua

but it seams not as trivial.

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

1 participant