ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: VnPenguin <vnpenguin@gmail.com>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: replace chapter text by an image, possible ?
Date: Tue, 24 May 2005 20:06:36 +0200	[thread overview]
Message-ID: <e5d3f26505052411063c5a470f@mail.gmail.com> (raw)
In-Reply-To: <4292F3F5.506@gmail.com>

On 5/24/05, Mojca Miklavec <mojca.miklavec.lists@gmail.com> wrote:
> 
> I don't know the mechanisms behind the scenes, but I suppose that you
> override placing the chapter in TOC if you make your own
> "command=\MyChapterCommand".
> 
> (Line 2034 in core-sec.tex is \c!command=\@@placehead. Is this one
> perhaps responsible for the strange behavior?)
> 
> However this solves the problem:
> 
> 
> \setuphead
>     [chapter]
>     [textcommand=\MyChapterTextCommand,
>      numbercommand=\MyChapterNumberCommand]
> 
> \def\MyChapterNumberCommand#1{} % hide chapter number
> 
> \def\MyChapterTextCommand#1%
>     {\externalfigure[chapter-\currentheadnumber][height=5cm]}

Wow, it works :-)
Thank you a lot,
Regards

-- 
http://vnoss.org - Vietnamese Open Source Software Community

      reply	other threads:[~2005-05-24 18:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-19 18:34 VnPenguin
2005-05-19 21:55 ` Hans Hagen
2005-05-20 23:06   ` VnPenguin
2005-05-24  9:29     ` Mojca Miklavec
2005-05-24 18:06       ` VnPenguin [this message]

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=e5d3f26505052411063c5a470f@mail.gmail.com \
    --to=vnpenguin@gmail.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).