Using StyleRef for Headers

T

trj27

I am trying to use StyleRef to automatically insert chapter subheadings in
the Header. On every even page, the header is the Chapter name and title. On
every odd page, a StyleRef field prints the name of the subsection within the
chapter. This works fine except in one instance where a brief introductory
section precedes the first subheading. In this case, the StyleRef field picks
up the heading from the previous chapter since I haven't used that heading
again in the document yet. Is there a fix for this?

Any suggestions?
 
J

Jay Freedman

I am trying to use StyleRef to automatically insert chapter subheadings in
the Header. On every even page, the header is the Chapter name and title. On
every odd page, a StyleRef field prints the name of the subsection within the
chapter. This works fine except in one instance where a brief introductory
section precedes the first subheading. In this case, the StyleRef field picks
up the heading from the previous chapter since I haven't used that heading
again in the document yet. Is there a fix for this?

Any suggestions?

Insert an empty paragraph mark and apply the subheading style to it.
If necessary, format the paragraph mark with a font size of 1 pt to
make it almost undetectable.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top