* Suppreesin section header
@ 2005-05-30 11:04 John R. Culleton
2005-05-30 17:20 ` VnPenguin
0 siblings, 1 reply; 3+ messages in thread
From: John R. Culleton @ 2005-05-30 11:04 UTC (permalink / raw)
For a particular section I wish to substitute a graphic for the
section header, but have the TOC entry named as usual. Is there
a way to say e.g.,
\section{foo}
and have foo show up in the TOC but not as a section header?
--
John Culleton
The answers to all your publishing questions are found
in the excellent books listed in the word-famous shortlist!
http://wexfordpress.com/tex/shortlist.pdf
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Suppreesin section header
2005-05-30 11:04 Suppreesin section header John R. Culleton
@ 2005-05-30 17:20 ` VnPenguin
2005-05-30 19:57 ` John R. Culleton
0 siblings, 1 reply; 3+ messages in thread
From: VnPenguin @ 2005-05-30 17:20 UTC (permalink / raw)
On 5/30/05, John R. Culleton <john@wexfordpress.com> wrote:
> For a particular section I wish to substitute a graphic for the
> section header, but have the TOC entry named as usual. Is there
> a way to say e.g.,
> \section{foo}
> and have foo show up in the TOC but not as a section header?
Have a look at "my" thread :
http://www.ntg.nl/pipermail/ntg-context/2005/010976.html
--
http://vnoss.org
Vietnamese Open Source Software Community
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Suppreesin section header
2005-05-30 17:20 ` VnPenguin
@ 2005-05-30 19:57 ` John R. Culleton
0 siblings, 0 replies; 3+ messages in thread
From: John R. Culleton @ 2005-05-30 19:57 UTC (permalink / raw)
On Monday 30 May 2005 05:20 pm, VnPenguin wrote:
> On 5/30/05, John R. Culleton <john@wexfordpress.com> wrote:
> > For a particular section I wish to substitute a graphic for the
> > section header, but have the TOC entry named as usual. Is there
> > a way to say e.g.,
> > \section{foo}
> > and have foo show up in the TOC but not as a section header?
>
> Have a look at "my" thread :
>
> http://www.ntg.nl/pipermail/ntg-context/2005/010976.html
Which boils down to:
----------------------------------------------
\setuphead
[chapter]
[textcommand=\MyChapterTextCommand,
numbercommand=\MyChapterNumberCommand]
\def\MyChapterNumberCommand#1{} % hide chapter number
\def\MyChapterTextCommand#1%
{\externalfigure[(some graphic reference)]}
---------------------
The graphic reference was
chapter-\currentheadnumber
That almost does it. Thanks! But I want to be able to specify the graphic at
the point where the section/chapter/whatever is created. In plain pdftex there
is a facility for retrieving the last graphic added
(\pdflastximage). Does Context have an analogous command?
Or I can just redefine \MyChapterTextCommand at each instance. That is
more flexible than renaming graphics with chapter numbers.
I do a newsletter where the chapter called "Rainbow Bridge"
always has the same graphic, but that chapter doesn't always
occur in the same spot in the sequence.
John Culleton
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-05-30 19:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-30 11:04 Suppreesin section header John R. Culleton
2005-05-30 17:20 ` VnPenguin
2005-05-30 19:57 ` John R. Culleton
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).