From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/88405 Path: news.gmane.org!not-for-mail From: Christoph Reller Newsgroups: gmane.comp.tex.context Subject: processallactionsinset and default Date: Thu, 14 Aug 2014 11:38:10 +0200 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0982765857==" X-Trace: ger.gmane.org 1408009133 2569 80.91.229.3 (14 Aug 2014 09:38:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 14 Aug 2014 09:38:53 +0000 (UTC) To: ntg-context Original-X-From: ntg-context-bounces@ntg.nl Thu Aug 14 11:38:49 2014 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 1XHrUd-0001pD-3G for gctc-ntg-context-518@m.gmane.org; Thu, 14 Aug 2014 11:38:47 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7F6DB1027C for ; Thu, 14 Aug 2014 11:38:46 +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 017Np8s0zKbd for ; Thu, 14 Aug 2014 11:38:46 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 9D9B610223 for ; Thu, 14 Aug 2014 11:38:38 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 33ABB101EE for ; Thu, 14 Aug 2014 11:38: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 JjqRGgoBewq2 for ; Thu, 14 Aug 2014 11:38:32 +0200 (CEST) Original-Received: from filter1-utr.mf.surf.net (filter1-utr.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id A4383101E2 for ; Thu, 14 Aug 2014 11:38:32 +0200 (CEST) Original-Received: from mail-oa0-x22f.google.com (mail-oa0-x22f.google.com [IPv6:2607:f8b0:4003:c02::22f]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s7E9cQPb017240 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Thu, 14 Aug 2014 11:38:27 +0200 Original-Received: by mail-oa0-f47.google.com with SMTP id g18so733611oah.34 for ; Thu, 14 Aug 2014 02:38:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=WC2SS86E+x94PIjNEDQ4H2V9ThjjiMK+SPvxv28z0wQ=; b=X5q8vBYj/PJN7yzcXpbchIk18/+q+UHnCi6XrlGGMSXDkXcb89xPVFN4H/saPJ4EA7 WGVXNs+9GWzP+r7FGzIHlK67m4tllc+vUTUl4RwFCAFXmHfOr09NC4R/2ngNPIBNuUny fJqfBTFELhvIPMVsyp8+1oSw7BBAsG8v+W6lpJuVCeG3fOUJEL1UKgBldHs4w30BvKbN 5lC8P49yX9DC39ROCqrrdmKvLPDfgNWHDcQwc/j3rIGQaHG0KOuhMba7eLIFSmvMir/d OqMdOoNty2jLLxmlNg97Fn88PG814jbnkogWRCh/qdqajVNSZR+bUXJFt+3clSpKFWdb YNcQ== X-Received: by 10.182.28.66 with SMTP id z2mr11147133obg.19.1408009110460; Thu, 14 Aug 2014 02:38:30 -0700 (PDT) Original-Received: by 10.182.37.102 with HTTP; Thu, 14 Aug 2014 02:38:10 -0700 (PDT) X-Bayes-Prob: 0.0443 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2607:f8b0:4003:c02::22f; country=US X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07MCxCrOe - dc018efd0520 - 20140814 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) 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:88405 Archived-At: --===============0982765857== Content-Type: multipart/alternative; boundary=089e0158b09edea0a6050093aa76 --089e0158b09edea0a6050093aa76 Content-Type: text/plain; charset=UTF-8 Hi! The "default" value works well for processaction but apparently does not for processallactionsinset. What am I missing? Example: \def\A{A} \def\XX{} \def\Un{Un} \processaction[\A][A=>Yeah!,default=>Def.,unknown=>Huh?]% \processaction[\XX][A=>Yeah!,default=>Def.,unknown=>Huh?]% \processaction[\Un][A=>Yeah!,default=>Def.,unknown=>Huh?] \processallactionsinset[\A,\XX,\Un][A=>Yeah!,default=>Def.,unknown=>Huh?] Output: Yeah!Def.Huh? Yeah!Huh?Huh? Thanks for any help, Christoph --089e0158b09edea0a6050093aa76 Content-Type: text/html; charset=UTF-8
Hi!

The "default" value works well for processaction but apparently does not for processallactionsinset. What am I missing?

Example:

\def\A{A}
\def\XX{}
\def\Un{Un}

\processaction[\A][A=>Yeah!,default=>Def.,unknown=>Huh?]%
\processaction[\XX][A=>Yeah!,default=>Def.,unknown=>Huh?]%
\processaction[\Un][A=>Yeah!,default=>Def.,unknown=>Huh?]

\processallactionsinset[\A,\XX,\Un][A=>Yeah!,default=>Def.,unknown=>Huh?]

Output:

Yeah!Def.Huh?
Yeah!Huh?Huh?

Thanks for any help,

Christoph
--089e0158b09edea0a6050093aa76-- --===============0982765857== 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 ___________________________________________________________________________________ --===============0982765857==--