Skip to Content.
Sympa Menu

texmacs-users - Re: [TeXmacs] Table of contents

Subject: mailing-list for TeXmacs Users

List archive

Re: [TeXmacs] Table of contents


Chronological Thread 
  • From: David Allouche <address@hidden>
  • To: address@hidden
  • Subject: Re: [TeXmacs] Table of contents
  • Date: Thu, 29 Jan 2004 14:10:48 +0100

On Thu, Jan 29, 2004 at 11:30:26AM +0100, David Allouche wrote:
> The correct way would be:
>
> 0. Switch to Page media type.
>
> 1. Update the buffer, that fills the auxilliary documents.
>
> 2. Update the TOC.
>
> 3. Get the displayed text of all pagerefs used in TOC.
>
> 2. Update the buffer, that updates pagerefs.
>
> 3. Get the displayed text of all pagerefs used in the new TOC.
>
> 4. If there are new or changed pagerefs, go to 2.
>
> 5. Restore the initial media type.

Hum... a lot of typos... sorry. The correct algorithm would be:

0. Switch to Page media type.

1. Update the buffer, that fills the auxilliary documents.

2. Update the TOC.

3. Get the displayed text of all pagerefs used in TOC.

4. Update the buffer, that updates pagerefs.

5. Get the displayed text of all pagerefs used in the new TOC.

6. If there are changed pagerefs, go to 3.

7. Restore the initial media type.

--
-- ddaa

David Allouche | GNU TeXmacs -- Writing is a pleasure
Free software engineer | http://www.texmacs.org
http://ddaa.net | http://savannah.gnu.org/projects/texmacs
address@hidden | address@hidden
TeXmacs is NOT a LaTeX front-end and is unrelated to emacs.



Archive powered by MHonArc 2.6.19.

Top of Page