From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/84226 Path: news.gmane.org!not-for-mail From: =?ISO-8859-15?Q?=22H=2E_=D6zoguz=22?= Newsgroups: gmane.comp.tex.context Subject: Replacement with a predefined table? Date: Wed, 11 Sep 2013 19:10:47 +0200 Message-ID: <5230A417.6070301@mmnetz.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1378919468 5710 80.91.229.3 (11 Sep 2013 17:11:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 11 Sep 2013 17:11:08 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Wed Sep 11 19:11:08 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VJnwW-0003po-WC for gctc-ntg-context-518@m.gmane.org; Wed, 11 Sep 2013 19:11:05 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 97FC6101FB; Wed, 11 Sep 2013 19:09:20 +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 oBMH6nwKidFA; Wed, 11 Sep 2013 19:09:17 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id CFB3B101FD; Wed, 11 Sep 2013 19:09:17 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id F1736101EA for ; Wed, 11 Sep 2013 19:09:15 +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 Ku1ANnzrnTzB for ; Wed, 11 Sep 2013 19:09:10 +0200 (CEST) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id 2F624101E9 for ; Wed, 11 Sep 2013 19:09:09 +0200 (CEST) Original-Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.17.8]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r8BHAqDM019583 for ; Wed, 11 Sep 2013 19:10:53 +0200 Original-Received: from [192.168.0.103] (77-23-206-84-dynip.superkabel.de [77.23.206.84]) by mrelayeu.kundenserver.de (node=mrbap2) with ESMTP (Nemesis) id 0MFRbQ-1V7gSW2FT2-00EzcW; Wed, 11 Sep 2013 19:10:52 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 X-Provags-ID: V02:K0:gSAHWtGjM/GTEQeEf2Sxmm85MQ1o7Lx27t0CI2x96RZ z0X0BNvdZYC4v2F0092/ymAy7oxlCNw7dQMKBFyYLzSPCuDOHv VJk+t+ArvJlTabPEXDI+w9CWHormIhd5MUegtdMyuV+b9bVuIm d8F18eV7wGNLO+IU89XlBfPlA6WB0oAMDAB51fWQ9eyDz1z5kf GIKv7jFUV6s/DsKkp7Q5tRCBb2NFYVo31M/8iDA6rGU+rV+Ley EoFZakSa9TfyjVN/ZlmchYUYHM3G4n4ObrNzF/yLIKofmL/Wwk x1eaM/iEkFuYng+3ql1RsoUr7Ca3Bd1+ieVIXIl/8QvdhrYm8/ fZnJFKp7lZuux3MSeWjU= X-Bayes-Prob: 0.0285 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=212.227.17.8; country=DE; latitude=51.0000; longitude=9.0000; http://maps.google.com/maps?q=51.0000,9.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0TKnRaQIH - 85f219ed1877 - 20130911 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:84226 Archived-At: Is the following possible in ConText? I want to define a table like this: 1: Hans 2: Wolfgang 3: Aditja 4: Marco ... in which I can look up by a function, which allows the following command: \name{number}. E.g. "This is \name{3}" should compile to "This is Aditja". For my purpose, the table would have 114 entries. Thanks for help. Huseyin ___________________________________________________________________________________ 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 ___________________________________________________________________________________