Skip to Content.
Sympa Menu

texmacs-users - Re: [TeXmacs] figure number in list of figures

Subject: mailing-list for TeXmacs Users

List archive

Re: [TeXmacs] figure number in list of figures


Chronological Thread 
  • From: Javier Arantegui <address@hidden>
  • To: Kris Kuhlman <address@hidden>
  • Cc: address@hidden
  • Subject: Re: [TeXmacs] figure number in list of figures
  • Date: Tue, 21 Feb 2006 19:41:37 +0100
  • Organization: Univ. de Lleida

Hi,

El Martes, 21 de Febrero de 2006 19:14, Kris Kuhlman escribió:
> so thanks so much for the help

You're welcome. It's nice to be helpful.

> When I put this into my dissertation style file, and use open up the
> dissertation, there are some issues.
>
> First the list of tables now starts from the last figure number, and
> also says "Figure #" at the beginning of each table in the list of tables.
>
> Secondly, this is a multi-chapter document, and the figures (and
> tables) are numbered 2.5, 7.3, etc., which is not reflected in the
> list of tables.

Unfortunately I'm clueless. In my small hack there was everything I know
about
writing TeXmacs macros :-( Tonight (while watching TV) I'll try to improve
somehow my hack, but I don't think I will be able to do anything useful.

I didn't want to fight with style files. That was to reason I told you to
pasted it in the beginning of the document. I didn't test it with styles.


> I know the figures and tables are treated equally in TeXmacs, I
> previously had to write some conditional style file stuff earlier to
> put the caption above the tables and below the figures. Do I also
> need to put in some conditional expressions to determine whether
> something increments the figure or table counter?

Sure. The hack I wrote used just a counter to number the figures. A second
counter and some conditionals had to be added to get 2.5, 7.3, etc.

I used the list-fig counter to add the number of Figure, but that number was
*independent* of the real figure number. I just though that the first figure
in the List of figures might be the figure number 1.

Javier


--
Javier Arántegui
Dept. Tecnologia de Alimentos / Dept. of Food Technology
Universitat de Lleida / University of Lleida (Spain)

Tel. +34 973702595
Fax +34 973702596
IM: Jabber - javier.arantegui (AT) jabberes.org
http://www.tecal.udl.es



Archive powered by MHonArc 2.6.19.

Top of Page