https://bugs.documentfoundation.org/show_bug.cgi?id=174149

--- Comment #2 from GellĂ©rt Gyuris <[email protected]> ---
First of all, I sincerely apologize for the incorrect description in my
original report. After further testing, I discovered that my initial
understanding of the behaviour in older LibreOffice versions was not entirely
accurate.

I tested LibreOffice 6 and 7 and found that when both the Before and After
separators were populated, cross-references behaved as they do in current
versions: the separator text was included in the reference.

However, when the Before separator was empty and the After separator was
populated, older versions inserted only the paragraph number in the
cross-reference, without the After separator text. This behaviour is no longer
available in current versions.

I have been maintaining a document originally created in LibreOffice 4 for many
years, repeatedly adapting it to newer versions. This long-term experience is
what led me to notice the change, but I had initially misidentified the
conditions under which the previous behaviour occurred.

It is therefore possible that the original behaviour was changed intentionally
as part of an earlier bug fix, rather than being a regression in recent
versions. I apologise for the confusion and have attached screenshots
illustrating the behaviour in different versions.

Revised issue and feature request

Rather than restoring the previous behaviour unconditionally, I would like to
suggest adding an option to cross-reference formatting that allows users to
insert only the paragraph number, excluding the numbering style's Before and
After separator text.

Currently, even the Number and Number (no context) formats include the
separator text. An explicit option to exclude these separators would provide
greater flexibility and help users maintain existing documents without having
to work around this limitation.

Thank you for your understanding, and apologies again for the initially
inaccurate report.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to