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 20:39:20 +0200	[thread overview]
Message-ID: <i7o40p$po6$1@dough.gmane.org> (raw)
In-Reply-To: <66F44560-E922-4F70-B21B-28B1FEB2C442@gmail.com>

Thank you Wolfgang and all,

this was exactly what I needed. One more thing. I would like to add a 
date to every chapter in TOC. I do it this way:

\define[1]\ChapterListTextCommand{%
#1\hskip 1.5em
\hbox{
\doiftextelse{\structurelistuservariable{date}{(\structurelistuservariable{datum})}{}
}
}

But actually I would like to align the date to some fixed horizontal 
position. Something like this:

1. Title of chapter 1         (9.2.2010) .... 5
2. Title of another chapter   (10.3.2010) .. 10
3. A very long title of a chapter
                               (10.5.2010) .. 34
4. Title of fourth chap.      (8.4.2010) ... 25

Another complication is that I would like the line to snap to a grid.
I tried it with framed, but I'm not good enough in ConTeXt.

Please, any idea?

Thank you, best regards,
Tomas


On 26.9.2010 18:06, Wolfgang Schuster wrote:
>
> Am 26.09.2010 um 17:54 schrieb Tomas Bures:
>
>> 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?
>
> I wouldn’t use this method anymore because with \startchapter etc. you
> have a even more powerful mechanism without such tricks, see also
> http://www.ntg.nl/pipermail/ntg-context/2010/052429.html
>
> 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  : http://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________

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


      reply	other threads:[~2010-09-26 18:39 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
2010-09-26 16:06             ` Wolfgang Schuster
2010-09-26 18:39               ` Tomas Bures [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='i7o40p$po6$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).