Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.newusers
|
|||
|
|||
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
Posted to microsoft.public.word.newusers
|
|||
|
|||
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
Posted to microsoft.public.word.newusers
|
|||
|
|||
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
Posted to microsoft.public.word.newusers
|
|||
|
|||
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 | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Import | Microsoft Word Help | |||
import converter | Microsoft Word Help | |||
how can I import text from an OCR | Microsoft Word Help | |||
Problem with Import from Mac | Microsoft Word Help | |||
how do I import autocorrections | Microsoft Word Help |