OK thanks - personally I prefer to spell things out in full. It makes it
much easier to follow should it be necessary to re-edit later.
The issue still concerns the syntax and the missing field brackets. I don't
know what the equivalent of CTRL+F9 is on the Mac.
"Stefan Blom" wrote in message
...
Note that the "2" in STYLEREF 2 refers to the built-in Heading 2 (you can
use only the number and the field will work in any language version of
Word).
--
Stefan Blom
Microsoft Word MVP
(Message posted via news.eternal-september.org)
"Graham Mayor" wrote in message
...
Is 2 a style name?
SECTION is a field so you need
{ IF { SECTION} 1 { STYLEREF 2 }}
--
Graham Mayor - Word MVP
My web site www.gmayor.com
Word MVP web site http://word.mvps.org
"cassiopeia" wrote in message
...
Hi, I'm writing my bachelor thesis, and I'd like to insert a header
with sectionname after all the introduction stuff like frontpage,
table of contents, table of figures...
I have a section brake right before my real text starts, and have
tried this:
{ If SECTION 1 "{ STYLEREF 2 }" "" as field code, but it gets just
ignored. However, a sole { STYLEREF 2 } works just fine.
Any idea?