Description: Inserting a cross-reference to the "Number" or "Number (no context)" of a numbered paragraph brings not only the number, but also the separator character. Steps to Reproduce: 1. Format > Bullets and Numbering... > Customize > Number: 1,2,3,... and Separator After . (for instance) 2. Write down some numbered paragraphs 3. Insert > Cross-reference... > in "Type", choose "Numbered Paragraphs"; in "Refer using" choose "Number" or "Number (no context)"; in "Selection", choose any paragraph and clik "Insert" button. Actual Results: The number of the paragraph, along with the separator character, is inserted. Expected Results: The number, and only the number, of the referenced paragraph, should be inserted. Reproducible: Always User Profile Reset: No Additional Info: The bug does not happen in the previous version I was using, 7.0.6. It happens in 7.2.6.2 and also in 7.3.1.3.
Created attachment 179214 [details] Example with the references with the bug. .odt file with example of the bug. In 7.06 and before, the references would be "2" and "3". In 7.2.6.2 and 7.3.1.3, they are "2." and "3.".
I confirm the described behaviour with Version: 7.3.2.2 (x64) / LibreOffice Community Build ID: 49f2b1bff42cfccbd8f788c8dc32c1c309559be0 CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win Locale: de-DE (de_DE); UI: en-GB Calc: CL but for me it's the expected behaviour. If it wasn't present in previous version, previous buggy behaviour has been fixed. But perhaps there are different opinions here.
I don't think it is a matter of interpretation. When one chooses to reference the number of an entry in a numbered list (and just the number, like in the options "Number" and "Number (no context)"), the word processor is supposed to insert just the number. That is exactly the behavior in e.g., MS Word. And it was also the behavior in LO Writer up to version 7. That means eons in OpenOffice and LibreOffice time scale.
So lets ask Design-Team cc: Design-Team
Same discussion recently in bug 142555 was decided WONTFIX since you have the choice of Number or Chapter. *** This bug has been marked as a duplicate of bug 142555 ***
At least in 7.2.6.2, "Number" and "Chapter" do not solve the problem: the separator character is still inserted with the number of the item. There is, from what I tested, *no way* to just insert the number, as it was before 7.2. Maybe I am doing something wrong given the new way the cross-reference and the numbering is happening in the new versions of LO Writer.
Created attachment 179725 [details] Example Using numbers instead of literals works the same (and without the locale bug).
(In reply to Heiko Tietze from comment #7) > Created attachment 179725 [details] > Example > > Using numbers instead of literals works the same (and without the locale > bug). Thank you for your reply, but I still can't get it. What exactly should we do to have the same behavior as before? For me, the "bug" still happens, and the print screen you sent haven't clarified much. What I am unfortunately having to do now to number the paragraphs is a 'brute force' approach, creating an arabic numerical field variable specific as a 'paragraph number'. Cross-references to this variable are obviously correct now, but I have to manually insert the separation character. But for other files I have written before 7.2.6 (some of them with hundreds of pages), I cannot use that workaround. Botton line is: I will stop upgrading LO, because it is getting worse in a sense. I do not doubt the current development team has the best of intentions, but I am very thankful to those developing color television standards in the 1950s and 1960s, because instead of making all the millions of black and white television sets obsolete, they created a backward compatible system, so that those with the old TVs could watch a color transmission.
To insert just the number you have to use Numbered Paragraph and Chapter (my example is "Chaper One:" becoming "One"). Nothing has changed to my knowledge with 7.2. Perhaps you share an example documents along with screenshots expected / before 7.2 and unexpected / after 7.2.