Cross-referencing pages/headings from a different Word document usingRD

C

cmd

I am trying to write Session plans for a course I'm teaching. I have a
training manual and want to reference page numbers from the training
manual into the session planner. What I want is if I make a change in
the training manual and thus changing the page numbering to reflect
that automatically in the session plans.
I am familiar with the RD Fields and can import a TOC into the session
plans. But when I try to insert a cross-reference into the session
plan, the same Headings that are shown in the TOC are not available in
the cross-references.
Is there any way Word can do this?
I'm using Word 2003.

Cheers,
Christos
 
S

Stefan Blom

RD fields can only be used with TOCs and indexes, I'm afraid.

What you can do is the following: In the source document (your training
manual), place the insertion point in the header for example. Then press
Ctrl+F9 to insert field delimiters, { }. Type SET myref and then insert a
cross-reference to the page number of your heading. You will see something
similar to { SET myref 4 } (where the 4 in this example is the referenced
page number). Press F9 to update the field. Use Alt+F9 to show/hide field
codes.

In the target (session plan), insert the following INCLUDETEXT field: {
INCLUDETEXT "C:\\folder1\\folder2\\docnamehere.doc" myref \! }. (Notice that
you should use double backslashes to separate folder and file names.)

Repeat the above procedure for each additional cross-reference that you
need. Of course, you will have to pick a different variable name than
"myref" for the second and subsequent SET fields.
 
C

cmd

RD fields can only be used with TOCs and indexes, I'm afraid.

What you can do is the following: In the source document (your training
manual), place the insertion point in the header for example. Then press
Ctrl+F9 to insert field delimiters, { }. Type SET myref and then insert a
cross-reference to the page number of your heading. You will see something
similar to { SET myref 4 } (where the 4 in this example is the referenced
page number). Press F9 to update the field. Use Alt+F9 to show/hide field
codes.

In the target (session plan), insert the following INCLUDETEXT field: {
INCLUDETEXT "C:\\folder1\\folder2\\docnamehere.doc" myref \! }. (Notice that
you should use double backslashes to separate folder and file names.)

Repeat the above procedure for each additional cross-reference that you
need. Of course, you will have to pick a different variable name than
"myref" for the second and subsequent SET fields.

Stefan thanks for your input. this is actually what I've been trying
to do.
I'm using this syntax in the source document:
{ SET myref { PAGE \*MERGEFORMAT }}
and it works just fine. The problem is that I would have to make the
bookmarks for everypage manually.
Your suggestion to add it to the header was very interesting, but only
if I could automatically create a different bookmark for everypage. Is
it possible to do something like this:
{ SET myref{PAGE} { PAGE \*MERGEFORMAT }} or
{ SET myref{CHAPTER} { PAGE \*MERGEFORMAT }}
I know the second field doesn't exist but it would be usefull to add a
bookmark to the specific chapter.
Is it possible to this kind of collation?: myref{PAGE}
and create a bookmark name with the page or chapter attached to it?
I know the above doesn't work because I've tried it. But is there any
other way?

Cheers,
Christos
 
S

Stefan Blom

The only reason I suggested using the header is because it minimizes the
risk that someone deletes the SET field inadvertently.

It is possible that the creation of SET fields could be automated somehow,
but I am not sure how that should be done.

Do you really need to reference *all* pages of the source document?

--
Stefan Blom
Microsoft Word MVP



RD fields can only be used with TOCs and indexes, I'm afraid.

What you can do is the following: In the source document (your training
manual), place the insertion point in the header for example. Then press
Ctrl+F9 to insert field delimiters, { }. Type SET myref and then insert a
cross-reference to the page number of your heading. You will see something
similar to { SET myref 4 } (where the 4 in this example is the referenced
page number). Press F9 to update the field. Use Alt+F9 to show/hide field
codes.

In the target (session plan), insert the following INCLUDETEXT field: {
INCLUDETEXT "C:\\folder1\\folder2\\docnamehere.doc" myref \! }. (Notice
that
you should use double backslashes to separate folder and file names.)

Repeat the above procedure for each additional cross-reference that you
need. Of course, you will have to pick a different variable name than
"myref" for the second and subsequent SET fields.

Stefan thanks for your input. this is actually what I've been trying
to do.
I'm using this syntax in the source document:
{ SET myref { PAGE \*MERGEFORMAT }}
and it works just fine. The problem is that I would have to make the
bookmarks for everypage manually.
Your suggestion to add it to the header was very interesting, but only
if I could automatically create a different bookmark for everypage. Is
it possible to do something like this:
{ SET myref{PAGE} { PAGE \*MERGEFORMAT }} or
{ SET myref{CHAPTER} { PAGE \*MERGEFORMAT }}
I know the second field doesn't exist but it would be usefull to add a
bookmark to the specific chapter.
Is it possible to this kind of collation?: myref{PAGE}
and create a bookmark name with the page or chapter attached to it?
I know the above doesn't work because I've tried it. But is there any
other way?

Cheers,
Christos
 
S

Stefan Blom

Hmm, I made a quick test, and it does seem as if you can create multiple SET
fields using the PAGE field as a counter:

{ SET "myref{ PAGE }" { PAGE } }

If this field construct is placed in the header you would get as many SET
fields as you have page numbers in the document.

I guess further testing might be required, before we can tell if this is
stable..
 
C

cmd

The only reason I suggested using the header is because it minimizes the
risk that someone deletes the SET field inadvertently.

It is possible that the creation of SET fields could be automated somehow,
but I am not sure how that should be done.

Do you really need to reference *all* pages of the source document?

--
Stefan Blom
Microsoft Word MVP







Stefan thanks for your input. this is actually what I've been trying
to do.
I'm using this syntax in the source document:
{ SET myref { PAGE \*MERGEFORMAT }}
and it works just fine. The problem is that I would have to make the
bookmarks for everypage manually.
Your suggestion to add it to the header was very interesting, but only
if I could automatically create a different bookmark for everypage. Is
it possible to do something like this:
{ SET myref{PAGE} { PAGE \*MERGEFORMAT }} or
{ SET myref{CHAPTER} { PAGE \*MERGEFORMAT }}
I know the second field doesn't exist but it would be usefull to add a
bookmark to the specific chapter.
Is it possible to this kind of collation?: myref{PAGE}
and create a bookmark name with the page or chapter attached to it?
I know the above doesn't work because I've tried it. But is there any
other way?

Cheers,
Christos

I don't want all of them I just want when I reference a chapter to get
the page number in the session timetable.
I'm not sure if it's possible. It would be if I could construct
bookmark names using fields as part of the name: i.e.
{ SET myref{PAGEREF _Ref238447828 \h} { PAGE }}
Anyone know if this is possible?

Cheers,
Christos
 
S

Stefan Blom

I think the manual approach discussed in one of my previous messages is the
easiest way, then.

--
Stefan Blom
Microsoft Word MVP



The only reason I suggested using the header is because it minimizes the
risk that someone deletes the SET field inadvertently.

It is possible that the creation of SET fields could be automated somehow,
but I am not sure how that should be done.

Do you really need to reference *all* pages of the source document?

--
Stefan Blom
Microsoft Word MVP







Stefan thanks for your input. this is actually what I've been trying
to do.
I'm using this syntax in the source document:
{ SET myref { PAGE \*MERGEFORMAT }}
and it works just fine. The problem is that I would have to make the
bookmarks for everypage manually.
Your suggestion to add it to the header was very interesting, but only
if I could automatically create a different bookmark for everypage. Is
it possible to do something like this:
{ SET myref{PAGE} { PAGE \*MERGEFORMAT }} or
{ SET myref{CHAPTER} { PAGE \*MERGEFORMAT }}
I know the second field doesn't exist but it would be usefull to add a
bookmark to the specific chapter.
Is it possible to this kind of collation?: myref{PAGE}
and create a bookmark name with the page or chapter attached to it?
I know the above doesn't work because I've tried it. But is there any
other way?

Cheers,
Christos

I don't want all of them I just want when I reference a chapter to get
the page number in the session timetable.
I'm not sure if it's possible. It would be if I could construct
bookmark names using fields as part of the name: i.e.
{ SET myref{PAGEREF _Ref238447828 \h} { PAGE }}
Anyone know if this is possible?

Cheers,
Christos
 

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