Skip to main content
Adobe Expert
May 16, 2017
Answered

TOC question—Adding leading letters to running heads and TOC

  • May 16, 2017
  • 1 reply
  • 1146 views

I am stuck on a student question...

Her client wants to add letters to the running heads to indicate chapter subjects. For example, Chapter 1 might be on Safety, so page numbers should be S–1, S–2, S–3. There is nothing to grab from the page, but easy enough with user variables. Chapter 2 might be on Transportation, so page numbers should be T–1, T–2, T–3.

But then she wants that same numbering in the TOC, and I'm hitting a wall. What am I missing?

~Barb

This topic has been closed for replies.
Correct answer Stefan Gentz

That should work by adding the prefix (like "S-") in the document page numbering options. Or by adding the chapnum building block to the page number variable.

1 reply

Stefan GentzCommunity ManagerCorrect answer
Community Manager
May 16, 2017

That should work by adding the prefix (like "S-") in the document page numbering options. Or by adding the chapnum building block to the page number variable.

Adobe Expert
May 16, 2017

Thanks Stefan for your super-quick reply. It turns out I misunderstood the question—she generates a TOC for each chapter with the letters, so she can just add them to each TOCs reference pages. (Phew!)

At this point, they don't need to be included on the TOC for the entire book. But if they did (because that's still on the table), I'm still missing something—if I change the prefix to S-, I can get the running heads and the TOC to work correctly with the <$chapnum> building block, but then the Chapter 1 changes to Chapter S-!

New Participant
January 31, 2019

Work-arounds might also depend on book structure (is each Topic section a separate file?), whether the local TOCs are internal, insets from external or traditional external.

Thanks, Bob. I sent a note to my student to ask her to come back and clarify her workflow, because I'm not sure exactly how she has set things up.

~Barb


Hi Barb,

Did you ever find a solution to your query?  I am in the same boat at this time.  I need to have alphanumeric page numbers display in my TOC in FrameMaker 2019 for my four appendices.  I went to the reference page and tried <$paratext><$paranum> but that did not work. I also tried A+-<$paranum> but that just brought over A+-1 for all of my appendices page numbers in the TOC.  What I need is "B-1", C-1" and "D-1".

Thanks!