From: "Christian" <metan0r@gmx.de>
To: "'mailing list for ConTeXt users'" <ntg-context@ntg.nl>
Subject: Re: Omit part of a caption in a list
Date: Fri, 11 Nov 2011 02:32:49 +0100 [thread overview]
Message-ID: <002a01cca011$d3183910$7948ab30$@gmx.de> (raw)
In-Reply-To: <20111111012206.GL10983@rae.vm.bytemark.co.uk>
> > Dear all,
> >
> > is the following possible?
> >
> > List of figures
> > 1.1 Figure caption . . . . . . 2
> >
> > <page break>
> > *imagine figure here
> > Figure 1.1: Figure caption is a lot longer than it appears in the list of figures.
> >
> > I'd like to shorten the captions in the list of figures that I produce
> > using \placelist[figure] (preferably cut off clean, no ellipsis or the
> > like). I know about \nomarking{} but it seems to apply only to
> > chapter, section etc. titles.
>
> This is indeed possible, using \select; see
> http://archive.contextgarden.net/message/20060501.171706.24b88466.en.h
> tml .
>
> Example usage:
>
> \defineselector[caption][max=2,n=2]
> \starttext
> \setupselector[caption][n=1]
> \completelistoffigures
> \setupselector[caption][n=2]
> \placefigure[][]
> {\select{caption}
> {A short caption}
> {A rather longer caption which will appear below the figure itself}}
> {This is the content of the actual figure} \stoptext
>
> Pont
The possibilities of Context continue to amaze me...
Thank you very much, Pont!
___________________________________________________________________________________
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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2011-11-11 1:32 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-11 1:02 Christian
2011-11-11 1:22 ` Pontus Lurcock
2011-11-11 1:32 ` Christian [this message]
2011-11-11 5:18 ` Wolfgang Schuster
2011-11-11 13:35 ` Christian
2011-11-11 21:24 ` 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='002a01cca011$d3183910$7948ab30$@gmx.de' \
--to=metan0r@gmx.de \
--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).