Word 2010 cross-reference number with chapter without label
Solution 1:
The workaround with # 0.0 or # 0 in the answer above work only for one-digit numberings. (according to http://answers.microsoft.com/en-us/office/forum/office_2007-word/how-to-disply-figure-number-only-in-cross/02ae3cd0-6c3c-401d-990c-5220d7f0be1e).
But you can use the "kludgy workaround": http://wordfaqs.mvps.org/CombineXrefs.htm
In short, 10 simple steps:
- Use classic "Add cross reference" to
Slika 2.2
- Press Shift+F9 to show field code. You shoud see something like
{ REF _Ref107244825 }
instead ofSlika 2.2
. - Select and copy the
_Ref107244825
part. - Press Shift+F9 again.
- Go to the caption of
Slika 2.2
(e.g. by Ctrl+click on the inserted reference) - Select the
2.2
part of the caption - Open the "Insert bookmark" dialog
- In the dialog, check the "Show hidden bookmarks" checkbox
- Find the
_Ref107244825
(you can e.g. paste the copied text from step 3) - Click "Add" and then close the dialog
Now, when you actualize the fields (e.g. press F9), the reference becomes 2.2
and you can add declined "Na slike".
Solution 2:
Instead of \# 0
, try adding \# 0.0
. That way, you would only get the paragraph.number
format (so, the actuall hyperlink would only include the "2.2" part, and you would add the "slika" part as plain text in front).
If you would like to add some text inside the hyperlink (so a wider area than 3-4 characters is clickable), I suggest adding it as custom text, enclosed in single-quotes:
{ REF _Ref334952863 \# "'na slici' 0.0" \h }
So, the example you mentioned would look like this:
{ REF _Ref334952863 \# "'['0.0']'" \h }
P.S. Don't forget that if you want to add multiple things to the \#
declaration, you have to enclose them in double-quotes.
Sources:
- http://wordfaqs.mvps.org/combinexrefs.htm
- http://office.microsoft.com/en-us/word-help/insert-and-format-field-codes-in-word-2007-HA010338798.aspx