Footnote kills header text variable
This is really weird. I have headers in my textbook, and they:
- From a paragraph with the "H1" paragraph style, pick up text which is styled by the character style "HeadText1" (which does nothing but allow a Text Variable named "Section" to pull this text and put it in the header),
- From a paragraph with the "H2" paragraph style, pick up text which is styled by the character style "HeadText2" (which does nothing but allow a Text Variable named "Subsection" to pull this text and put it in the header), and
- From a paragraph with the "H3" paragraph style, pick up text which is styled by the character style "HeadText3" (which does nothing but allow a Text Variable named "Subsubsection" to pull this text and put it in the header)
I have a header that has the text variables <Section> then a tab then <Subsection> then a tab and then <Subsubsection>:

Which, on a page with these paragraph and character styles, looks like this:

(This section doesn't have any H2 headers so the Subsubsection variable is blank)
So far so good.
But then, I started noticing that somehow my H1 HeadText1 Section text quit appearing on the second page. I've had this before, and it came down to a tiny bit of text – sometimes even just a paragraph mark – styled with HeadText1. So I just search and destroy that bit of HeadText1 styling. But this time, when that first "6: Wilderness First Aid (1/2)" disappeared, there was no errant HeadText1 styling. I cut all the text in that first section, and the problem disappeared. I tried saving the chapter to an .idml file and back into .indd file to clean it. Still happened.
I tried stripping out all of that text, putting into a pure ASCII editor to clean it (I use UEStudio from UltraEdit for this and coding). I copied the text in, and things were going fine until I created a footnote to put some of the footnoted ASCII text into. But simply the act of creating the footnote – a blank footnote – made the problem recur:

And that missing header bit stays missing throughout the entire length of the chapter.
I thought it might be the footnote pushing something – maybe a paragraph marker – onto the next page. But no, the text does not extend onto the next page when I insert a footnote. It's just the footnote itself that's screwing up the header. Sigh.
I thought it might be something weird in the Footnote Text style. But no, it looks pretty plain:

I did try "Reset to Base" on the footnote style but the problem still occurred when I did that.
I have no clue what's going on. I hope someone else on this forum does! I figured I would try here before calling tech support.
Thanks for any help.