Solved: Trouble with paragraph tags in TOC

Stuart Rogers srogers at phoenix-geophysics.com
Mon Aug 27 14:18:44 PDT 2007


Jon Harvey wrote:
>...Apparently, unless a heading tag is used in the body pages of a
> document, FM ignores it when generating the TOC. For example, I was
> using the Chapter.name tag on the master page named "First" but not in
> body pages that used this master page. Therefore, Chapter.nameTOC never
> showed up in the body of the TOC.
> 
> If anyone knows how to get styles that appear only on master pages to
> appear in the body of the TOC, I would be interested in hearing about
> it......Jon

Hi Jon,

If there is a way, it's probably pretty convoluted.  When you think
about it, it only makes sense that FM behaves the way it does.

The purpose of a master page is to serve as a single-page template,
with placeholders for text and variables, and other content like
watermarks that never change.  Although that content is visible on body
pages, you cannot edit it -- it belongs to the master page, not the body
page.  Since a master page does not have a page number of its own, its
content cannot be included in a TOC or other generated file.

In other words, you've been trying to use master pages for a purpose
they weren't intended for.  Set up your master pages with all the
placeholders you need, but put the actual content on the body pages.

Best regards,

-- 
Stuart Rogers
Technical Communicator
Phoenix Geophysics Limited
Toronto, ON, Canada
+1 (416) 491-7340 x 325

srogers phoenix-geophysics com

"Not later than three days before unexpected shipment, the Buyer informs
the Seller about possibility for receipt of the Goods."

— from a foreign sales contract




More information about the framers mailing list