From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/43876 Path: news.gmane.org!not-for-mail From: "Goebel, Juergen" Newsgroups: gmane.comp.tex.context Subject: Re: first steps with \dosingleempty Date: Thu, 11 Sep 2008 09:56:04 +0200 Message-ID: References: <48C8C705.5090100@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1221119897 15988 80.91.229.12 (11 Sep 2008 07:58:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 11 Sep 2008 07:58:17 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Thu Sep 11 09:59:12 2008 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1Kdh4n-0003iG-OE for gctc-ntg-context-518@m.gmane.org; Thu, 11 Sep 2008 09:58:53 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id EB73E1FEC0; Thu, 11 Sep 2008 09:57:47 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 05240-01-4; Thu, 11 Sep 2008 09:56:59 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C265A1FD1B; Thu, 11 Sep 2008 09:56:58 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 14AC91FEA7 for ; Thu, 11 Sep 2008 09:56:55 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 04997-01-4 for ; Thu, 11 Sep 2008 09:56:11 +0200 (CEST) Original-Received: from mailde1.eads.com (mailde1.eads.com [80.156.44.82]) by ronja.ntg.nl (Postfix) with ESMTP id 741331FE9E for ; Thu, 11 Sep 2008 09:56:09 +0200 (CEST) Original-Received: from de-gate1.mailhub.intra.corp ([53.154.243.33]) by mailde1.eads.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 11 Sep 2008 09:56:50 +0200 Original-Received: from deimsg51.de.net.world ([149.207.23.51]) by de-gate1.mailhub.intra.corp with Microsoft SMTPSVC(5.0.2195.6713); Thu, 11 Sep 2008 10:00:05 +0200 Original-Received: from deimsg12.de.net.world ([149.207.23.219]) by deimsg51.de.net.world with Microsoft SMTPSVC(6.0.3790.3959); Thu, 11 Sep 2008 09:56:04 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message in-reply-to: <48C8C705.5090100@wxs.nl> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [NTG-context] first steps with \dosingleempty Thread-Index: AckT3zM877XEg/0pQ6mFECOXUpiqIgABCqJQ X-OriginalArrivalTime: 11 Sep 2008 07:56:04.0882 (UTC) FILETIME=[D7625720:01C913E3] X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:43876 Archived-At: Hans Hagen wrote: > \unexpanded\def\Geb{\dosingleempty\doMyGeb} > > \def\doMyGeb[#1]#2#3% > {, x \iffirstargument Aha \fi > \doifsomethingelse{#2}{#2}{...}\space > \doifsomethingelse{#3}{#3}{...}% > \par} Thanks a lot, elegant and much shorter. But, alas, I can't test it yet since the \doifsomethingelse seems to be somewhat newer. My oldtimer (according to Hraban) shall really be updated during the next days or weeks ... Does anyone know when the TL 2008 will be distributed to the DANTE-members? Juergen ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________