Richard's approach works perfectly for the TOC in the document. 
Where it doesn't work (unless something has changed since the last time I 
tested it several years ago for a different employer) is in the PDF bookmarks. 
The "Acrobat data" that is exported from FrameMaker to support bookmark 
generation only includes what is in the heading paragraphs themselves. No 
number in the chapter title paragraph means no number in the PDF bookmark for 
the chapter title.

-Fred Ridder

> From: richard.combs at Polycom.com
> To: FeiMin.Lorente at onsemi.com; framers at lists.frameusers.com
> Date: Fri, 17 Sep 2010 07:57:52 -0700
> Subject: RE: Invisible numbers are appearing on the PDF file
> 
> Fei Min Lorente wrote:
> 
> > - I want the chapter numbers to appear in a different place from the
> > chapter title. They are off to the left and centered in a pretty
> > graphic. I couldn't do this if the chapter number was part of the
> > paragraph that contains the chapter title text. Since the number that
> > appears is a separate paragraph, I can't use this number in the TOC.
> > Hence the reason for a tiny, invisible chapter number.
> 
> But you don't need an invisible autonumber in the chapter title to have its 
> chapter number appear in the TOC. My setup is quite similar to yours (minus 
> the pretty graphic). Here's the TitleChapterTOC pgf from my ref page TOC spec 
> (with \t in place of tabs): 
> 
> \t<$chapnum> \t<$paratext> \t\t\t\t<$pagenum>
> 
> (The initial tab, in case you're wondering, is to right-align the chapter 
> numbers. The multiple tabs before <$pagenum> are to properly handle 
> multi-line chapter titles.)
> 
> The TitleChapter pgfs don't have autonumbers, hidden or otherwise, but they 
> have a <$chapnum> value associated with them (via the document numbering 
> properties) by virtue of which file they're in. 
> 
> This works perfectly as long as there is only on chapter (and thus chapter 
> title) per file. 
> 
> 
> Richard G. Combs
> Senior Technical Writer
> Polycom, Inc.
> richardDOTcombs AT polycomDOTcom
> 303-223-5111
> ------
> rgcombs AT gmailDOTcom
> 303-903-6372
> ------
> 
> 
> 
> 
> 
> _______________________________________________
> 
> 
> You are currently subscribed to framers as DocuDoc at hotmail.com.
> 
> Send list messages to framers at lists.frameusers.com.
> 
> To unsubscribe send a blank email to
> framers-unsubscribe at lists.frameusers.com
> or visit 
> http://lists.frameusers.com/mailman/options/framers/docudoc%40hotmail.com
> 
> Send administrative questions to listadmin at frameusers.com. Visit
> http://www.frameusers.com/ for more resources and info.

Reply via email to