Steps to reproduce: 1. Insert number range to the a caption. 2. Insert cross references somewhere else, choose "category and number". In the text only number is shown, category is missing.
(In reply to comment #0) > Steps to reproduce: > > 1. Insert number range to the a caption. > > 2. Insert cross references somewhere else, choose "category and number". In > the text only number is shown, category is missing. Hi Peng, I'm not sure how to reproduce your bug. I know how to Insert -> Image -> From File, and then Insert -> Caption for that image, but I'm not sure how to Insert a number range. Once you've provided clear steps for reproducing this bug, please change the Status back to 'UNCONFIRMED'. Thanks!
(In reply to comment #1) > (In reply to comment #0) > > Steps to reproduce: > > > > 1. Insert number range to the a caption. > > > > 2. Insert cross references somewhere else, choose "category and number". In > > the text only number is shown, category is missing. > > Hi Peng, > I'm not sure how to reproduce your bug. I know how to Insert -> Image -> > From File, and then Insert -> Caption for that image, but I'm not sure how > to Insert a number range. > > Once you've provided clear steps for reproducing this bug, please change the > Status back to 'UNCONFIRMED'. > > Thanks! Hi sorry for the confusion. I didn't use the insert caption capability. Just anywhere in the text I can choose insert->field->other... then I select variable and choose number range, then select a category and press the insert button. A number will appear in the text. I think in a previous version the word before that number will qualify as category. When you next time insert cross reference to it the category name is supposed to be included if you choose "category and number". Since you mentioned I tried the insert caption function, which also includes category and number. This time it actually works. The category and number are all shown when I insert cross reference to it.
(In reply to comment #2) > Hi sorry for the confusion. I didn't use the insert caption capability. Just > anywhere in the text I can choose insert->field->other... then I select > variable and choose number range, then select a category and press the > insert button. There are 3 columns in the 'Variables' tab of the 'Fields' dialog: - Type - Select - Format I chose Type: Number range Select: Illustration Format: Arabic (1 2 3) I then clicked "Insert". > A number will appear in the text. I think in a previous > version the word before that number will qualify as category. Ok. Perhaps that's documented somewhere? > When you next > time insert cross reference to it[,] > ...if you choose "category and number"... - Insert -> Cross-reference - Type: Illustration - Insert reference to: Category and Number - Selection: (The only one available... the one I just created) Click "Insert". > ...the category name is supposed to be > included RESULT: only the number appeared. Peng: Did you expect the field display something like "Illustration: 1" for the link? In which older version of LibreOffice did this work?
All right, with some more test I discovered that the category name does appear in the cross-reference under some conditions, i.e. the text before the varible contains the category name.
(In reply to Peng Wang from comment #4) > All right, with some more test I discovered that the category name does > appear in the cross-reference under some conditions, i.e. the text before > the varible contains the category name. Please change back to UNCONFIRMED, if you are of the opinion that there is a problem. Change to RESOLVED INVALID, if you feel that there is no problem.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.