Cosmo
There isn't a simple solution to this problem. As Charles says, the least tricky way to set this up is to use section breaks. Anything else will require your users to do specific, odd things to achieve the aims.
The only way I can think of doing this with StyleRef is to make use of the \l switch and include two instances of the same style on that first page. You could then code a field like
{If {StyleRef "Heading 1"}={StyleRef "Heading 1" \l} " continued" ""}
On a page where the two paragraphs with the same style appear, you see nothing but on subsequent pages you would see the continued. However, it gets trickier...
In order to see the 'first' paragraph instance on subsequent pages, you would need to involve 2 styles by applying a Character style to the heading and then somewhere below that. Say you have created a Character style with no attributes and then apply that to your heading and the following paragraph. You could then use this nested field.
{If {StyleRef "Emphasis"}={StyleRef "Emphasis" \l} "{StyleRef "Heading 1"} continued" "{StyleRef "Heading 1"}"}
It would then be a case of teaching your users to apply this character style over the top of their headings and a trailing paragraph (which must appear on the same page). In my mind, this is probably a harder sell than getting them to add sections breaks.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
|