Subject: mailing-list for TeXmacs Users
List archive
Re: [TeXmacs] how to put the chapter name or no. in the table of figures and table of tables
Chronological Thread
From : Bob Lounsbury <address@hidden>- To: Joris van der Hoeven <address@hidden>
- Cc: address@hidden
- Subject: Re: [TeXmacs] how to put the chapter name or no. in the table of figures and table of tables
- Date: Tue, 26 Sep 2006 10:13:28 -0600
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:in-reply-to:references:mime-version:content-type:message-id:cc:content-transfer-encoding:from:subject:date:to:x-mailer; b=hG+PhCHlreuEUmPjlyBDnYXVZTQNP3+Mmi4uI1hy3R4YuZGLAeoZ7ts33qT6xOjhyprTrJCW04bgbc6Q2G0gViClZh06RIEdu9gsE2wCQQ0KktFxO7J4Ip8fg+pjzi0Rb/1hBqWJGdbRpl8OCXwWGi8OKB+jfs85APLBBP7uRgo=
On Sep 17, 2006, at 6:36 AM, Joris van der Hoeven wrote:
On Sun, Sep 17, 2006 at 11:17:18AM +0100, address@hidden wrote:
I wish all of you had a good relax summer break. now it is time back to
school and back to work now.
I have question for the table of figures and tables index.
I want to show the chapter name or chapter no. in front of the figure name
or table name in this automated index as some figures and tables conflicts
with their names. How to make this. Asking for hints.
This is a non-trivial, but instructive exercise for the use of style files.
When looking at env-float.ts (C-x C-f env-float.ts return), you may notice
the definition of the "list-caption" macro, which puts the caption of
a figure/table in the list of figures/tables. The macro takes the type
of the environment (figure, table, ...) and the caption as arguments.
The type may also be used to get the associated counter, using
<compound|<merge|the-|<arg|type>>>
Putting this in front of the caption, together with a space
(inside the list-caption macro) should therefore do the trick
(with this difference that you get the number of the figure/table
in front of the caption instead of the chapter number, but that
is probably better anyway).
Best wishes, Joris
Joris,
I've tried updating the "list-caption" macro, but it seems that it is updating the caption of the figure not the detail in the list of figures. By inserting the:
<compound|<merge|the-|<arg|type>>> into the list-caption macro
I now have Figure 1. 1caption, but nothing has changed in the list of figures.
Is there another macro somewhere that defines the list of figures content or I am doing this incorrectly? I just need the figure number to be included in the list of figures content.
Thanks,
Bob Lounsbury
- how to put the chapter name or no. in the table of figures and table of tables, pagoda2000, 09/17/2006
- Re: [TeXmacs] how to put the chapter name or no. in the table of figures and table of tables, Joris van der Hoeven, 09/17/2006
- Re: [TeXmacs] how to put the chapter name or no. in the table of figures and table of tables, Bob Lounsbury, 09/26/2006
- Re: [TeXmacs] how to put the chapter name or no. in the table of figures and table of tables, Bob Lounsbury, 09/27/2006
- Re: [TeXmacs] how to put the chapter name or no. in the table of figures and table of tables, Joris van der Hoeven, 09/17/2006
Archive powered by MHonArc 2.6.19.