Closed cormacrelf closed 3 years ago
As I said, I'm fine with removing this part.
On this, anyone have any suggestions?
- I see no reason why this should apply only to bibliography entries, and make no mention of inline/note citations. You want the overall auto-hyperlinking behaviour in both.
Happy to not link the title. The link styling issue is a big one.
On the wording of Appendix IV in general -- I see no reason why this should apply only to bibliography entries, and make no mention of inline/note citations. You want the overall auto-hyperlinking behaviour in both.
The spec should probably also say that url fields that are not valid URLs should not be given an anchor at all. One of the benefits of link styling is that validity == styling+clickability is great for proofing.
Fine with both of these.
I propose removing the second half of 'Appendix IV: Links' in CSL 1.1, which provides for adding an anchor to the title of a bibliography entry if the
url
fields are not rendered at all, or if there is no title, to the entire bibliography entry.See my comment here: https://github.com/citation-style-language/schema/issues/395#issuecomment-903613329
Expanding on some of those points
This is what I mean by the link styling: 1. CSL processors don't control styling beyond `italic` really, they can only do more with markup 2. Currently consumers of processor output can safely just render it verbatim and not worry that it looks horribly wrong, because the only things that are links are links. HTML by default has blue and underlined. This is fine right now. Links being blue is actually great for many reasons, including in PDFs esp for digital reading. 3. Occasionally highlighting entire bibliographic references breaks this, now they need to remove all link styling. 4. Because of \#1, would need new markup (`class="unstyled-anchor"`...) if you want to keep blue/underline for some links. The spec doesn't really talk about markup yet and this would either become another implementation-defined output thing, or require a bunch of spec work. Worthwhile work, but still. An afterthought from an implementor's perspective, not super important though: 5. It's actually a lot of work to implement as written. "If a URL field is not rendered" is a question that isn't fully resolved until after disambiguation. Even if you pretend it's resolved early, anything non-local like this is hard, simply because the piece of code rendering the title can't know if the URL will be rendered until later, so it requires adding anchors late in the processing. All of this becomes *really* twisted when you do split author-in-text citations with a custom in-text part including a title, rendered separately from the rest of the cite. Doesn't really seem worth it from where I stand.Two more notes on Appendix IV:
On the wording of Appendix IV in general -- I see no reason why this should apply only to bibliography entries, and make no mention of inline/note citations. You want the overall auto-hyperlinking behaviour in both.
The spec should probably also say that
url
fields that are not valid URLs should not be given an anchor at all. One of the benefits of link styling is that validity == styling+clickability is great for proofing.