Table reference without text Table

M

Marko Pinteric

Hello experts,

If you have title "Chapter 3" and you use STYLEREF code field with
switch /t, you get returned only "3". Is someting like that possible
when referencing to Tables, so reference to "Table 1" would return only
"1"? If not directly is there any simple trick to solve that problem?

This is a serious problem as in slavic language you have the next problem:

Slovenian English
Tabela 1 Table 1
....v tabeli 1 ...in Table 1

Thanks for the answers,

Marko.
 
S

Stefan Blom

There is no built-in option to reference the caption number and not
the caption label. What you can do is manually insert a bookmark (via
Insert | Bookmark) around the caption number and then insert a
cross-reference to that bookmark.

Alternatively, you can redefine the hidden bookmark inserted by Word.
To do this, first insert the cross-reference (which creates the hidden
bookmark). Then select the caption number, only, and choose Insert |
Bookmark. In the Bookmark dialog box, check the "Hidden bookmarks"
option, and then click the "Location" radio button. The bookmark which
includes the caption number will be displayed at "Bookmark name" at
the top of the dialog box. Click the Add button. Finally, update the
cross-reference by selecting it and pressing F9.
 
M

Marko Pinteric

Stefan said:
There is no built-in option to reference the caption number and not
the caption label. What you can do is manually insert a bookmark (via
Insert | Bookmark) around the caption number and then insert a
cross-reference to that bookmark.

Alternatively, you can redefine the hidden bookmark inserted by Word.
To do this, first insert the cross-reference (which creates the hidden
bookmark). Then select the caption number, only, and choose Insert |
Bookmark. In the Bookmark dialog box, check the "Hidden bookmarks"
option, and then click the "Location" radio button. The bookmark which
includes the caption number will be displayed at "Bookmark name" at
the top of the dialog box. Click the Add button. Finally, update the
cross-reference by selecting it and pressing F9.

I like the second solution with re-definition of the bookmark. Thanks!

Marko
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top