https://bugs.documentfoundation.org/show_bug.cgi?id=172103
Bug ID: 172103
Summary: Enhancement: Add "Number only" cross-reference option
for List Styles (essential for highly inflected
languages)
Product: LibreOffice
Version: 24.2.7.2 release
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: LibreOffice
Assignee: [email protected]
Reporter: [email protected]
Description:
Currently, when cross-referencing a paragraph formatted with a custom List
Style, LibreOffice forces the inclusion of the "Before" and "After" separator
text defined in the List Style. There is no option to cross-reference only the
generated digit.
This creates a severe limitation for technical and legal drafters working in
highly inflected languages (e.g., Albanian, Slavic languages) where the prefix
word changes its grammatical case depending on the sentence structure, while
the number remains constant.
Steps to Reproduce:
1. Open a new Writer document.
2. Modify a custom List Style (e.g., List 1). Under the Customize tab, select
Level 1.
3. In the Separator section, type "Article " in the Before field. Set Numbering
to "1, 2, 3".
4. Apply this List Style to a paragraph. It will generate: Article 1
5. Go to Insert > Cross-reference.
6. Under Type, select Numbered Paragraphs. Select the paragraph.
7. Under Insert reference to, look for an option to insert purely the number.
Actual Results:
Selecting "Reference" or "Number" inserts the entire string: Article 1.
(Note: The workaround of using "Chapter" only works if the numbering is tied to
Tools > Heading Numbering. It fails entirely if the user separates structural
chapters from sequential articles by using a dedicated List Style for the
articles).
Expected Results:
An option under Insert reference to (e.g., "Number only" or "Number without
separators") that strips the "Before" and "After" text defined in the List
Style, inserting strictly the digit 1.
Reproducible: Always
User Profile Reset: No
Additional Info:
In highly inflected languages like Albanian, the noun "Article" changes based
on context (e.g., Neni, Nenit, Nenin). If a drafter automates "Neni " in the
List Style separator, the cross-reference stubbornly drops the nominative case
"Neni 1" into the middle of a sentence requiring the genitive case, destroying
the grammar. A "Number only" option would allow the user to type the
grammatically correct text manually and insert strictly the automated digit
(e.g., sipas nenit <1>).
--
You are receiving this mail because:
You are the assignee for the bug.