Skip to main content
Known Participant
December 9, 2009
Question

How do I get Chapter 1 and Appendix A labels on my LOM page?

  • December 9, 2009
  • 1 reply
  • 862 views

My reference page looks like this:

Chapter <$chapnum>.    <$paratext>
               Revised:        <Emphasis><$markertext>
               Doc ID:         <Emphasis><$markertext>

The resulting body page looks like this:

Chapter 1.    Sample Chapter Title
               Revised:        November 2009
               Doc ID:         1234
Chapter A.    Sample Appendix Title
               Revised:        November 2009
               Doc IDr:         1235

Is there some way to get the appendix to display as Appendix A. Sample Appendix Title?  Is there a way to have conditional statements on the reference page perhaps?  Something like "If $chapnum is alpha, Appendix, else Chapter"?  I've hunted but come up empty.  There is an example in FrameMaker Complete Reference showing the "Chapter <$chapnum>" part, but it doesn't cover the Appendix case or conditional statements. Seems like what I'm trying to do is a common-enough thing that there'd be a solution out there.

Thanks for you help,

Dave

    This topic has been closed for replies.

    1 reply

    Arnis Gubins
    Inspiring
    December 9, 2009

    Dave,

    One way to do it is to use different paratags for the titling in the Chapter and Appendix documents, i.e. ChapterTitle and AppendixTitle paratags and then include both in the LOM.

    Alternatively, you could use a single tag and have the <$chapnum> be in the autonumber component of the Title in the source documents and have the appropriate Chapter or Appendix text term also in the autonum. Then use <$paranum> as the building block instead of <$chapnum>, e.g. "<$paranum>.  <$paratext>"

    Known Participant
    December 9, 2009

    Thanks Arnis,

    I like your first suggestion and I already do have different para tags on the titles.  I just can't seem to figure out how to get the chapter and appendix tag into the LOM page correctly.  Currently, the Chapter line is set to Header/Footer $1LOM.

    I'm imagining I need two sets of lines in my reference page:

    Chapter <$chapnum>.    <$paratext>
                   Revised:        <Emphasis><$markertext>
                   Doc ID:         <Emphasis><$markertext>

    Appendix <$chapnum>.    <$paratext>
                   Revised:        <Emphasis><$markertext>
                   Doc ID:         <Emphasis><$markertext>

    and then somehow set the para tag on the Chapter line to the ChapterTitle tag (and appendix to appendixtitle), but my attempts at this make a mess.  What am I missing?  How do I associate the ChapterTitle tag correctly?  Is there something like ChapterTitleLOM needed?

    Thanks,

    Dave

    Arnis Gubins
    Inspiring
    December 9, 2009

    Dave,

    In a LOM, you can only reference the paratext of the paratag that the marker is located in. I assumed that you had these markers (or at least the first one)  in your Title tag. If you do, and have the words "Chapter" and "Appendix" as part of your titles in your documents, then move those terms into the autonumber string for the respective title tags, i.e. "Chapter <$chapnum> and "Appendix <$chapnum>".

    A third alternative, if you can't this to work for you, is to use the $volnum variable to hold the words "Chapter" and "Appendix". You set the Volnum building block for the Text option and enter the text in the counter entry.