B
britbrez
In my template, I have headers that reference the Heading 1 and Heading2
styles on each page. When I have a Heading1 paragraph and no Heading2 on a
page, the field code picks up the Heading1 style for that page and the
Heading2 style from the previous page. Is there a way to keep the Heading1
and Heading2 StyRef field codes in the headers but include some kind of
coding that tells the reference not to include the Heading2 style reference
if there is not a Heading2 paragraph in that section/page?
Example:
(page1 header includes) Heading1 title:1 - Heading2 title:1-A)
Heading1 title:1
text
Heading2 title:1-A
text
(next page header includes) Heading1 title:2 - Heading2 title:1-A (I want
this title to be blank)
Heading1 title
text (end of page)
Thanks!
styles on each page. When I have a Heading1 paragraph and no Heading2 on a
page, the field code picks up the Heading1 style for that page and the
Heading2 style from the previous page. Is there a way to keep the Heading1
and Heading2 StyRef field codes in the headers but include some kind of
coding that tells the reference not to include the Heading2 style reference
if there is not a Heading2 paragraph in that section/page?
Example:
(page1 header includes) Heading1 title:1 - Heading2 title:1-A)
Heading1 title:1
text
Heading2 title:1-A
text
(next page header includes) Heading1 title:2 - Heading2 title:1-A (I want
this title to be blank)
Heading1 title
text (end of page)
Thanks!