ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: ntg-context@ntg.nl
Subject: Re: Completelistoffigures, help needed!
Date: Sun, 23 Sep 2007 13:00:39 +0200	[thread overview]
Message-ID: <20070923130039.bdb63149.schuster.wolfgang@googlemail.com> (raw)
In-Reply-To: <46F56561.6070804@ision.nl>

On Sat, 22 Sep 2007 20:56:33 +0200
"G.C.H.M. Verhaag" <verhaaggchm@ision.nl> wrote:

> Dear ConTeXt Users,
> 
> Last week I posted a completelistoffigures question, but unfortunately 
> nobody responded to it! That's why I give it another try, because I 
> don't know how to tackle this problem.
> 
> I'd like to generate a list of figures that only have a caption 
> description, but no figure  (\setupcaptions[...,number=no,....]) number.
> 
> Using the setupcaptions command in the preamble with the number=no 
> option yields only the title Figures of the list of figures, nothing 
> more! However, when I change the number option of the setupcaptions 
> command to yes, the list is generated correctly. But I don't want a 
> figure number to appear in the caption of a figure! The figures appear 
> throughout a book I'm currently writing using ConTeXt.
> 
> Is there a way to accomplish the desired effect using the 
> completelistoffigures command?
> 
> Please can anybody give a hint! Thanks!
> 
> Regards,
>    Gerard

Hi Gerard,

you can use the following method, it is very dirty but it works and
give you what you want.

\setupcaption[figure][distance=\zeropoint]
\defineconversion[gobble][\gobbleoneargument]
\setupnumber[figure][conversion=gobble]
\setuplabeltext[figure=]

\starttext
\completelistoffigures
\page
\placefigure{First Figure}{\blackrule[width=4cm,height=2cm]}
\placefigure{Second Figure}{\blackrule[width=3cm,height=5cm]}
\stoptext

Wolfgang
___________________________________________________________________________________
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-09-23 11:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-22 18:56 G.C.H.M. Verhaag
2007-09-23 11:00 ` Wolfgang Schuster [this message]
2007-09-23 18:24   ` Idris Samawi Hamid
2007-09-23 18:43     ` Hans Hagen
2007-09-23 18:43     ` Hans Hagen
2007-09-23 18:52       ` Idris Samawi Hamid
2007-09-28 18:02 ` G.C.H.M. Verhaag
2007-09-28 21:10   ` Peter Rolf
2007-09-30  8:49     ` G.C.H.M. Verhaag

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=20070923130039.bdb63149.schuster.wolfgang@googlemail.com \
    --to=schuster.wolfgang@googlemail.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).