Reply
 
Thread Tools Display Modes
  #1   Report Post  
Frank Drost
 
Posts: n/a
Default How to shorten text in table of contents

I would like to create a table of all my figures. All my
figures have the normal captions style, so I can easily
create such a table and all figures, text, pagenumbers etc
are correct. But some of my captions in my main document
are rather long. So these long captions show up in the
table as well. Rather that I shorten the real caption, I
only would like to shorten the wording of the caption as
it shows up in the table. How do I do that?
  #2   Report Post  
Jay Freedman
 
Posts: n/a
Default

Frank Drost wrote:
I would like to create a table of all my figures. All my
figures have the normal captions style, so I can easily
create such a table and all figures, text, pagenumbers etc
are correct. But some of my captions in my main document
are rather long. So these long captions show up in the
table as well. Rather that I shorten the real caption, I
only would like to shorten the wording of the caption as
it shows up in the table. How do I do that?


Hi Frank,

This is going to be a PITA no matter which way you approach it...

When you use the dialog to create a Table of Figures, it inserts a TOC field
with (among others) the switch
\c "Figure"
This picks up all the captions, which use a SEQ field with the "Figure"
identifier to create the figure numbers. There's no way to tell this widget
"oh, but on these few I want the short caption" -- either you get all the
long captions or you get none of them.

You can fake it out as follows:

- First, click the ¶ button so you can see hidden text. This will become
important in the next step.

- Go to the end of a long caption, and press Ctrl+F9 to insert a pair of
field braces { }. (Note that you can't just type braces on the keyboard, as
they won't work to make a field.) Between the braces, type this:

TC Figure Text of short caption

(of course, type your actual short caption there).

- Select the figure number from the beginning of the long caption (this is
actually a SEQ field) and drag it into the TC field after the word "Figure".
Then, in the long caption where the number used to be, type the figure
number as plain text.

- Repeat for all other long captions.

- Press ¶ again to turn off hidden text. The TC fields will be hidden.

- Select the whole document and press F9 to update it. When it asks about
the Table of Figures, tell it to update the entire table. The TOC will read
the short captions inside the TC fields, because they have the SEQ field
with the "Figure" identifier; and it will also read any regular captions
that haven't been altered this way.

This is where the PITA comes in: If you insert or remove figures, the
plain-text numbers in the long captions won't change to reflect that. You'll
have to go through all the captions, making manual changes to the long
caption numbers.

Maybe someone else will contribute a way that keeps the long caption numbers
in sync without also stuffing them into the TOC.

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org


  #3   Report Post  
Robert M. Franz
 
Posts: n/a
Default

Hi Jay

Jay Freedman wrote:
[..]
- Select the figure number from the beginning of the long caption (this is
actually a SEQ field) and drag it into the TC field after the word "Figure".
Then, in the long caption where the number used to be, type the figure
number as plain text.

[..]
This is where the PITA comes in: If you insert or remove figures, the
plain-text numbers in the long captions won't change to reflect that. You'll
have to go through all the captions, making manual changes to the long
caption numbers.

Maybe someone else will contribute a way that keeps the long caption numbers
in sync without also stuffing them into the TOC.


Two ideas (never really implemented myself):

- Bookmark the SEQ in the TC-field and cross-reference it in the caption
itself (or better: leave the SEQ-field in front and reproduce the same
SEQ-number in the TC-field, IIRC there's a switch for that).

- Use a style separator/hidden para mark.

2cents
Robert
--
/"\ ASCII Ribbon Campaign | MS
\ / | MVP
X Against HTML | for
/ \ in e-mail & news | Word
  #4   Report Post  
jay
 
Posts: n/a
Default

"Use a style separator/hidden para mark"

Depending on the version of Word you are using, the 'style seperator"
can be pretty useful.
See the thread in this forum titled "Use of Style Separator command? "
for discussion and instructions.
regards
Jay

  #5   Report Post  
Suzanne S. Barnhill
 
Posts: n/a
Default

The style separator/hidden paragraph mark was going to be my suggestion.
This is by far the quickest solution and probably the easiest to maintain.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

"Robert M. Franz" wrote in message
...
Hi Jay

Jay Freedman wrote:
[..]
- Select the figure number from the beginning of the long caption (this

is
actually a SEQ field) and drag it into the TC field after the word

"Figure".
Then, in the long caption where the number used to be, type the figure
number as plain text.

[..]
This is where the PITA comes in: If you insert or remove figures, the
plain-text numbers in the long captions won't change to reflect that.

You'll
have to go through all the captions, making manual changes to the long
caption numbers.

Maybe someone else will contribute a way that keeps the long caption

numbers
in sync without also stuffing them into the TOC.


Two ideas (never really implemented myself):

- Bookmark the SEQ in the TC-field and cross-reference it in the caption
itself (or better: leave the SEQ-field in front and reproduce the same
SEQ-number in the TC-field, IIRC there's a switch for that).

- Use a style separator/hidden para mark.

2cents
Robert
--
/"\ ASCII Ribbon Campaign | MS
\ / | MVP
X Against HTML | for
/ \ in e-mail & news | Word




  #6   Report Post  
Jay Freedman
 
Posts: n/a
Default

As near as I can tell, the TOC field for the Table of Figures (using the \c
"Figure" switch) picks up any paragraph that contains a SEQ field using the
"Figure" identifier. It doesn't even have to be in Caption style.

BUT... The point of this was to have only the long caption visible in the
document, and to have only the short caption appear in the TOF. Having a
hidden paragraph mark or a style separator doesn't do any good unless the
short caption that follows it is hidden. I know I was able to get this to
work by using the TC field before I posted my first answer, but now I can't
repeat it. :-( If the SEQ field is hidden, either by putting it in a TC
field by by directly applying Hidden formatting to the short caption, the
TOC field doesn't see it at all.

Sorry -- forget I was even here...

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org

Suzanne S. Barnhill wrote:
The style separator/hidden paragraph mark was going to be my
suggestion. This is by far the quickest solution and probably the
easiest to maintain.


"Robert M. Franz" wrote in message
...
Hi Jay

Jay Freedman wrote:
[..]
- Select the figure number from the beginning of the long caption
(this is actually a SEQ field) and drag it into the TC field after
the word "Figure". Then, in the long caption where the number used
to be, type the figure number as plain text.

[..]
This is where the PITA comes in: If you insert or remove figures,
the plain-text numbers in the long captions won't change to reflect
that. You'll have to go through all the captions, making manual
changes to the long caption numbers.

Maybe someone else will contribute a way that keeps the long
caption numbers in sync without also stuffing them into the TOC.


Two ideas (never really implemented myself):

- Bookmark the SEQ in the TC-field and cross-reference it in the
caption itself (or better: leave the SEQ-field in front and
reproduce the same SEQ-number in the TC-field, IIRC there's a switch
for that).

- Use a style separator/hidden para mark.

2cents
Robert
--
/"\ ASCII Ribbon Campaign | MS
\ / | MVP
X Against HTML | for
/ \ in e-mail & news | Word



  #7   Report Post  
Suzanne S. Barnhill
 
Posts: n/a
Default

I think you misunderstand what we are suggesting, which is:

Figure 1. Short caption to be included. SS or HPB Rest of caption in a
different style (not Caption).

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

"Jay Freedman" wrote in message
...
As near as I can tell, the TOC field for the Table of Figures (using the

\c
"Figure" switch) picks up any paragraph that contains a SEQ field using

the
"Figure" identifier. It doesn't even have to be in Caption style.

BUT... The point of this was to have only the long caption visible in the
document, and to have only the short caption appear in the TOF. Having a
hidden paragraph mark or a style separator doesn't do any good unless the
short caption that follows it is hidden. I know I was able to get this to
work by using the TC field before I posted my first answer, but now I

can't
repeat it. :-( If the SEQ field is hidden, either by putting it in a TC
field by by directly applying Hidden formatting to the short caption, the
TOC field doesn't see it at all.

Sorry -- forget I was even here...

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org

Suzanne S. Barnhill wrote:
The style separator/hidden paragraph mark was going to be my
suggestion. This is by far the quickest solution and probably the
easiest to maintain.


"Robert M. Franz" wrote in message
...
Hi Jay

Jay Freedman wrote:
[..]
- Select the figure number from the beginning of the long caption
(this is actually a SEQ field) and drag it into the TC field after
the word "Figure". Then, in the long caption where the number used
to be, type the figure number as plain text.
[..]
This is where the PITA comes in: If you insert or remove figures,
the plain-text numbers in the long captions won't change to reflect
that. You'll have to go through all the captions, making manual
changes to the long caption numbers.

Maybe someone else will contribute a way that keeps the long
caption numbers in sync without also stuffing them into the TOC.

Two ideas (never really implemented myself):

- Bookmark the SEQ in the TC-field and cross-reference it in the
caption itself (or better: leave the SEQ-field in front and
reproduce the same SEQ-number in the TC-field, IIRC there's a switch
for that).

- Use a style separator/hidden para mark.

2cents
Robert
--
/"\ ASCII Ribbon Campaign | MS
\ / | MVP
X Against HTML | for
/ \ in e-mail & news | Word




  #8   Report Post  
Jay Freedman
 
Posts: n/a
Default

Ah, yes, I did misunderstand. I had in mind that the short caption would be
sufficiently different from the long caption that you would want to see only
one or the other:

Figure 1 When you are a Bear of Very Little Brain, and you Think of Things,
you sometimes find that a Thing which seemed very Thingish inside you is
quite different when it gets out into the open and has other people looking
at it. { TC Figure 1 A Bear of Very Little Brain }

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org

Suzanne S. Barnhill wrote:
I think you misunderstand what we are suggesting, which is:

Figure 1. Short caption to be included. SS or HPB Rest of caption
in a different style (not Caption).


"Jay Freedman" wrote in message
...
As near as I can tell, the TOC field for the Table of Figures (using
the \c "Figure" switch) picks up any paragraph that contains a SEQ
field using the "Figure" identifier. It doesn't even have to be in
Caption style.

BUT... The point of this was to have only the long caption visible
in the document, and to have only the short caption appear in the
TOF. Having a hidden paragraph mark or a style separator doesn't do
any good unless the short caption that follows it is hidden. I know
I was able to get this to work by using the TC field before I posted
my first answer, but now I can't repeat it. :-( If the SEQ field is
hidden, either by putting it in a TC field by by directly applying
Hidden formatting to the short caption, the TOC field doesn't see it
at all.

Sorry -- forget I was even here...

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org

Suzanne S. Barnhill wrote:
The style separator/hidden paragraph mark was going to be my
suggestion. This is by far the quickest solution and probably the
easiest to maintain.


"Robert M. Franz" wrote in message
...
Hi Jay

Jay Freedman wrote:
[..]
- Select the figure number from the beginning of the long caption
(this is actually a SEQ field) and drag it into the TC field after
the word "Figure". Then, in the long caption where the number used
to be, type the figure number as plain text.
[..]
This is where the PITA comes in: If you insert or remove figures,
the plain-text numbers in the long captions won't change to
reflect that. You'll have to go through all the captions, making
manual changes to the long caption numbers.

Maybe someone else will contribute a way that keeps the long
caption numbers in sync without also stuffing them into the TOC.

Two ideas (never really implemented myself):

- Bookmark the SEQ in the TC-field and cross-reference it in the
caption itself (or better: leave the SEQ-field in front and
reproduce the same SEQ-number in the TC-field, IIRC there's a
switch for that).

- Use a style separator/hidden para mark.

2cents
Robert
--
/"\ ASCII Ribbon Campaign | MS
\ / | MVP
X Against HTML | for
/ \ in e-mail & news | Word



  #9   Report Post  
Suzanne S. Barnhill
 
Posts: n/a
Default

Umm, good point. I'm a bear of very fuzzy brain lately (now on Day 9 of the
crud).

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

"Jay Freedman" wrote in message
...
Ah, yes, I did misunderstand. I had in mind that the short caption would

be
sufficiently different from the long caption that you would want to see

only
one or the other:

Figure 1 When you are a Bear of Very Little Brain, and you Think of

Things,
you sometimes find that a Thing which seemed very Thingish inside you is
quite different when it gets out into the open and has other people

looking
at it. { TC Figure 1 A Bear of Very Little Brain }

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org

Suzanne S. Barnhill wrote:
I think you misunderstand what we are suggesting, which is:

Figure 1. Short caption to be included. SS or HPB Rest of caption
in a different style (not Caption).


"Jay Freedman" wrote in message
...
As near as I can tell, the TOC field for the Table of Figures (using
the \c "Figure" switch) picks up any paragraph that contains a SEQ
field using the "Figure" identifier. It doesn't even have to be in
Caption style.

BUT... The point of this was to have only the long caption visible
in the document, and to have only the short caption appear in the
TOF. Having a hidden paragraph mark or a style separator doesn't do
any good unless the short caption that follows it is hidden. I know
I was able to get this to work by using the TC field before I posted
my first answer, but now I can't repeat it. :-( If the SEQ field is
hidden, either by putting it in a TC field by by directly applying
Hidden formatting to the short caption, the TOC field doesn't see it
at all.

Sorry -- forget I was even here...

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org

Suzanne S. Barnhill wrote:
The style separator/hidden paragraph mark was going to be my
suggestion. This is by far the quickest solution and probably the
easiest to maintain.


"Robert M. Franz" wrote in message
...
Hi Jay

Jay Freedman wrote:
[..]
- Select the figure number from the beginning of the long caption
(this is actually a SEQ field) and drag it into the TC field after
the word "Figure". Then, in the long caption where the number used
to be, type the figure number as plain text.
[..]
This is where the PITA comes in: If you insert or remove figures,
the plain-text numbers in the long captions won't change to
reflect that. You'll have to go through all the captions, making
manual changes to the long caption numbers.

Maybe someone else will contribute a way that keeps the long
caption numbers in sync without also stuffing them into the TOC.

Two ideas (never really implemented myself):

- Bookmark the SEQ in the TC-field and cross-reference it in the
caption itself (or better: leave the SEQ-field in front and
reproduce the same SEQ-number in the TC-field, IIRC there's a
switch for that).

- Use a style separator/hidden para mark.

2cents
Robert
--
/"\ ASCII Ribbon Campaign | MS
\ / | MVP
X Against HTML | for
/ \ in e-mail & news | Word




Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Table AutoFormats vs. Table Styles confusion Tony Jollans Tables 5 March 6th 05 07:18 PM
Item in Table of Contents throw off numbering Robert McN Page Layout 4 January 27th 05 12:50 AM
table of contents in thesis SSL New Users 1 January 9th 05 10:56 PM
Outline Renee Hendershott Page Layout 2 December 25th 04 02:49 PM
Table of Contents inside Text Box DaveN Microsoft Word Help 3 December 9th 04 10:58 AM


All times are GMT +1. The time now is 07:11 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"