From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/62110 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Formatting in TOC Date: Thu, 30 Sep 2010 07:01:58 +0200 Message-ID: <8E258694-2857-4F33-B53E-EBB5F80B29CD@gmail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1285822939 5856 80.91.229.12 (30 Sep 2010 05:02:19 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 30 Sep 2010 05:02:19 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Sep 30 07:02:18 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 1P1BHb-0001ga-Bi for gctc-ntg-context-518@m.gmane.org; Thu, 30 Sep 2010 07:02:15 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1B9BDCA5B9; Thu, 30 Sep 2010 07:02:14 +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 8Ne8T1hlRtJM; Thu, 30 Sep 2010 07:02:09 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 92B73CA678; Thu, 30 Sep 2010 07:02:09 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6690DCA678 for ; Thu, 30 Sep 2010 07:02:07 +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 Npk5CRnPAQSZ for ; Thu, 30 Sep 2010 07:02:04 +0200 (CEST) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id 9B49ECA5B9 for ; Thu, 30 Sep 2010 07:02:04 +0200 (CEST) Original-Received: from mail-fx0-f41.google.com (mail-fx0-f41.google.com [209.85.161.41]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o8U523K0009098 for ; Thu, 30 Sep 2010 07:02:04 +0200 Original-Received: by fxm10 with SMTP id 10so1447375fxm.14 for ; Wed, 29 Sep 2010 22:02:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:content-type:mime-version :subject:from:in-reply-to:date:content-transfer-encoding:message-id :references:to:x-mailer; bh=bE9zaHJ7EQCt1qY4TdDSTa1VbJ4SXmvWggSqrJDDS5o=; b=d8ED3JvY7HvSSqmI9kWKs3kG1LwQqDD7K66q1sH+c6AR2uYztDxu/8laJeDEfeGOvg 53Kz3b4R3jG2ElWswi96gGVqqs7KtAG2uXSuVkjoi/UDG1KEL/gC7gu/M2MLJVtlGHqT gEJIr52IaPfndElFzM0yR5XzDuDc6WZInjsAM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=Oc5XwBs33lbfyIfqJYxE3fHzNHReWr4nbcXE/82Vtw9vyyBTZpYQxe4URlm620do8t 1Q9mhEfEfpILfxLcMzr4eSK9p6df9Sb+QjwIAMuK8QMW+O87WlVTxVzcRPnXz0M6UYPf tUiAHsjLWuggXMWdjb7twnptlY/Kq3r2ib7Hg= Original-Received: by 10.223.106.16 with SMTP id v16mr3082559fao.56.1285822923536; Wed, 29 Sep 2010 22:02:03 -0700 (PDT) Original-Received: from [192.168.2.23] (p5B293C28.dip.t-dialin.net [91.41.60.40]) by mx.google.com with ESMTPS id r5sm4286498faq.32.2010.09.29.22.02.00 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 29 Sep 2010 22:02:01 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.1081) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.161.41; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 05DcR23hv - 883b4485ce64 - 20100930 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.216 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:62110 Archived-At: 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 ___________________________________________________________________________________