From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Formatting in TOC
Date: Thu, 30 Sep 2010 07:01:58 +0200 [thread overview]
Message-ID: <8E258694-2857-4F33-B53E-EBB5F80B29CD@gmail.com> (raw)
In-Reply-To: <i80ab5$be5$1@dough.gmane.org>
Am 29.09.2010 um 23:16 schrieb Tomas Bures:
> Dear all,
>
> I would like to generate a table of contents, where each item should have a number, title and date. I use the user variables this way:
>
>
> \define[1]\ChapterListTextCommand{%
> #1\hskip 1.5em
> \hbox{
> \doiftextelse{\structurelistuservariable{date}{(\structurelistuservariable{datum})}{}
> }
> }
\define[1]\ChapterListTextCommand
{\doifsomethingelse{\structurelistuservariable{date}}
{#1\wordright{\structurelistuservariable{date}}}
{#1}}
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
___________________________________________________________________________________
next prev parent reply other threads:[~2010-09-30 5:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-29 21:16 Tomas Bures
2010-09-29 23:06 ` Andreas Harder
2010-09-30 5:01 ` Wolfgang Schuster [this message]
2019-11-11 13:26 Formatting in toc Calum MacLeod
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=8E258694-2857-4F33-B53E-EBB5F80B29CD@gmail.com \
--to=schuster.wolfgang@googlemail.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).