B
book_worm71
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.
(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.