[Libreoffice-bugs] [Bug 138606] Inserting Cross-Reference to Heading Number also inserts separator text with no option to customize it

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Dec 2 23:16:10 UTC 2020


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

--- Comment #4 from Regina Henschel <rb.henschel at t-online.de> ---
ODF uses the wording "list label" without specifying how to tread prefix and
suffix.

LibreOffice uses some special rules, how to show a prefix and suffix. I have
not examined the code, but from experiments I see:
Prefix and suffix of the lowest current level is used.
The numbering is concatenated as specified by the "sublevels to show" with dot
as separator. The prefix or suffix is then set at start or end of the
concatenation.
Prefix and suffix of the lowest level are used.

The reference type "number" takes the label as it is and adds in front of it
the labels of the higher levels, in case those of the referenced heading is
different from the reference insert place. For type "number (with context)" it
is always added, for type "number (no context)" is is never added. Type
"chapter" takes the label with neither prefix nor suffix.

The problem in your file is, that you use "1." as prefix instead using a level
for the "1" and let LibreOffice add the dot. What is the special reason for
this?

Without a very good reason my suggestion will be to resolve the issue as
"WONTFIX".

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20201202/438a5f2d/attachment.htm>


More information about the Libreoffice-bugs mailing list