ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Črt Gorup" <crt.gorup@gmail.com>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: lis of figures
Date: Wed, 27 Jun 2007 21:35:58 +0200	[thread overview]
Message-ID: <d5497e4d0706271235i2f96cb86sa851b342b2c763a8@mail.gmail.com> (raw)
In-Reply-To: <BAY121-F80043A34BC1AB5F7B1C6CB40A0@phx.gbl>

Hi,

i was playing with table of figures few days ago. My "solution" is
probably not the best one, but it works.

\definelist[figs]



\def\addFigure#1#2#3#4%

{

    \placefigure[here][fig:#1]{#2}{\externalfigure[#3][scale=#4]}

    \writetolist[figs]{fig:#1}{#2}

}





\def\placeTOF%

{

    \title{Table of figures}

    \placelist[figs][alternative=command,command=\TOFCommand]

}



\def\TOFCommand#1#2#3%

{{\bf Fig. \in[#1] } #2 \dotfill #3\blank[.1cm]  }

For each figure you want on list you have to use \addFigure instead of
\placefigure. Is there any shorter and better solution?

With best regards, Crt Gorup



On 6/27/07, Horacio Suarez <horaciosuarez@hotmail.com> wrote:
> Hello all:
>
> I have a book with 15 text chapters, after, a part with 24 pages for
> ilustrations with is own list of figures and then two more text chapters.
>
> I have then a Table of contents at the beggining of the book and one list of
> figures almost in the end.
>
> My list of figures is empty. I have only the head (Ilustraciones, in this
> case).
>
> Is a structure related problem? or what? Is necesary some kind of definelist
> for the figures?
>
> Help! i need somebodys help!!
>
> Thankyou
>
>
>
> --------------------
> Horacio Suarez
> Editotrial Antropofagia
> www.eantropofagia.com.ar
>
> _________________________________________________________________
> Don't just search. Find. Check out the new MSN Search!
> http://search.msn.click-url.com/go/onm00200636ave/direct/01/
>
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
>
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : https://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________
>
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  reply	other threads:[~2007-06-27 19:35 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-27 18:56 Horacio Suarez
2007-06-27 19:35 ` Črt Gorup [this message]
2007-06-27 22:05   ` Horacio Suarez
2007-06-27 22:12   ` Aditya Mahajan
2007-06-27 22:57     ` Horacio Suarez
2007-06-27 23:36       ` Aditya Mahajan
2007-06-28  6:22         ` Wolfgang Schuster
2007-06-28 10:11         ` Hans Hagen
2007-06-28 11:16           ` Wolfgang Schuster
2007-06-28 13:35             ` Aditya Mahajan
2007-06-28  7:28     ` Črt Gorup
2007-06-28  7:50       ` Wolfgang Schuster
2007-06-28 10:04   ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d5497e4d0706271235i2f96cb86sa851b342b2c763a8@mail.gmail.com \
    --to=crt.gorup@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).