Bug 97039 - It's not possible to set a cross-reference in one step to "Chapter number, Chapter title"
Summary: It's not possible to set a cross-reference in one step to "Chapter number, Ch...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Fields-Cross-Reference Cross-reference-dialog
  Show dependency treegraph
 
Reported: 2016-01-11 12:23 UTC by cmflatscher
Modified: 2022-10-07 09:26 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cmflatscher 2016-01-11 12:23:11 UTC
When creating large documents and inserting cross references it is not possible to create a cross reference in the format chapter number + blank + chapter header such that the entire cross reference including blank becomes one clickable cross reference.

Actions performed in document:

Insert / Cross reference...

On Field pop up menu select under "Cross reference" select as "Type" "Headings", in "Insert reference to" select "Number" (any of the three choices), in "Selection" select desired Chapter. Click on Insert button.

Enter space and then do this:

On Field pop up menu select under "Cross reference" select as "Type" "Headings", in "Insert reference to" select "Number" (any of the three choices), in "Selection" select "Reference". Click on Insert button.

This yields a chapter cross reference where only the chapter number and chapter name is a clickable reference. But not the space.

However I want to have the entire cross reference clickable and not just the filled in fields, see the example below with the quotes:

"4.1 Environmental issues"

That is wherever a user clicks in the text within the quotes should take the user to the Chapter referenced.

The Open Office add on xrefheadings per extensions.openoffice.org/en/project/XRefHeadings makes it a bit easier to create an according cross reference, however the blank in between chapter number and chapter name is not clickable.

Please implement such an enhanced cross reference feature.

Thanks.

--Chrisitian
Comment 1 Cor Nouws 2016-01-11 15:46:11 UTC
Hi Chrisitian,
Thanks for the issue, I recognize the problem ..

Nice enhancement ..
Set to new.

Ciao - Cor
Comment 2 cmflatscher 2016-01-12 23:06:31 UTC
Hi,

Add on -

I wrote today a document and wanted to create a cross reference to another chapter without having to insert a cross reference via "Insert / Cross reference..." and "Cross reference / Type / Headings".

The chapter heading is Called "Experiment to verify data accuracy" and I wanted to create a reference earlier in the document in the sentence

This formula is correct as demonstrated in the following experiment.

I would like to mark some text - here "experiment" - and cross reference to the relevant later or if needed earlier in the document.

That does unfortunately also not work.

Please implement.

Thanks.

--Christian
Comment 3 cmflatscher 2016-01-13 00:12:08 UTC
A minor formal correction - correct sentence to the above update:

I would like to mark some text - here "experiment" - and cross reference to the relevant chapter later or if needed earlier in the document.


And before I forget:

Thank you, Cor.
Comment 4 cmflatscher 2016-05-25 08:40:27 UTC Comment hidden (obsolete)
Comment 5 Cor Nouws 2016-05-25 08:49:35 UTC Comment hidden (obsolete)
Comment 6 cmflatscher 2016-05-26 09:04:43 UTC Comment hidden (obsolete)
Comment 7 Cor Nouws 2016-05-26 12:34:01 UTC Comment hidden (obsolete)
Comment 8 cmflatscher 2017-09-11 13:00:37 UTC Comment hidden (obsolete)
Comment 9 cmflatscher 2019-05-03 11:02:40 UTC
Additionally it would be great to have this function:

I am writing a document where I need to insert a cross reference with different text as a link to the actual section of the document.

As an example:

I want this sentence

Firmware update can be done via the pop-menu invoked by pressing Control+PrintScreen

cross referenced to the text (could also be a header):

Firmware update via CTRL+PrnScr
Comment 10 cmflatscher 2020-11-22 11:27:14 UTC Comment hidden (obsolete)
Comment 11 Eyal Rozenberg 2021-04-24 17:32:41 UTC
(In reply to cmflatscher from comment #10)
> I have no interest anymore in pursuing this issue.

Issues are not individual property. If you're no longer interested - that's ok; but it doesn't fix the issue you brought up.
Comment 12 Andreas Heinisch 2022-10-06 19:26:28 UTC
May you provide a sample document? I am not able to fully understand your request. May you provide some detailed steps like:

1) Write Heading 1, new line, Heading 2, new line, Heading 3 in the document
2) Format them as Heading 1, Heading 2, Heading 3

Thank you very much! May I can resolve your issue.
Comment 13 cmflatscher 2022-10-07 09:26:59 UTC
Thank you for your interest, Andreas.

I found a work around which I have been using the past two years :

I mark the text that should be referencing to a different chapter in a document and then I just insert a Hyperlink (CTRL+K) and then select in the pop window in the document the relevant chapter.

For more complex things such as a section within a longer text that should be the target of a cross reference I just insert an "invisible" frame, name it, and then link to it from the source section again using the Libre Write Hyperlink function.

This works perfectly well for me. Even for longer documents.

Thank you!

Best regards,

--Christian