D
db
I'm trying to accomplish something in a large document that I think should
be very simple.
I'm using a user-created style for my document, which uses cross-referencing
to generate a TOC at the beginning.
In the header of the following pages, I use a STYLEREF-Heading 2 field to
display the Level 2 heading at the top of each page. Of course, some
chapters span several pages and end midway down a page.
The STYLEREF field always picks up the first occurrence of a level 2 heading
that it sees on each page.
What I really want it to do is to keep a running tab of the current style.
That is, instead of the field picking up the first level 2 heading it sees
on the current page, it I want it to pickup the current level 2 heading, and
if it is on any page past the first instance of that heading, then it would
display "continued from page X" in the header.
How do I manipulate fields to give me this effect?
I know this sounds complicated, but I think its really simple. It's no
different than the way chapter headings are done in most large documents or
books.
be very simple.
I'm using a user-created style for my document, which uses cross-referencing
to generate a TOC at the beginning.
In the header of the following pages, I use a STYLEREF-Heading 2 field to
display the Level 2 heading at the top of each page. Of course, some
chapters span several pages and end midway down a page.
The STYLEREF field always picks up the first occurrence of a level 2 heading
that it sees on each page.
What I really want it to do is to keep a running tab of the current style.
That is, instead of the field picking up the first level 2 heading it sees
on the current page, it I want it to pickup the current level 2 heading, and
if it is on any page past the first instance of that heading, then it would
display "continued from page X" in the header.
How do I manipulate fields to give me this effect?
I know this sounds complicated, but I think its really simple. It's no
different than the way chapter headings are done in most large documents or
books.