* Completelistoffigures, help needed!
@ 2007-09-22 18:56 G.C.H.M. Verhaag
2007-09-23 11:00 ` Wolfgang Schuster
2007-09-28 18:02 ` G.C.H.M. Verhaag
0 siblings, 2 replies; 9+ messages in thread
From: G.C.H.M. Verhaag @ 2007-09-22 18:56 UTC (permalink / raw)
To: ntg-context
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
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Completelistoffigures, help needed!
2007-09-22 18:56 Completelistoffigures, help needed! G.C.H.M. Verhaag
@ 2007-09-23 11:00 ` Wolfgang Schuster
2007-09-23 18:24 ` Idris Samawi Hamid
2007-09-28 18:02 ` G.C.H.M. Verhaag
1 sibling, 1 reply; 9+ messages in thread
From: Wolfgang Schuster @ 2007-09-23 11:00 UTC (permalink / raw)
To: ntg-context
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Completelistoffigures, help needed!
2007-09-23 11:00 ` Wolfgang Schuster
@ 2007-09-23 18:24 ` Idris Samawi Hamid
2007-09-23 18:43 ` Hans Hagen
2007-09-23 18:43 ` Hans Hagen
0 siblings, 2 replies; 9+ messages in thread
From: Idris Samawi Hamid @ 2007-09-23 18:24 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Sun, 23 Sep 2007 05:00:39 -0600, Wolfgang Schuster
<schuster.wolfgang@googlemail.com> wrote:
> 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
Ah.. our stalwart gangster Wolfgang, always the master of dirty tricks. If
we ever finish The ConTeXtbook you'll have to do Appendix~D ;-)
Best
Idris
--
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Completelistoffigures, help needed!
2007-09-23 18:24 ` Idris Samawi Hamid
@ 2007-09-23 18:43 ` Hans Hagen
2007-09-23 18:43 ` Hans Hagen
1 sibling, 0 replies; 9+ messages in thread
From: Hans Hagen @ 2007-09-23 18:43 UTC (permalink / raw)
To: mailing list for ConTeXt users
Idris Samawi Hamid wrote:
> On Sun, 23 Sep 2007 05:00:39 -0600, Wolfgang Schuster
> <schuster.wolfgang@googlemail.com> wrote:
>
>> 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
>
> Ah.. our stalwart gangster Wolfgang, always the master of dirty tricks. If
> we ever finish The ConTeXtbook you'll have to do Appendix~D ;-)
well, this is a valid dirty trick because the conversion interface is
not likely to change (for wolfgang: there is a predefined 'empty'
conversion for this purpose, introduced not that long ago, so maybe not
present everywhere)
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Completelistoffigures, help needed!
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
1 sibling, 1 reply; 9+ messages in thread
From: Hans Hagen @ 2007-09-23 18:43 UTC (permalink / raw)
To: mailing list for ConTeXt users
Idris Samawi Hamid wrote:
> Ah.. our stalwart gangster Wolfgang, always the master of dirty tricks. If
> we ever finish The ConTeXtbook you'll have to do Appendix~D ;-)
talking of that book ... how are you progressing?
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Completelistoffigures, help needed!
2007-09-23 18:43 ` Hans Hagen
@ 2007-09-23 18:52 ` Idris Samawi Hamid
0 siblings, 0 replies; 9+ messages in thread
From: Idris Samawi Hamid @ 2007-09-23 18:52 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Sun, 23 Sep 2007 12:43:50 -0600, Hans Hagen <pragma@wxs.nl> wrote:
> talking of that book ... how are you progressing?
working on the funding angle right now (never easy and no guarantees), but
I suspect that once mkiv is relatively complete (another 18 months or so?)
we'll be in a better position to write that book.
Best wishes
Idris
--
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Completelistoffigures, help needed!
2007-09-22 18:56 Completelistoffigures, help needed! G.C.H.M. Verhaag
2007-09-23 11:00 ` Wolfgang Schuster
@ 2007-09-28 18:02 ` G.C.H.M. Verhaag
2007-09-28 21:10 ` Peter Rolf
1 sibling, 1 reply; 9+ messages in thread
From: G.C.H.M. Verhaag @ 2007-09-28 18:02 UTC (permalink / raw)
To: mailing list for ConTeXt users
Dear ConTeXt Users,
Thanks to those that contributed to this thread! The code
\setupcaption[figure][distance=\zeropoint]
\defineconversion[gobble][\gobbleoneargument]
\setupnumber[figure][conversion=gobble]
\setuplabeltext[figure=]
just did the trick, but I don't understand why! Maybe I shouldn't bother
at the moment! By the way, am I right in saying that the interaction
feature of the list doesn't work when using this trick?
Well, I've one more question related to the list of figures.
Is there a way to truncate a long caption to a maximum of just no more
than a fraction of the length of a textline and indicate the truncation
by for example a few dots (...)?
Something like:
A very long figure caption truncated just here...
pagenumber
Regards,
Gerard
--
Geert C.H.M. Verhaag
St. Jorisstraat 29
5954 AN Beesel
NETHERLANDS
Tel.: +31-(0)774742493, E-mail: verhaaggchm@ision.nl
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Completelistoffigures, help needed!
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
0 siblings, 1 reply; 9+ messages in thread
From: Peter Rolf @ 2007-09-28 21:10 UTC (permalink / raw)
To: mailing list for ConTeXt users
G.C.H.M. Verhaag schrieb:
> Dear ConTeXt Users,
>
> Thanks to those that contributed to this thread! The code
>
> \setupcaption[figure][distance=\zeropoint]
> \defineconversion[gobble][\gobbleoneargument]
> \setupnumber[figure][conversion=gobble]
> \setuplabeltext[figure=]
>
> just did the trick, but I don't understand why! Maybe I shouldn't bother
> at the moment! By the way, am I right in saying that the interaction
> feature of the list doesn't work when using this trick?
>
> Well, I've one more question related to the list of figures.
> Is there a way to truncate a long caption to a maximum of just no more
> than a fraction of the length of a textline and indicate the truncation
> by for example a few dots (...)?
> Something like:
>
> A very long figure caption truncated just here...
> pagenumber
>
http://wiki.contextgarden.net/Cropping_text
Best wishes, Peter
> Regards,
> Gerard
>
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Completelistoffigures, help needed!
2007-09-28 21:10 ` Peter Rolf
@ 2007-09-30 8:49 ` G.C.H.M. Verhaag
0 siblings, 0 replies; 9+ messages in thread
From: G.C.H.M. Verhaag @ 2007-09-30 8:49 UTC (permalink / raw)
To: mailing list for ConTeXt users
Peter Rolf wrote:
>.....
>
>
>>http://wiki.contextgarden.net/Cropping_text
>>
>>Best wishes, Peter
>>.....
>>
>>
The link to the wiki gives indeed a clear description of the cropping
feature. Just great, it works nicely when applying it to my list of
figures! Thanks for your help!
Regards,
Gerard
--
Geert C.H.M. Verhaag
St. Jorisstraat 29
5954 AN Beesel
NETHERLANDS
Tel.: +31-(0)774742493, E-mail: verhaaggchm@ision.nl
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2007-09-30 8:49 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-22 18:56 Completelistoffigures, help needed! G.C.H.M. Verhaag
2007-09-23 11:00 ` Wolfgang Schuster
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
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).