Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.newusers
book_worm71[_2_] book_worm71[_2_] is offline
external usenet poster
 
Posts: 12
Default Import Doc with TOC

I haven't been able to solve this issue. If there's no workaround for this
(or it's not reproducable), might anyone know of a better way to include a
chapter with its own TOC in my main document? Thanks.

I'm using IncludeText to insert chapters into my main document. One of the
chapters has it's own TOC, for the level 2 elements that it contains:

{TOC \o "2-2"}

When I simply use IncludeText to insert the file, the TOC appears and
updates perfectly. However, if I use an IF field around the IncludeText, I
get a bunch of blank headings that show up in the TOC right before the real
headings.

Here's how the output appears:

1.1....................42
1.1....................42
1.1....................42
1.1....................42
1.1....................42
1.1....................42
1.1....................42
1.1....................42
1.1....................42
1.1....................42
1.1....................42
1.1....................42
1.1....................Inherent Addressing 42
1.2....................Immediate Mode (IMM) 42
1.3....................Direct Mode (DIR) 43
1.4....................Extended Addressing (EXT) 43
1.5....................Indexed 5-Bit Constant Offset (IDX) 43
1.6....................Indexed Auto Pre/Post Decrement/Increment (IDX) 44
1.7....................Indexed Accumulator Offset (IDX) 44
1.8....................Indexed 9-Bit Constant Offset (IDX1) 44
1.9....................Indexed 16-Bit Constant Offset (IDX2) 45
1.10....................Indexed 16-Bit Constant Indirect ([IDX2]) 45
1.11....................Indexed D-Indirect ([D,IDX]) 45
1.12....................Multiple Addressing Modes 46

My code is as follows:

{if value="content" {includetext "document.doc"}}

Any help would be appreciated, thanks.
  #2   Report Post  
Posted to microsoft.public.word.newusers
Stefan Blom Stefan Blom is offline
external usenet poster
 
Posts: 8,428
Default Import Doc with TOC

I see no apparent problem with having tables of contents in files inserted
via INCLUDETEXT fields.

Try adding the \! switch to the INCLUDETEXT fields; that way, the tables of
contents (or any other fields in the included documents, for that matter)
cannot be updated from the target document, but only from the source
documents. Does that make a difference?

--
Stefan Blom
Microsoft Word MVP



"book_worm71" wrote in message
news
I haven't been able to solve this issue. If there's no workaround for this
(or it's not reproducable), might anyone know of a better way to include a
chapter with its own TOC in my main document? Thanks.

I'm using IncludeText to insert chapters into my main document. One of the
chapters has it's own TOC, for the level 2 elements that it contains:

{TOC \o "2-2"}

When I simply use IncludeText to insert the file, the TOC appears and
updates perfectly. However, if I use an IF field around the IncludeText, I
get a bunch of blank headings that show up in the TOC right before the
real
headings.

Here's how the output appears:

1.1....................42
1.1....................42
1.1....................42
1.1....................42
1.1....................42
1.1....................42
1.1....................42
1.1....................42
1.1....................42
1.1....................42
1.1....................42
1.1....................42
1.1....................Inherent Addressing 42
1.2....................Immediate Mode (IMM) 42
1.3....................Direct Mode (DIR) 43
1.4....................Extended Addressing (EXT) 43
1.5....................Indexed 5-Bit Constant Offset (IDX) 43
1.6....................Indexed Auto Pre/Post Decrement/Increment (IDX) 44
1.7....................Indexed Accumulator Offset (IDX) 44
1.8....................Indexed 9-Bit Constant Offset (IDX1) 44
1.9....................Indexed 16-Bit Constant Offset (IDX2) 45
1.10....................Indexed 16-Bit Constant Indirect ([IDX2]) 45
1.11....................Indexed D-Indirect ([D,IDX]) 45
1.12....................Multiple Addressing Modes 46

My code is as follows:

{if value="content" {includetext "document.doc"}}

Any help would be appreciated, thanks.




  #3   Report Post  
Posted to microsoft.public.word.newusers
book_worm71[_2_] book_worm71[_2_] is offline
external usenet poster
 
Posts: 12
Default Import Doc with TOC

Stefan, thanks again - the /! switch seems to fix the problem that occurs
when I use the {IF} field. The table of contents now appears properly. I
really appreciate your help.

Sincerely,
Keith

"Stefan Blom" wrote:

I see no apparent problem with having tables of contents in files inserted
via INCLUDETEXT fields.

Try adding the \! switch to the INCLUDETEXT fields; that way, the tables of
contents (or any other fields in the included documents, for that matter)
cannot be updated from the target document, but only from the source
documents. Does that make a difference?

--
Stefan Blom
Microsoft Word MVP



"book_worm71" wrote in message
news
I haven't been able to solve this issue. If there's no workaround for this
(or it's not reproducable), might anyone know of a better way to include a
chapter with its own TOC in my main document? Thanks.

I'm using IncludeText to insert chapters into my main document. One of the
chapters has it's own TOC, for the level 2 elements that it contains:

{TOC \o "2-2"}

When I simply use IncludeText to insert the file, the TOC appears and
updates perfectly. However, if I use an IF field around the IncludeText, I
get a bunch of blank headings that show up in the TOC right before the
real
headings.

Here's how the output appears:

1.1....................42
1.1....................42
1.1....................42
1.1....................42
1.1....................42
1.1....................42
1.1....................42
1.1....................42
1.1....................42
1.1....................42
1.1....................42
1.1....................42
1.1....................Inherent Addressing 42
1.2....................Immediate Mode (IMM) 42
1.3....................Direct Mode (DIR) 43
1.4....................Extended Addressing (EXT) 43
1.5....................Indexed 5-Bit Constant Offset (IDX) 43
1.6....................Indexed Auto Pre/Post Decrement/Increment (IDX) 44
1.7....................Indexed Accumulator Offset (IDX) 44
1.8....................Indexed 9-Bit Constant Offset (IDX1) 44
1.9....................Indexed 16-Bit Constant Offset (IDX2) 45
1.10....................Indexed 16-Bit Constant Indirect ([IDX2]) 45
1.11....................Indexed D-Indirect ([D,IDX]) 45
1.12....................Multiple Addressing Modes 46

My code is as follows:

{if value="content" {includetext "document.doc"}}

Any help would be appreciated, thanks.





  #4   Report Post  
Posted to microsoft.public.word.newusers
Stefan Blom Stefan Blom is offline
external usenet poster
 
Posts: 8,428
Default Import Doc with TOC

You are welcome, and thank you for the feedback. :-)

--
Stefan Blom
Microsoft Word MVP



"book_worm71" wrote in message
...
Stefan, thanks again - the /! switch seems to fix the problem that occurs
when I use the {IF} field. The table of contents now appears properly. I
really appreciate your help.

Sincerely,
Keith

"Stefan Blom" wrote:

I see no apparent problem with having tables of contents in files
inserted
via INCLUDETEXT fields.

Try adding the \! switch to the INCLUDETEXT fields; that way, the tables
of
contents (or any other fields in the included documents, for that matter)
cannot be updated from the target document, but only from the source
documents. Does that make a difference?

--
Stefan Blom
Microsoft Word MVP



"book_worm71" wrote in message
news
I haven't been able to solve this issue. If there's no workaround for
this
(or it's not reproducable), might anyone know of a better way to
include a
chapter with its own TOC in my main document? Thanks.

I'm using IncludeText to insert chapters into my main document. One of
the
chapters has it's own TOC, for the level 2 elements that it contains:

{TOC \o "2-2"}

When I simply use IncludeText to insert the file, the TOC appears and
updates perfectly. However, if I use an IF field around the
IncludeText, I
get a bunch of blank headings that show up in the TOC right before the
real
headings.

Here's how the output appears:

1.1....................42
1.1....................42
1.1....................42
1.1....................42
1.1....................42
1.1....................42
1.1....................42
1.1....................42
1.1....................42
1.1....................42
1.1....................42
1.1....................42
1.1....................Inherent Addressing 42
1.2....................Immediate Mode (IMM) 42
1.3....................Direct Mode (DIR) 43
1.4....................Extended Addressing (EXT) 43
1.5....................Indexed 5-Bit Constant Offset (IDX) 43
1.6....................Indexed Auto Pre/Post Decrement/Increment (IDX)
44
1.7....................Indexed Accumulator Offset (IDX) 44
1.8....................Indexed 9-Bit Constant Offset (IDX1) 44
1.9....................Indexed 16-Bit Constant Offset (IDX2) 45
1.10....................Indexed 16-Bit Constant Indirect ([IDX2]) 45
1.11....................Indexed D-Indirect ([D,IDX]) 45
1.12....................Multiple Addressing Modes 46

My code is as follows:

{if value="content" {includetext "document.doc"}}

Any help would be appreciated, thanks.







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
Import PL Microsoft Word Help 1 October 10th 08 07:31 AM
import converter RJ[_2_] Microsoft Word Help 2 January 10th 08 03:17 PM
how can I import text from an OCR Vistitis Microsoft Word Help 1 April 23rd 07 08:58 PM
Problem with Import from Mac Keith Wilson Microsoft Word Help 5 May 26th 05 07:19 PM
how do I import autocorrections autocorrections Microsoft Word Help 1 April 7th 05 09:24 PM


All times are GMT +1. The time now is 07:39 AM.

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"