Subject: Re: TOC in RTF backend From: Jany Quintard <quintard.j@xxxxxx> Date: Wed, 19 May 1999 15:55:13 +0200 (MEST) |
On Wed, 19 May 1999, G. Ken Holman wrote: > At 99/05/19 09:55 +0200, Jany Quintard wrote: > >I am building a TOC for the RTF backend. For this, I use two modes (toc > >.../... > >should obtain in the mode body to output it in mode toc. > > By using (current-node-page-number-sosofo) in the toc mode during the > processing of the target node. I usually combine this with a live link as > well along the lines of the following: > > (mode toc > ... > (element (section title) > (make paragraph > (make link > destination: (current-node-address) > (process-children)) > (make leader > (literal ".")) > (make link > destination: (current-node-address) > (current-node-page-number-sosofo)))) > ... > ) > > I hope this helps. Well, I did something of that kind (but without links, which are very useful when displaying the file on screen). But I must be doing something goofy somewhere, because the page nummber I get using (current-node-page-number-sosofo) is always 000. My first personal try (using (page-number-sosofo)) gave the page number of the Toc. If I try to specify a mode to get the page number, the result is the same. ------------------------------------------------------- Jany Quintard IBM Paris Laboratory Tel : 33 (0)2 51 16 40 36 DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: TOC in RTF backend, G. Ken Holman | Thread | Re: TOC in RTF backend, G. Ken Holman |
Re: TOC in RTF backend, G. Ken Holman | Date | Re: TOC in RTF backend, G. Ken Holman |
Month |