-
Notifications
You must be signed in to change notification settings - Fork 14
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
Hyperlinking text in a CSL-specified bibliography #15
Comments
If Manubot runs citeproc-js in a custom environment, this is possible. It is not documented, but if I recall correctly the hooks for it are in the source file formats.js. The best way to illustrate the necessary coding patterns will be a test fixture. I'll take a look later and see if I have one on file. |
(Oh - and it's not possible to produce links with CSL style code alone. You need to hack the processor directly.) |
Ah, Manubot runs pandoc-citeproc in a custom (conda) environment.
So it sounds like we'd lose the portability of CSL style code alone if we "hacked the processor". That's too bad. Is the CSL stype specification set in stone, or is there somewhere I could request adding hyperlinkability. |
Hacking the processor in this case would not impede style portability; you just wouldn't get links in other environments. I missed that you're using pandoc. This repo is for the citeproc-js docs. You'll need to speak with the pandoc maintainers. Re CSL you can reach everyone via the xbiblio-devel mailing list. |
Greetings, I recently created my own CSL specification for a custom bibliography format in manubot/rootstock#68. I was not able to exactly achieve the "ideal" bibliographic format I had wanted (as per manubot/rootstock#53). One of the main issues is that I was unable to figure out how to hyperlink text in a CSL specification.
For example, I would like to hyperlink
title
so it links toURL
. One may also want to hyperlinkDOI
so it points tohttps://doi.org/{DOI}
. Is this a supported feature of either CSL or CSL-M? Hyperlinks will be important for bibliographies of the future.By example, I was able to specify a bibliography that looks like:
But I want it to instead be like:
Sorry if this is the wrong place to post this... just let me know the right place if possible.
The text was updated successfully, but these errors were encountered: