Description: Hi, I noticed that when making a bibliography reference using Insert>Table of Content and Index>Bibliography Entry, the reference is turned into a link to the URL address associated with the entry when exported to pdf. I can understand that someone might find that useful, but it means that when someone wants to find what I'm refering to, they have to manually scroll to the bibliogrpahy section and find the correct number. Making the reference a link to the entry in the bibliography is so much more useful, I'm actually not sure if this isn't a bug. Steps to Reproduce: 1. Make a bibliography reference that contains an URL address 2. Export to PDF 3. Click the reference: it will take you to the given URL site Actual Results: You are taken to the URL. Expected Results: Being taken to the bibliography table, where one can read the entry and choose to visit the URL only if they want to. Reproducible: Always User Profile Reset: No Additional Info: Having the reference database work on the references stored in the document would be really nice, but this currently seems like a much bigger issue.
If I implemented this, would it be accepted? That is what I'm mainly worried about. I don't think the documentation specifies what bibliography mark (that is the actual name used in the xml) is supposed to do.
Could you please upload a sample document with a reference to libreoffice.org, for example.
Created attachment 185207 [details] Fodt source
Created attachment 185208 [details] Result pdf
Sure, here is how it works now
The plan is not to make [1] behaving like a bookmark pointing to the first item in the bibliography, right? In other words, how exactly do you plan to change this.
No, I that is indeed what I have in mind.
Should be any kind of bibliographical reference then. What I see is that an associated URL opens the hyperlink; the patch could make any reference jumping to the bibliography ToC linking the website there. Makes sense to me, but I'll present the idea first at the ESC.
Okay, thank you
ESC gave green light to submit a patch providing that the review is accepted. Assign the ticket to yourself and set the assigned state if you start working. If you need help please don't hesitate to ask on the developer channel/mailinglist.
When editing, does it make more sense to jump to the table with Ctrl+Click or standard Click? It seems that cross-references jump with simple Click and hyperlinks jump with Ctrl+Click, and I'm not sure what would be more consistent.
I don't see how cross-references (?) behave differently. Using ctrl+click to jump to the target allows to select the source. So let's use this method.
Okay, thanks for clarification.
One more idea: Would it be viable to modify the bibliography table so that if there is more of them, one could choose one of them as the "main bibliography table", so that they could, for example, have one table in front and one in back with different formats, and the marks would lead to the preferred one? (presumably the one with more information)
Vojtěch Doležal committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/7b99871635cd48c2a8a1d0afbd7afc60a45cc2ff tdf#153396 - Bibliography marks improvements It will be available in 7.6.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Fully implemented now.