Working on some running footers for my document and I'm trying to have the format "Section | subsection".
I'm using section markers to generate the section portion. I'm using a Text Variable based on an invisible character style so that we can select exactly what goes into the subsection space. However not all sections have subsections. I included the vertical bar in the Text Variable so that it only appears when there is a subsection, but the problem is that after there is a subsection once in the document I can't reset it to null (as is the default from the beginning of the document before the first subsection is introduced). I'm trying to avoid having to use two different master pages for footers, one with subsection text variable and one without. Anyone have any ideas?
Set it to pick up a single space.
That doesn't work because of the bar. So when I set it to a single space it shows "Section | ". I'm just trying to get it to change to "Section" with nothing or "Section | Subsection" when I want something there.