[Date Prev][Date Next] [Thread Prev][Thread Next]
[Date Index] [Thread Index] [New search]

Re: Unexpected TOC output; what gives?



Hedley,

I suggest generating a ToC in the usual way for each chapter, and importing it
into the actual chapter automatically by text inset. You will have to have the
correct reference page(s) in both the ToC and the chapter - but start off with
getting the ToC working correctly on its own and then do the import.

If your chapters are each composed of several separate documents you will have
to make a book for each chapter. Gets a bit complex then, but it's possible.

Haven't actually tried the above, but in theory it should work with no
problem.

Good luck.

Charles

<snip>

> We want to include a chapter ToC at the beginning of the chapter itself.  So
> we have set up a TOC reference page with the following builders:
>
> openObjectId <$relfilename>:<$ObjectType> <$ObjectId>
> <$paratext>\t<$paranumonly[ChapterTitle]>\=<$pagenum>
>
> The ToC builder line is supposed to produce output like ...
>
>         How to wash your cat   ......................  24-3
>
> What actually happens is that random characters (bullets, letters, etc.)
> appear instead of the chapter number.  We now generate a ToC from the book
> file and copy and paste the appropriate chapter entries.  But it would be
> more convenient to do it from each chapter.  Anybody have any clues why we
> are getting ALMOST the behaviour we want?

<snip>

> Hedley Finger   Technical Writer


** To unsubscribe, send a message to majordomo@omsys.com **
** with "unsubscribe framers" (no quotes) in the body.   **