LibreOffice 24.2.0.3 on Windows 10 64-bit
I’ve done a bunch of searching trying to figure out how to have a field in my header track the headings in my data, and I had set up some styles I thought would work, and nothing worked, so finally I made what I think is a basic file, using default styles, and it doesn’t work either, so now I’m wondering if I’ve been reading the wrong documentation, if the documentation is wrong or insufficient, or if there is a bug.
Below is the simple file, containing a header and a footer with the field for heading 9 content. Then there are some pairs of heading 9 styles and a default paragraph followed by a bunch of blanks. to get me to two pages.
The Heading seems to pick up the first instance (CAT) of the heading 9 content, but doesn’t switch to a later one on page 2. The footer also picks up the first instance (CAT) of the heading 9 content, but since there are two of them on page 2, and from my research, I thought it should display the last heading 9 content on page 1 (DOG). I thought the header of page 2 should have (DOG), and the foot of page 2 should have (GOPHER). But the CAT is everywhere!
So what basic feature have I misunderstood or isn’t working in this very simple file? While I’ve been using Writer for a while, this is the first attempt at using these fields and headers, and I’m stumped, in spite of finding lots of similar questions, and attempting to follow the similar answers in my more complex format, but now I see I don’t even understand how to get dynamic field values using the very most basic format.
$argh$.odt (10.7 KB)