* [NTG-context] how to prevent item appearing in List of Figures
@ 2024-05-29 15:35 Charles Doherty via ntg-context
2024-05-30 8:22 ` [NTG-context] " Tomáš Hála
2024-05-30 10:41 ` Henning Hraban Ramm
0 siblings, 2 replies; 5+ messages in thread
From: Charles Doherty via ntg-context @ 2024-05-29 15:35 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: Charles Doherty
Hi Mikael,
> I notice that you addressed Wolfgang, but you also sent to the list.
> One way could be to condition on being on a chapter page:
>
> \setupheadertexts
> [\doifelsefirstsectionpage{chapter}{\userpagenumber}{}]
>
> \setupheadertexts
> [\doifelsefirstsectionpage{chapter}{}{\getmarking[chapter]}]
> [\doifelsefirstsectionpage{chapter}{}{\userpagenumber}]
Thank you for your suggestion. Along with your suggestion and that of Wolfgang I get what I need. I thought I was sending to the list but I copied and pasted from an email and didn’t realise that Wolfgang was included. I have only ever written to the list many years ago.
I haven’t typeset a book before and various things are a challenge. The most recent is the following.
I have \placelistoffigures some of which are logos (for the publisher and two granting bodies) that I have placed with:
\setupcaptions[number=no]
\starttplacefigure[
location={middle,high,low},
reference=fig:logo,
title=]
{\externalfigure[FCLogo][width=0.045\textwidth]}
\stopplacefigure
These are not part of the text and I don’t want them to appear in the list.
The caption for the logo doesn’t appear in the List of Figures but the page number does. How can I prevent these particular graphics from being listed in the List of figures.
Thanks,
Charlie
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* [NTG-context] Re: how to prevent item appearing in List of Figures
2024-05-29 15:35 [NTG-context] how to prevent item appearing in List of Figures Charles Doherty via ntg-context
@ 2024-05-30 8:22 ` Tomáš Hála
2024-05-30 12:44 ` Rik Kabel
2024-05-30 10:41 ` Henning Hraban Ramm
1 sibling, 1 reply; 5+ messages in thread
From: Tomáš Hála @ 2024-05-30 8:22 UTC (permalink / raw)
To: Charles Doherty via ntg-context
Hi Charlie,
I guess that \starttplacefigure[location={none},...] might help you.
Or (older) \placefigure[none][,,,]{...}{...}
Best,
Tomáš
> I haven’t typeset a book before and various things are a challenge. The most recent is the following.
>
> I have \placelistoffigures some of which are logos (for the publisher and two granting bodies) that I have placed with:
>
> \setupcaptions[number=no]
> \starttplacefigure[
> location={middle,high,low},
> reference=fig:logo,
> title=]
> {\externalfigure[FCLogo][width=0.045\textwidth]}
> \stopplacefigure
>
> These are not part of the text and I don’t want them to appear in the list.
>
> The caption for the logo doesn’t appear in the List of Figures but the page number does. How can I prevent these particular graphics from being listed in the List of figures.
>
> Thanks,
> Charlie
>
>
>
>
>
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
>
> maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
> webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
> archive : https://github.com/contextgarden/context
> wiki : https://wiki.contextgarden.net
> ___________________________________________________________________________________
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* [NTG-context] Re: how to prevent item appearing in List of Figures
2024-05-29 15:35 [NTG-context] how to prevent item appearing in List of Figures Charles Doherty via ntg-context
2024-05-30 8:22 ` [NTG-context] " Tomáš Hála
@ 2024-05-30 10:41 ` Henning Hraban Ramm
2024-05-30 10:47 ` Charles Doherty via ntg-context
1 sibling, 1 reply; 5+ messages in thread
From: Henning Hraban Ramm @ 2024-05-30 10:41 UTC (permalink / raw)
To: ntg-context
Am 29.05.24 um 17:35 schrieb Charles Doherty via ntg-context:
> I have \placelistoffigures some of which are logos (for the publisher and two granting bodies) that I have placed with:
>
> \setupcaptions[number=no]
> \starttplacefigure[
> location={middle,high,low},
> reference=fig:logo,
> title=]
> {\externalfigure[FCLogo][width=0.045\textwidth]}
> \stopplacefigure
>
> These are not part of the text and I don’t want them to appear in the list.
If you don’t need them in the list and also no caption, I wouldn’t use
floats (\placefigure) at all, but just plain \externalfigure.
Hraban
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* [NTG-context] Re: how to prevent item appearing in List of Figures
2024-05-30 10:41 ` Henning Hraban Ramm
@ 2024-05-30 10:47 ` Charles Doherty via ntg-context
0 siblings, 0 replies; 5+ messages in thread
From: Charles Doherty via ntg-context @ 2024-05-30 10:47 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: Charles Doherty
[-- Attachment #1.1: Type: text/plain, Size: 617 bytes --]
Thanks Hraban,
Tomáš Hála suggested l \starttplacefigure[location={none},...] which works a treat. I will keep your suggestion in mind too. I am very grateful to you all.
Thank you,
Charlie
> On 30 May 2024, at 11:41, Henning Hraban Ramm <texml@fiee.net> wrote:
>
> If you don’t need them in the list and also no caption, I wouldn’t use floats (\placefigure) at all, but just plain \externalfigure.
>
> Hraban
*******************************
CHARLES DOHERTY
13 BANCROFT ROAD
TALLAGHT
DUBLIN
D24 YH2V
home: +353 1 2447483
Mobile: +353 863868629
charles.doherty@icloud.com
[-- Attachment #1.2: Type: text/html, Size: 4731 bytes --]
[-- Attachment #2: Type: text/plain, Size: 511 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* [NTG-context] Re: how to prevent item appearing in List of Figures
2024-05-30 8:22 ` [NTG-context] " Tomáš Hála
@ 2024-05-30 12:44 ` Rik Kabel
0 siblings, 0 replies; 5+ messages in thread
From: Rik Kabel @ 2024-05-30 12:44 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1: Type: text/html, Size: 2956 bytes --]
[-- Attachment #2: Type: text/plain, Size: 511 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2024-05-30 12:44 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-29 15:35 [NTG-context] how to prevent item appearing in List of Figures Charles Doherty via ntg-context
2024-05-30 8:22 ` [NTG-context] " Tomáš Hála
2024-05-30 12:44 ` Rik Kabel
2024-05-30 10:41 ` Henning Hraban Ramm
2024-05-30 10:47 ` Charles Doherty via ntg-context
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).