S3 Header and Footer weirdness

I have a document in which I have:

Heading
Section

As per a standard structured document. To these, I added a type new section type, “PageBreak” that has the same compile settings as “Section”, but with a page break before.

In my page footer, I use <$sectionTitle> so that the current section title shows in the footer.

My draft contains the following documents - section types:
Blah - Heading

  • Blahblah - Section
  • MoreBlahblah - Section
  • NextTosh - PageBreak (a section but with a page break before)

The footers for Blahblah and MoreBlahblah both show “Blah” as the footer text when compiled,

The footer for NextTosh uses NextTosh when I would expect it to use “Blah”.

I can’t work out why the first couple of pages use the heading title, where the last (a copy of the ‘section’ type, but with a page-break before) uses the PageBreak document title.

Where do I set the ‘change title in footer’ flag to either use the parent folder title, or the current document/section title? Any pointers appreciated.

The <$sectionTitle> placeholder shows the title of whichever document was first after the previous page break, so it is working as expected. (I now realise that I need to rename this placeholder so that it is not confused with having anything to do with section types and layouts.)

All the best,
Keith

Ahh. Ok ,thanks Keith.

Just wondering if there’s another placeholder I could use to give some consistency here. I note that I can’t use $level1 in the header/footer. Seems a shame that I can’t use these … Or have I missed something?

Cheers
Mike