From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/62107 Path: news.gmane.org!not-for-mail From: Andreas Harder Newsgroups: gmane.comp.tex.context Subject: Re: Formatting in TOC Date: Thu, 30 Sep 2010 01:06:23 +0200 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: multipart/mixed; boundary="===============0264100748==" X-Trace: dough.gmane.org 1285801599 6067 80.91.229.12 (29 Sep 2010 23:06:39 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 29 Sep 2010 23:06:39 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Sep 30 01:06:37 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1P15jQ-0001af-AH for gctc-ntg-context-518@m.gmane.org; Thu, 30 Sep 2010 01:06:36 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 63AA0CA7A1; Thu, 30 Sep 2010 01:06:35 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id GE9vDfgRH2y0; Thu, 30 Sep 2010 01:06:31 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C2797CA788; Thu, 30 Sep 2010 01:06:31 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 741DCCA788 for ; Thu, 30 Sep 2010 01:06:30 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id BUva7F7RPBVu for ; Thu, 30 Sep 2010 01:06:25 +0200 (CEST) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id 12A65CA787 for ; Thu, 30 Sep 2010 01:06:25 +0200 (CEST) Original-Received: from deliver.uni-koblenz.de (deliver.uni-koblenz.de [141.26.64.15]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o8TN6OMb024973 for ; Thu, 30 Sep 2010 01:06:24 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id EFBA27827551 for ; Thu, 30 Sep 2010 01:06:23 +0200 (CEST) Original-Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 29836-04 for ; Thu, 30 Sep 2010 01:06:23 +0200 (CEST) X-CHKRCPT: Envelopesender vrfy aharder@uni-koblenz.de Original-Received: from [192.168.1.112] (95-88-44-57-dynip.superkabel.de [95.88.44.57]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by deliver.uni-koblenz.de (Postfix) with ESMTP id 57552782754B for ; Thu, 30 Sep 2010 01:06:23 +0200 (CEST) In-Reply-To: X-Mailer: Apple Mail (2.1081) X-Virus-Scanned: amavisd-new at uni-koblenz.de X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=141.26.64.15; country=DE; region=08; city=Koblenz; latitude=50.3500; longitude=7.6000; http://maps.google.com/maps?q=50.3500,7.6000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0rDcL6orR - 4537bd7fbef6 - 20100930 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:62107 Archived-At: --===============0264100748== Content-Type: multipart/alternative; boundary=Apple-Mail-1-404221485 --Apple-Mail-1-404221485 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Am 29.09.2010 um 23:16 schrieb Tomas Bures: > Dear all, >=20 > 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: >=20 >=20 > \define[1]\ChapterListTextCommand{% > #1\hskip 1.5em > \hbox{ > = \doiftextelse{\structurelistuservariable{date}{(\structurelistuservariable= {datum})}{} > } > } >=20 >=20 > But actually I would like to align the date to some fixed horizontal = position. Something like this: >=20 > 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) =85 25 Hi, isn't Wolfgangs posting = http://archive.contextgarden.net/message/20100919.163604.e1f8cb40.en.html = exactly what you search? You can adjust the table settings to achieve = your needs. Greeting Andreas --Apple-Mail-1-404221485 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252
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}{(\struct= urelistuservariable{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
=             &n= bsp;           &nbs= p;    (10.5.2010) .. 34
4. Title of fourth chap. =      (8.4.2010) =85 = 25

Hi, isn't Wolfgangs = posting http://archive.contextgarden.net/message/20100919.163604.e1f8cb40= .en.html exactly what you search? You can adjust the table = settings to achieve your = needs.

Greeting
= Andreas

= --Apple-Mail-1-404221485-- --===============0264100748== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============0264100748==--