ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Tomas Bures <bures@d3s.mff.cuni.cz>
To: ntg-context@ntg.nl
Subject: Re: compound titles, lists and headers
Date: Sun, 26 Sep 2010 17:54:21 +0200	[thread overview]
Message-ID: <i7nqbf$j2o$1@dough.gmane.org> (raw)
In-Reply-To: <5.1.0.14.1.20030217002901.03716b10@remote-1>

Dear all,

I found this useful, but still I'm wondering, how shall I extend the 
\KomplexTitel to put current chapter number to the \writetolist command?

Thank you. Best regards,
Tomas

On 17.2.2003 0:31, Hans Hagen wrote:
>
> better make a dedicated list:
>
> \definelist
> [mylist]
>
> and configure that one (so no \framed in write)
>
> \setuplist
> [mychapter]
> [alternative=command,
> command=\MyChapterList]
>
> with something
>
> \def\ChapterList#1#2#3%
> {\framed
> [frame=off,
> align={right,broad,nothyphenated},
> width=0.8\textwidth,
> height=2\baselineskip,
> offset=none]
> {#2}}
>
> your title command
>
> \def\KomplexTitel#1#2#3%
> {\title{#1}\subject{#2}\writetolist[mychapter]{}{#3}}
>
> (next version will contain a direct write command, which avoids an
> interfering node)
>
> call lists like:
>
> \placelist[chapter,mychapter]
>
> etc
> -------------------------------------------------------------------------
> Hans Hagen | PRAGMA ADE | pragma@wxs.nl
> Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
> tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
> -------------------------------------------------------------------------
> information: http://www.pragma-ade.com/roadmap.pdf
> documentation: http://www.pragma-ade.com/showcase.pdf
> -------------------------------------------------------------------------

___________________________________________________________________________________
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
___________________________________________________________________________________


  parent reply	other threads:[~2010-09-26 15:54 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-12 21:05 Henning Hraban Ramm
2003-02-13 21:45 ` Willi Egger
2003-02-14 16:15   ` Henning Hraban Ramm
2003-02-14 21:21     ` Willi Egger
2003-02-14 22:40       ` Henning Hraban Ramm
2003-02-15 11:23         ` Willi Egger
2003-02-16 23:31         ` Hans Hagen
2003-02-17 21:54           ` Henning Hraban Ramm
2010-09-26 15:54           ` Tomas Bures [this message]
2010-09-26 16:06             ` Wolfgang Schuster
2010-09-26 18:39               ` Tomas Bures

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='i7nqbf$j2o$1@dough.gmane.org' \
    --to=bures@d3s.mff.cuni.cz \
    --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).