Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
petersk petersk is offline
external usenet poster
 
Posts: 23
Default INCLUDETEXT field adding extra carriage return before and after

Is there any way to eliminate the extra paragraph mark being inserted in MS
Word 2003 before and after the field {INCLUDETEXT} ?

Kurt
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
petersk petersk is offline
external usenet poster
 
Posts: 23
Default INCLUDETEXT field adding extra carriage return before and after

Actually, this is happening before even my field {TOC \o "1-2" \h \z \u} as
well. WHAT is the deal? It's REALLY messing up formatting!

"petersk" wrote:

Is there any way to eliminate the extra paragraph mark being inserted in MS
Word 2003 before and after the field {INCLUDETEXT} ?

Kurt

  #3   Report Post  
Posted to microsoft.public.word.docmanagement
Suzanne S. Barnhill Suzanne S. Barnhill is offline
external usenet poster
 
Posts: 33,624
Default INCLUDETEXT field adding extra carriage return before and after

Make sure there is not a paragraph break inside the field code.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

"petersk" wrote in message
news
Actually, this is happening before even my field {TOC \o "1-2" \h \z \u}
as
well. WHAT is the deal? It's REALLY messing up formatting!

"petersk" wrote:

Is there any way to eliminate the extra paragraph mark being inserted in
MS
Word 2003 before and after the field {INCLUDETEXT} ?

Kurt



  #4   Report Post  
Posted to microsoft.public.word.docmanagement
Stefan Blom[_3_] Stefan Blom[_3_] is offline
external usenet poster
 
Posts: 6,897
Default INCLUDETEXT field adding extra carriage return before and after

But wouldn't such a paragraph break disappear as soon as you updated the
field?

--
Stefan Blom
Microsoft Word MVP



"Suzanne S. Barnhill" wrote in message
...
Make sure there is not a paragraph break inside the field code.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

"petersk" wrote in message
news
Actually, this is happening before even my field {TOC \o "1-2" \h \z \u}
as
well. WHAT is the deal? It's REALLY messing up formatting!

"petersk" wrote:

Is there any way to eliminate the extra paragraph mark being inserted in
MS
Word 2003 before and after the field {INCLUDETEXT} ?

Kurt





  #5   Report Post  
Posted to microsoft.public.word.docmanagement
Suzanne S. Barnhill Suzanne S. Barnhill is offline
external usenet poster
 
Posts: 33,624
Default INCLUDETEXT field adding extra carriage return before and after

Well, the one that is at the end of the TOC field code (which appears to be
outside the TOC but is actually inside it) was what was in my mind, but I
suppose you're right.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

"Stefan Blom" wrote in message
...
But wouldn't such a paragraph break disappear as soon as you updated the
field?

--
Stefan Blom
Microsoft Word MVP



"Suzanne S. Barnhill" wrote in message
...
Make sure there is not a paragraph break inside the field code.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

"petersk" wrote in message
news
Actually, this is happening before even my field {TOC \o "1-2" \h \z \u}
as
well. WHAT is the deal? It's REALLY messing up formatting!

"petersk" wrote:

Is there any way to eliminate the extra paragraph mark being inserted
in MS
Word 2003 before and after the field {INCLUDETEXT} ?

Kurt








  #6   Report Post  
Posted to microsoft.public.word.docmanagement
petersk petersk is offline
external usenet poster
 
Posts: 23
Default INCLUDETEXT field adding extra carriage return before and afte

Seems it had something to do with a text box.

I had to delete everything on the toc page between the two section breaks to
get the carriage return to go away.
THAT ALL BEING SAID:
What I need to do is this, and it seems impossible:
I have three tables: TOC, List of Tables, and List of Figures. The TOC
and List of Figures are more than 1 page. Therefore, I'm required to have
the header:
"Item tabpage"
at the top of each page.
Of course the first page, must have above that "Table of Contents" or "List
of Figures" respectively.

Is there an easy way to do that?

I'm currently using sections and putting the TITLE of TOC or LOF in a text
box, since "different first page" doesn't seem to work for the header for
sections INSIDE a document (don't know why).

Any ideas?
Kurt

"Stefan Blom" wrote:

But wouldn't such a paragraph break disappear as soon as you updated the
field?

--
Stefan Blom
Microsoft Word MVP



"Suzanne S. Barnhill" wrote in message
...
Make sure there is not a paragraph break inside the field code.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

"petersk" wrote in message
news
Actually, this is happening before even my field {TOC \o "1-2" \h \z \u}
as
well. WHAT is the deal? It's REALLY messing up formatting!

"petersk" wrote:

Is there any way to eliminate the extra paragraph mark being inserted in
MS
Word 2003 before and after the field {INCLUDETEXT} ?

Kurt




.

  #7   Report Post  
Posted to microsoft.public.word.docmanagement
petersk petersk is offline
external usenet poster
 
Posts: 23
Default INCLUDETEXT field adding extra carriage return before and afte

Darn it! I just pressed F9 and the paragraph mark is back!
UNBELIEVABLE.
Kurt

"Stefan Blom" wrote:

But wouldn't such a paragraph break disappear as soon as you updated the
field?

--
Stefan Blom
Microsoft Word MVP



"Suzanne S. Barnhill" wrote in message
...
Make sure there is not a paragraph break inside the field code.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

"petersk" wrote in message
news
Actually, this is happening before even my field {TOC \o "1-2" \h \z \u}
as
well. WHAT is the deal? It's REALLY messing up formatting!

"petersk" wrote:

Is there any way to eliminate the extra paragraph mark being inserted in
MS
Word 2003 before and after the field {INCLUDETEXT} ?

Kurt




.

  #8   Report Post  
Posted to microsoft.public.word.docmanagement
petersk petersk is offline
external usenet poster
 
Posts: 23
Default INCLUDETEXT field adding extra carriage return before and afte

OK, but if I delete the text box, press F9 the extra paragraph mark goes away!
What's going on here?
Kurt

"Stefan Blom" wrote:

But wouldn't such a paragraph break disappear as soon as you updated the
field?

--
Stefan Blom
Microsoft Word MVP



"Suzanne S. Barnhill" wrote in message
...
Make sure there is not a paragraph break inside the field code.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

"petersk" wrote in message
news
Actually, this is happening before even my field {TOC \o "1-2" \h \z \u}
as
well. WHAT is the deal? It's REALLY messing up formatting!

"petersk" wrote:

Is there any way to eliminate the extra paragraph mark being inserted in
MS
Word 2003 before and after the field {INCLUDETEXT} ?

Kurt




.

  #9   Report Post  
Posted to microsoft.public.word.docmanagement
Suzanne S. Barnhill Suzanne S. Barnhill is offline
external usenet poster
 
Posts: 33,624
Default INCLUDETEXT field adding extra carriage return before and afte

A text box must be anchored to a text paragraph; that paragraph cannot be
inside a TOC field; that's why Word is insisting on inserting an empty
paragraph.

A better approach: put each TOC in a separate section with "Different first
page" enabled. Put the "Table of Contents" or "List of Figures" heading and
your "Itemtabpage" heading in ordinary text paragraphs before the TOC
field and leave the First Page Header empty. In the Header put your running
head ("Table of Contents" or "List of Figures") and your other heading.

FWIW, I don't think you need the "Itemtabpage" heading at all. Most people
understand how TOCs work and that the number is a page number.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

"petersk" wrote in message
...
Seems it had something to do with a text box.

I had to delete everything on the toc page between the two section breaks
to
get the carriage return to go away.
THAT ALL BEING SAID:
What I need to do is this, and it seems impossible:
I have three tables: TOC, List of Tables, and List of Figures. The TOC
and List of Figures are more than 1 page. Therefore, I'm required to have
the header:
"Item tabpage"
at the top of each page.
Of course the first page, must have above that "Table of Contents" or
"List
of Figures" respectively.

Is there an easy way to do that?

I'm currently using sections and putting the TITLE of TOC or LOF in a
text
box, since "different first page" doesn't seem to work for the header for
sections INSIDE a document (don't know why).

Any ideas?
Kurt

"Stefan Blom" wrote:

But wouldn't such a paragraph break disappear as soon as you updated the
field?

--
Stefan Blom
Microsoft Word MVP



"Suzanne S. Barnhill" wrote in message
...
Make sure there is not a paragraph break inside the field code.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

"petersk" wrote in message
news Actually, this is happening before even my field {TOC \o "1-2" \h \z
\u}
as
well. WHAT is the deal? It's REALLY messing up formatting!

"petersk" wrote:

Is there any way to eliminate the extra paragraph mark being inserted
in
MS
Word 2003 before and after the field {INCLUDETEXT} ?

Kurt




.



  #10   Report Post  
Posted to microsoft.public.word.docmanagement
Stefan Blom[_3_] Stefan Blom[_3_] is offline
external usenet poster
 
Posts: 6,897
Default INCLUDETEXT field adding extra carriage return before and afte

Read the replies that Suzanne posted.

--
Stefan Blom
Microsoft Word MVP



"petersk" wrote in message
...
OK, but if I delete the text box, press F9 the extra paragraph mark goes
away!
What's going on here?
Kurt

"Stefan Blom" wrote:

But wouldn't such a paragraph break disappear as soon as you updated the
field?

--
Stefan Blom
Microsoft Word MVP



"Suzanne S. Barnhill" wrote in message
...
Make sure there is not a paragraph break inside the field code.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

"petersk" wrote in message
news Actually, this is happening before even my field {TOC \o "1-2" \h \z
\u}
as
well. WHAT is the deal? It's REALLY messing up formatting!

"petersk" wrote:

Is there any way to eliminate the extra paragraph mark being inserted
in
MS
Word 2003 before and after the field {INCLUDETEXT} ?

Kurt




.





  #11   Report Post  
Posted to microsoft.public.word.docmanagement
petersk petersk is offline
external usenet poster
 
Posts: 23
Default INCLUDETEXT field adding extra carriage return before and afte

Thanks, that's what I ended up doing, but I couldn't really do that in a
separate document using INCLUDETEXT (for the TOC document) because the
different first page didn't seem to allow me to bring that in to the main
document. So... I had to do the TOCs in the MAIN document instead of a
group of little ones.

Now, I'm wondering if the header for the Figures will show up in the TOC.

As far as your FWIW statement, unfortunately, logic rarely comes into place
when you're (I'm) dealing with authorative editors.
Kurt

"Suzanne S. Barnhill" wrote:

A text box must be anchored to a text paragraph; that paragraph cannot be
inside a TOC field; that's why Word is insisting on inserting an empty
paragraph.

A better approach: put each TOC in a separate section with "Different first
page" enabled. Put the "Table of Contents" or "List of Figures" heading and
your "Itemtabpage" heading in ordinary text paragraphs before the TOC
field and leave the First Page Header empty. In the Header put your running
head ("Table of Contents" or "List of Figures") and your other heading.

FWIW, I don't think you need the "Itemtabpage" heading at all. Most people
understand how TOCs work and that the number is a page number.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

"petersk" wrote in message
...
Seems it had something to do with a text box.

I had to delete everything on the toc page between the two section breaks
to
get the carriage return to go away.
THAT ALL BEING SAID:
What I need to do is this, and it seems impossible:
I have three tables: TOC, List of Tables, and List of Figures. The TOC
and List of Figures are more than 1 page. Therefore, I'm required to have
the header:
"Item tabpage"
at the top of each page.
Of course the first page, must have above that "Table of Contents" or
"List
of Figures" respectively.

Is there an easy way to do that?

I'm currently using sections and putting the TITLE of TOC or LOF in a
text
box, since "different first page" doesn't seem to work for the header for
sections INSIDE a document (don't know why).

Any ideas?
Kurt

"Stefan Blom" wrote:

But wouldn't such a paragraph break disappear as soon as you updated the
field?

--
Stefan Blom
Microsoft Word MVP



"Suzanne S. Barnhill" wrote in message
...
Make sure there is not a paragraph break inside the field code.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

"petersk" wrote in message
news Actually, this is happening before even my field {TOC \o "1-2" \h \z
\u}
as
well. WHAT is the deal? It's REALLY messing up formatting!

"petersk" wrote:

Is there any way to eliminate the extra paragraph mark being inserted
in
MS
Word 2003 before and after the field {INCLUDETEXT} ?

Kurt




.



.

  #12   Report Post  
Posted to microsoft.public.word.docmanagement
Peter Jamieson Peter Jamieson is offline
external usenet poster
 
Posts: 4,582
Default INCLUDETEXT field adding extra carriage return before and after

Although the rest of this conversation appears to be about TOC fields,
as far as INCLUDETEXT fields go, whether they insert "extra" paragraph
marks depends on
a. what is in the thing you are inserting
b. what type of file you are inserting

For (a), if you are inserting a complete Word file, you need to know
that a Word document always has a final paragraph/section mark, and that
is inserted. e.g. suppose you have a document called myfile.doc that
contains single paragraph as follows:

Hello world!

then a document containing

aaa{ INCLUDETEXT "myfile.doc" }zzz

will show

aaaHello world!
zzz

not

aaaHello world!zzz

You can work around that problem by inserting a bookmark, e.g. mybm, in
myfile.doc that covers all the text except the final paragraph mark, and
referencing that in the includetext field, e.g.

aaa{ INCLUDETEXT "myfile.doc" mybm }zzz

For (b), if you include text from (say) a plain text file, you will also
always get a paragraph mark at the end of the field result, even if the
text file has no CR or CRLF at the end. AFAIK you cannot avoid that
using a bookmark (i.e. as above) because plain text fiels don't have
bookmarks.

Beyond that (doubt if many people need to know stuff beyond that,
but...) what happens depends partly on whether Word uses a built-in text
converter (the sort it uses to open "native" Word formats such as Word
..doc, .rtf, possibly .txt and certainly .htm) or an external text
converter, e.g. the sort it uses to open WordPerfect or Works files.
With internal converters, it is still possible to INCLUDETEXT without
inserting a paragraph mark if the source format supports bookmarks. For
example, you can define a bookmark in HTML using the a element

(e.g.

a name="mybm"Hello world!/a

and that bookmark can be referenced in an INCLUDETEXT field the same way
as a bookmark in a .doc

With external converters, Word inserts at least one additional paragraph
mark whatever you do. That is a little strange because in Word 2003,
converters have to supply Word with a stream of RTF, i.e. the bookmarks
look exactly the same as they do in a .rtf file, but Word inserts an
extra paragraph mark anyway.

Peter Jamieson

http://tips.pjmsn.me.uk

On 14/11/2009 18:01, petersk wrote:
Is there any way to eliminate the extra paragraph mark being inserted in MS
Word 2003 before and after the field {INCLUDETEXT} ?

Kurt

  #13   Report Post  
Posted to microsoft.public.word.docmanagement
petersk petersk is offline
external usenet poster
 
Posts: 23
Default INCLUDETEXT field adding extra carriage return before and afte

The header trick seemed to work. Just got to get the distance from the top
just right now. That vertical ruler is pretty useless other than eyeballing
things. I wish there was a way to have guidelines from the ruler to show
just how far you are from the paper's (or margin's) edge.
Kurt

"petersk" wrote:

Thanks, that's what I ended up doing, but I couldn't really do that in a
separate document using INCLUDETEXT (for the TOC document) because the
different first page didn't seem to allow me to bring that in to the main
document. So... I had to do the TOCs in the MAIN document instead of a
group of little ones.

Now, I'm wondering if the header for the Figures will show up in the TOC.

As far as your FWIW statement, unfortunately, logic rarely comes into place
when you're (I'm) dealing with authorative editors.
Kurt

"Suzanne S. Barnhill" wrote:

A text box must be anchored to a text paragraph; that paragraph cannot be
inside a TOC field; that's why Word is insisting on inserting an empty
paragraph.

A better approach: put each TOC in a separate section with "Different first
page" enabled. Put the "Table of Contents" or "List of Figures" heading and
your "Itemtabpage" heading in ordinary text paragraphs before the TOC
field and leave the First Page Header empty. In the Header put your running
head ("Table of Contents" or "List of Figures") and your other heading.

FWIW, I don't think you need the "Itemtabpage" heading at all. Most people
understand how TOCs work and that the number is a page number.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

"petersk" wrote in message
...
Seems it had something to do with a text box.

I had to delete everything on the toc page between the two section breaks
to
get the carriage return to go away.
THAT ALL BEING SAID:
What I need to do is this, and it seems impossible:
I have three tables: TOC, List of Tables, and List of Figures. The TOC
and List of Figures are more than 1 page. Therefore, I'm required to have
the header:
"Item tabpage"
at the top of each page.
Of course the first page, must have above that "Table of Contents" or
"List
of Figures" respectively.

Is there an easy way to do that?

I'm currently using sections and putting the TITLE of TOC or LOF in a
text
box, since "different first page" doesn't seem to work for the header for
sections INSIDE a document (don't know why).

Any ideas?
Kurt

"Stefan Blom" wrote:

But wouldn't such a paragraph break disappear as soon as you updated the
field?

--
Stefan Blom
Microsoft Word MVP



"Suzanne S. Barnhill" wrote in message
...
Make sure there is not a paragraph break inside the field code.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

"petersk" wrote in message
news Actually, this is happening before even my field {TOC \o "1-2" \h \z
\u}
as
well. WHAT is the deal? It's REALLY messing up formatting!

"petersk" wrote:

Is there any way to eliminate the extra paragraph mark being inserted
in
MS
Word 2003 before and after the field {INCLUDETEXT} ?

Kurt




.



.

  #14   Report Post  
Posted to microsoft.public.word.docmanagement
Suzanne S. Barnhill Suzanne S. Barnhill is offline
external usenet poster
 
Posts: 33,624
Default INCLUDETEXT field adding extra carriage return before and afte

Again I'll point out that the item-page heading isn't really necessary.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

"petersk" wrote in message
...
The header trick seemed to work. Just got to get the distance from the
top
just right now. That vertical ruler is pretty useless other than
eyeballing
things. I wish there was a way to have guidelines from the ruler to show
just how far you are from the paper's (or margin's) edge.
Kurt

"petersk" wrote:

Thanks, that's what I ended up doing, but I couldn't really do that in a
separate document using INCLUDETEXT (for the TOC document) because the
different first page didn't seem to allow me to bring that in to the main
document. So... I had to do the TOCs in the MAIN document instead of a
group of little ones.

Now, I'm wondering if the header for the Figures will show up in the TOC.

As far as your FWIW statement, unfortunately, logic rarely comes into
place
when you're (I'm) dealing with authorative editors.
Kurt

"Suzanne S. Barnhill" wrote:

A text box must be anchored to a text paragraph; that paragraph cannot
be
inside a TOC field; that's why Word is insisting on inserting an empty
paragraph.

A better approach: put each TOC in a separate section with "Different
first
page" enabled. Put the "Table of Contents" or "List of Figures" heading
and
your "Itemtabpage" heading in ordinary text paragraphs before the TOC
field and leave the First Page Header empty. In the Header put your
running
head ("Table of Contents" or "List of Figures") and your other heading.

FWIW, I don't think you need the "Itemtabpage" heading at all. Most
people
understand how TOCs work and that the number is a page number.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

"petersk" wrote in message
...
Seems it had something to do with a text box.

I had to delete everything on the toc page between the two section
breaks
to
get the carriage return to go away.
THAT ALL BEING SAID:
What I need to do is this, and it seems impossible:
I have three tables: TOC, List of Tables, and List of Figures. The
TOC
and List of Figures are more than 1 page. Therefore, I'm required to
have
the header:
"Item tabpage"
at the top of each page.
Of course the first page, must have above that "Table of Contents" or
"List
of Figures" respectively.

Is there an easy way to do that?

I'm currently using sections and putting the TITLE of TOC or LOF in
a
text
box, since "different first page" doesn't seem to work for the header
for
sections INSIDE a document (don't know why).

Any ideas?
Kurt

"Stefan Blom" wrote:

But wouldn't such a paragraph break disappear as soon as you updated
the
field?

--
Stefan Blom
Microsoft Word MVP



"Suzanne S. Barnhill" wrote in message
...
Make sure there is not a paragraph break inside the field code.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

"petersk" wrote in message
news Actually, this is happening before even my field {TOC \o "1-2" \h
\z
\u}
as
well. WHAT is the deal? It's REALLY messing up formatting!

"petersk" wrote:

Is there any way to eliminate the extra paragraph mark being
inserted
in
MS
Word 2003 before and after the field {INCLUDETEXT} ?

Kurt




.



.


  #15   Report Post  
Posted to microsoft.public.word.docmanagement
petersk petersk is offline
external usenet poster
 
Posts: 23
Default INCLUDETEXT field adding extra carriage return before and afte

I'm not sure what you mean by that Suzanne. Have you read my explanation
that my editor requires the heading on each page?
Kurt

"Suzanne S. Barnhill" wrote:

Again I'll point out that the item-page heading isn't really necessary.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

"petersk" wrote in message
...
The header trick seemed to work. Just got to get the distance from the
top
just right now. That vertical ruler is pretty useless other than
eyeballing
things. I wish there was a way to have guidelines from the ruler to show
just how far you are from the paper's (or margin's) edge.
Kurt

"petersk" wrote:

Thanks, that's what I ended up doing, but I couldn't really do that in a
separate document using INCLUDETEXT (for the TOC document) because the
different first page didn't seem to allow me to bring that in to the main
document. So... I had to do the TOCs in the MAIN document instead of a
group of little ones.

Now, I'm wondering if the header for the Figures will show up in the TOC.

As far as your FWIW statement, unfortunately, logic rarely comes into
place
when you're (I'm) dealing with authorative editors.
Kurt

"Suzanne S. Barnhill" wrote:

A text box must be anchored to a text paragraph; that paragraph cannot
be
inside a TOC field; that's why Word is insisting on inserting an empty
paragraph.

A better approach: put each TOC in a separate section with "Different
first
page" enabled. Put the "Table of Contents" or "List of Figures" heading
and
your "Itemtabpage" heading in ordinary text paragraphs before the TOC
field and leave the First Page Header empty. In the Header put your
running
head ("Table of Contents" or "List of Figures") and your other heading.

FWIW, I don't think you need the "Itemtabpage" heading at all. Most
people
understand how TOCs work and that the number is a page number.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

"petersk" wrote in message
...
Seems it had something to do with a text box.

I had to delete everything on the toc page between the two section
breaks
to
get the carriage return to go away.
THAT ALL BEING SAID:
What I need to do is this, and it seems impossible:
I have three tables: TOC, List of Tables, and List of Figures. The
TOC
and List of Figures are more than 1 page. Therefore, I'm required to
have
the header:
"Item tabpage"
at the top of each page.
Of course the first page, must have above that "Table of Contents" or
"List
of Figures" respectively.

Is there an easy way to do that?

I'm currently using sections and putting the TITLE of TOC or LOF in
a
text
box, since "different first page" doesn't seem to work for the header
for
sections INSIDE a document (don't know why).

Any ideas?
Kurt

"Stefan Blom" wrote:

But wouldn't such a paragraph break disappear as soon as you updated
the
field?

--
Stefan Blom
Microsoft Word MVP



"Suzanne S. Barnhill" wrote in message
...
Make sure there is not a paragraph break inside the field code.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

"petersk" wrote in message
news Actually, this is happening before even my field {TOC \o "1-2" \h
\z
\u}
as
well. WHAT is the deal? It's REALLY messing up formatting!

"petersk" wrote:

Is there any way to eliminate the extra paragraph mark being
inserted
in
MS
Word 2003 before and after the field {INCLUDETEXT} ?

Kurt




.



.


.



  #16   Report Post  
Posted to microsoft.public.word.docmanagement
Suzanne S. Barnhill Suzanne S. Barnhill is offline
external usenet poster
 
Posts: 33,624
Default INCLUDETEXT field adding extra carriage return before and afte

Ah, if the editor requires it, then I suppose it must be done. You might,
however, point out that it's rather an insult to the reader.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

"petersk" wrote in message
...
I'm not sure what you mean by that Suzanne. Have you read my explanation
that my editor requires the heading on each page?
Kurt

"Suzanne S. Barnhill" wrote:

Again I'll point out that the item-page heading isn't really necessary.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

"petersk" wrote in message
...
The header trick seemed to work. Just got to get the distance from the
top
just right now. That vertical ruler is pretty useless other than
eyeballing
things. I wish there was a way to have guidelines from the ruler to
show
just how far you are from the paper's (or margin's) edge.
Kurt

"petersk" wrote:

Thanks, that's what I ended up doing, but I couldn't really do that in
a
separate document using INCLUDETEXT (for the TOC document) because the
different first page didn't seem to allow me to bring that in to the
main
document. So... I had to do the TOCs in the MAIN document instead of
a
group of little ones.

Now, I'm wondering if the header for the Figures will show up in the
TOC.

As far as your FWIW statement, unfortunately, logic rarely comes into
place
when you're (I'm) dealing with authorative editors.
Kurt

"Suzanne S. Barnhill" wrote:

A text box must be anchored to a text paragraph; that paragraph
cannot
be
inside a TOC field; that's why Word is insisting on inserting an
empty
paragraph.

A better approach: put each TOC in a separate section with
"Different
first
page" enabled. Put the "Table of Contents" or "List of Figures"
heading
and
your "Itemtabpage" heading in ordinary text paragraphs before the
TOC
field and leave the First Page Header empty. In the Header put your
running
head ("Table of Contents" or "List of Figures") and your other
heading.

FWIW, I don't think you need the "Itemtabpage" heading at all.
Most
people
understand how TOCs work and that the number is a page number.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

"petersk" wrote in message
...
Seems it had something to do with a text box.

I had to delete everything on the toc page between the two section
breaks
to
get the carriage return to go away.
THAT ALL BEING SAID:
What I need to do is this, and it seems impossible:
I have three tables: TOC, List of Tables, and List of Figures.
The
TOC
and List of Figures are more than 1 page. Therefore, I'm required
to
have
the header:
"Item tabpage"
at the top of each page.
Of course the first page, must have above that "Table of Contents"
or
"List
of Figures" respectively.

Is there an easy way to do that?

I'm currently using sections and putting the TITLE of TOC or LOF
in
a
text
box, since "different first page" doesn't seem to work for the
header
for
sections INSIDE a document (don't know why).

Any ideas?
Kurt

"Stefan Blom" wrote:

But wouldn't such a paragraph break disappear as soon as you
updated
the
field?

--
Stefan Blom
Microsoft Word MVP



"Suzanne S. Barnhill" wrote in message
...
Make sure there is not a paragraph break inside the field code.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

"petersk" wrote in message
news Actually, this is happening before even my field {TOC \o "1-2"
\h
\z
\u}
as
well. WHAT is the deal? It's REALLY messing up formatting!

"petersk" wrote:

Is there any way to eliminate the extra paragraph mark being
inserted
in
MS
Word 2003 before and after the field {INCLUDETEXT} ?

Kurt




.



.


.



  #17   Report Post  
Posted to microsoft.public.word.docmanagement
petersk petersk is offline
external usenet poster
 
Posts: 23
Default INCLUDETEXT field adding extra carriage return before and afte

Thanks for the help all. I used Suzanne's suggestion and no longer import
(using INCLUDETEXT) the list of figures, table of contents, or list of tables
files. I create them in the "main" document. Although not as elegant, it's
working well.

Have a problem to solve with the figures somehow not keeping their spacing,
but that can be handled by going to each one and fixing them. Otherwise,
things are almost done. I would have expected a little more from MS Word
with it being in it's tenth or so revision, but oh well, I guess that's why
people still use Latex.

Kurt

"Peter Jamieson" wrote:

Although the rest of this conversation appears to be about TOC fields,
as far as INCLUDETEXT fields go, whether they insert "extra" paragraph
marks depends on
a. what is in the thing you are inserting
b. what type of file you are inserting

For (a), if you are inserting a complete Word file, you need to know
that a Word document always has a final paragraph/section mark, and that
is inserted. e.g. suppose you have a document called myfile.doc that
contains single paragraph as follows:

Hello world!

then a document containing

aaa{ INCLUDETEXT "myfile.doc" }zzz

will show

aaaHello world!
zzz

not

aaaHello world!zzz

You can work around that problem by inserting a bookmark, e.g. mybm, in
myfile.doc that covers all the text except the final paragraph mark, and
referencing that in the includetext field, e.g.

aaa{ INCLUDETEXT "myfile.doc" mybm }zzz

For (b), if you include text from (say) a plain text file, you will also
always get a paragraph mark at the end of the field result, even if the
text file has no CR or CRLF at the end. AFAIK you cannot avoid that
using a bookmark (i.e. as above) because plain text fiels don't have
bookmarks.

Beyond that (doubt if many people need to know stuff beyond that,
but...) what happens depends partly on whether Word uses a built-in text
converter (the sort it uses to open "native" Word formats such as Word
..doc, .rtf, possibly .txt and certainly .htm) or an external text
converter, e.g. the sort it uses to open WordPerfect or Works files.
With internal converters, it is still possible to INCLUDETEXT without
inserting a paragraph mark if the source format supports bookmarks. For
example, you can define a bookmark in HTML using the a element

(e.g.

a name="mybm"Hello world!/a

and that bookmark can be referenced in an INCLUDETEXT field the same way
as a bookmark in a .doc

With external converters, Word inserts at least one additional paragraph
mark whatever you do. That is a little strange because in Word 2003,
converters have to supply Word with a stream of RTF, i.e. the bookmarks
look exactly the same as they do in a .rtf file, but Word inserts an
extra paragraph mark anyway.

Peter Jamieson

http://tips.pjmsn.me.uk

On 14/11/2009 18:01, petersk wrote:
Is there any way to eliminate the extra paragraph mark being inserted in MS
Word 2003 before and after the field {INCLUDETEXT} ?

Kurt

.

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
Carriage return within document field? Dylan Microsoft Word Help 6 February 1st 08 02:22 PM
Extra carriage return character in table Jan Microsoft Word Help 6 October 17th 06 11:21 AM
If Field Carriage Return Mike Silva Microsoft Word Help 1 June 7th 06 07:47 AM
Entering field without a leading carriage return Scott Bass Mailmerge 0 September 29th 05 02:04 PM
Stop carriage return in a form field in Word Phil O'Hara Microsoft Word Help 3 May 24th 05 01:58 PM


All times are GMT +1. The time now is 07:41 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"